PSD file with iPhone 5 GUI elements
Hi friends, in case you need to create an iPhone 5 GUI, these guys supply a free PSD file with all the UI elements like they did before for iPhone 3 and 4: http://www.teehanlax.com/downloads/ios-6-gui-psd-iphone-5/ Best Klaus -- Klaus Major http://www.major-k.de kl...@major.on-rev.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: Answer file filters
I just got bitten by this. Need glasses to see it but it's *.mp3 *.wav... Simon -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Answer-file-filters-tp4656336p4656378.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
problems with loading externals
Hi, LC 4.6.2 on Wf. Where can I check, if and which externals are loaded successfully? In one of my old stacks the revxml externals seems not to be loaded anymore in the standalone and only sometimes after several restarts in the IDE. Asking for the externalPackages of stack myMainStack shows empty. When working in the IDE I can ask for the external Packages in stack home, but in the standalone? Creating a blank new stack the revxml is loaded successfully and works fine, but not in my old stack. Is there a chance to force load it or something more I can check? Thanks for any advice Tiemo ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Dumb question about deployment to iPad3
I have an iPad app in development which worked pretty well in earlier versions of LC and XCode and which I can run in the iOS 6 simulator as iPad only, Arm7 only. But I don't see how to simulate the Retina Display (double the number of pixels) of the iPad 3. It appears that what I am simulating is an iPad 2 - certainly the simulator is using my original splash screen designed for the old iPad resolution and not the new one I prepared. This has got to be obvious, but what do I do to see the Retina Display simulated? I don't have a real hi-res iPad to test on. TIA Graham ___ 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: Dumb question about deployment to iPad3
Graham, Make sure the simulator is running, then go to Hardware - Device menu and select iPad (Retina). :-) Chris On Oct 15, 2012, at 8:29 AM, Graham Samuel livf...@mac.com wrote: I have an iPad app in development which worked pretty well in earlier versions of LC and XCode and which I can run in the iOS 6 simulator as iPad only, Arm7 only. But I don't see how to simulate the Retina Display (double the number of pixels) of the iPad 3. It appears that what I am simulating is an iPad 2 - certainly the simulator is using my original splash screen designed for the old iPad resolution and not the new one I prepared. This has got to be obvious, but what do I do to see the Retina Display simulated? I don't have a real hi-res iPad to test on. TIA Graham ___ 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: [OT] Pray for Andre
Thanks Richmond, I am doing well here. I actually live in Niterói which is the city on the other side of the bay everyone sees on the postcard. I've been living with those kinds of raid since forever so its no as impressive for us as it is for foreigners. I live reasonably close to two slums which surround the prime real estate area of my city. After 32 years of this sh*t, you learn how to manage it. I think this was one of the reasons I was so amazed when I went to Edinburgh and saw people late at night with cameras and laptops walking on the meadows. In Rio you would not dare to do that. At least it never gets dull or boring. For those wanting to see a faithful representation of Rio thru movies, I recommend City Of God which is an action movie set on the slum called City Of God. It is a fantastic movie. I also recommend both Elite Troop and Elite Troop 2 which are action movies about Rio de Janeiro Special Ops Troop. That police force is called BOPE (Special Police Operations Battalion), all their gear is black and their symbol is a skull crossed with knifes and this is the police. Actually I saw one of them last week, I counted four pistols and a machine gun on a single guy. The movie is great because its not your typical movie about crazy police force against bad crime lords. It shows how corruption works on Rio all the way from the mayor office to the slums and inside the police force. US and European watchers who never saw anything about south american exciting life style as told by ourselves will have a great and enlightening experience with those movies. :-) :-) On Sun, Oct 14, 2012 at 8:28 AM, Richmond richmondmathew...@gmail.comwrote: Another quiet night in Rio I see: http://www.bbc.co.uk/news/**world-latin-america-19940440http://www.bbc.co.uk/news/world-latin-america-19940440 __**_ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/**mailman/listinfo/use-livecodehttp://lists.runrev.com/mailman/listinfo/use-livecode -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. ___ 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: Audio clips
Hi Klaus, So the proposed solution only works with a player control, not with imported audio clips? I'm kinda puzzled by this since, if the dictionary is to be believed, it is possible to pause and resume imported video clips, but not audio clips. Pete lcSQL Software http://www.lcsql.com On Sun, Oct 14, 2012 at 8:49 AM, Klaus on-rev kl...@major.on-rev.comwrote: hmm, sure this will work with a PLAYER object, even without storing the currenttime***, but you were asking for a possibility with the PLAY command 8-) ___ 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: Audio clips
Hi Pete, Am 15.10.2012 um 18:13 schrieb Peter Haworth p...@lcsql.com: Hi Klaus, So the proposed solution only works with a player control, not with imported audio clips? Exactly. I'm kinda puzzled by this since, if the dictionary is to be believed, it is possible to pause and resume imported video clips, but not audio clips. Yes, sad but true! Keep in mind that the play command was developed in the last century and never modified/enhanced until today ;-) That's why so few file formats are supported with play. Pete lcSQL Software http://www.lcsql.com Best Klaus -- Klaus Major http://www.major-k.de kl...@major.on-rev.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: Unpopularity of global variables - why?
I'll check it out but as I recall with 5.0 it still crashed. On Oct 12, 2012, at 4:15 PM, Mark Wieder wrote: Bob- Friday, October 12, 2012, 2:29:04 PM, you wrote: And may I add, if RunRev would get off their butts about the variable breakpoint CTD bug, it would be really simple to find out where a thing is going wrong! Set a breakpoint on a global, and when it changes unexpectedly, there you go! Honestly, for a feature that would prove so incredibly helpful, shouldn't they fix this first before releasing any more features?? (Or did they already? Am I like that old lady in SNL? Oh, well then... NEVER MIND!) According to my notes, that's bug #6506 and was fixed in build 4.5-dp2 (6 Feb 2010). -- -Mark Wieder mwie...@ahsoftware.net ___ 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: Strict Compile Mode
I'm willing to bet that none of the variables supplied as an argument to a command or function do. Eg. on mouseup pButtonNum On Oct 13, 2012, at 4:14 PM, Peter Haworth wrote: I just came across another instance of this situation. The variable you name in the catch part of try/catch does not have to be predefined in Strict Compile Mode. Pete lcSQL Software http://www.lcsql.com On Mon, Oct 8, 2012 at 1:15 PM, Peter Haworth p...@lcsql.com wrote: I was surprised to find that not all variables have to be defined in this mode. It seems that using a variable in a repeat command such as repeatwith x=1 to 10 does not require x to be defined as a local variable, nor is an error flagged when x is used later in the handler, either within the loop or after it. I can't decide if I like that or not. ___ 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: [OT] Pray for Andre
On 10/15/12 10:43 AM, Andre Garzia wrote: I think this was one of the reasons I was so amazed when I went to Edinburgh and saw people late at night with cameras and laptops walking on the meadows. In Rio you would not dare to do that. That's exactly what impressed me most about Edinburgh too. You couldn't do that in America either, at least, not in most big cities. I was amazed at how casual people were in the streets at 2 AM. I wish Richmond had titled this thread differently, when I saw the subject I almost had a heart attack. I thought something had happened to you. Glad you wrote. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: [UPDATE] Free 'Clearview' desktop clock v1.5
On Oct 14, 2012, at 1:04 PM, J. Landman Gay wrote: On 10/14/12 9:07 AM, Peter M. Brigham wrote: OK, Jacque, it's finally time for you to pull together the ultimate LC time travel tool, the one where the user can pull a fully debugged version of his\her beta software back from the future and distribute it now -- or even distribute it last year, before all the competitors got off the ground and dominated the market. What are you waiting for? Mostly I'm waiting until I've started. I'm just waiting to get my sock back. Bob ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: [UPDATE] Free 'Clearview' desktop clock v1.5
On Mon, Oct 15, 2012 at 12:47 PM, Bob Sneidar wrote: On Oct 14, 2012, at 1:04 PM, J. Landman Gay wrote: On 10/14/12 9:07 AM, Peter M. Brigham wrote: OK, Jacque, it's finally time for you to pull together the ultimate LC time travel tool, the one where the user can pull a fully debugged version of his\her beta software back from the future and distribute it now -- or even distribute it last year, before all the competitors got off the ground and dominated the market. What are you waiting for? Mostly I'm waiting until I've started. I'm just waiting to get my sock back. Bob Socks are not available on mobile. ;-p ~Roger ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Missing Digests
When I encounter useless drivel, or what I consider to be, I just delete it. That is why it's a great habit to develop, to use descriptive subjects. I'm not sure I would call anyone on the list a twit though. I get the distinct impression they are all much smarter than me... unless you were specifically referring to me. Bob On Oct 14, 2012, at 2:35 PM, J. Landman Gay wrote: On 10/14/12 3:52 PM, Bob Earp wrote: I hate them for taking so much time to read, and doubly hate them when twits post totally useless drivel. I think I'm guilty of some of that. If you get the list as individual emails it's (maybe too) easy to post a quick reply, which encourages tangents. Some of it can be amusing though, I don't mind those. I filter all email from lists.runrev.com into their own email folder. The subject of the post is also the subject of the email, so you know immediately what it's about and don't need to open the ones of no interest. -- Jacqueline Landman Gay ___ 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: [UPDATE] Free 'Clearview' desktop clock v1.5
On Mon, Oct 15, 2012 at 12:52 PM, Roger Eller wrote: On Mon, Oct 15, 2012 at 12:47 PM, Bob Sneidar wrote: On Oct 14, 2012, at 1:04 PM, J. Landman Gay wrote: On 10/14/12 9:07 AM, Peter M. Brigham wrote: OK, Jacque, it's finally time for you to pull together the ultimate LC time travel tool, the one where the user can pull a fully debugged version of his\her beta software back from the future and distribute it now -- or even distribute it last year, before all the competitors got off the ground and dominated the market. What are you waiting for? Mostly I'm waiting until I've started. I'm just waiting to get my sock back. Bob Socks are not available on mobile. ;-p ~Roger Erm, I mean sockets. (shorter socks). ;-o ~Roger ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: [OT] Pray for Andre
Thanks for the movie recommendations, Andre. I will definitely try to find a copy of City of God to rent--sounds like I could learn a lot from it. On Oct 15, 2012, at 11:43 AM, Andre Garzia an...@andregarzia.com wrote: Thanks Richmond, I am doing well here. I actually live in Niterói which is the city on the other side of the bay everyone sees on the postcard. I've been living with those kinds of raid since forever so its no as impressive for us as it is for foreigners. I live reasonably close to two slums which surround the prime real estate area of my city. After 32 years of this sh*t, you learn how to manage it. I think this was one of the reasons I was so amazed when I went to Edinburgh and saw people late at night with cameras and laptops walking on the meadows. In Rio you would not dare to do that. At least it never gets dull or boring. For those wanting to see a faithful representation of Rio thru movies, I recommend City Of God which is an action movie set on the slum called City Of God. It is a fantastic movie. I also recommend both Elite Troop and Elite Troop 2 which are action movies about Rio de Janeiro Special Ops Troop. That police force is called BOPE (Special Police Operations Battalion), all their gear is black and their symbol is a skull crossed with knifes and this is the police. Actually I saw one of them last week, I counted four pistols and a machine gun on a single guy. The movie is great because its not your typical movie about crazy police force against bad crime lords. It shows how corruption works on Rio all the way from the mayor office to the slums and inside the police force. US and European watchers who never saw anything about south american exciting life style as told by ourselves will have a great and enlightening experience with those movies. :-) :-) On Sun, Oct 14, 2012 at 8:28 AM, Richmond richmondmathew...@gmail.comwrote: Another quiet night in Rio I see: http://www.bbc.co.uk/news/**world-latin-america-19940440http://www.bbc.co.uk/news/world-latin-america-19940440 __**_ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/**mailman/listinfo/use-livecodehttp://lists.runrev.com/mailman/listinfo/use-livecode -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. ___ 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: [OT] Pray for Andre
I wish they would make a documentary in the US detailing the horrors the drug market in the civilized world actually causes in other countries, and then show it in all the public schools. I think a lot, although not all, kids just getting into smoking pot or thinking about other drugs would not, if they knew that their demand for these things caused this much harm to others. I can remember the first time I because aware of it, and thought back on my early days when I was a pot head. The thing that took me back was that I had never given any thought to it. I had never connected the dots. We need to connect the dots for our children when they are young. Bob On Oct 15, 2012, at 8:43 AM, Andre Garzia wrote: Thanks Richmond, I am doing well here. I actually live in Niterói which is the city on the other side of the bay everyone sees on the postcard. I've been living with those kinds of raid since forever so its no as impressive for us as it is for foreigners. I live reasonably close to two slums which surround the prime real estate area of my city. After 32 years of this sh*t, you learn how to manage it. I think this was one of the reasons I was so amazed when I went to Edinburgh and saw people late at night with cameras and laptops walking on the meadows. In Rio you would not dare to do that. At least it never gets dull or boring. For those wanting to see a faithful representation of Rio thru movies, I recommend City Of God which is an action movie set on the slum called City Of God. It is a fantastic movie. I also recommend both Elite Troop and Elite Troop 2 which are action movies about Rio de Janeiro Special Ops Troop. That police force is called BOPE (Special Police Operations Battalion), all their gear is black and their symbol is a skull crossed with knifes and this is the police. Actually I saw one of them last week, I counted four pistols and a machine gun on a single guy. The movie is great because its not your typical movie about crazy police force against bad crime lords. It shows how corruption works on Rio all the way from the mayor office to the slums and inside the police force. US and European watchers who never saw anything about south american exciting life style as told by ourselves will have a great and enlightening experience with those movies. :-) :-) On Sun, Oct 14, 2012 at 8:28 AM, Richmond richmondmathew...@gmail.comwrote: Another quiet night in Rio I see: http://www.bbc.co.uk/news/**world-latin-america-19940440http://www.bbc.co.uk/news/world-latin-america-19940440 __**_ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/**mailman/listinfo/use-livecodehttp://lists.runrev.com/mailman/listinfo/use-livecode -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. ___ 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: Audio clips
I wondered about the lack of formats! Just ran into another issue with this, although videoclips this time. I imported a .avi videoclip into a stack. When I try to play it, I get the spinning beachball forever and have to force quit the IDE. This is OS X 10.7.4, LC 5.5.0. Pete lcSQL Software http://www.lcsql.com On Mon, Oct 15, 2012 at 9:28 AM, Klaus on-rev kl...@major.on-rev.comwrote: Yes, sad but true! Keep in mind that the play command was developed in the last century and never modified/enhanced until today ;-) That's why so few file formats are supported with play. ___ 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: [UPDATE] Free 'Clearview' desktop clock v1.5
On 10/15/12 11:52 AM, Roger Eller wrote: On Mon, Oct 15, 2012 at 12:47 PM, Bob Sneidar wrote: On Oct 14, 2012, at 1:04 PM, J. Landman Gay wrote: On 10/14/12 9:07 AM, Peter M. Brigham wrote: OK, Jacque, it's finally time for you to pull together the ultimate LC time travel tool, the one where the user can pull a fully debugged version of his\her beta software back from the future and distribute it now -- or even distribute it last year, before all the competitors got off the ground and dominated the market. What are you waiting for? Mostly I'm waiting until I've started. I'm just waiting to get my sock back. Bob Socks are not available on mobile. ;-p Ewww LOL! -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Audio clips
Hi Pete, Am 15.10.2012 um 19:03 schrieb Peter Haworth p...@lcsql.com: I wondered about the lack of formats! Just ran into another issue with this, although videoclips this time. I imported a .avi videoclip into a stack. When I try to play it, I get the spinning beachball forever and have to force quit the IDE. This is OS X 10.7.4, LC 5.5.0. Yep, AVI is one of the newer file formats not comaptible with the play command :-) What works are FLC*** videos (I already forgot what that is a lng time ago) and the MPG video format. ***This has definitively NOTHING to do with Flash! Check this: http://www.file-extensions.org/flc-file-extension My good advice, forget PLAY except for playing a short sound clip (like a mouse click sound) in AU or UNCOMPRESSED AIF or WAV format, but only ONE at a time ;-) Pete lcSQL Software http://www.lcsql.com Best Klaus -- Klaus Major http://www.major-k.de kl...@major.on-rev.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] Pray for Andre
Bob Sneidar wrote: I wish they would make a documentary in the US detailing the horrors the drug market in the civilized world actually causes in other countries, and then show it in all the public schools. I think a lot, although not all, kids just getting into smoking pot or thinking about other drugs would not, if they knew that their demand for these things caused this much harm to others. I can remember the first time I because aware of it, and thought back on my early days when I was a pot head. The thing that took me back was that I had never given any thought to it. I had never connected the dots. We need to connect the dots for our children when they are young. The true gateway drug is booze, and booze has a big lobby. We will never have a reason-based discussion of substance abuse in our culture as long as our media is owned by a small number of companies, some of whom make booze and all of whom earn big bucks from booze advertising. -- 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: [OT] Pray for Andre
Hi Richard, Am 15.10.2012 um 19:17 schrieb Richard Gaskin ambassa...@fourthworld.com: Bob Sneidar wrote: I wish they would make a documentary in the US detailing the horrors the drug market in the civilized world actually causes in other countries, and then show it in all the public schools. I think a lot, although not all, kids just getting into smoking pot or thinking about other drugs would not, if they knew that their demand for these things caused this much harm to others. I can remember the first time I because aware of it, and thought back on my early days when I was a pot head. The thing that took me back was that I had never given any thought to it. I had never connected the dots. We need to connect the dots for our children when they are young. The true gateway drug is booze, and booze has a big lobby. Yep, and you may twist and turn it, the other true gateway drug is TOBACCO! Which doesn't even give you an intoxication***, so tobacco addiction is in fact a weird waste of money ;-) *** Is this the correct term? We will never have a reason-based discussion of substance abuse in our culture as long as our media is owned by a small number of companies, some of whom make booze and all of whom earn big bucks from booze advertising. -- 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 Best Klaus -- Klaus Major http://www.major-k.de kl...@major.on-rev.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] Pray for Andre
Just poking around in Google, I didn't find any references to any alcohol companies or breweries owning any of the major media outlets like ABC, NBC, CBS, MSNBC, CNN of Fox. Do you have any references I could look at? This interests me. Bob On Oct 15, 2012, at 10:17 AM, Richard Gaskin wrote: We will never have a reason-based discussion of substance abuse in our culture as long as our media is owned by a small number of companies, some of whom make booze and all of whom earn big bucks from booze advertising. -- Richard Gaskin ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Set the layer
Hello every body, I have a stack with several groups, in one group I have a button named btnStepper. There is 126 controls. My btnStepper have layer 124. When I type in the Message box : set the layer of btn btnStepper to 123 I have this message error : Script compile error: Error description: request: error in message expression I don't understand... Have somebody an explanation ? Thank you René ___ 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: Audio clips
Thanks Klaus, I'm beginning to think I shouldn't be messing with playing audio/videoclips. Only reason I'm doing it is because a user of my lcStackbrowser plugin requested support for them. I guess I can still provide support to import them and show them in the display but leave playing of them to the user to deal with. However, I should mention that the dictionary says of video clips: Video clips can be in QuickTime, AVI, or MPEG format. Only reason I mention this is because I plan to enter a QCC bug report if AVI really is a supported format. Pete lcSQL Software http://www.lcsql.com On Mon, Oct 15, 2012 at 10:16 AM, Klaus on-rev kl...@major.on-rev.comwrote: Yep, AVI is one of the newer file formats not comaptible with the play command :-) What works are FLC*** videos (I already forgot what that is a lng time ago) and the MPG video format. ***This has definitively NOTHING to do with Flash! Check this: http://www.file-extensions.org/flc-file-extension My good advice, forget PLAY except for playing a short sound clip (like a mouse click sound) in AU or UNCOMPRESSED AIF or WAV format, but only ONE at a time ;-) ___ 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] Pray for Andre
Bob Sneidar wrote: On Oct 15, 2012, at 10:17 AM, Richard Gaskin wrote: We will never have a reason-based discussion of substance abuse in our culture as long as our media is owned by a small number of companies, some of whom make booze and all of whom earn big bucks from booze advertising. Just poking around in Google, I didn't find any references to any alcohol companies or breweries owning any of the major media outlets like ABC, NBC, CBS, MSNBC, CNN of Fox. Do you have any references I could look at? This interests me. Seagram's media holdings include Universal Studios, MCA, PolyGram, and Deutsche Grammophon. Seagram also gained control of a number of Universal theme parks. http://en.wikipedia.org/wiki/Seagram That and other info on the ever-shrinking number of media ownership companies in this colorful chart: http://www.mediaindustrystudies.org/wp-content/uploads/2012/03/global-concentration_the-media-ownership-chart2.jpg -- 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: [OT] Pray for Andre
On 10/15/12 12:28 PM, Klaus on-rev wrote: Yep, and you may twist and turn it, the other true gateway drug is TOBACCO! Which doesn't even give you an intoxication***, so tobacco addiction is in fact a weird waste of money ;-) *** Is this the correct term? Yes, that term works. Actually nicotine does have a sort of intoxication, there's a buzz, especially if you go without for a few hours. The next cigarette makes you feel a little stoned. If you keep your nicotine level constant then there's no buzz. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Set the layer
René Micout wrote: I have a stack with several groups, in one group I have a button named btnStepper. There is 126 controls. My btnStepper have layer 124. When I type in the Message box : set the layer of btn btnStepper to 123 I have this message error : Script compile error: Error description: request: error in message expression I don't understand... Have somebody an explanation ? This is just a hunch, and I don't know why this would cause a compile error rather than an execution error, but if those objects are within groups you may need (with great caution) to set the relayerGroupedControls property to true before performing the relayering of its members. -- 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: Audio clips
Hi Pete, Am 15.10.2012 um 19:47 schrieb Peter Haworth p...@lcsql.com: Thanks Klaus, I'm beginning to think I shouldn't be messing with playing audio/videoclips. Only reason I'm doing it is because a user of my lcStackbrowser plugin requested support for them. I guess I can still provide support to import them and show them in the display but leave playing of them to the user to deal with. A strange idea might be to try to play audio and video in a BROWSER object! Chances are good that this might actually work :-) However, I should mention that the dictionary says of video clips: Video clips can be in QuickTime, AVI, or MPEG format. No comment! Only reason I mention this is because I plan to enter a QCC bug report if AVI really is a supported format. Don't, thats a waste of time, since it is HIGHLY unlikely that RunRev will ever pimp the PLAY command. On the other hand, AVI is just a container for different file video codecs, just like QuickTime. Pete lcSQL Software http://www.lcsql.com Best Klaus -- Klaus Major http://www.major-k.de kl...@major.on-rev.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] Pray for Andre
Hi Jaqueline, Am 15.10.2012 um 19:51 schrieb J. Landman Gay jac...@hyperactivesw.com: On 10/15/12 12:28 PM, Klaus on-rev wrote: Yep, and you may twist and turn it, the other true gateway drug is TOBACCO! Which doesn't even give you an intoxication***, so tobacco addiction is in fact a weird waste of money ;-) *** Is this the correct term? Yes, that term works. Actually nicotine does have a sort of intoxication, there's a buzz, especially if you go without for a few hours. The next cigarette makes you feel a little stoned. If you keep your nicotine level constant then there's no buzz. AHA! Thanks for the info. I obviously did not smoke enough cigarettes in the past to experience this :-) -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com Best Klaus -- Klaus Major http://www.major-k.de kl...@major.on-rev.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Set the layer
Thank you Richard, but I have skirted my problem... with hide and show some controls rather than change their layers... René Le 15 oct. 2012 à 20:01, Richard Gaskin ambassa...@fourthworld.com a écrit : René Micout wrote: I have a stack with several groups, in one group I have a button named btnStepper. There is 126 controls. My btnStepper have layer 124. When I type in the Message box : set the layer of btn btnStepper to 123 I have this message error : Script compile error: Error description: request: error in message expression I don't understand... Have somebody an explanation ? This is just a hunch, and I don't know why this would cause a compile error rather than an execution error, but if those objects are within groups you may need (with great caution) to set the relayerGroupedControls property to true before performing the relayering of its members. -- 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: [OT] Pray for Andre
2012/10/15 Klaus on-rev kl...@major.on-rev.com: Hi Jaqueline, Yes, that term works. Actually nicotine does have a sort of intoxication, there's a buzz, especially if you go without for a few hours. The next cigarette makes you feel a little stoned. If you keep your nicotine level constant then there's no buzz. AHA! Thanks for the info. I obviously did not smoke enough cigarettes in the past to experience this :-) Funny, that's exactly what happened to me when I stop Livecoding for a while :) Couldn't resist :) Thierry Best Klaus ___ 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: Unpopularity of global variables - why?
On Oct 12, 2012, at 9:13 PM, J. Landman Gay wrote: On 10/12/12 6:50 PM, Timothy Miller wrote: I consistently put empty into all unused globals when a script starts. Unlike HyperCard, in LiveCode you can actually delete them entirely: delete global gMyGlobal I don't have a particular hatred for globals either, you just have to know how to be careful with them. On the other hand, I don't think I've needed one now for years but if I did, I wouldn't hesitate to use it. They are faster and more convenient than a property or a handler, but their main advantage is that they aren't tied to any particular stack. That's a big advantage, even if you don't need it very often. Agreed - I use globals, but give them unique names to avoid kaboshing anyone else's globals (like gSTS_FillInTheBlank). To *me* the main downside with them is that you have to declare them in any script that wants to use them… so they're not *truly* global until you set up a connection to them. Personally I'd find globals more useful if once declared and set that they didn't need to be declared again to be used, but if that were to happen, I'd probably want to see Bob's suggestion (applicaton globals vs. stack globals) or the equivalent put into place to apply a scope to them. But all the options have their pros and cons: Globals: Pros: Easy to use, available everywhere, resides only in memory (so they're disposed of as soon as the engine quits); can be multidimensional arrays (which can cut down on the number of actual globals you use, BTW) Cons: Easy to kabosh if not careful, you need to declare them in every script that uses them Functions: Pros: Only need to be created once at design time and can be called from everywhere that has access; more flexibility (it can take parameters to adjust the returned value so you could simulate multiple dimensions by using parameters) Cons: The function needs to be in the available message path, which means that you'd need to use a frontscript/backscript/library to make it available to more than a single mainstack (and if you *do* that, you need to be careful of naming conventions because someone else might kabosh your function name); the actual data that is returned has to be stored somewhere if it's not just a calculation (although you can use a script local in the script that has the function so that it isn't permanently stored anywhere) Custom Props: Pros: Is stuck to an object (like a stack), so you know the value is specific to that object (e.g. the uVersion of stack vs. gMyStackVersion); only needs to be created once at design time; can be reached from anywhere so long as the object it's attached to is available Cons: *Much* easier to accidentally store permanently what should be a temporary change to a value (for stacks that need to call save for any reason); more difficult to use (gMyGlobal vs. the uWidgetType of btn 3 of card 123 of stack 'WhoTheHellCares') I'm sure there's more, but those are what popped into my head. :D Ken Ray Sons of Thunder Software, Inc. Email: k...@sonsothunder.com Web Site: http://www.sonsothunder.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: Unpopularity of global variables - why?
Ken Ray wrote: ... Custom Props: ... Cons: *Much* easier to accidentally store permanently what should be a temporary change to a value (for stacks that need to call save for any reason); more difficult to use (gMyGlobal vs. the uWidgetType of btn 3 of card 123 of stack 'WhoTheHellCares') I'm sure there's more, but those are what popped into my head. :D Here's one more for custom props: They may be best used very sparingly because they can potentially be unreliable. If any script attempts to get or set a custom property while the lockMessages is true, any getProp or setProp messages won't be triggered. If such handlers are necessary for execution unexpected behaviors will occur, and given the nature of such scripts tracking down the cause of the errant behavior can be tricky and time-consuming. -- 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: [OT] Pray for Andre
On 10/15/2012 08:51 PM, J. Landman Gay wrote: On 10/15/12 12:28 PM, Klaus on-rev wrote: Yep, and you may twist and turn it, the other true gateway drug is TOBACCO! Which doesn't even give you an intoxication***, so tobacco addiction is in fact a weird waste of money ;-) *** Is this the correct term? Yes, that term works. Actually nicotine does have a sort of intoxication, there's a buzz, especially if you go without for a few hours. The next cigarette makes you feel a little stoned. If you keep your nicotine level constant then there's no buzz. I smoke a narghile, and only about once every 4 or 5 weeks; the effect is just about the same as 3-4 glasses of strong red-wine without the headache later on. Medical research has shown that owing to the water filtration of the tobacco smoke it has the same negative health effects if smoked for 3 hours non-stop as 1 normal cigarette. ___ 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: Unpopularity of global variables - why?
Do you consider this a bug in lockMessages? Perhaps set and getProps should be able to be marked in some way that they are required. I guess changing the behavior of lockMessages could cause issues. -- M E R Goulding Software development services mergExt - There's an external for that! On 16/10/2012, at 6:21 AM, Richard Gaskin ambassa...@fourthworld.com wrote: If any script attempts to get or set a custom property while the lockMessages is true, any getProp or setProp messages won't be triggered. If such handlers are necessary for execution unexpected behaviors will occur, and given the nature of such scripts tracking down the cause of the errant behavior can be tricky and time-consuming. ___ 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: Unpopularity of global variables - why?
Monte Goulding wrote: On 16/10/2012, at 6:21 AM, Richard Gaskin wrote: If any script attempts to get or set a custom property while the lockMessages is true, any getProp or setProp messages won't be triggered. If such handlers are necessary for execution unexpected behaviors will occur, and given the nature of such scripts tracking down the cause of the errant behavior can be tricky and time-consuming. Do you consider this a bug in lockMessages? Perhaps set and getProps should be able to be marked in some way that they are required. I guess changing the behavior of lockMessages could cause issues. Agreed. But I like the idea of having a way to change that. Since the issue is specific to getProp and setProp, maybe there might be a way to declare those as required, e.g.: required getProp MyProp This would keep such a change optional, and limit its scope to only those getProp and setProp handlers that are essential, since sometimes it may be useful to have them suppressed by lockMessages. -- 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: [OT] Pray for Andre
On 10/15/12 1:08 PM, Klaus on-rev wrote: Hi Jaqueline, Am 15.10.2012 um 19:51 schrieb J. Landman Gay jac...@hyperactivesw.com: On 10/15/12 12:28 PM, Klaus on-rev wrote: Yep, and you may twist and turn it, the other true gateway drug is TOBACCO! Which doesn't even give you an intoxication***, so tobacco addiction is in fact a weird waste of money ;-) *** Is this the correct term? Yes, that term works. Actually nicotine does have a sort of intoxication, there's a buzz, especially if you go without for a few hours. The next cigarette makes you feel a little stoned. If you keep your nicotine level constant then there's no buzz. AHA! Thanks for the info. I obviously did not smoke enough cigarettes in the past to experience this :-) I experienced it every one of the dozens of times I quit. :) -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Unpopularity of global variables - why?
On Oct 15, 2012, at 12:21 PM, Richard Gaskin wrote: Ken Ray wrote: ... Custom Props: ... Cons: *Much* easier to accidentally store permanently what should be a temporary change to a value (for stacks that need to call save for any reason); more difficult to use (gMyGlobal vs. the uWidgetType of btn 3 of card 123 of stack 'WhoTheHellCares') What's the difference between customKey and customProperty? Having read the dictionary, I now know less about it than I did before. Could it be that a customProperty is an array, whereas a customKey is a value, or list of values? Tim ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Unpopularity of global variables - why?
That's exactly where I was going. Some way to let the engine know that it is the intention of the author that the code be executed even while lockMessages is true. -- M E R Goulding Software development services mergExt - There's an external for that! On 16/10/2012, at 6:40 AM, Richard Gaskin ambassa...@fourthworld.com wrote: required getProp MyProp ___ 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: Missing Digests
Thanks Jacqui and you were one of the last people I would accuse of such, honestly. Maybe you suffer from dribble after a few martinis, but never drivel ;-) best, Bob... Bob Earp White Rock, British Columbia. Date: Sun, 14 Oct 2012 16:35:28 -0500 From: J. Landman Gay jac...@hyperactivesw.com To: How to use LiveCode use-livecode@lists.runrev.com Subject: Re: Missing Digests Message-ID: 507b3020.9050...@hyperactivesw.com Content-Type: text/plain; charset=ISO-8859-1; format=flowed On 10/14/12 3:52 PM, Bob Earp wrote: I hate them for taking so much time to read, and doubly hate them when twits post totally useless drivel. I think I'm guilty of some of that. If you get the list as individual emails it's (maybe too) easy to post a quick reply, which encourages tangents. Some of it can be amusing though, I don't mind those. I filter all email from lists.runrev.com into their own email folder. The subject of the post is also the subject of the email, so you know immediately what it's about and don't need to open the ones of no interest. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com You know about this? : http://runtime-revolution.278305.n4.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: Unpopularity of global variables - why?
No it's my understanding that customKeys are the names of all your custom properties of a particular object. customProperties is an array with the name of the custom property as the key. So if you wanted to get the values of all your custom properties but you script is blind as to what exactly they are, you would first get the customKeys, then the customProperties, then loop through the lines of that and get each property by key name eg. put the customKeys of this card into theKeys put the customProperties of this card into aProps repeat for each line theKey in theKeys put aProps[theKey] into theCurrentKeyValue -- do stuff with it. end repeat Bob On Oct 15, 2012, at 1:15 PM, Timothy Miller wrote: On Oct 15, 2012, at 12:21 PM, Richard Gaskin wrote: Ken Ray wrote: ... Custom Props: ... Cons: *Much* easier to accidentally store permanently what should be a temporary change to a value (for stacks that need to call save for any reason); more difficult to use (gMyGlobal vs. the uWidgetType of btn 3 of card 123 of stack 'WhoTheHellCares') What's the difference between customKey and customProperty? Having read the dictionary, I now know less about it than I did before. Could it be that a customProperty is an array, whereas a customKey is a value, or list of values? Tim ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Unpopularity of global variables - why?
Richard: I understand the intention of your suggestion, but aside from using setProp/getProp, what object properties *cannot* be set during locked messages? Has a reason ever been put forward from RunRev for why custom props cannot be set/read while messages are locked? It seems to me that the current behavior has only been a behavior for some technical limitation in the engine, not because of a scripting need. But this is totally a perception on my part. Otherwise, I'm all for *some* (ANY) method for enabling custom prop setting/reading during locked messages. Best Regards, Scott Rossi Creative Director Tactile Media, UX Design On 10/15/12 12:40 PM, Richard Gaskin ambassa...@fourthworld.com wrote: Monte Goulding wrote: On 16/10/2012, at 6:21 AM, Richard Gaskin wrote: If any script attempts to get or set a custom property while the lockMessages is true, any getProp or setProp messages won't be triggered. If such handlers are necessary for execution unexpected behaviors will occur, and given the nature of such scripts tracking down the cause of the errant behavior can be tricky and time-consuming. Do you consider this a bug in lockMessages? Perhaps set and getProps should be able to be marked in some way that they are required. I guess changing the behavior of lockMessages could cause issues. Agreed. But I like the idea of having a way to change that. Since the issue is specific to getProp and setProp, maybe there might be a way to declare those as required, e.g.: required getProp MyProp This would keep such a change optional, and limit its scope to only those getProp and setProp handlers that are essential, since sometimes it may be useful to have them suppressed by lockMessages. -- 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: [OT] Pray for Andre
HyperCard was my gateway drug. Jim Lambert ___ 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] Pray for Andre
They promised me easy applications, and all I had to do was repeat all the commands over and over. on mouseUp. on Opencard. On closeStack. Over and over. One day I woke up in a teepee in Northern California smelling like smoke, with a big headache, a woman with armpit hair, two marmots and no idea how I got there. It's bad, bad stuff man! I'm never going back again! Bob On Oct 15, 2012, at 2:59 PM, Jim Lambert wrote: HyperCard was my gateway drug. Jim Lambert ___ 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: Unpopularity of global variables - why?
Scott Rossi wrote: I understand the intention of your suggestion, but aside from using setProp/getProp, what object properties *cannot* be set during locked messages? Has a reason ever been put forward from RunRev for why custom props cannot be set/read while messages are locked? It seems to me that the current behavior has only been a behavior for some technical limitation in the engine, not because of a scripting need. But this is totally a perception on my part. Otherwise, I'm all for *some* (ANY) method for enabling custom prop setting/reading during locked messages. I don't know why the current situation is as it is, so my suggestion for allowing a flag to make getProp/setProp immune to message locking was aimed primarily at backward compatibility. I guess the logical question for the community is: How many of use have scripts that rely on the suppression of getProp or setProp via lockMessages? -- 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: Unpopularity of global variables - why?
I don't have any scripts that rely on it, but I have situations where I have had to avoid the use of get/setProp because of the lock messages issue so I would vote ofr such an enhancement (assuming I still could!). Pete lcSQL Software http://www.lcsql.com On Mon, Oct 15, 2012 at 3:09 PM, Richard Gaskin ambassa...@fourthworld.comwrote: How many of use have scripts that rely on the suppression of getProp or setProp via lockMessages? ___ 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: Unpopularity of global variables - why?
I haven't used custom props much yet, but I do think that locking messages is something that should be used sparsely. There are times when it seems it's the only way around a prickly problem, but I suspect some of those situations could have been also solved by a design change. Once painted into a corner, locking messages may be the quickest way out. Normally it shouldn't be necessary. I try to design my interface so that I let the engine do what it was designed to do. I'd be curious if people can summarize all the times that locking messages became a necessity, and then see if some of us can figure out another way of going about it. Bob On Oct 15, 2012, at 3:09 PM, Richard Gaskin wrote: Scott Rossi wrote: I understand the intention of your suggestion, but aside from using setProp/getProp, what object properties *cannot* be set during locked messages? Has a reason ever been put forward from RunRev for why custom props cannot be set/read while messages are locked? It seems to me that the current behavior has only been a behavior for some technical limitation in the engine, not because of a scripting need. But this is totally a perception on my part. Otherwise, I'm all for *some* (ANY) method for enabling custom prop setting/reading during locked messages. I don't know why the current situation is as it is, so my suggestion for allowing a flag to make getProp/setProp immune to message locking was aimed primarily at backward compatibility. I guess the logical question for the community is: How many of use have scripts that rely on the suppression of getProp or setProp via lockMessages? -- 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: Unpopularity of global variables - why?
One situation in particular is when you make changes to numerous objects via a single script, such as grouping, changing location, scaling, etc. These cases will almost always execute faster when lock messages is true because the IDE (and/or scripts that track objects and their properties) won't update until messages are unlocked. Locking the screen helps, but locking messages helps more. Regards, Scott Rossi Creative Director Tactile Media, UX Design On 10/15/12 3:38 PM, Bob Sneidar b...@twft.com wrote: I'd be curious if people can summarize all the times that locking messages became a necessity, and then see if some of us can figure out another way of going about it. ___ 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: Unpopularity of global variables - why?
Do you still need custom props in this scenario? Also, complex groups got me thinking, LC does not include Datagrids when using edit group or select group. That is curious. They are obviously doing something different. Is it something the IDE just knows or is there some kind of property, or custom props set up in the datagrid library that allows them to work like that? If the latter, I wonder if that will work for other groups as well? I know you make great use of groups in a lot of your work. Bob On Oct 15, 2012, at 3:53 PM, Scott Rossi wrote: One situation in particular is when you make changes to numerous objects via a single script, such as grouping, changing location, scaling, etc. These cases will almost always execute faster when lock messages is true because the IDE (and/or scripts that track objects and their properties) won't update until messages are unlocked. Locking the screen helps, but locking messages helps more. Regards, Scott Rossi Creative Director Tactile Media, UX Design On 10/15/12 3:38 PM, Bob Sneidar b...@twft.com wrote: I'd be curious if people can summarize all the times that locking messages became a necessity, and then see if some of us can figure out another way of going about it. ___ 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: Unpopularity of global variables - why?
The dgProps[control type] for a datagrid returns data grid and I've seen various places in the IDE code that uses that to detect a datagrid (like trying to ungroup one). I guess you could create a property like that in other groups if you wanted them to be treated the same as datagrids but it feels like that would be pretty dangerous. Pete lcSQL Software http://www.lcsql.com On Mon, Oct 15, 2012 at 4:08 PM, Bob Sneidar b...@twft.com wrote: Do you still need custom props in this scenario? Also, complex groups got me thinking, LC does not include Datagrids when using edit group or select group. That is curious. They are obviously doing something different. Is it something the IDE just knows or is there some kind of property, or custom props set up in the datagrid library that allows them to work like that? If the latter, I wonder if that will work for other groups as well? I know you make great use of groups in a lot of your work. Bob On Oct 15, 2012, at 3:53 PM, Scott Rossi wrote: One situation in particular is when you make changes to numerous objects via a single script, such as grouping, changing location, scaling, etc. These cases will almost always execute faster when lock messages is true because the IDE (and/or scripts that track objects and their properties) won't update until messages are unlocked. Locking the screen helps, but locking messages helps more. Regards, Scott Rossi Creative Director Tactile Media, UX Design On 10/15/12 3:38 PM, Bob Sneidar b...@twft.com wrote: I'd be curious if people can summarize all the times that locking messages became a necessity, and then see if some of us can figure out another way of going about it. ___ 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: Unpopularity of global variables - why?
If you want to set the menuhistory of an option menu button without triggering a menuPIck event, lock messages achieves that. Pete lcSQL Software http://www.lcsql.com On Mon, Oct 15, 2012 at 3:38 PM, Bob Sneidar b...@twft.com wrote: I'd be curious if people can summarize all the times that locking messages became a necessity, and then see if some of us can figure out another way of going about it. ___ 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: Unpopularity of global variables - why?
There can be other benefits of using globals if you want to make information available to other stacks on purpose. In my lcTaskList plugin there is a global variable gLcTaskListBookmarks which contains the active words the plugin uses for building the indexed list. Mark Wieder was able to use that information in GLX2 to make it easy to put a bookmark word from a list of them into a script using the GLX2 editor. The global variable name I chose should be unique enough to the task list plugin so that it would be very unlikely to be used by any other program. By using a global variable, Mark was able to leverage user provided information contained in lcTaskList and apply it to software you are writing. Bill Vlahos _ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. lcTaskList: (http://www.infowallet.com/lctasklist/index.htm) RunRev lcTaskList Forum: (http://forums.runrev.com/viewforum.php?f=61) On Oct 12, 2012, at 2:01 PM, Mark Wieder mwie...@ahsoftware.net wrote: Generally speaking (there are exceptions) the main reason global variables are a bad idea is that they have no protection. Any script in any stack can change the value of a global variable behind your back, and then it's a real pain trying to figure out what's going 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: [OT] Pray for Andre
On Mon, Oct 15, 2012 at 1:04 PM, J. Landman Gay jac...@hyperactivesw.comwrote: I experienced it every one of the dozens of times I quit. :) A Mark Twain put it, Quitting smoking is easy--I've done it thousands of times. -- 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