Re: Setting a fade in/out of a group
Hi Peter: You need an object in the group to trap the mouse messages. Add a transparent button or graphic whose blendLevel is set to 100 that spans the width/height of the group. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 2/6/14 11:21 PM, Peter Bogdanoff bogdan...@me.com wrote: Hi, Does a group receive mouse messages the same way as another control, such as a button? I have a control panel that I want to fade in and out with mouse enter and leave. The control panel is a group containing a number of buttons. I have a group script with mouseEnter and mouseLeave handlers to to do the fade of the group. The group script seems to receive the mouse messages from the individual buttons within the group (as expected). But I only want the group itself to respond to the mouse. If I trap the mouseEnter and mouseLeave messages in each element of the group nothing happens. The group itself doesn't seem to respond to the mouse. Without the trapped messages in each element the problem is a strobing effect as the mouse is moved horizontally and enters and leaves the individual buttons. Again, trapping those messages makes nothing happen as the group itself doesn't seem to be responding to the mouse movement. I'm using LC 6.1.3. Thanks, Peter Bogdanoff UCLA ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: iOS Native browser kills native player
On further investigation the player is destroyed only if the URL of the page being loaded into the browser contains inline video or audio content and controls. Setting the browser control's allowsInlinePlayback property to false (which is documented as preventing inline media from playing) doesn't fix the issue. Here's the bug: http://quality.runrev.com/show_bug.cgi?id=11765 Gerry On 7 Feb 2014, at 6:37 pm, Gerry Orkin gerry.or...@gmail.com wrote: Before I report this as a bug, has anyone else noticed that if you have a non-full screen native player on a card and then create a native browser on the same card the player disappears. It's still plays...unless you set the URL of the browser...then the player is destroyed. Can those native objects not live together happily? Gerry ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
[OT] The last few copies of Programming LivCode for the Real Beginner
Hello, We have 5 copies of Programming LiveCode for the Real Beginner left. I don't know when I will print them again. If you want a copy, you can order one at http://qery.us/42z . Feel free to contact me by e-mail if you want to make sure that we still have a copy available for you. At http://qery.us/43y you can read everything everybody needs to know about the book. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Stupid simple version control using dropbox
Not sure if this has been posted before, but just in case: If you store your stack files in the dropbox folder on your computer, dropbox does a really good job of saving a copy of each separate file whenever the file is saved. You can look at a list of the saved versions and get/restore any of them. It's not git, but as a file-level resource it's a 1000x better than nothing. I borked up some code last night (never try to solve a problem at 3am that stumped you at 9pm) so I'm really happy that I can just revert to the 9pm version and forget whatever it is I did later on. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Send and the context
Really? From the dictionary *Summary: * Indicates the current stack glossary/c/120.xml, or the current cardglossary/c/118.xmlof the current stack glossary/c/120.xml. Since send changes the current stack context, then it would be the current card of whichever stack is sent to.. Or is the dictionary wrong or i'm misunderstanding? In fact, the dictionary even says that current is a synonym for this. Its also probable I should have typed it clearer.. use of me instead. This refers to the current card of the default stack. On Thu, Feb 6, 2014 at 9:51 PM, Peter Haworth p...@lcsql.com wrote: Right. I think that's how things work in a behavior. Wasn't there a change in how the context of the send command functions in a recent release? Pete lcSQL Software http://www.lcsql.com Home of lcStackBrowser http://www.lcsql.com/lcstackbrowser.html and SQLiteAdmin http://www.lcsql.com/sqliteadmin.html On Thu, Feb 6, 2014 at 7:21 PM, Mark Wieder mwie...@ahsoftware.net wrote: Mike- Thursday, February 6, 2014, 11:53:52 AM, you wrote: use of me instead. This refers to the current card of the default stack. No. It doesn't. -- -Mark Wieder ahsoftw...@gmail.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Stupid simple version control using dropbox
On Fri, Feb 7, 2014 at 8:59 AM, Mark Schonewille m.schonewi...@economy-x-talk.com wrote: Hi Geoff, I completely agree. I have a 16GB account and keep a backup of my active project folder on Dropbox and, which has saved me a few times. Anyone else reading this: if you want to register for Dropbox quickly, you can follow this link http://qery.us/u6 I had no idea that dropbox has an affiliate program. I guess I should post a link as well so people can flip a coin: https://db.tt/cmupVN7Q ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: [OT] The last few copies of Programming LivCode for the Real Beginner
Mr. Schonewille, Please save me one as I just ordered your book. Mark Stuart - Regards, Mark Stuart --- LC 4.6.4 LC Community 6.1 WinXP/7/8 32bit and 64bit -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-The-last-few-copies-of-Programming-LivCode-for-the-Real-Beginner-tp4675562p4675568.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Send and the context
Mike- Friday, February 7, 2014, 7:08:29 AM, you wrote: Its also probable I should have typed it clearer.. use of me instead. This refers to the current card of the default stack. I'm not concerned about your use of this or current. But me is the object that generated the send or dispatch message. If you want the message to end up going to the card, direct it to the card, not to me. If me sends or dispatches a message to me, me will get the message. -- -Mark Wieder ahsoftw...@gmail.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Stupid simple version control using dropbox
Geoff- Friday, February 7, 2014, 6:50:25 AM, you wrote: It's not git, but as a file-level resource it's a 1000x better than nothing. I borked up some code last night (never try to solve a problem at 3am that stumped you at 9pm) so I'm really happy that I can just revert to the 9pm version and forget whatever it is I did later on. That has saved my bacon more times than several. -- -Mark Wieder ahsoftw...@gmail.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: [OT] The last few copies of Programming LivCode for the Real Beginner
Hi Mr. Stuart, I'll make sure that you get a copy. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 2/7/2014 17:01, Mark Stuart wrote: Mr. Schonewille, Please save me one as I just ordered your book. Mark Stuart ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: [OT] PopClip for Mac - a very useful utility
Me too! Make sure you check out the extensions, especially Swap Paste=, I use them all the time. Paul On 2014-02-06, at 11:57 PM, René Micout rene.mic...@numericable.com wrote: Yes ! I love it ! Le 7 févr. 2014 à 07:04, James Hale ja...@thehales.id.au a écrit : I must admit I really enjoy trying out new utilities and apps on my Mac. Recently I came across this little gem PopClip. It basically replicates the pop up menu seen in iOS when any text is selected. Select some text and there it is, ready to ignore or click on one of its options. I mention it here as I have recently returned to LC and have found how useful it is while editing scripts. Anyway you can check it out here: http://pilotmoon.com/popclip/ Or go to the Mac App Store. At $4.99 it is pretty cheap. James ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: referring to a file on the local network by name?
On Wed, Feb 5, 2014 at 7:47 PM, Bob Sneidar bobsnei...@iotecdigital.comwrote: So after thinking about it for a while, it seems you can enumerate the folders in /Volumes fairly easily. BTW, you should NOT be ending up with a folder called Joe-1 unless something has gone wrong with your connection while you were connected to Joe. Sure, but it seems to happen on a regular basis with our NAS drive. And it doesn't go away until my rare reboots. No matter though. If there is a Joe and a Joe-1, any attempt to connect to Joe should fail, unless you actually have two share points legitimately named Joe on two different servers, in which case I need to come over and punk slap your IT person (assuming it's not you). ;-) Nah, it' just the one place. Bur it seems common enough that I need to program around it. Barring that, what you are seeing is a stranded dynamic link, which in theory should never happen these days. It *should* resolve itself upon reboot, but of course you cannot depend on the condition being optimal. What version of the OS are you running btw? I've seen this long ago, but I thought that Apple had fixed this. The Connect to Server option in the Finder should not be allowing you to make multiple simultaneous connections to the same share point. I'm using Mountain Lion still. I'm trying to find a way to start the included postgres server without OS X Server before I let Mavericks take over. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: new way closing a stack in IOS 7
Hi Alain, I think what you’re asking is in fact *how to keep alive your app even in the background*; then this is what you need: http://forums.runrev.com/viewtopic.php?f=49t=1#p95224 And here is the answer of your second question: https://developer.apple.com/library/ios/documentation/userexperience/conceptual/MobileHIG/IconMatrix.html Best, ~ Ender Nafi From: Alain Vezina Alain Vezina Reply: Alain Vezina alain.vez...@logilangue.com Date: February 7, 2014 at 18:49:46 To: use-livecode@lists.runrev.com use-livecode@lists.runrev.com Subject: new way closing a stack in IOS 7 Hi All, You know that in IOS 7 there is a way to pass from one app to another : you double press the home button and all the active apps appear in a row, letting you browse from one to another without closing anyone of them. If you want to close any app of this row, you push it up. So, I would like to find the way to do this in LC 6.5. I spent 2 hours in the dictionary and in the tutorials without finding any clue for that question. I am also wondering to what extend Apple obliges developers to be IOS 7 in their apps : I am talking about background image, buttons shape, icons, colors and so on. Regards Alain Vézina Logilangue 514-596-1385 www.logilangue.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: new way closing a stack in IOS 7
Hi Alain, I think what you’re asking is in fact *how to keep alive your app even in the background*; then this is what you need: http://forums.runrev.com/viewtopic.php?f=49t=1#p95224 And here is the answer of your second question: https://developer.apple.com/library/ios/documentation/userexperience/conceptual/MobileHIG/IconMatrix.html Best, ~ Ender Nafi From: Alain Vezina Alain Vezina Reply: Alain Vezina alain.vez...@logilangue.com Date: February 7, 2014 at 18:49:46 To: use-livecode@lists.runrev.com use-livecode@lists.runrev.com Subject: new way closing a stack in IOS 7 Hi All, You know that in IOS 7 there is a way to pass from one app to another : you double press the home button and all the active apps appear in a row, letting you browse from one to another without closing anyone of them. If you want to close any app of this row, you push it up. So, I would like to find the way to do this in LC 6.5. I spent 2 hours in the dictionary and in the tutorials without finding any clue for that question. I am also wondering to what extend Apple obliges developers to be IOS 7 in their apps : I am talking about background image, buttons shape, icons, colors and so on. Regards Alain Vézina Logilangue 514-596-1385 www.logilangue.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
new way closing a stack in IOS 7
Hi All, You know that in IOS 7 there is a way to pass from one app to another : you double press the home button and all the active apps appear in a row, letting you browse from one to another without closing anyone of them. If you want to close any app of this row, you push it up. So, I would like to find the way to do this in LC 6.5. I spent 2 hours in the dictionary and in the tutorials without finding any clue for that question. I am also wondering to what extend Apple obliges developers to be IOS 7 in their apps : I am talking about background image, buttons shape, icons, colors and so on. Regards Alain Vézina Logilangue 514-596-1385 www.logilangue.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Send and the context
Ah k. I understand what you're saying now. The OP points out that put the short name of this card is returning the current card (as per the dictionary, and the behavior in the OP matches this.) If things remain the same and the message is sent to the card itself (like it was in the OP) then the handler in the card can put the short name of me and it will work because the handler is executing in the card, but if the message is sent to an object on a card the short name of me will return the object name not the card name. So one would have to do something else to get the card name. (get the long name and parse, or go up the owner tree till you get there if there are groups involved) So I guess the OP example is a bit silly since if you're sending to the card specifically you already know what it is and if you must, can pass it as a parameter as part of the send. Curious now though, is there an easy way to get the owning card name of an object that is sent to without parsing or tree crawling? On Fri, Feb 7, 2014 at 9:07 AM, Mark Wieder mwie...@ahsoftware.net wrote: Mike- Friday, February 7, 2014, 7:08:29 AM, you wrote: Its also probable I should have typed it clearer.. use of me instead. This refers to the current card of the default stack. I'm not concerned about your use of this or current. But me is the object that generated the send or dispatch message. If you want the message to end up going to the card, direct it to the card, not to me. If me sends or dispatches a message to me, me will get the message. -- -Mark Wieder ahsoftw...@gmail.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Setting a fade in/out of a group
Thanks, Scott. So I put a transparent button into the group on top of all the others. The effect now works great. But how do I send a mouseClick to the other buttons in the group that are underneath it? Peter On Feb 7, 2014, at 12:21 AM, Scott Rossi wrote: Hi Peter: You need an object in the group to trap the mouse messages. Add a transparent button or graphic whose blendLevel is set to 100 that spans the width/height of the group. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 2/6/14 11:21 PM, Peter Bogdanoff bogdan...@me.com wrote: Hi, Does a group receive mouse messages the same way as another control, such as a button? I have a control panel that I want to fade in and out with mouse enter and leave. The control panel is a group containing a number of buttons. I have a group script with mouseEnter and mouseLeave handlers to to do the fade of the group. The group script seems to receive the mouse messages from the individual buttons within the group (as expected). But I only want the group itself to respond to the mouse. If I trap the mouseEnter and mouseLeave messages in each element of the group nothing happens. The group itself doesn't seem to respond to the mouse. Without the trapped messages in each element the problem is a strobing effect as the mouse is moved horizontally and enters and leaves the individual buttons. Again, trapping those messages makes nothing happen as the group itself doesn't seem to be responding to the mouse movement. I'm using LC 6.1.3. Thanks, Peter Bogdanoff UCLA ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Devawriter Pro and PISMO
My Devawriter Pro (for Sanskrit) has had a significant upgrade, and version 1.5.1 may be obtained here: http://andregarzia.on-rev.com/richmond/dwriterpro.html My PISMO (for Old Slavic) has been upgraded, and version 0.3 may be obtained here: http://andregarzia.on-rev.com/richmond/LANGTOOLS.html Richmond. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Setting a fade in/out of a group
Peter Bogdanoff wrote: So I put a transparent button into the group on top of all the others. The effect now works great. But how do I send a mouseClick to the other buttons in the group that are underneath it? Move the transparent button behind the others? -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Stupid simple version control using dropbox
Hi Geoff, I completely agree. I have a 16GB account and keep a backup of my active project folder on Dropbox and, which has saved me a few times. Anyone else reading this: if you want to register for Dropbox quickly, you can follow this link http://qery.us/u6 -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 2/7/2014 15:50, Geoff Canyon wrote: Not sure if this has been posted before, but just in case: If you store your stack files in the dropbox folder on your computer, dropbox does a really good job of saving a copy of each separate file whenever the file is saved. You can look at a list of the saved versions and get/restore any of them. It's not git, but as a file-level resource it's a 1000x better than nothing. I borked up some code last night (never try to solve a problem at 3am that stumped you at 9pm) so I'm really happy that I can just revert to the 9pm version and forget whatever it is I did later on. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Medieval Unicode Font Initiative
In case unicode is getting too easy to deal with, http://www.mufi.info/ -- Mark Wieder ahsoftw...@gmail.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Medieval Unicode Font Initiative
On 07/02/14 21:11, Mark Wieder wrote: In case unicode is getting too easy to deal with, http://www.mufi.info/ Dead Muffy . . . this has been going on for yonks: it isn't really a problem as such as the Unicode 'thang' has loads of empty planes: we'll park all those dead letters somewhere up near the svarga-lokas and be bicycling back to Vaikuntha before we know it. Chill :) Richmond. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Relayering a control
Thanks Marty and Geoff. It appears the relayer command was introduced in LC 6.1. I need to do this in my lcStackbrowser plugin and I'm reluctant to force people to have at least 6.1 so I need to find a solution without using relayer. I think I see the problem now. The error I get when I have relayerGroupedControls set to false refers to the source group. Coupled with that, Geoff's first example seems to work now - must have messed something up in my original code. ANother thing that caught me out is that, although I set the layer of the control to 7, it actually ends up as layer 6 because of the automatic relayering that happens by removing the control from the first group. Pete lcSQL Software http://www.lcsql.com Home of lcStackBrowser http://www.lcsql.com/lcstackbrowser.html and SQLiteAdmin http://www.lcsql.com/sqliteadmin.html On Thu, Feb 6, 2014 at 11:45 PM, Geoff Canyon gcan...@gmail.com wrote: If your setup looks like this: group id 1007 [1007] | button Button [1004] | button Button [1009] group id 1011 [1011] | button Button [1010] | button Button [1012] Then this: on mouseUp set relayergroupedcontrols to true set the layer of btn 2 to 7 end mouseUp will give the desired result: group id 1007 [1007] | button Button [1004] group id 1011 [1011] | button Button [1010] | button Button [1012] button Button [1009] But if your setup is this: group id 1007 [1007] | button Button [1004] | button Button [1009] group id 1011 [1011] | button Button [1010] | button Button [1012] button Button [1016] it will result in this: group id 1007 [1007] | button Button [1004] group id 1011 [1011] | button Button [1010] | button Button [1012] button Button [1016] button Button [1009] while this: on mouseUp set relayergroupedcontrols to true set the layer of btn 2 to 6 end mouseUp will result in this: group id 1007 [1007] | button Button [1004] group id 1011 [1011] | button Button [1010] | button Button [1012] | button Button [1009] button Button [1016] I think this will give the desired result in all circumstances: on mouseUp set relayergroupedcontrols to true relayer btn 2 after grp 2 end mouseUp On Thu, Feb 6, 2014 at 11:04 PM, Peter Haworth p...@lcsql.com wrote: Let's say I have a card with the following control structure GroupA (layer 1) ControlA1 (layer 2) ControlA2 (layer 3) GroupB (layer 4) ControlB1 (layer 5) ControlB2 (layer 6) I need to change the layer of control A2 by script to 7 and it should not be a member of GroupB. If I set relayerGroupedControls to true before changing ControlA2's layer, it becomes a member of GroupB. If I set the relayerGroupedControls to false, I get a runtime error that the control or group is not open (the card is open). What am I doing wrong? Pete lcSQL Software http://www.lcsql.com Home of lcStackBrowser http://www.lcsql.com/lcstackbrowser.html and SQLiteAdmin http://www.lcsql.com/sqliteadmin.html ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Send and the context
Mike Bonner bonnmike@... writes: Curious now though, is there an easy way to get the owning card name of an object that is sent to without parsing or tree crawling? What do you mean by without parsing? put the long id of me into tLongname put word -4 of tLongname into tCardname if word -5 of tLongname is id then put card id before tCardname end if -- Mark Wieder ahsoftw...@gmail.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Stupid simple version control using dropbox
Hi Geoff, I've been using Scott Rossi's trick of putting a player app in Dropbox and having it load in my current stack into IOS via a text link. ( http://lists.runrev.com/pipermail/use-livecode/2012-February/167981.html) It is so helpful to be able to make a change in my current app in the editor on my computer, save the stack to Dropbox, and have the changes immediately appear in my IOS app on my iPhone. However, I don't see the stack versioning you describe in any of my stack files on Dropbox. Is there something specific one needs to do in order to invoke this characteristic of Dropbox? -- Regards, Howard Bornstein --- www.designeq.com On Fri, Feb 7, 2014 at 6:50 AM, Geoff Canyon gcan...@gmail.com wrote: Not sure if this has been posted before, but just in case: If you store your stack files in the dropbox folder on your computer, dropbox does a really good job of saving a copy of each separate file whenever the file is saved. You can look at a list of the saved versions and get/restore any of them. It's not git, but as a file-level resource it's a 1000x better than nothing. I borked up some code last night (never try to solve a problem at 3am that stumped you at 9pm) so I'm really happy that I can just revert to the 9pm version and forget whatever it is I did later on. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Setting a fade in/out of a group
Yes, make the button the first (bottom) control in the group. Regards, Scott Rossi Creative Director Tactile Media, UX Design On Feb 7, 2014, at 10:07 AM, Richard Gaskin ambassa...@fourthworld.com wrote: Peter Bogdanoff wrote: So I put a transparent button into the group on top of all the others. The effect now works great. But how do I send a mouseClick to the other buttons in the group that are underneath it? Move the transparent button behind the others? -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: GPS Speed on IOS
Oh okay, the speed value didn't work on version 5.5.X so that is great if it now works. I'll give it a try and see what happens.. Sent from my iPhone On 7 Feb 2014, at 4:57 pm, Guglielmo Braguglia guglie...@braguglia.ch wrote: Hi, you don't have to calculate speed ... ... starting from, if I remember, LiveCode 6.1, you have speed (and course) included in Location info. From old iOS release notes : Location -- a comma separated list of the latitude, longitude and altitude of the device. If detailed is true an array containing the keys latitude, longitude, altitude, time stamp, horizontal accuracy, vertical accuracy, speed and course is returned. If the latitude and longitude could not be measured, those values together with the horizontal accuracy key will not be present. If the altitude could not be measured, that value together with the vertical accuracy will not be present. Hope this help. Guglielmo Nakia Brewer mailto:nakia.bre...@westrac.com.au 7 Feb 2014 04:08 am Hi, Just wondering if anyone has done anything with an in App contained way of calculating speed with the available outputs from mobile location feature on iOS? This App may be used in places without internet coverage so calling to the google API etc is a no go. Appreciate any thoughts.. COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Relayering a control
Trevor Devore wrote a set of scripts that does the same relayering as relayer( how he ever figured this out I have no idea). Look in the mail archives or maybe the forums, maybe visit his Blue Mango site. If you can't dig it up, email me off list. Regards, Scott Rossi Creative Director Tactile Media, UX Design On Feb 7, 2014, at 11:42 AM, Peter Haworth p...@lcsql.com wrote: Thanks Marty and Geoff. It appears the relayer command was introduced in LC 6.1. I need to do this in my lcStackbrowser plugin and I'm reluctant to force people to have at least 6.1 so I need to find a solution without using relayer. I think I see the problem now. The error I get when I have relayerGroupedControls set to false refers to the source group. Coupled with that, Geoff's first example seems to work now - must have messed something up in my original code. ANother thing that caught me out is that, although I set the layer of the control to 7, it actually ends up as layer 6 because of the automatic relayering that happens by removing the control from the first group. Pete lcSQL Software http://www.lcsql.com Home of lcStackBrowser http://www.lcsql.com/lcstackbrowser.html and SQLiteAdmin http://www.lcsql.com/sqliteadmin.html On Thu, Feb 6, 2014 at 11:45 PM, Geoff Canyon gcan...@gmail.com wrote: If your setup looks like this: group id 1007 [1007] | button Button [1004] | button Button [1009] group id 1011 [1011] | button Button [1010] | button Button [1012] Then this: on mouseUp set relayergroupedcontrols to true set the layer of btn 2 to 7 end mouseUp will give the desired result: group id 1007 [1007] | button Button [1004] group id 1011 [1011] | button Button [1010] | button Button [1012] button Button [1009] But if your setup is this: group id 1007 [1007] | button Button [1004] | button Button [1009] group id 1011 [1011] | button Button [1010] | button Button [1012] button Button [1016] it will result in this: group id 1007 [1007] | button Button [1004] group id 1011 [1011] | button Button [1010] | button Button [1012] button Button [1016] button Button [1009] while this: on mouseUp set relayergroupedcontrols to true set the layer of btn 2 to 6 end mouseUp will result in this: group id 1007 [1007] | button Button [1004] group id 1011 [1011] | button Button [1010] | button Button [1012] | button Button [1009] button Button [1016] I think this will give the desired result in all circumstances: on mouseUp set relayergroupedcontrols to true relayer btn 2 after grp 2 end mouseUp On Thu, Feb 6, 2014 at 11:04 PM, Peter Haworth p...@lcsql.com wrote: Let's say I have a card with the following control structure GroupA (layer 1) ControlA1 (layer 2) ControlA2 (layer 3) GroupB (layer 4) ControlB1 (layer 5) ControlB2 (layer 6) I need to change the layer of control A2 by script to 7 and it should not be a member of GroupB. If I set relayerGroupedControls to true before changing ControlA2's layer, it becomes a member of GroupB. If I set the relayerGroupedControls to false, I get a runtime error that the control or group is not open (the card is open). What am I doing wrong? Pete lcSQL Software http://www.lcsql.com Home of lcStackBrowser http://www.lcsql.com/lcstackbrowser.html and SQLiteAdmin http://www.lcsql.com/sqliteadmin.html ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Relayering a control
Thanks Scott, I found it in RevOnline and will give it a whirl. Pete lcSQL Software http://www.lcsql.com Home of lcStackBrowser http://www.lcsql.com/lcstackbrowser.html and SQLiteAdmin http://www.lcsql.com/sqliteadmin.html On Fri, Feb 7, 2014 at 12:31 PM, Scott Rossi sc...@tactilemedia.com wrote: Trevor Devore wrote a set of scripts that does the same relayering as relayer( how he ever figured this out I have no idea). Look in the mail archives or maybe the forums, maybe visit his Blue Mango site. If you can't dig it up, email me off list. Regards, Scott Rossi Creative Director Tactile Media, UX Design On Feb 7, 2014, at 11:42 AM, Peter Haworth p...@lcsql.com wrote: Thanks Marty and Geoff. It appears the relayer command was introduced in LC 6.1. I need to do this in my lcStackbrowser plugin and I'm reluctant to force people to have at least 6.1 so I need to find a solution without using relayer. I think I see the problem now. The error I get when I have relayerGroupedControls set to false refers to the source group. Coupled with that, Geoff's first example seems to work now - must have messed something up in my original code. ANother thing that caught me out is that, although I set the layer of the control to 7, it actually ends up as layer 6 because of the automatic relayering that happens by removing the control from the first group. Pete lcSQL Software http://www.lcsql.com Home of lcStackBrowser http://www.lcsql.com/lcstackbrowser.html and SQLiteAdmin http://www.lcsql.com/sqliteadmin.html On Thu, Feb 6, 2014 at 11:45 PM, Geoff Canyon gcan...@gmail.com wrote: If your setup looks like this: group id 1007 [1007] | button Button [1004] | button Button [1009] group id 1011 [1011] | button Button [1010] | button Button [1012] Then this: on mouseUp set relayergroupedcontrols to true set the layer of btn 2 to 7 end mouseUp will give the desired result: group id 1007 [1007] | button Button [1004] group id 1011 [1011] | button Button [1010] | button Button [1012] button Button [1009] But if your setup is this: group id 1007 [1007] | button Button [1004] | button Button [1009] group id 1011 [1011] | button Button [1010] | button Button [1012] button Button [1016] it will result in this: group id 1007 [1007] | button Button [1004] group id 1011 [1011] | button Button [1010] | button Button [1012] button Button [1016] button Button [1009] while this: on mouseUp set relayergroupedcontrols to true set the layer of btn 2 to 6 end mouseUp will result in this: group id 1007 [1007] | button Button [1004] group id 1011 [1011] | button Button [1010] | button Button [1012] | button Button [1009] button Button [1016] I think this will give the desired result in all circumstances: on mouseUp set relayergroupedcontrols to true relayer btn 2 after grp 2 end mouseUp On Thu, Feb 6, 2014 at 11:04 PM, Peter Haworth p...@lcsql.com wrote: Let's say I have a card with the following control structure GroupA (layer 1) ControlA1 (layer 2) ControlA2 (layer 3) GroupB (layer 4) ControlB1 (layer 5) ControlB2 (layer 6) I need to change the layer of control A2 by script to 7 and it should not be a member of GroupB. If I set relayerGroupedControls to true before changing ControlA2's layer, it becomes a member of GroupB. If I set the relayerGroupedControls to false, I get a runtime error that the control or group is not open (the card is open). What am I doing wrong? Pete lcSQL Software http://www.lcsql.com Home of lcStackBrowser http://www.lcsql.com/lcstackbrowser.html and SQLiteAdmin http://www.lcsql.com/sqliteadmin.html ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list
Re: Setting a fade in/out of a group
Yes, making it the bottom control now works great for a mouseEnter/fade in. However, mouseLeave/fade out is the problem. For as soon as the mouse enters one of the other controls that are layered higher up, the mouseLeave is triggered and the fade out happens (while the mouse is still in the group's rectangle). The mouseLeave needs to be part of something, but I haven't yet figured out where. Moving it to the group script itself doesn't fix it. ?? Peter On Feb 7, 2014, at 12:37 PM, Scott Rossi wrote: Yes, make the button the first (bottom) control in the group. Regards, Scott Rossi Creative Director Tactile Media, UX Design On Feb 7, 2014, at 10:07 AM, Richard Gaskin ambassa...@fourthworld.com wrote: Peter Bogdanoff wrote: So I put a transparent button into the group on top of all the others. The effect now works great. But how do I send a mouseClick to the other buttons in the group that are underneath it? Move the transparent button behind the others? -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Setting a fade in/out of a group
Yeah, you need to qualify what triggers the fade. Try placing the mouseLeave handler in the group script, something like: on mouseLeave if short name of the target is myTransButton and not within(me,mouseLoc()) then doFade . . . end mouseLeave Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 2/7/14 2:14 PM, Peter Bogdanoff bogdan...@me.com wrote: Yes, making it the bottom control now works great for a mouseEnter/fade in. However, mouseLeave/fade out is the problem. For as soon as the mouse enters one of the other controls that are layered higher up, the mouseLeave is triggered and the fade out happens (while the mouse is still in the group's rectangle). The mouseLeave needs to be part of something, but I haven't yet figured out where. Moving it to the group script itself doesn't fix it. ?? Peter On Feb 7, 2014, at 12:37 PM, Scott Rossi wrote: Yes, make the button the first (bottom) control in the group. Regards, Scott Rossi Creative Director Tactile Media, UX Design On Feb 7, 2014, at 10:07 AM, Richard Gaskin ambassa...@fourthworld.com wrote: Peter Bogdanoff wrote: So I put a transparent button into the group on top of all the others. The effect now works great. But how do I send a mouseClick to the other buttons in the group that are underneath it? Move the transparent button behind the others? -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Tracing Stack (was: the points of graphic)
there is a new version of a stack that traces transparent images http://forums.runrev.com/phpBB2/viewtopic.php?t=19040p=96086#p96086 It extracts transparency info from maskData and renders the shapes as graphic. Now renders all subshapes also. Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Tracing-Stack-was-the-points-of-graphic-tp4674846p4675591.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Tracing Stack (was: the points of graphic)
That's pretty awesome Bernd -- works well on a complex image. :-) Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 2/7/14 3:00 PM, BNig bernd.niggem...@uni-wh.de wrote: there is a new version of a stack that traces transparent images http://forums.runrev.com/phpBB2/viewtopic.php?t=19040p=96086#p96086 It extracts transparency info from maskData and renders the shapes as graphic. Now renders all subshapes also. Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Tracing-Stack-was-the-point s-of-graphic-tp4674846p4675591.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Tracing Stack (was: the points of graphic)
Very nice! Should be added as a LifeCode feature! ~Roger On Fri, Feb 7, 2014 at 6:00 PM, BNig bernd.niggem...@uni-wh.de wrote: there is a new version of a stack that traces transparent images http://forums.runrev.com/phpBB2/viewtopic.php?t=19040p=96086#p96086 It extracts transparency info from maskData and renders the shapes as graphic. Now renders all subshapes also. Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Tracing-Stack-was-the-points-of-graphic-tp4674846p4675591.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Tracing Stack (was: the points of graphic)
Roger, Scott, thank you. Just wait for the colorTrace version (hint, hint) For early version testers contact me by mail. Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Tracing-Stack-was-the-points-of-graphic-tp4674846p4675594.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Tracing Stack (was: the points of graphic)
FAIL! I can't even spell Trekkie. ;-D ~Roger On Fri, Feb 7, 2014 at 7:41 PM, Roger Eller roger.e.el...@sealedair.comwrote: Here's a few color images that might be good for tests. http://retoucher07030.deviantart.com/art/LCARS-Color-Palette-156731034 http://retoucher07030.deviantart.com/art/LCARS-Vector-Shapes-156730231 http://retoucher07030.deviantart.com/art/Trek-XI-Starfleet-Insignias-104044489 http://retoucher07030.deviantart.com/art/Star-Trek-Tech-Custom-Shapes-125244439 Uhm, I might be a bit of a Treckie. :-\ ~Roger On Fri, Feb 7, 2014 at 7:21 PM, BNig bernd.niggem...@uni-wh.de wrote: Roger, Scott, thank you. Just wait for the colorTrace version (hint, hint) For early version testers contact me by mail. Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Tracing-Stack-was-the-points-of-graphic-tp4674846p4675594.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Why Programming is Difficult
All- Interesting article: http://joearms.github.io/2014/02/07/why-programming-is-difficult.html -- -Mark Wieder ahsoftw...@gmail.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: [OT] will amuse you Linux fans
Only upon the lawless. :-) Those who choose to obey the laws (that they themselves are protected by I might add) do not need to be compelled. Bob On Feb 6, 2014, at 10:06 , Andrew Kluthe and...@ctech.me wrote: How profound: All instruments of law are imposed and maintained by force and threats. On Wed, Feb 5, 2014 at 8:46 PM, Bob Sneidar bobsnei...@iotecdigital.comwrote: I've come up with a saying some years ago. Anything is constitutional that no man is willing to resist. Nothing is constitutional that no man is willing to defend. (Substitute constitutional for whatever instrument of law your particular country subscribes to). Bob On Feb 3, 2014, at 19:18 , stephen barncard stephenrevoluti...@barncard.com wrote: Not amusing to the look and feel people at Apple. the Icons are copied or very close. Not to mention about 20 other things. Can 'they' get away with this? sqb *--* *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* On Mon, Feb 3, 2014 at 4:23 PM, Roger Eller roger.e.el...@sealedair.com wrote: It has a strong resemblance to the Pear Linux distro, which does a fine job of being Mac-like as well. At 7:10 in the video below, the star is probably just a coincidence, so... yeah... http://www.youtube.com/watch?v=6HAZTHK869A ~Roger On Mon, Feb 3, 2014 at 5:50 PM, Colin Holgate co...@verizon.net wrote: Especially if you would like it to be more Windows or OSX like: http://www.northkoreatech.org/2014/01/31/north-koreas-red-star-os-goes-mac/ ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode -- Regards, Andrew Kluthe and...@ctech.me ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Send and the context
This may bore most of you to tears so please disregard if it doesn’t interest you. What I am attempting is to be able to get values from objects on a card that is not the current card, or even in the current stack, like fields and states of buttons, without enumerating the entire path to the objects themselves. This is because the card is designed to be portable, that is, to be placed into any stack. The first time you go to the Database Setup card, all the sqlYoga database connections will be initialized, connections tested, and then connections made. It also has some database utility functions I use. I’ll share it with the community when I am done shaking out all the dust mites. Now I do have a few globals I use, and could do everything with globals if necessary, but that seems messy to my mind. Also, globals prevent the card from working properly in multiple stack environments! I might have a Database Setup card in several different stacks, and they all need to behave discreetly. (This is why Stack Local variables would be HUGE!) That is the back story. Now there are times when I need to get the values of objects on the Database Setup card of the current stack without actually going to the Database Setup card itself (I might be in a substack and it might be modal for instance) so I inserted the script of a button with all the Database Setup handlers into the message path, and then “send” commands to it, so that statements like: put field “fDBType” into theDBType — this field resides on the Database Setup card would execute in the context of the Database Setup card. This threw Object Not Found errors, so I thought maybe it’s because the script was inserted into the message path. I then tried this with another button on the Database Setup card whose script was NOT inserted into the message path and got the same result! At that point I put in this handler into the script of the Database Setup card: on test put the short name of this card end test Whether I send or dispatch I get the current card of the current stack. If however: on test put the short name of me end test I now get “Database Setup” whether I use send or dispatch! Well… that IS what I want I suppose. That prompted this thread. If this is the expected behavior, then I really do not understand at all what the dictionary means by “execution context”. I DID however find one other difference between send and dispatch: You can send a command but NOT a function! Dispatch works with commands AND functions. At any rate, it’s academic. I solved the problem by putting this handler in the Database Setup card script: function getConnection theDBObject switch theDBObject case primary put the hilite of button btndbPrimary of me into aConnection [enabled] put (the backgroundcolor of button btnPriConnected of me is lightgreen) into aConnection [connected] put field fPriDBType of me into aConnection [dbtype] put field fPriDBHost of me into aConnection [dbhost] put field fPriDBPort of me into aConnection [dbport] put field fPriDBName of me into aConnection [dbname] put field fpriDBUser of me into aConnection [dbuser] put field fPriDBPass of me into aConnection [dbpass] break case secondary put the hilite of button btndbSecondary of me into aConnection [enabled] put (the backgroundcolor of button btnSecConnected of me is lightgreen) into aConnection [connected] put field fSecDBType of me into aConnection [dbtype] put field fSecDBHost of me into aConnection [dbhost] put field fSecDBPort of me into aConnection [dbport] put field fSecDBName of me into aConnection [dbname] put field fSecDBUser of me into aConnection [dbuser] put field fSecDBPass of me into aConnection [dbpass] break end switch return aConnection end getConnection Now my database back scripts can call this function, and because the button containing the back scripts exists on the same card, they execute in the context of that card. (Whew!) Bob On Feb 7, 2014, at 09:02 , Mike Bonner bonnm...@gmail.com wrote: Ah k. I understand what you're saying now. The OP points out that put the short name of this card is returning the current card (as per the dictionary, and the behavior in the OP matches this.) If things remain the same and the message is sent to the card itself (like it was in the OP) then the handler in the card can put the short name of me and it will work because the handler is executing in the card, but if the message is sent to an object on a card the short name of me will return the object name not the card name. So one would have to do something else to get the card name. (get the long name and parse, or go up the owner tree till you get there if there are groups involved) So I guess the OP example is a bit silly since if you're
Re: Tracing Stack (was: the points of graphic)
Never ceases to amaze me the stuff Livecoders come up with! And if Scott likes something graphicky, it’s gotta be good! Bob On Feb 7, 2014, at 15:26 , Scott Rossi sc...@tactilemedia.com wrote: That's pretty awesome Bernd -- works well on a complex image. :-) Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 2/7/14 3:00 PM, BNig bernd.niggem...@uni-wh.de wrote: there is a new version of a stack that traces transparent images http://forums.runrev.com/phpBB2/viewtopic.php?t=19040p=96086#p96086 It extracts transparency info from maskData and renders the shapes as graphic. Now renders all subshapes also. Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Tracing-Stack-was-the-point s-of-graphic-tp4674846p4675591.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Why Programming is Difficult
Without reading the article, I can think of one principle I have employed in all my time working with computers: Computers never do what you want them to. They only do what you tell them to. Bob On Feb 7, 2014, at 20:28 , Mark Wieder mwie...@ahsoftware.net wrote: All- Interesting article: http://joearms.github.io/2014/02/07/why-programming-is-difficult.html -- -Mark Wieder ahsoftw...@gmail.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Why Programming is Difficult
On 08/02/14 06:28, Mark Wieder wrote: All- Interesting article: http://joearms.github.io/2014/02/07/why-programming-is-difficult.html Very good article! Thanks. Richmond. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: [OT] will amuse you Linux fans
On 08/02/14 07:06, Bob Sneidar wrote: Only upon the lawless. :-) Those who choose to obey the laws (that they themselves are protected by I might add) do not need to be compelled. Bob There is a small problem there. I am sure that most of us here on the Use-List would applaud a North Korean who broke certain of that country's draconian laws, and, furthermore, do not feel groovy about the sort of compulsion that goes on there. Now that is one end of a continuum, and the question is, and always has been, where one should decide breaking a law is legitimate protest and where it is a crime. Richmond. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode