Re: [ANN] Looking for Proof Reader
Hi, I have got a few responses. I don't know if the people who contact me will actually read the (whole) book, so I'm still looking for more help. On 5/1/2014 13:57, Mark Schonewille wrote: VOLUNTEER WANTED I'm writing a new book about LiveCode, to be released in a few months. I'm looking for a volunteer who wants to proof read the book. The book is in English and you need to be a CS teacher. Currently, one person is proof reading and I think there should be another one to make sure that all mistakes are found. What you get: - You get to read the book before (almost) anyone else; - Evidently, you get a free copy of the book; - You help to decide what students will learn in class (very useful if you're using LiveCode as a teacher); - Your name will be mentioned in the book and you can put that on your resume if you want. What I'm looking for: - You need to have fluent English skills; - You need to be a CS teacher; - it isn't required to be familiar with LiveCode; - you need to have loads of spare time during the next 3 months. Just send me a message if you're interested. Feel free to forward this message to anyone who might be interested. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 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
Re: [ANN] Looking for Proof Reader
Hi Charles, Thanks for the offer. I'll send you an e-mail. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 5/4/2014 04:25, Charles Szasz wrote: Mark I would be happy to help with proofreading your book. Sent from my iPad ___ 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] For Ender Nafi
Hi Ender Nafi, Could you please send me an e-mail? All e-mail addresses I have of you bounce back. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 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
Re: [OT] For Ender Nafi
Hi Ender Nafi, Thanks for the reply. I don't understand what you mean? All error messages tell me that your e-mail address doesn't exist. Note that I'm able to send e-mails to other people, just not to you. Can you send me an e-mail from a different address? You can also contact me on Skype tomorrow. My user name is xtalkprogrammer. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 5/5/2014 23:07, Ender Nafi Elekcioglu wrote: Mark, It seems that the real problem is slightly different. Please have a look at the attached reply from your server: ~~~ Your message could not be delivered to one or more recipients. It's attached below. Please, do not reply to this message. m.schonewi...@economy-x-talk.com: host economy-x-talk.com[74.81.78.146] said: 550-Verification failed for endern...@keehuna.com 550-No Such User Here 550 Sender verify failed (in reply to RCPT TO command) ~~~ ~ Ender From: Ender Nafi Elekcioglu endern...@keehuna.com Reply: Ender Nafi Elekcioglu endern...@keehuna.com Date: May 6, 2014 at 0:03:44 To: How to use LiveCode use-livecode@lists.runrev.com Subject: Re: [OT] For Ender Nafi Mark hi, I’ve closed all of my gmail accounts and switched to a corporate mail, probably that’s the reason of bounce-back. Sorry for the inconvenience. Here is my active e-mail address for all of you who needs to reach to me: endern...@keehuna.com Warmest Regards, ~ Ender From: Mark Schonewille m.schonewi...@economy-x-talk.com Reply: Mark Schonewille m.schonewi...@economy-x-talk.com Date: May 5, 2014 at 23:46:38 To: How to use LiveCode use-livecode@lists.runrev.com Subject: [OT] For Ender Nafi Hi Ender Nafi, Could you please send me an e-mail? All e-mail addresses I have of you bounce back. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 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 ___ 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: [OT] For Ender Nafi
Hi Peter, Thanks. I think we sorted it out. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 5/6/2014 12:21, Peter W A Wood wrote: Mark I successfully sent a test message to Ender at the address he supplied and received a reply. Regards Peter ___ 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: Mysql UNIQUE and .lc server scripts?
Hi John, After executing a MySQL command with revExecuteSQL, the result contains either an error or an integer. If the result is an error, then you know that the change couldn't be made and 0 records were affected. If the result is an integer, then you need to check that the integer is greater than 0. If it isn't, something may have gone wrong and 0 records were affected. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 5/9/2014 01:18, JOHN PATTEN wrote: Hi All, I’m using some .lc server scripts to add records to a database from an app. My database has one field that is UNIQUE. Is it possible to capture the mySQL message and report it back to the app when text entered for specific field is not unique? The database won’t create the record due to the fact that the filed is not unique, but it also does not give the user any clue of this fact. Thank you! John Patten ___ 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: Subscription-based sales system
Hi Marty, Installer Maker is a plug-in and standalone program that can be updated for free during 3 months after purchase. During one year after purchase, people can buy a new license at a discount price. Almost everything happens automatically when someone buys a license. I only need to press a button to confirm receipt of payment --a step which I could easily take out of the process if I wanted to. The process is the following: 1) someone buys a license using PayPal 2) the server registers payment and PayPal sends an e-mail to me 3) I press the button and an e-mail with the license is sent 4) the license keys of the past 3 months are stored in a database on my server When someone tries to buy an update 5) the user enters his or her license key in a web form 6) if the license key is in the database, a different web form loads 7) the user can use this web form to buy a discounted license using PayPal 8) see step (2) This isn't exactly a subscription-based system, because people can still use Installer Maker with an expired license; they just can't upgrade at the discount price after more than one year. However, the license is connected with the date it is created on and thus it is easy to make the software stop working entirely when this date is reached. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 5/13/2014 19:08, Marty Knapp wrote: Has anyone set up sales of their applications on a subscription basis? I would want something that could be automated so that if a customer's subscription ran out, they could make a payment and be back up and running without having to wait. It would be for Mac and Windows - no mobile and no app stores. Thanks for any input and ideas. Marty ___ 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: Fade effect for a Field
Hi Pascal, You need this: on fadeControl theLongID repeat with x = 100 down to 0 with messages set the blendLevel of theLongID to x wait 1 millisec with messages end repeat wait 2 seconds with messages repeat with x = 0 to 100 with messages set the blendLevel of theLongID to x wait 1 millisec with messages end repeat end fadeControl usage: fadeControl the long id of fld 1 There are many ways to write the same script. You can adjust it to simply use the number of a field and you can increase the waiting time. You could even use steps to reduce the waiting time, but then you'd have a less smooth effect. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 5/16/2014 14:38, Pascal Lehner wrote: Hi all, I want to make a field displaying some status text (Record saved) that fades from invisible to visible, stays for a few seconds and then fades out again. I have seen that there seems to be a way to do this with groups, but could I also do it with a single field? Thanks, Pascal ___ 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: repeat with messages
Hi Jerry, The with messages clause makes a repeat loop non-blocking. This allows you to run multiple handlers with repeat statements simultaneously. I add the wait with messages command at the end of the loop to give the engine more time to update the GUI. Particularly in older versions of LiveCode, it makes a huge difference. E.g. try setting the thumbPos of a progress bar using a repeat loop in LC 5. Without wait, you may not even see that the progress bar updates until you reach the end of the loop. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 5/16/2014 23:43, Jerry Jensen wrote: In a nice example from Mark S., I see the line below. I've never seen the with messages part on the end of a repeat statement. I tried it, and it compiles and runs without complaint. What does it do, allow messages at the end of each repeat? I don't see it in the dictionary. I'm running LC Community 6.6.1 . .Jerry On May 16, 2014, at 5:46 AM, Mark Schonewille m.schonewi...@economy-x-talk.com wrote: repeat with x = 100 down to 0 with messages ___ 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: setProp handlers
Hi Devin, The properties inspector seems to lock messages before setting properties. This also applies to e.g. setting the width and height of a control. If it didn't do this, the properties inspector would probably become unusable because we'd have to switch message on and off all the time and when we'd forget to do that, we might mess up our interface or worse. It is probably a very good thing that the properties inspector doesn't trigger setProp and getProp handlers. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 5/20/2014 00:16, Devin Asay wrote: Shouldn't a setProp handler be triggered if you set the custom property in the property inspector rather than in a script? It doesn't seem to be doing that for me. LC 6.6.2 RC 3. The dictionary doesn't have anything to say about this issue. Devin Devin Asay Learn to code with LiveCode University http://university.livecode.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: Windows 8 and 8.1
Hi, I have quite a few apps, built with Revolution 2.x, 3.x, and 4.x and LiveCode 4.x, 5.x and 6.x and they all seem to work. Once in a while, there is a version that won't run at all, but most versions of RR and LC work on every major Windows version, including Win XP, Win Vista, 7, 8 and 8.1. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 5/22/2014 22:19, la...@significantplanet.org wrote: I built a standalone with the old Rev 2.9 that works fine on Windows 8. I'm not 100% sure if it works on 8.1, but I think so (I think one of my sons has 8.1) Hope that helps! - Original Message - From: Richmond richmondmathew...@gmail.com To: How to use LiveCode use-livecode@lists.runrev.com Sent: Thursday, May 22, 2014 2:03 PM Subject: Windows 8 and 8.1 Do Livecode standalones work on Winodws 8 and 8.1? And, if so, can you tell me what is the earliest version of Livecode that produces standalones that work on these systems? 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: iOS tableview needed
Hoi Marc, Misschien kan ik iets voor je betekenen. Als je op zoek bent naar zoiets als dit https://developer.apple.com/library/ios/documentation/userexperience/conceptual/tableview_iphone/AboutTableViewsiPhone/AboutTableViewsiPhone.html dan heb ik dit http://www3.economy-x-talk.com/file.php?node=ios-gui-elements in de aanbieding en ik wil best eens kijken of ik dat kan aanpassen aan jouw specificaties. Heb je MobGUI ook geprobeerd en indien ja, waarom voldoet dat niet? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 5/27/2014 13:56, Marc Van Cauwenberghe wrote: Hi, I am looking for a good implementation of a static iOS tableview such as you see in iphone or ipad settings. Preferably an external because I do not think LC is at this moment able to some of the smooth graphics that iOS can. But somebody may proof me wrong. This is a PAYING job. Please email me at marc dot vancauwenberghe at pandora dot be for more details, rates, questions... Best regards, Marc Van Cauwenberghe ___ 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 tableview needed
Sorry, I sent my e-mail to the wrong address :-( Apologies. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 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
[ANN] A little info about my book
Hi everyone, It's been a while that I made any announcements about my book. I have been working on the 3rd print of Programming LiveCode for the Real Beginner and had some issues with printing and logistics. We have sorted out all issues and now I'm happy to announce that the book is available again. The third print of Programming LiveCode... has been updated to include a few new XML commands that were introduced in the latest stable release of LiveCode. I have also mentioned the textEncode and textDecode functions, which are going to appear in LiveCode 7. It should be clear, though, that I have kept the changes to a minimum. It looks like LiveCode 7 would require a considerable rewrite of the book. For now, this would take me too much time. Perhaps I'll do this some time in the future, when I have sufficient spare time on my hands. While I was trying to get the book printed again, people kept purchasing and by now most of the books have been sold already. We have only 30 copies left and we will print more in 2 months. If you don't want to be on a waiting list, order now and we'll send the book to you next week. You can order the book at http://qery.us/4ie and more info is available at http://qery.us/4id -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 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
Re: which release do you recommend?
Hi Larry, I don't use XP at the moment. Today I happen to be using LC 6.6.1.4005 on Windows 8.1 and I don't experience any problems. Revolution 4.5-dp4 always worked fine for me on Windows XP. What kind of weird behaviour to you observe? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 6/9/2014 16:43, la...@significantplanet.org wrote: behavior with the compiled program using Windows XP and 6.1.1 (rc4) - behavior that doesn't show up in the IDE, but do ___ 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: which release do you recommend?
I shouldn't have written that, because LiveCode just crashed :-) -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 6/9/2014 17:02, Mark Schonewille wrote: Hi Larry, I don't use XP at the moment. Today I happen to be using LC 6.6.1.4005 on Windows 8.1 and I don't experience any problems. Revolution 4.5-dp4 always worked fine for me on Windows XP. What kind of weird behaviour to you observe? -- Best regards, Mark Schonewille ___ 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: Best approach to introduce students in programing to LC ?
Hi JBV, I could imagine that first-year students have no or almost no experience with programming. They might need to get acquainted with concepts such as abstract thinking, logic, recursion and perhaps GUI design. Additionally, they will need to learn elementary syntax, and how to use variables and other containers. Not very long ago, I announced that I'm working on a new book. While my current book might be useful --specifically for second-year students-- the new book is probably more suitable for your first-year students. This new book will deal with all basic concepts mentioned in the above and leave out all advanced subjects, which a teacher could still add to the course as a bonus. I'm looking for people who want to review this book and you might want to join. Perhaps we can arrange something, so you'll be able to use it in September. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 6/10/2014 20:24, j...@souslelogo.com wrote: Hi list, Starting next september I might have the opportunity to give a few hours of teaching at the local technology institute for students in their 1st and 2nd year of learning techniques of internet, multimedia and programming. Of course the first idea that crossed my mind was to introduce them to LC, as a recent discussion with some of their teachers showed clearly that almost nobody there was aware of it, and those who knew about LC haven't found the time to test it... I might be wrong, but the best / most attractive approach seems to be code once deploy many... Do you guys have some suggestions about what the main chapters of such a teaching should be ? I'll also try to find the time to search the archives, as I'm sure that topic has already been discussed... Thanks jbv ___ 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
[ANN] More info about the LC meeting in Switzerland
Hi everyone, On Saturday, 28th June 2014, Björnke von Gierke and Mark Schonewille will organise a LiveCode meeting. On this day, we'll welcome you at the Zentrum Karl der Grosse (Charles the Great Centre) in Zurich, Switzerland. We can now provide you with a little more info about the meeting. *Agenda* While the agenda for the meeting hasn't been decided on, we can already mention a few items that are likely to be included: 1) Opening at 13:00h. 2) A discussion about the question why LiveCode doesn't catch on, or why people don't get it. 3) A raffle with great prizes, including a SuperCard license, a copy of the book Programming LiveCode for the Real Beginner, a Charts Engine license, an Animation Engine license and more. 4) We will have a goodie bag (or envelope) containing a coupon code for a 30% discount on a LiveCode license and a 50% discount in Installer Maker. We are still looking for more items in the goodie bag; let us know if you want to add something. 5) Closing at 17:00h. 6) Dinner on the premises at 18:00h. There is plenty of time left in our schedule and we invite you to send in proposals for discussion topics and presentations. If you have been struggling with a question for a long time, you can ask the attendants for an answer; if you have a cool trick, you can show us; if you have a product to announce, you can give a demonstration; etc. Obviously, you can also just attend the meeting. *Registration and participation* Because there is limited space on the premises where we hire a conference room, we would like you to register as soon as possible by sending an e-mail to Björnke at b...@mac.com . While entry is free, you'll need to bring sufficient cash for drinks and dinner. We will provide coffee and tea. The hotel will be at your own expense. We can recommend a hotel on request. *Important info:* Meeting: Saturday 28 June 2014, from 13:00 to 17:00h. Dinner: Saturday 28 June 2014, from 18:00h. Address: Zentrum Karl der Grosse Kirchgasse 14 8001 Zürich Map: https://goo.gl/maps/BqqKz Picture of conference room: http://i.imgur.com/r6KlUeD.jpg *Current sponsors/products* RunRev http://www.livecode.com SuperCard http://www.supercard.us Animation Engine https://livecode.com/store/marketplace/animation-engine-5/ Charts Engine https://livecode.com/store/marketplace/charts-engine-1-2-1/ Installer Maker http://rrinstallermaker.economy-x-talk.com Programming LiveCode... http://livecodebeginner.economy-x-talk.com/ Datagrid Helper http://www.aslugontheroad.com/ourproducts/2-what-is-dgh -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 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
Re: Removing all NON numbers from a data element
Hi, This regex does what you want: on foo put 123-f-78-x0// into x put replacetext(x,[^0-9],) end foo Probably you will need a repeat loop, unless you really just have a list of 50 phone numbers. In that case you could use replacetext(x,[^0-9\n],) to modify the entire list at once. I don't know how long that would take, though. Just try it. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 6/11/2014 20:23, Magicgate Software - Skip Kimpel wrote: Hello LC'ers I have data element that I need to scan for all NON numbers and remove them. For instance this data element should read 0123456789 but sometimes is listed as 0123-4-5678-9 or has foreign characters in it or reads NOT AVAILABLE. so: if item 14 of tLine number then There are about 500,000 rows of data to go through so my dilemma is to make the code as efficient as possible. Thank you for any input you might have! ___ 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] A note for purchasers of Programming LiveCode...
Hello, This morning, we sent out a message to everybody who bought my book Programming LiveCode for the Real Beginner to request confirmation of their postal mail addresses. We are still waiting for more replies. If you bought the book and haven't received it yet, please check your mail box. Not seeing the request? Send a message to supp...@economy-x-talk.com and check that you get a reply within 5 minutes. If not, try contacting us from a different e-mail address. If you're getting multiple requests, it means that we don't receive your replies. Please try replying from a different e-mail address if this happens. Different means: an address using a different domain name and IP address. We will ship the books tomorrow. If we don't have your confirmation, we'll ship it one week later. If you order the book tonight, we'll send a request for confirmation in the morning and will be able to ship your book tomorrow if you keep an eye on your mail box. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 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
Re: Put a stack into a variable?
How do you paste the stack? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 6/13/2014 23:10, Richard Gaskin wrote: In case anyone needs this, this works in a button but not in the Message Box, which is why I had missed this before: on mouseUp copy this stack put the clipboardData[objects] into tVar put tVar end mouseUp ___ 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: Put a stack into a variable?
Hi, If you want to move cards within a stack, you can just set the number. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 6/13/2014 23:59, Dr. Hawkins wrote: On Fri, Jun 13, 2014 at 2:17 PM, Mark Schonewille m.schonewi...@economy-x-talk.com wrote: How do you paste the stack? It seems to me that I played around with this a while back (or did someone else play around on my musings?), and found that cards could be cut/moved/paste like this. ___ 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: Put a stack into a variable?
Hi, If you want to add a new form to an existing application, you can save the card with the form on your server and download and save it locally when the app starts. No database involved. If your app needs to get new form data from the server, that's even easier. Just download the data and save them in the local database. It is important to treat interface and data separately. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 6/14/2014 00:09, Dr. Hawkins wrote: On Fri, Jun 13, 2014 at 3:06 PM, Mark Schonewille m.schonewi...@economy-x-talk.com wrote: If you want to move cards within a stack, you can just set the number. My interest is actually in passing forms from my service to a compiled customer application. So if the Western District of Lincoln has it's own form, the customer could get it from my server, stash it to a local database, and it would get inserted on program run. Possibly even for saving customer generated forms to the local db to be inserted at runtime. ___ 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: Put a stack into a variable?
It means that you can make it work. Go to url won't work, but you can download the data, set clipboarddata[objects] and paste. Not sure if it is a bug. It is if copied stacks lose properties that aren't part of the old format. Otherwise I'd call it a feature request. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 6/13/2014 23:48, Richard Gaskin wrote: Mark Schonewille wrote: How do you paste the stack? If you use the copy command on a stack, the paste command will do the same as the clone command, duplicating the stack with a name prepended with Copy of. That said, it appears there's a difference in the binary data of a copied stack and a saved copy of the same stack file. For starters, LC 6.6.2 saved in the v5 format, but copied stacks have a 2700 header for the old 2.7 format. Bug maybe? But worse, even when I save a stack in the old 2.7 format, the data in the stack file still differs from the data in the clipboard is a surprisingly large number of ways, including an apparent replication of nearly the entire data in the clipboard, and with a different header than used in the stack file. So right now, my dream of being able to get a stack's data from RAM to save to a server without going to disk as an intermediary step is hosed. :( ___ 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] Programming LiveCode...
Hi, We have sent a few people multiple requests to confirm their addresses. Not getting our e-mails? Please contact me off-list! Haven't you ordered the book yet? We're currently shipping. If you order now, we'll ship the book within a few days and you may have it next week (depending on your location). -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 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
Duplicating XML tree
Hi, I have an XML tree in memory, loaded with revXMLCreateTreeFromFile. Now I want to make a copy of the tree. I could load it from file again, but it seems more logical to me to duplicate the existing tree, something like revXMLCopyTree, but that function doesn't seem to exist. Is there a command or function for this purpose that I haven't discovered yet? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 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
Re: Duplicating XML tree
Hi Martin, I was hoping to copy the tree directly. I thought of your solution and I could also load the tree from file twice in this particular case, but I'd rather copy an existing tree directly if possible. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 6/16/2014 16:07, Martin Koob wrote: I think you can do it this way. put revXMLtext(tTreeID) into tXMLdata put revXMLCreateTree(tXMLdata,false,true,false) into tTreeIDCopy Martin ___ 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: numberFormat question
David, The numberformat doesn't affect precision. It only affects output as is shown by on mouseUp set the numberformat to 00 put 0.01*1 into x set the numberformat to 00.00 put x*1 end mouseUp It even only affects the current handler and doesn't affect precision in calling handlers: on mouseUp // default is 0.## put a1() into x put x*1 end mouseUp function a1 set the numberformat to 00 return 0.01*1 end a1 The above script returns 0.01 instead of 00. I don't think LiveCode allows you to adjust the precision as other languages to with e.g. signed and unsigned integers and floating precision. You'd have to write special routines for this. I think there is quite a lot of discussion to find in the archives about high precision and floating point numbers. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 6/16/2014 20:13, dfepst...@comcast.net wrote: I am trying to set the numberFormat so that calculation is precise enough for the situation. Since I don't know ahead of time how many decimal places will be used, I wrote a function that I hoped would adjust things as necessary. But when this function is called with parameters m = 1.09131 and n = .001 and k = 1, it returns 1.09131 rather than 1.0913101. The last couple of lines were added for testing, and the debugger shows that the numberFormat is being set correctly but that the truncated value is put into hold. Can anybody see what is going wrong? Many thanks. David Epstein function preciseEnough m,n,k -- return the value m + k*n -- default numberFormat shows up to 6 decimal places -- If m, n, or k has more than that precision, this function sets the numberFormat with a margin of safety -- before returning the answer put length(m) - offset(.,m) into aPlaces put length(n) - offset(.,n) into bPlaces put length(k) - offset(.,k) into cPlaces put the numberFormat into myString if max(aPlaces,bPlaces,cPlaces) + 4 length(myString) then get myString set the numberFormat to it end if put the numberFormat into nf put m + k*n into hold return hold end preciseEnough ___ 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: which is faster for searching?
Hi Larry, If you want to do a one-time search, possible invoked by a user action, 3000 lines is nothing. Don't bother about speed and just use the most convenient way to search. If you want to search repeatedly without user interactions between the searches, speed may be important. In that case, a repeat for each loop may be surprisingly fast. If you just want to find relevant lines and dispose of irrelevant lines, the filter command will probably be what you need, especially with its recently introduced new features. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 6/17/2014 16:22, la...@significantplanet.org wrote: I have a large variable containing about 3000 lines of data - each line about 100 characters. I want to search through the variable and find all the lines that contain a specified string Should I use (repeatedly) lineoffset..., or should I use repeat for each line... or maybe some other faster way? Or with only 3000 lines of data, does it even matter? TIA Larry ___ 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
[OT] M. S. Pease
Dear M.S. Pease, Would you please be so kind to contact supp...@economy-x-talk.com? We have been trying to contact you by e-mail several times, but we get not reply from you. Please send an e-mail to aforementioned address. If you don't get an (auto-) reply within 24 hours, please try a different e-mail address (no Hotmail). -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 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
Re: specialfolderpath
Hi, A more complete list for Mac OS X and Windows is in my book. Note that you can also use absolute paths like /Applications /Application Support and relative paths like ~/Applications ~/Application Support This may make it easier to get to the right folder. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 6/22/2014 03:30, Peter Haworth wrote: Thanks,added it to my useful bookmarks. Seems like the dictionary should include all that info instead of the very short list that's in there right now. 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 Sat, Jun 21, 2014 at 6:04 PM, Martin Koob mk...@rogers.com wrote: You can use 4 digit codes http://www.sonsothunder.com/devres/livecode/tips/file010.htm The application folder is apps specialfolderpath(apps) Martin ___ 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: nan v. try-catch for arithmetic
Hi Graham, If I execute (-8)^(2/3) in LiveCode 6.6.1, I get execution error at line 7 (pow: range error (overflow)), char 17, i.e. an execution error instead of NaN. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 6/24/2014 20:02, Graham Samuel wrote: Hi I have a bit of code that looks for input errors where the user is supposed to write an arithmetic expression into a field. The relevant fragment looks like this try put value(fld myField) into testResult catch answer oops, that's not a valid real number. Try again exit mouseUp end try ... Now I input a legitimate expression like 3+sin(pi/2) the catch doesn't fire, as expected. If I put in something which isn't a well-formed expression, like ardvaark + 92 it does fire, as expected. If I put sqrt(-1) that fires too. But if I put (-8)^(2/3) I get a result, nan, and the catch doesn't fire. Why not? Maybe someone can explain what the engine is doing here - or is it just an obscure bug? 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
On my way to the LiveCode meeting
Hi guys, Just wanted to let you know I'm on my way to the LiveCode meeting in Switzerland. If you want to participate too, just send an e-mail to me to Bjoernke. More info is available at http://www3.economy-x-talk.com/blog/ . I hope to see you there. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 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
[ANN] Installer Maker 1.8.6
Hi, Naturally, when doing a presentation, something must go horribly wrong. So, Installer Maker complained with an error yesterday, while I showed it to the audience at the LiveCode meeting here in Zürich. Fortunately, it was a really small problem and although I'm not back in the office yet, I was able to fix this little bug already. The new version of Installer Maker is 1.8.6 and it includes a fix for the error message as well as some small multi-lingual improvements. You can download the new version at http://qery.us/8je Installer Maker 1.8.6 is a free update for everyone who bought a license during the past 3 months. If you bought a license less than a year ago, then you can purchase an upgrade license at a 50% discount. This update applies to both the standalone version and the plug-in version of Installer Maker. Send me an e-mail if you're still experiencing any difficulties after downloading and installing the new version. Kind regards, Mark -- 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 We have time for new software development projects. Contact me for a quote. ___ 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: Elegant way to express constant UTF8 string in script?
Hi Ben, The apostrophe doesn't work because you convert to ASCII text that looks different on different platforms. If you don't use unidecode and just set the unicodeText of a field to your Unicode string, it should work. If that's not practical, you could use macToIso() to convert your string to Latin-1. -- Kind regards, Mark Schonewille Economy-x-Talk Http://economy-x-talk.com Share the clipboard of your computer over a local network with Clipboard Link http://clipboardlink.economy-x-talk.com Op 30 jun. 2014 om 16:38 heeft Ben Rubinstein benr...@cogapp.com het volgende geschreven: I think this problem should be solved in LC 7 (possibly using normaliseText); but I need a solution that I can ship now (and it's been threatened that LC 7 will 'fix' a 'bug' which isn't, so I'm not sure if I'll ever able to use it). My app processes some data from - and then, re-organised, to - UTF8 text files. Occasionally it needs to insert a constant string; and for various reasons (all of them excellent) I want to specify these constant strings in the script. So far, so good. Now however one of these constant strings needs to contain a character which is not in ASCII. Actually two of them. So I need to express a UTF8 string in my script. And I'm searching for an elegant way to do this. My constant string used to look something like this: constant kMyConstantString = This is my ice cream but now it needs to read something like constant kMyConstantString = This ice cream is (c) Ben and Jerry's Inc (only with a smart apostrophe and a proper copyright symbol). I thought I could just about manage with this put uniDecode(uniEncode(This ice cream is © Ben and Jerry’s Inc, ANSI), UTF8) into kMyConstantString (that is, encode from ANSI to Unicode, then from Unicode into UTF8). I tested it on Mac and it seemed to work. The UTF8 file was generated and this text came out just right. However, it turned out that when the code was compiled and run on Windows, the copyright symbol came out OK, but the apostrophe came out as o-tilde. This is because uniEncode(..., ANSI) is a lie; ANSI is meaningless; instead it interprets the source encoding as whatever is typical for the operating system. I wrote the script on Mac; in MacRoman, © is 0xA9 and smart apostrophe is 0xD5; in ISO-8859-1 (and UTF8), 0xA9 is ©, but 0xD5 is o-tilde. So... what's the most elegant way to this (is there one)? Is there any alternative to just looking up the UTF8 encodings and writing: put format(This ice cream is \xC2\xA9 Ben and Jerry\xE2\x80\x99s Inc) into kMyConstantString ? TIA, Ben ___ 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: Elegant way to express constant UTF8 string in script?
Hi Ben, My solution will work in pre-7 and is 100% vanilla LiveCode (no idea why you explicitly mention again that it should be script-only). You'll have to change your script when you move to 7. Obviously, you could write a script for both versions using the do command for the 7-specific part of your script. -- Kind regards, Mark Schonewille Economy-x-Talk Http://economy-x-talk.com Share the clipboard of your computer over a local network with Clipboard Link http://clipboardlink.economy-x-talk.com Op 30 jun. 2014 om 19:24 heeft Ben Rubinstein benr...@cogapp.com het volgende geschreven: Hi Mark, Thanks for the reply. The problem is a) I want to do this purely in script b) A character directly entered into the script on a Mac comes out different on Windows (i.e. the scripts don't know what character set they're in; they're simply stored with no indication of character set, and on every platform they're interpreted as the supposedly 'native' platform for that character set). Presumably in 7.0 I won't even need to use normaliseText, because the scripts will themselves be stored in Unicode or UTF8, and therefore I can use any Unicode character in a real script constant. But not in 6.x. Ben On 30/06/2014 16:09, Mark Schonewille wrote: Hi Ben, The apostrophe doesn't work because you convert to ASCII text that looks different on different platforms. If you don't use unidecode and just set the unicodeText of a field to your Unicode string, it should work. If that's not practical, you could use macToIso() to convert your string to Latin-1. -- Kind regards, Mark Schonewille Economy-x-Talk Http://economy-x-talk.com Share the clipboard of your computer over a local network with Clipboard Link http://clipboardlink.economy-x-talk.com Op 30 jun. 2014 om 16:38 heeft Ben Rubinstein benr...@cogapp.com het volgende geschreven: I think this problem should be solved in LC 7 (possibly using normaliseText); but I need a solution that I can ship now (and it's been threatened that LC 7 will 'fix' a 'bug' which isn't, so I'm not sure if I'll ever able to use it). My app processes some data from - and then, re-organised, to - UTF8 text files. Occasionally it needs to insert a constant string; and for various reasons (all of them excellent) I want to specify these constant strings in the script. So far, so good. Now however one of these constant strings needs to contain a character which is not in ASCII. Actually two of them. So I need to express a UTF8 string in my script. And I'm searching for an elegant way to do this. My constant string used to look something like this: constant kMyConstantString = This is my ice cream but now it needs to read something like constant kMyConstantString = This ice cream is (c) Ben and Jerry's Inc (only with a smart apostrophe and a proper copyright symbol). I thought I could just about manage with this put uniDecode(uniEncode(This ice cream is © Ben and Jerry’s Inc, ANSI), UTF8) into kMyConstantString (that is, encode from ANSI to Unicode, then from Unicode into UTF8). I tested it on Mac and it seemed to work. The UTF8 file was generated and this text came out just right. However, it turned out that when the code was compiled and run on Windows, the copyright symbol came out OK, but the apostrophe came out as o-tilde. This is because uniEncode(..., ANSI) is a lie; ANSI is meaningless; instead it interprets the source encoding as whatever is typical for the operating system. I wrote the script on Mac; in MacRoman, © is 0xA9 and smart apostrophe is 0xD5; in ISO-8859-1 (and UTF8), 0xA9 is ©, but 0xD5 is o-tilde. So... what's the most elegant way to this (is there one)? Is there any alternative to just looking up the UTF8 encodings and writing: put format(This ice cream is \xC2\xA9 Ben and Jerry\xE2\x80\x99s Inc) into kMyConstantString ? TIA, Ben ___ 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
Re: Elegant way to express constant UTF8 string in script?
Keep in mind that HTML encoded text may not work for some higher-ASCII characters. That's exactly the reason why we have Unicode. -- Kind regards, Mark Schonewille Economy-x-Talk Http://economy-x-talk.com Share the clipboard of your computer over a local network with Clipboard Link http://clipboardlink.economy-x-talk.com Op 30 jun. 2014 om 19:31 heeft Ben Rubinstein benr...@cogapp.com het volgende geschreven: On 30/06/2014 16:18, J. Landman Gay wrote: This is exactly what I've been dealing with for a week. You need two steps : first check the platform and if it's Windows then run macToISO on the string. After that your existing conversion to UTF8 should work. Aha, good tip, thank you. On reflection though I think I'm going to adopt a modified version of Peter's suggestion; use HTML entities in the 'constant' string to be unambiguous but readable, passing it through a function called HTMLtoUTF8 so that bit of the script looks clean - and then do a nasty dirty implementation of that function, that just handles the two entities I currently care about and throws an error if invoked on anything else. I'm all about the elegance, me. thanks to all who responded, Ben ___ 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: Embedded LiveCode - site hacked?
Yes, the site was hacked. Perhaps you need to write to support? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 7/1/2014 00:01, David Bovill wrote: Any info on this option http://livecode.com/blog/2012/09/13/embedded-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: Inhibit mouse Events possible?
Hi Bill, One way to do this: local lBusy,lSecs on mouseUp if lBusy is true then beep exit mouseUp else if lBusy is not true then put true into lBusy put the seconds into lSecs repeat forever with messages // some long task here if the seconds - lSecs 5 then exit repeat wait 0 millisecs with messages end repeat put false into lBusy end if end mouseUp This script doesn't allow running the script again, as long as it hasn't finished. If you have multiple controls that should not be used while the script runs, you can disable the other controls or use a global variable and check the global variable in the other scripts. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 7/3/2014 19:32, William Prothero wrote: Folks: Is it possible to inhibit mouse events? Some of the operations that are initiated by a mouse click require a bit of time and I don’t want the user to be able to click around until each operation is finished. One approach would be to put a transparent rectangle over the stack and not pass events, but I wonder if there is a more direct way. Thanks, Bill William A. Prothero, Ph.D. University of California, Santa Barbara Dept. of Earth Sciences (Emeritus) Santa Barbara, CA. 93105 http://es.earthednet.org/ ___ 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: Inhibit mouse Events possible?
Hi Bill, If you like your own approach, just do what you think is best. I discourage such brute force approaches however, because if something goes wrong, the only way for the user to get out of the trap is to restart the software. My example can be adjusted fairly easily to provide a way out: local lBusy,lSecs on mouseUp if lBusy is true and the optionKey is up then beep exit mouseUp else if lBusy is not true then put true into lBusy put the seconds into lSecs repeat forever with messages // some long task here if the seconds - lSecs 5 then exit repeat wait 0 millisecs with messages if the optionKey is down then exit mouseUp end repeat put false into lBusy else if the optionKey is down then put false into lBusy // enable disabled controls if any end if end mouseUp -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 7/3/2014 21:26, William Prothero wrote: Folks: Actually, I like the method of putting a transparent rectangle over the stack window and trapping all mouse events. That makes the number of places where I have to modify my code much smaller. I have multiple buttons on the screen and they each call a number of handlers. I just thought there might be a command to disable mouse messages. Best, Bill On Jul 3, 2014, at 10:45 AM, Mark Schonewille m.schonewi...@economy-x-talk.com wrote: Hi Bill, One way to do this: local lBusy,lSecs on mouseUp if lBusy is true then beep exit mouseUp else if lBusy is not true then put true into lBusy put the seconds into lSecs repeat forever with messages // some long task here if the seconds - lSecs 5 then exit repeat wait 0 millisecs with messages end repeat put false into lBusy end if end mouseUp This script doesn't allow running the script again, as long as it hasn't finished. If you have multiple controls that should not be used while the script runs, you can disable the other controls or use a global variable and check the global variable in the other scripts. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 7/3/2014 19:32, William Prothero wrote: Folks: Is it possible to inhibit mouse events? Some of the operations that are initiated by a mouse click require a bit of time and I don’t want the user to be able to click around until each operation is finished. One approach would be to put a transparent rectangle over the stack and not pass events, but I wonder if there is a more direct way. Thanks, Bill William A. Prothero, Ph.D. University of California, Santa Barbara Dept. of Earth Sciences (Emeritus) Santa Barbara, CA. 93105 http://es.earthednet.org/ ___ 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: Ordinal numbers
Hi Richmond, Ten is defined as a constant and tenth as a keyword according to the dictionary. Eleven and eleventh aren't defined. Although a warning might be appropriate, it is easy to find out why it doesn't work, if one reads the dictionary: eleven and eleventh don't exist. Unfortunately, something lacking from the dictionary doesn't always mean that it doesn't exist :-( I agree it is silly that LiveCode only contains the constants one to ten. I'm not sure that it is possible to have an infinite number of constants defined as ordinal numbers, but it should be possible to do this for very large numbers. Perhaps a feature request? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 7/3/2014 21:44, Richmond wrote: So I have a field containing a text string (nothing very special there). BUT, I want to delete the eleventh character. Now scripts like this: delete the tenth char in fld TEKST work superbly. But after 'tenth' we get in a pickle . . . . and we have to do this: delete char 11 in fld TEKST SO; after 'tenth' we switch from Ordinal to Cardinal numbering, which is: 1. Inconsistent. 2. Makes the Livecode Programming is in easy to understand English sort of pronouncement look a bit disingenuous. 3. The Dictionary does NOT warn users about this change: for instance, if one types 'tenth' into the Dictionary search one gets this: Use the tenth keyword in an object reference or chunk expression. It does NOT contain a Government Health Warning like this: For references above 10 one must use Cardinal numbers and the syntax of statements is different. --- Today, having got my 10-13 years olds onto importing and exporting RTF documents; one of them [you know the one: the one you want to both throttle and admire for his/her thinking about 3 kilometres in front of you] asks how do I set up a series of buttons to delete the first, second and third character in a textField? SO, told her (let's cut out the politically correct crap; all the kids I teach who get their heads round Livecode really quickly are girls: the boys just lose interest) to use: delete the third char . . . Of course she obviously overdosed on Coca-Cola before class and decided to have buttons for 1st to 20th (well, she may be good at programming, but she is still a 12 year old kid); and, obviously things go pear-shaped at 'eleventh'. So told the girl that at that point you have to do: delete char 11 . . . AND; LO! out of the mouths of babes . . . That's silly! Which it is, frankly. SO: I did the usually middle-aged teacher fudges around so that, eventually, he looks even more stupid than he does already and told her that the best way to get around that was to do: delete char 1 . . . and, of course, her reply was: So, if that's best why did you tell me about 'first, second' and 'third'? Now I had a choice of things to say at that moment: 1. Because I'm a slob who didn't think about that problem. [possibly the only reasons I didn't use this one was that it was a bit early in the morning for honesty, and, as a Bulgarian learning English she doesn't know the word 'slob'] 2. Because I didn't think you would go beyond 'third' Neither of which are frankly satisfactory. --- Love from the chalk face, 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 ___ 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: Ordinal numbers
No idea. Just take a pencil, start writing and see when you think you've had enough. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 7/4/2014 00:46, Richard Gaskin wrote: What would seem a reasonable upper limit to English-like spelled numbers? ___ 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: Ordinal numbers
Hi Richmond, I agree, removing the ordinals would be a solution, but that would also cause backwards incompatibility and actually I like these remnants from the HyperCard times. Why not just keep them? They just need to be documented properly (although this never was a problem for several decades). When I wrote my previous e-mail, I was thinking of writing that you could just ignore the ordinals and not teach them, but any smart kid reading about them in the documentary would still notice the problem and in a way it would be immoral to hide such information :-) -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 7/4/2014 10:04, Richmond wrote: My feature request would be to REMOVE the ordinals! Then one could ONLY do: delete char 3 and so on and things would be consistent. Certainly my grumble (and it is only a grumble, it is NOT a roaring complaint) is about inconsistencies, which makes teaching Livecode a bit more difficult than perhaps may be necessary. 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
[OT] Win a book
Hi, If the Netherlands win the match tomorrow, I'll raffle off one copy of my book amongst the people liking this Facebook page. https://www.facebook.com/LiveCode.Beginner?ref_type=bookmark -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 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
Re: [OT] Win a book
Hi, Too bad, the Netherlands didn't win. It means that I'm not giving away a book today. However, the Facebook page has almost 150 likes and when we reach 200 I'll still raffle off a book. You can find the book's Facebook page here: https://www.facebook.com/LiveCode.Beginner -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 7/8/2014 15:04, Mark Schonewille wrote: Hi, If the Netherlands win the match tomorrow, I'll raffle off one copy of my book amongst the people liking this Facebook page. https://www.facebook.com/LiveCode.Beginner?ref_type=bookmark ___ 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: Using Simple Evaluations When Setting Constants
Hi Peter, This was reported for the first time over a decade ago: http://quality.runrev.com/show_bug.cgi?id=1241 You can do this: constant k= 1+1 on foo put value(k) end foo -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 7/13/2014 02:43, Peter W A Wood wrote: I wanted to set a constant that included a specific Unicode code point, in this case a combining umlaüt. I didn't want to enter ë from the keyboard as that could result in a combined character rather than the grapheme cluster that I wanted. I am requesting that LiveCode supports simple evaluation when setting constants, such as: constant noël = noe numToCodepoint(0x0308) l Another sample simple evaluation is: constant approxPi = 22 / 7 It would of course be fantastic to be able to evaluate prior defines constants, variables and handler arguments. Then constants would effectively become immutable variables which will be almost essential when you add multiprocessing support to LiveCode. (You can already buy phones with 8-core processors). I have submitted this as enhancement request 12802. Regards Peter ___ 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: Pending messages
Yes, I thought of that, John, but if you do that, the script may run for another 20 ticks after the Cancel button has been clicked on. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 7/14/2014 11:34, John Craig wrote: Using Mark's example, another possible option is make the custom property a condition for the repeat; repeat until KK = 25 or the cClicked of btn Cancel is true set the vis of btn B to false wait 20 ticks with messages set the vis of btn B to true wait 20 ticks with messages put KK into fld KNT add 1 to KK end repeat ___ 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: Commercial Indy License for HTML5
Hi Brahmanathaswami , I don't have the slightest idea. LiveCode's HTML5 website doesn't seem to provide any information about it. I'm a little worried that they will use a CGI engine in the same way as Xojo does. The engine and the stack would be compiled into a CGI engine, which then produces Javascript that can render the website in the browser. That would be a show stopper for me, because shared servers often don't allow installation of additional CGI engines. If they don't use a CGI engine, I don't see how the HTML5 website could be closed source. As Ralph writes, it is true that the Javascript will probably be obfuscated or just too big to be interpreted by the human reader, but that doesn't stop anyone from reading the source code and converting it to something readable --LiveCode is a big project too, but apparently it can still be read :-) Then again, the text of the license might just contain some phrase, which obliges any big company to publish the stacks in downloadable form, unless the company has a commercial license. Anyway, I couldn't find any info about this and that bugs me. I have no idea if I should give a little money. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 7/17/2014 20:45, Brahmanathswami wrote: Can anyone tell me what this actually get us? The HTML5 license permits closed source deployment to HTML5 only, other platforms are not included My naive understanding of HTML5 is deployed in a web browser why and where and in what contexts and also how would you need close source deployment... isn't the CSS, JS and HTML for any such app completely inspect-able (just open page source and then click on the css link and js links...) Swasti Astu, Be Well! Brahmanathaswami Kauai's Hindu Monastery www.HimalayanAcademy.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: Commercial Indy License for HTML5
Thanks for the reply, Kevin. I'm glad that no CGI engine is used. I did read that the engine will be compiled to JavaScript. The website also says that no plug-in is needed and that the app will run in the browser. Both statements say nothing about the server. The website shows no install in big letters and states that the end-user doesn't need to install any software. Nowhere it is said that the developer doesn't need to install any software on the server. It might help if the website explicitly said that no CGI will have to be installed and that only the HTML5 files, (text files and perhaps media files), need to be copied onto a server. Pehaps it is all clear to native speakers of English, but a more explicit wording of the website just might convince some non-native speakers who are now reluctant to support the HTML5 initiative. I still wonder about the closed nature of the HTML5 files. It is probably possible to write a converter, which converts the JS to something readable. Even without such a converter, one would be able to download the files and put them on another web server, perhaps with a few small modifications. Therefore I too wonder what a commercial HTML5 license can do for a company. I'm curious what Heather will answer Brahmanathaswami on this matter. Obviously, obfuscating and licensing are two different things. In my previous e-mail, I only meant to say that obfuscation and licensing could offer opportunities that make closed-source licensing worthwhile for both RunRev and LiveCode users. -- 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 We have time for new software development projects. Contact me for a quote. On 17 jul 2014, at 22:35, Kevin Miller wrote: This has been set out on the web page for HTML5 and on the video. It is not a CGI. It renders client side in the browser, without a plug in. Technically yes, you can look at the JavaScript in a browser. However given the complexity of it + obfuscation you won¹t realistically be able to make much sense of it. There is a whole world of difference between obfuscated/unreadable JavaScript protected by copyright and the GPL, which requires you to upload the stacks for your entire application with readable, editable and redistributable code. I hope this helps. Kind regards, Kevin Kevin Miller ~ ke...@livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can code ___ 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: Commercial Indy License for HTML5
Obviously, Peter. Brahmanathaswami and I are well aware of it. The point, however, is that if you have the commercial license, you're still releasing the source, but in obfuscated, rather than compiled, form. So, the question remains, why would one buy a commercial license? -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com Download Color Converter at http://www.color-converter.com Op 19-jul-2014, om 2:37 heeft Peter W A Wood het volgende geschreven: Hi Mark Surely the difference between the open source and commercial versions is that under the the terms of the GPL if you distribute a LiveCode generated HTML5 application you must make the LiveCode source available. Regards Peter On 18 Jul 2014, at 22:24, Mark Schonewille m.schonewille@economy-x- talk.com wrote: Thanks for the reply, Kevin. I'm glad that no CGI engine is used. I did read that the engine will be compiled to JavaScript. The website also says that no plug-in is needed and that the app will run in the browser. Both statements say nothing about the server. The website shows no install in big letters and states that the end-user doesn't need to install any software. Nowhere it is said that the developer doesn't need to install any software on the server. It might help if the website explicitly said that no CGI will have to be installed and that only the HTML5 files, (text files and perhaps media files), need to be copied onto a server. Pehaps it is all clear to native speakers of English, but a more explicit wording of the website just might convince some non- native speakers who are now reluctant to support the HTML5 initiative. I still wonder about the closed nature of the HTML5 files. It is probably possible to write a converter, which converts the JS to something readable. Even without such a converter, one would be able to download the files and put them on another web server, perhaps with a few small modifications. Therefore I too wonder what a commercial HTML5 license can do for a company. I'm curious what Heather will answer Brahmanathaswami on this matter. Obviously, obfuscating and licensing are two different things. In my previous e-mail, I only meant to say that obfuscation and licensing could offer opportunities that make closed-source licensing worthwhile for both RunRev and LiveCode users. -- 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 We have time for new software development projects. Contact me for a quote. On 17 jul 2014, at 22:35, Kevin Miller wrote: This has been set out on the web page for HTML5 and on the video. It is not a CGI. It renders client side in the browser, without a plug in. Technically yes, you can look at the JavaScript in a browser. However given the complexity of it + obfuscation you won¹t realistically be able to make much sense of it. There is a whole world of difference between obfuscated/unreadable JavaScript protected by copyright and the GPL, which requires you to upload the stacks for your entire application with readable, editable and redistributable code. I hope this helps. Kind regards, Kevin Kevin Miller ~ ke...@livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can code ___ 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: Commercial Indy License for HTML5
Peter, The question is not whether it is possible to reverse engineer the code, but what is the incentive for commercial users to buy a license. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 7/19/2014 11:45, Peter W A Wood wrote: Mark It is probably as easy to disassemble and modify a LiveCode generated binary as it will be to modify a LiveCode generated JavaScript file. Do you worry about people disassembling your binaries to modify the code it? It would take the same level of skill to do change the generated JavaScript code. Take a look at this example - http://vps2.etotheipiplusone.com:30176/redmine/emscripten-qt-examples/kate/kate.js.jo.js Sure some dishonest person could spend a vast amount of time to modify one of your applications but would they find it worthwhile? I don't think so. Regards Peter On 19 Jul 2014, at 14:51, Mark Schonewille m.schonewi...@economy-x-talk.com wrote: Obviously, Peter. Brahmanathaswami and I are well aware of it. The point, however, is that if you have the commercial license, you're still releasing the source, but in obfuscated, rather than compiled, form. So, the question remains, why would one buy a commercial license? -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com Download Color Converter at http://www.color-converter.com Op 19-jul-2014, om 2:37 heeft Peter W A Wood het volgende geschreven: Hi Mark Surely the difference between the open source and commercial versions is that under the the terms of the GPL if you distribute a LiveCode generated HTML5 application you must make the LiveCode source available. Regards Peter On 18 Jul 2014, at 22:24, Mark Schonewille m.schonewi...@economy-x-talk.com wrote: Thanks for the reply, Kevin. I'm glad that no CGI engine is used. I did read that the engine will be compiled to JavaScript. The website also says that no plug-in is needed and that the app will run in the browser. Both statements say nothing about the server. The website shows no install in big letters and states that the end-user doesn't need to install any software. Nowhere it is said that the developer doesn't need to install any software on the server. It might help if the website explicitly said that no CGI will have to be installed and that only the HTML5 files, (text files and perhaps media files), need to be copied onto a server. Pehaps it is all clear to native speakers of English, but a more explicit wording of the website just might convince some non-native speakers who are now reluctant to support the HTML5 initiative. I still wonder about the closed nature of the HTML5 files. It is probably possible to write a converter, which converts the JS to something readable. Even without such a converter, one would be able to download the files and put them on another web server, perhaps with a few small modifications. Therefore I too wonder what a commercial HTML5 license can do for a company. I'm curious what Heather will answer Brahmanathaswami on this matter. Obviously, obfuscating and licensing are two different things. In my previous e-mail, I only meant to say that obfuscation and licensing could offer opportunities that make closed-source licensing worthwhile for both RunRev and LiveCode users. -- 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 We have time for new software development projects. Contact me for a quote. On 17 jul 2014, at 22:35, Kevin Miller wrote: This has been set out on the web page for HTML5 and on the video. It is not a CGI. It renders client side in the browser, without a plug in. Technically yes, you can look at the JavaScript in a browser. However given the complexity of it + obfuscation you won¹t realistically be able to make much sense of it. There is a whole world of difference between obfuscated/unreadable JavaScript protected by copyright and the GPL, which requires you to upload the stacks for your entire application with readable, editable and redistributable code. I hope this helps. Kind regards, Kevin Kevin Miller ~ ke...@livecode.com ~ http://www.livecode.com/ LiveCode: Everyone can code ___ 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] We're shipping books
Hi everyone, Just a quick message to let you know that we are shipping books today. We have contacted everybody who made a purchase recently, with a request to confirm their postal mail addresses. We are still waiting for 5 replied. Please, reply to our e-mails ASAP. If you don't reply within 2 hours from now, delivery will be delayed by 1 week. Anyone who makes a purchase during the next hour will be sent a request to confirm immediately and with a little luck you'll receive your book within the next 10 days (depending on your location in the universe). Currently, we have 10 books in store. If you don't want to be put on the waiting list and want quick delivery on top, order now. Book order page: http://qery.us/9qj More info: http://qery.us/9qk -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 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
Re: Standalone Not Responding
Hi, While using repeat loops, include the line wait 0 millisecs with messages at the end of your repeat loop (before end repeat). This will give your app some time to update the GUI and to communicate with the OS. If you're downloading large amounts of data from a website, consider using PHP to execute the query. Use the load command to retrieve the data and use the urlStatus function to display progress. The load also allows you to use a callback message, which makes it possible to implement a fully non-blocking solution. Alternatively, download smaller amounts of data (but that alone isn't an option, if the server needs a long time to execute the query). -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 7/21/2014 20:24, Magicgate Software - Skip Kimpel wrote: Good afternoon LC'ers I have a few Windows standalones that, when processing large amounts of data or making large data calls to a SQL server, will sit there with (Not Responding) in the title bar and the application seems to freeze up. Help? Some simple setting, I am sure SKIP ___ 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: Standalone Not Responding
Hi, As I wrote in my previous e-mail, you include that line in your repeat loop. The ramifications are that the GUI no longer gets locked up, but the repeat loop will need more time to finish. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 7/22/2014 16:10, Magicgate Software - Skip Kimpel wrote: Is it proper to use the wait 0 millisecs with messages within the loop OR is this a global setting I should apply to the stack? What are the ramifications of this, if any? Thanks! SKIP ___ 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: Commercial Indy License for HTML5
Kevin, Thanks for making clear where you stand on this. I think I can agree with the argument that since the app is executed in the client, it is ditributed. However, the obligation to give away the source immediately may need a little moderation, since according to the GPL offering the source code is sufficient. One doesn't have to keep the source on the server available for immediate download. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 7/20/2014 15:54, Kevin Miller wrote: That's right for the server. However in the case of an HTML5 app it is not correct. It is going to be downloaded and executed on the client. That classifies as having distributed it in compiled form. If you do that, you immediately have to give away the full source under GPL to every visitor to your website. Kind regards, Kevin ___ 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: Commercial Indy License for HTML5
Exactly. -- Kind regards, Mark Schonewille Economy-x-Talk Http://economy-x-talk.com Share the clipboard of your computer over a local network with Clipboard Link http://clipboardlink.economy-x-talk.com Op 22 jul. 2014 om 18:55 heeft Dr. Hawkins doch...@gmail.com het volgende geschreven: Also, it doesn't have to be offered to the world; only the recipient of the code (who is free to send it on to the world) -- 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: Choosing player tools crashes LC7 dp-7
Hi Muaadh, I just tested this and you're right, if one clicks on the player icon in the Tools palette, LiveCode 7 dp-7 crashes immediately. Fortunately, you can still create a player from the message box (I found out about it a little later). In the message box, type create player and type return (or enter). A player control will be created in the current stack window. Double-click on the player control to open the properties control of the player and set the filename, showController and other propeties in the properties inspector. Now you can play a movie as usual. It is really weird that one can create a player from the message box but not from the Tools palette. Maybe something is corrupt(?) I have reported the problem here http://quality.runrev.com/show_bug.cgi?id=12893 -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 7/22/2014 19:32, Muaadh Salih wrote: Assuming that QT player is no longer available ( even after setting the dontUseQTEffects to {true | false}) . how does one choose a player without crashing livecode7 dp-7 ? many thanks for the help ___ 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] We're shipping books
Hi again, Because we got a few late confirmations and sold a few more books in the mean time, we'll ship more books tomorrow. If you bought a book recently and haven't confirmed your postal mail address yet, please keep an eye on your mail/spam box. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 7/21/2014 13:50, Mark Schonewille wrote: Hi everyone, Just a quick message to let you know that we are shipping books today. We have contacted everybody who made a purchase recently, with a request to confirm their postal mail addresses. We are still waiting for 5 replied. Please, reply to our e-mails ASAP. If you don't reply within 2 hours from now, delivery will be delayed by 1 week. Anyone who makes a purchase during the next hour will be sent a request to confirm immediately and with a little luck you'll receive your book within the next 10 days (depending on your location in the universe). Currently, we have 10 books in store. If you don't want to be put on the waiting list and want quick delivery on top, order now. Book order page: http://qery.us/9qj More info: http://qery.us/9qk -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 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
[OT] Mark Nair
Dear Mark Nair, I have been trying to contact you, but it seems that my e-mails don't arrive. Probably, Apple blocks my e-mails (it is not clear why this is happening again). Would you please be so kind to contact me from a different, non-Apple e-mail address? If you don't get an (auto-) reply within 24 hours, please try yet another e-mail address. Sorry for the inconvenience. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 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
Re: QT in Release 7 dp-7
Hi Stephen, The crash on Windows is not related to AV Foundation, although it might be the result of the many changes that were necessary to implement AVF on Mac. Dragging the player control from the Tools palette into a stack window causes an immediate crash on Windows, but you can still create one from the message box, as I wrote in the other thread on this subject. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 7/22/2014 18:32, stephen barncard wrote: On Tue, Jul 22, 2014 at 9:24 AM, Muaadh Salih m...@soas.ac.uk wrote: If so is there an entry in the Dictionary related to the use of AVF foundation Player ? yeah I am trying to get this to work in 7 DP 7. the only clue about enabling A/V foundation is the mention that one must set dontuseQT to true as if we were on Windoze. Ben - we really need a test stack . There's some voodo I don't get here... The AV stuff has traditionally been the ugly stepsister of this product since I became a practitioner .. How about a good 'white paper', API, example stack or SOMETHING about this mysterious AV foundation stuff. Right now it's working only partially. I can't submit a bug report on something that is this experimental. *--* *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* ___ 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: QT in Release 7 dp-7
Yeah, ok, but that's not related to Muaadh's problem. You want to use AV Foundation on Mac OS X, Muaadh wants to use QuickTime on Windows. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 7/23/2014 02:51, stephen barncard wrote: I'm trying to get an existing video record stack to work. And on 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
Re: delete specified text?
Hi Richmond, You can do this: replace plovdiv with empty in line 2 of fld PROCD Unfortunately, you'll end up with double space. You may need to add a space to plovdiv in the replace string or replace all double spaces at once: replace space space with space in fld PROCD If you really only need to replace Plovdiv, use this: replace Plovdiv with empty in fld PROCD repeat until space space is not in fld PROCD replace space space with space in fld PROCD end repeat -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 7/23/2014 09:49, Richmond wrote: So; I have an urge to delete some text from lines of a list field, like this: put 1 into QOUNT repeat until line QOUNT of fld PROCD is empty delete word 2 of line QOUNT of fld PROCD add 1 to QOUNT end repeat which is all fine and dandy. The ONLY problem is that the word ('Plovdiv') that I want to remove from the lines of the list field is NOT always the second word . . . Ever a trier, I tried this: put 1 into QOUNT repeat until line QOUNT of fld PROCD is empty delete Plovdiv from line QOUNT of fld PROCD add 1 to QOUNT end repeat No joy . . . Now, I suppose I could have a routine that trots down the line checking if each word is 'Plovdiv', and if so, deleting it. Seems a bit wasteful and slow . . . - I t would be rather jolly if delete Specific word from line X of fld Y could be implemented. 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: delete specified text?
Richmond, It won't delete the complete line, but just the specified text. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 7/23/2014 11:46, Richmond wrote: On 07/23/2014 10:51 AM, John Craig wrote: Try; replace Specific word with empty in line X of fld Y I don't want to delete the complete line! ___ 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: QT in Release 7 dp-7
Hi Muaadh (and Klaus), The correct syntax is: create player This is all. It will instantly create a player in the current stack, which can be changed with the properties inspector. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 7/23/2014 13:42, Muaadh Salih wrote: Mark wrote :but you can still create one from the message box, as I wrote in the other thread on this subject. from the msg box : choose player tool : the result is instant crash from the msg box :create player tool : player pointer tool created Any idea how to create Qt player from the message box ? ___ 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: QT in Release 7 dp-7
Then why don't you say so :-p Since it is all still very new, my guess is that there isn't that much to test. However, from the sparse info in the release notes, I conclude that the new player control has most, if not all, features that the old player control has plus two new features (hiliteColor and foreColor). That should allow you to make your own test stack, if you have OSX 10.8 or later. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 7/23/2014 22:24, stephen barncard wrote: On Wed, Jul 23, 2014 at 12:33 AM, Mark Schonewille m.schonewi...@economy-x-talk.com wrote: Yeah, ok, but that's not related to Muaadh's problem. You want to use AV Foundation on Mac OS X, Muaadh wants to use QuickTime on Windows. My comment was related to the mysterious AV Foundation LACK OF DOCUMENTATION of which there is only rumors and conjecture for documentation. I'm waiting for a test stack. It appears this feature was not tested. *--* *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* ___ 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
[ANN] Emulated button with gradient
Hi, For a future project, I want to use a different type of buttons. As a test, I have created a horizontally resizable button with a graphic with gradient in the background. I think it looks nice and you're free to use it in your own projects. You can download it here (after making a donation) http://www3.economy-x-talk.com/file.php?node=graphic-gradient-button or use this short URL: http://qery.us/9w8 -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 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
[ANN] Installer Maker 1.8.7 beta
Hi, A new beta version of Installer Maker has been made available. Installer Maker 1.8.7b03 includes many changes and new features, listed in this blog post: http://qery.us/9xg The blog post also contains a direct link to the plug-in. You will need to install the plug-in manually (in LiveCode's plug-ins folder). Important changes: - file paths are included in profile files and profile files can be repaired automatically (e.g. if moving to a different computer) - the uninstaller is able to execute pre- and post-uninstall custom scripts - any special folder path can be chose as a destination on Windows This is a free update for everyone with a current license. Note that we're currently in beta; don't use this for distribution of your products (yet). -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 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
Re: [ANN] Emulated button with gradient
Hi Graham, Thanks for the reply. It is easy to change the standard height, but that will probably destroy the gradient. I'm thinking of creating another version, in a different size, when I have a little time for it. Did you get an e-mail a few minutes ago? (I ask because you have an Apple address). -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 7/24/2014 11:25, Graham Samuel wrote: Thanks Mark I was just going to invent something like this myself, due to the odd behaviour of 'standard' buttons on Mac when you resize them (the gradient disappears) - so it's most welcome. I find the resize doesn't work quite as expected, but I'm sure I can tweak it to fit. Cheers Graham On 24 Jul 2014, at 00:48, Mark Schonewille m.schonewi...@economy-x-talk.com wrote: Hi, For a future project, I want to use a different type of buttons. As a test, I have created a horizontally resizable button with a graphic with gradient in the background. I think it looks nice and you're free to use it in your own projects. You can download it here (after making a donation) http://www3.economy-x-talk.com/file.php?node=graphic-gradient-button or use this short URL: http://qery.us/9w8 -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 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
Re: [ANN] Emulated button with gradient
Hi Graham, Once in a while, Apple filters out my (and others') e-mails without returning an error message. I've heard that people who send an e-mail to me first, are able to receive my replied on their Apple account, but I don't know if that's true. Apparently, it works now. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 7/24/2014 15:19, Graham Samuel wrote: Mark yes I did get a few mails from you quie quickly after my registering. Was there a problem with .mac addresses this morning? Graham Sent from my iPad On 24 Jul 2014, at 11:34, Mark Schonewille m.schonewi...@economy-x-talk.com wrote: Hi Graham, Thanks for the reply. It is easy to change the standard height, but that will probably destroy the gradient. I'm thinking of creating another version, in a different size, when I have a little time for it. Did you get an e-mail a few minutes ago? (I ask because you have an Apple address). -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 7/24/2014 11:25, Graham Samuel wrote: Thanks Mark I was just going to invent something like this myself, due to the odd behaviour of 'standard' buttons on Mac when you resize them (the gradient disappears) - so it's most welcome. I find the resize doesn't work quite as expected, but I'm sure I can tweak it to fit. Cheers 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
[ANN] Emulated button with gradient (2)
Hi everyone, After I got some feedback, I decided to create another version of the emulated button. This button is 24 pixels high instead of 28 pixels. It is available to everyone who has made a donation in the past year. You can find it here http://qery.us/9w8 I didn't add a version number to the stack, so you just need to make sure that you have the latest version. Let me know if you need any other particular sizes. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 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
Re: ...for neither - really?
Don't read, don't write, don't wait for it. Perhaps for neither could be changed into without waiting. Definitely not asynchronously, because that frightens new users. We should do anything we can to keep the language as accessible as possible. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 7/25/2014 21:34, Richard Gaskin wrote: Monte recently helped me with a shell task by reminding me that I can use this for asynchronously calling another process: open tSomeProcessCommand for neither Useful enough, but the syntax kinda bugs me. When you read the full Dictionary entry for open process it kinda makes sense, but it feels a bit silly to type it. Anyone here think it's worth the dev team's time to propose asynchronously as a synonym for for neither? Better still, anyone here know their way around the code base and care enough about this sort of nit-picking to add that? Is it even worth thinking about? ___ 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: Advice as to how to create a dialog
Hi Mike, You could lock messages before opening the dialog. That should keep the engine from firing the openField message. A better way probably is to not only lock messages but also select the text of the next field before unlocking the messages. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 7/27/2014 20:21, Michael Doub wrote: I am trying to figure out how to create a dialog for data entry into a Date field. I want to use a date picker if the control key is not down, but allow normal entry if the control key is down. I thought that I would use the open field handler and I thought I would pass data to and from the dialog stack thru the dialog data. Sounds simple enough... on openfield put the short name of the target into jump put the datefields of this card into Date_Fields if jump is not among the lines of Date_Fields then exit openfield if (the controlkey is up) then put fld jump into contents if contents is not empty then set the dialogdata to contents else put the date into contents set the itemdel to / set the dialogdata to 20 item 3 of contents - item 1 of contents - item 2 of contents end if go to stack calendarWidget as modal put the dialogdata into fld jump end if end open field Well, it seems like the openfield handler is getting called even when the user is actually clicking in the field as if there is a state being maintained and it is called whenever the stack becomes active. Let em try and be more clear.. First time thru, the user clicks the field. As expected the openfield is called calendarWidget pops up as expected then openfield gets called again as the calendarWidget goes way and we are back on the stack with the field. Now I am in a loop. This has me wondering if using the openfield handler is the correct approach? Am I correct in assuming that I will be able to pick up the results of the calendarWidget after the go command? Is the calling stack blocked waiting for the modal stack to complete? How are other folks working with dialogs? Thanks Mike ___ 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: Livecode 7 dp 7 create a field from menu crashes
Hi Muaadh, It looks like there are many similar crashes, related to creating new controls from the menu or the tools palette. We reported this bug http://quality.runrev.com/show_bug.cgi?id=12893 last week and RunRev has added a few duplicate bugs to our report, which seem to be related. The problem you're observing now seems very similar to one of those duplicate bugs. I wouldn't report it for now. Let's wait for LC 7.0-dp-8. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 7/28/2014 17:32, Muaadh Salih wrote: Before I report this as another bug in this dp version could any colleague replicate the following and confirm that the is correct ? Please : the potential bug in ID , Windows 7 , Livecode 7 dp 7 Open new main stack OK choose menu -- Object new control field - Crash every time on the above set up Is this a bug ? the work around this is by dragging and dropping from tools palate. but can not script it or use object menu ___ 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: what is the property for the position of a scrolling field?
Hi Richard, Are you sure it is a standard scrolling field? Not a list field, for example? If it is a list field, perhaps the last line gets selected when the card opens. If it is a scrolling field, check the position of the text insertion point right after the card opens. Is it at the end of the text? Perhaps there is a script doing this. It would be best to find the real cause, but if you can't find it, you can add a script to the card that selects before char 1 of the field or sets the scroll of the field. on openCard select before char 1 of fld x // option 1 set the vScroll of fld x to 0 // option 2 end openCard -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 7/30/2014 21:12, Dr. Hawkins wrote: Suddenly, one of my scrolling fields opens on a card at the end, rather than the beginning. I suppose I should set this property, but what in the world is the property that determines which part of a scrolling field is displayed (or what the first line displayed is)? ___ 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: Add a control to a group
Hi Devin, You could export a snapshot to a variable, create an image object in the group and set the text of the image. export snapshot from rect myRect to myPicture as PNG create image New Image in grp Your Group set the text of it to myPicture -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 8/2/2014 00:27, Devin Asay wrote: On Aug 1, 2014, at 4:02 PM, Mark Schonewille m.schonewi...@economy-x-talk.com wrote: Hi Devin, Usually I copy them and then I delete the original: copy btn id x to grp y delete btn id x Probably you could also write a script to cut the control, edit the group and paste the control in the group. This wouldn't require creating a copy and deleting the original, but it might look strange when this happens and if something goes wrong, you lose your control :-) Thanks, Mark. Right after I posted this I started experimenting with that technique and it looks promising. I just thought there might be a more direct way to do it. I just found this from the list in Nabble, from Klaus: create button in group foo But that won't work for me, because I am taking a snapshot then adding it to the group. I think I'll use Mark's suggestion. Regards, Devin Devin Asay Learn to code with LiveCode University http://university.livecode.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: Will the new Widgets system allow LiveCoders to implement these?
Hi Lyn, As I understand it, Widgets will exist inside the stack window, just like controls. They are drawn in what RunRev calls a canvas, in the same layer as current controls. This might impose some limitations on what is possible. Then again, since you can hook directly into the API of the operating system, you should be able to call API's that add a toolbar for instance. This means that widgets provide pretty much the same extensibility as externals, but with less effort. If a widget doesn't always need to have a visible canvas, which is what I would expect, then widgets can also exist outside the stack window and you should be able to do anything you want, as long as there is an API for it. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 8/3/2014 10:14, Lyn Teyla wrote: Hi all, A preview of the Widgets Themes project was shown last month by Kevin: http://livecode.com/blog/2014/07/08/the-next-generation-widgets-themes/ Will the following missing GUI items be possible to implement via Widgets (i.e. solely via the new lower-level LiveCode)? 1. _Native_ transluscent blur effects (without faking it) on specified portions of the stack/card background (independently, i.e. without affecting its objects' opacities) as well as for individual objects and/or entire groups: http://forums.livecode.com/viewtopic.php?f=49t=17609 2. Create a system menu bar icon: http://forums.livecode.com/viewtopic.php?f=7t=14125 3. Create _native_ toolbars (and toolbar elements including buttons, search boxes, full-screen icon, etc.) without faking it: http://forums.livecode.com/viewtopic.php?f=19t=14272 4. Embed CEF browser (third party library) with JavaScript integration on all platforms rather than just OS X and Windows: http://quality.runrev.com/show_bug.cgi?id=12698 5. Display _native_ alert boxes (again, without faking it which is what the current 'answer' command does) containing built-in elements such as Message Text, Informative Text, Accessory View, Icon, Title, Buttons, etc.: https://developer.apple.com/library/mac/documentation/userexperience/conceptual/applehiguidelines/Windows/Windows.html#//apple_ref/doc/uid/2961-TP10 In the Widgets Themes presentation, it was also mentioned that new networking and database layers will be developed using Widgets, with the final goal being to have nearly all of LiveCode written in LiveCode itself. This implies that Widgets are not limited to GUI elements, since it can interface with non-GUI routines (e.g. networking) and those from third-party libraries (e.g. databases). Does this mean that it will be possible to use Widgets to (again, solely via the new lower-level LiveCode): 6. Extend dragDestination (or implement an alternative to dragDestination) to return file paths: http://quality.runrev.com/show_bug.cgi?id=8634 7. Hook into the notification manager of each platform, e.g. enabling the ability to bounce the dock icon on OS X, etc.: http://lists.runrev.com/pipermail/use-livecode/2011-August/159957.html Once again, for all of the above, I am referring _strictly_ to the use of the new lower-level LiveCode that is used to implement Widgets. That means: (a) No faking it (drawing your own non-native stuff); and (b) Non-involvement of any other programming language (e.g. C, etc). Many thanks for any information that you can provide. Best, Lyn ___ 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: OpenControl
Hi, Include a front script in your group and add a preOpenCard handler to that front script. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 8/3/2014 21:30, J. Landman Gay wrote: I want to create a shared group that resets its content every time it's displayed on a different card. The group needs to be self-contained with no additional scripting anywhere else in the stack. The preOpenControl and openControl messages are only sent the first time the shared group is drawn. I need a similar message every time the card changes. I'd rather not put a different copy of the control on every card (which would allow those messages.) Has anyone dealt with this? ___ 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: Shift-tab
Hi Pete, Create a new stack. Add 4 fields. Type tab to move the text insertion point to the next field, shift-tab to go to the previous field. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 8/4/2014 23:43, Peter Haworth wrote: It seems that the shift-tab key combination doesn't tab backwards in a field control as it does in other applications, although it does in a table control. Does anyone have any code to implement shift-tab they'd be willing to share? 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
Re: Shift-tab
I've tested it on both Windows and Mac and it works on both platforms. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 8/5/2014 00:21, Mark Wieder wrote: Mark- Monday, August 4, 2014, 3:02:22 PM, you wrote: Create a new stack. Add 4 fields. Type tab to move the text insertion point to the next field, shift-tab to go to the previous field. Sorry, I can confirm that shift-tab does nothing. ___ 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: on-rev borked
Spokes person? I thought they just pay her to use her photo? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 8/5/2014 20:39, Mike Kerner wrote: She's a GoDaddy spokesperson, and she's a badass personal trainer. On Tue, Aug 5, 2014 at 2:35 PM, Mark Wieder mwie...@ahsoftware.net wrote: Mike- Tuesday, August 5, 2014, 10:09:03 AM, you wrote: You realize that they're going to send Jillian Michaels after you, now, for calling them a bottom feeder, right? OK - I googled it but I still don't get it. -- -Mark Wieder ahsoftw...@gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. ___ 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] We're shipping books
Hi, I wanted to write a few things about the current status of my book, but I'm really busy with a few projects right now. I'll write more later. Nonetheless, we'll be shipping books again on Friday. We have sent many customers a request to confirm their postal mailing address, but there are still a few people who haven't replied yet. If you purchased the book recently and haven't received a request to confirm your address yet, please send an e-mail to supp...@economy-x-talk.com and make sure you get a reply. Contact us from a different address if you don't get any replies. If you decide to buy the book today, we'll send you a request with a confirmation tonight or tomorrow. Keep an eye on your in-box (and spam-box). More info here http://www3.economy-x-talk.com/file.php?node=programming-livecode-for-the-real-beginner and http://www3.economy-x-talk.com/blog/2013/11/26/everything-everybody-needs-to-know-about-my-book/ or click the short link in my signature below. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 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
Re: the effective me?
Hi Devin, That should be the parent of me or the behaviour of me, e.g. put the script of the parent of me -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com We have time for new software development projects. Contact me for a quote. On 6 aug 2014, at 21:56, Devin Asay wrote: Hi folks, Did this discussion ever get resolved? If you need to refer to properties of a button that holds a behavior script, is there any way to override the meaning of 'me'? Normally 'me' in a behavior script refers to the object that is executing the behavior script. We had a long discussion a few months back about referring to parent behaviors, and one of the tongue-in-cheek(?) suggestions was 'the effective me'. But how could one refer to the button holding the behavior script? 'the real me'? Struggling with who I really am, Devin, just me Devin Asay Office of Digital Humanities Brigham Young University ___ 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
[OT] David Lamp
Dear David Lamp, I have tried to contact you, but without any result so far. Perhaps the contact information you provided me with was incorrect or incomplete. Would you please be so kind to contact supp...@economy-x-talk.com when you read this? Please, make sure that you get an (auto-) reply within 24 hours after sending your e-mail. If you don't get a reply, try contacting us from a different e-mail address (with a different domain name and IP address). -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 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
ChatRev
Hi guys, Björnke just told me that a thunder storm took out his internet connection. DSL doesn't work anymore. Consequently, the ChatRev server has been disconnected. The equipment still works and Björnke expects to be back on-line within a few days. If you would like to know more about ChatRev, go here: http://bjoernke.com/index.irev?target=chatrev but if you want to give it a try, please wait a few days until the connection gets fixed. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 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
Re: unlock screen with visual effect ...
Hi Fred, At some point in time, the syntax changed. The new syntax is lock screen for visual effect // do a bunch of stuff here unlock screen with visual effect dissolve Dissolve should work on any platform. Some effects only work on a specific platform. It is also possible that a combination of using an unstable version of LiveCode together with Mavericks breaks something. Make sure to use a GM release. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 8/13/2014 23:47, Fred Moyer wrote: Hi: It’s been a long time since I’ve been on the mailing list — great to see it’s still going strong! Some things seem not to work as they used to in the old Revolution. One of them is unlock screen with visual dissolve.” How do you lock the screen, make a bunch of changes to the look of a card, and then unlock the screen with visual dissolve? I must be missing something really obvious. For example why doesn’t this work on mouseUp lock screen set the visible of btn “thisButton to not the visible of btn thisButton set the visible of fld thisField to not the visible of fld “thisField” set the vscroll of group “ThisGroup” to 10 + (the Vscroll of group “ThisGroup”) unlock screen with visual effect dissolve end mouseUp (Using Mac OS 10.9) Thanks Fred Moyer ___ 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: Mac printing Scale to fit paper size
Hi Kee, I'm in a hurry actually, so I don't have time to read everything carefully right now, but I do something like this: put 72 into myMargin put myMargin,myMargin,item 2 of the printPapersize - myMargin,item 1 of the printPapersize - 72 into myPrintRect print this card into myPrintRect This should be for landscape format. You can change the margin. Feel free to send me an e-mail if this doesn't work for you. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 8/14/2014 21:11, kee nethery wrote: I’m printing postcards onto individually cut postcards and they are a custom paper size (4.25 x 6 inches). The stack displays the postcard text in landscape mode but the postcards go into the printer in portrait orientation (smallest edge gets sucked into the printer). Normally I’d set landscape mode and fit to page size, make sure I’d selected the postcard size and print. Worked great only now it doesn’t. It seems that whatever code is printing is ignoring the landscape mode when printing to fit the paper size. If I print without the “fit paper size” it will actually print landscape mode but it prints around 1/4th the normal size as if it has decided the postcard is actually the size of 8.5x11 paper and scales the image down accordingly. I’ve tried making the stack larger to compensate and it just prints it larger but from the same starting point on the page so most of the text ends up off the edge of the postcard. I’m using Mac OS X 10.9.4 and I’ve tried it with LiveCode 6.6.2 and Livecode 5.5.4 I did figure out a way to print through a bunch of trial and error but when I moved that recipe to another’s machine, it prints in the wrong place on the postcard. Is there someone out there with printer foo who I can hire to fix this for me? Kee Nethery ___ 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: Displaying HTML pages
Hi Linda, Actually, if a website is composed of simple HTML 4, the pictures should show up in the field. Perhaps they are hidden by lines with very small lineheights. Try setting the fixedLineHeight to false. Does that help? You could use the revBrowser external to display websites in their own window inside a LiveCode stack. Just search for revBrowser in the LiveCode dictionary and start reading to find out how to implement this. Hyperlinks in fields don't work by themselves. You could handle clicks on linkes with a linkedClick handler, e.g. on linkClicked theLink launch URL theLink end linkClicked -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 8/18/2014 16:58, Linda Miller, DVM wrote: I have several ebooks that are composed using HTML/CSS and maybe some JavaScript. I know that I can use HTMLtext to display the pages. For example, on mouseUp put url http://www.mobgui.com; into temp set the htmlText of field test to temp end mouseUp But, this displays only black text on white background without any images or other formatting. As LiveCode exists today (before the HTML5 version is completed), is there a way to display HTML/CSS pages with images from a file that is imported into the app? By imported, I mean files that are a part of the app that can be used when there is no Internet connection. Also, the hyperlinks do not seem to work when the mobgui.com page is being displayed. Will hyperlinks work in LiveCode today? Thanks, Linda ___ 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: open file tFile for text ?
Hi Thierry, If you use the binary or text clause, you also need to use one of the parameters update, read, write or append, for example open file myFile for text write open file myFile for binary append -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 8/18/2014 20:49, Thierry Douez wrote: Hi, Dictionary - write to file There is a sample script which generates an error: So, what does mean: open file tFile for text ? Thierry ___ 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: open file tFile for text ?
Hi Thierry, I see no mistake here. Where do you see a problem exactly? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 8/19/2014 05:16, Thierry Douez wrote: Thanks Mark, So you agree with me there is a wrong statement in the dictionary: write to file Thierry ___ 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: open file tFile for text ?
Where exactly, Thierry? If you don't tell me exactly where you have found this, I won't find it myself. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 8/19/2014 10:43, Thierry Douez wrote: I see no mistake here. Where do you see a problem exactly? ( copy/paste few lines only) Here: mouseUp local tFile put specialFolderPath(desktop) /test.txt into tFile open file tFile for text write one 222 to file tFile -- Writes to the start of the file ___ 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: open file tFile for text ?
Thierry, Apparently, this is new. Older versions of LiveCode don't have this (or that part of the text doesn't render). Also, I was looking at the open file command at first. So, it really helped that you pointed exactly at the right part of the right entry. Yes, I would say that the example in the dictionary is wrong. It should be open file tFile for text write or open file tFile for binary write but it is sufficient to use open file tFile for write or open file tFile -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 8/19/2014 11:15, Thierry Douez wrote: 2014-08-19 11:00 GMT+02:00 Mark Schonewille m.schonewi...@economy-x-talk.com: Where exactly, Thierry? Come on, see my 1st post. Check the code sample in write to file in the Dictionary. Best, Thierry ___ 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: Script will not Run unless mouse is moved within Stack
Hi Camm, Which version of LiveCode do you use and which operating system (including version number)? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 8/19/2014 14:14, Camm wrote: Hello , Not sure if I have missed something ? On OpenStack put DOG INTO FLD Fa1 wait 5 seconds put CAT INTO FLD Fa2 wait 5 seconds put FISH INTO FLD Fa3 end Openstack put CAT and FISH will not work until the mouse if moved inside the mainstack ? Best Regards Camm ___ 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: Black input boxes in Linux (Ubuntu)
Hi Andrew, Which version of LiveCode is the user using? Is it possible that the user saw this in a standalone that was created with version 5.x or earlier? Knowing the Ubuntu version number would also help. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 8/20/2014 14:05, Andrew Henshaw wrote: Thanks Mark, Do you know of any way to replicate the issue as I cannot seem to do it. Ive tried a few builds of Ubuntu so I think it may be relevant to the graphics card. Ideally if i can repllicate it, I can go through the project and make sure ive not missed any fields. Thanks Andy ___ 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 doesn't menupick work
Hi, card is part of the name, but not of the short name. A correct card reference is card The short name This would be the complete name of the card and you can use it directly in a script: go card The short name put (there is a card The short name) There are a few things I would not do: 1) starting card names with numbers 2) starting card names with spaces 3) including any special characters such as / or # or non-printable characters in card names 4) starting the short name of a card with card References such as go card 1 go cd 1 go card card 1 bla would be either incorrect or a source of confusion. Depending on which version you're using, the combobox might be returning unicode. I don't really expect his, but it is easy to check, using the lenght function: on menuPick theItem put len(theItem) end menuPick and see if the number is what you expect. Did you make the list of cards in the combobox manually? Perhaps you can use this syntax: put the cardNames of this stack into btn Your Combobox -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 8/21/2014 13:02, revolut...@duncansoftware.on-rev.com wrote: On 8/20/2014, 8:08 PM, revolut...@duncansoftware.on-rev.com wrote: Why doesn't this code work? on menuPick pItemName go card pItemName end menuPick where the comboBox has a list of card names. Set a breakpoint at the go line and when it pauses, see what's in pItemName and whether there's a card with that name. You can also temporarily add answer the result after the go statement; maybe there's a silent error happening. Thanks for everyone's suggestions but... I tried setting a breakpoint and pItemName contains the name of a card. However when I tried answer the result the response is No such card. When I use the message box Put the name of card 1 it reports card 1 External Dorsal ~ which seems to be saying that card is part of the name. I tried various methods of adding card to the pItemName such as put card quote pItemName quote into pitemName go pItemName or go card card pItemName but these also failed and reported No such card. The spaces and tilde in the card name is not the problem. There are 75+ cards and many do not have extra spaces and tildes. If I just type into the message box go card 1 External Dorsal ~ it goes to the card. MacBook Pro OSX 10.6.8 and any version of Livecode that I have tried 6.0 6.52 6.60. ___ 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
[ANN] Installer Maker 1.8.7b04
Hi everyone, A new beta version of Installer Maker has been released. Installer Maker 1.8.7b04 is not available on Economy-x-Talk's homepage yet but can only be downloaded from the following link: http://qery.us/c5e Installer Maker 1.8.7 is going to contain many bug fixes, enhancements and new features: - Installers created with a trial copy on Windows should now start correctly (only on the same computer as on which they were created) - The documentation (on the Help screen) should still show up, even if the httpHeaders were set incorrectly by another script - install locations have been extended by a large number of Windows-specific directories - the destination startup disk appeared incorrectly a possibility to create an installer with empty files has been added - the uninstaller is now installed in the executable's folder on Windows, while previously it would end up in a separate folder occasionally - file paths are now included in profile files if a path in a profile file is not found, you'll be asked if you want to repair all paths - MetaCard/Revolution/LiveCode stacks can be opened and run before or after uninstallation (note: no externals can be used in these stacks) - on Windows, the Uninstaller can now execute LiveCode scripts that have been added on the Scripts pane; thise feature will be added for Mac OS X soon - a small problem that inadvertantly disabled the radio buttons on the Scripts pane has been fixed Currently, Installer Maker 1.8.7 is available as a plug-in only. A standalone version will be made available shortly. Please, let me know if you find any problems in this beta version of Installer Maker. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 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
Re: Why doesn't menupick work
Probably, calling a control The short name is also a bad idea ;-) -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 8/21/2014 13:54, Mark Schonewille wrote: Hi, card is part of the name, but not of the short name. A correct card reference is card The short name This would be the complete name of the card and you can use it directly in a script: go card The short name put (there is a card The short name) ___ 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: Window manager plugin?
Hi Charles, I made a plug-in (donationware) which makes sure that windows open inside a visible screen rect and not off-screen. I could extend it and make it remember window positions. -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com Download Color Converter at http://www.color-converter.com Op 23-aug-2014, om 2:04 heeft Charles E Buchwald het volgende geschreven: Hi List Folks, I've been thinking about making a plugin that manages window positions or window layouts. If you are familiar with Adobe applications like Illustrator, Photoshop or InDesign, then you may have an idea of what I mean. Or perhaps you have used system-level utilities like Moom, Divvy, Shiftit, GridMove or WindowTidy. The idea is that you can save the position of one or more of your windows, including IDE palettes and so on, as a named set. Then you can switch back to those positions when you select that set again. So, for example, one might have a window layout for working on iPhone apps and another for tablet apps... or one for a dual monitor setup vs. a single monitor setup... or for working on server scripts... or all of the above. I switch back and forth between my laptop on its own, and my laptop open and next to a second monitor, so this would be really useful. Firstly: does anyone know of an existing LC plugin like this? And of course: is anyone else interested in a plugin like this? Cheers, - Charles ___ 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: Window manager plugin?
Hi John, No, but that should be easy. There are several ways to do this. For example, create an invisible stack, set its location to the location where you want the answer dialog. Set the defaultStack to this stack and execute the ask or answer command. There may be more elegant ways. set the topleft of the templateStack to 0,32 set the vis of the templateStack to false create stack place holder set the defaultStack to it answer bla put it into myAnswer delete stack Place Holder This should work on windows and probably also on Mac, but on Mac I almost always use ask/answer as sheet. -- Kind regards, Mark Schonewille Economy-x-Talk Http://economy-x-talk.com Share the clipboard of your computer over a local network with Clipboard Link http://clipboardlink.economy-x-talk.com Op 23 aug. 2014 om 02:50 heeft JB sund...@pacifier.com het volgende geschreven: Hi Mark, Will that let you position the ask and answer dialogs? John Balgenorth On Aug 22, 2014, at 5:14 PM, Mark Schonewille m.schonewi...@economy-x-talk.com wrote: Hi Charles, I made a plug-in (donationware) which makes sure that windows open inside a visible screen rect and not off-screen. I could extend it and make it remember window positions. -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com Download Color Converter at http://www.color-converter.com Op 23-aug-2014, om 2:04 heeft Charles E Buchwald het volgende geschreven: Hi List Folks, I've been thinking about making a plugin that manages window positions or window layouts. If you are familiar with Adobe applications like Illustrator, Photoshop or InDesign, then you may have an idea of what I mean. Or perhaps you have used system-level utilities like Moom, Divvy, Shiftit, GridMove or WindowTidy. The idea is that you can save the position of one or more of your windows, including IDE palettes and so on, as a named set. Then you can switch back to those positions when you select that set again. So, for example, one might have a window layout for working on iPhone apps and another for tablet apps... or one for a dual monitor setup vs. a single monitor setup... or for working on server scripts... or all of the above. I switch back and forth between my laptop on its own, and my laptop open and next to a second monitor, so this would be really useful. Firstly: does anyone know of an existing LC plugin like this? And of course: is anyone else interested in a plugin like this? Cheers, - Charles ___ 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
[ANN] LiveCode meeting in the Netherlands
Dear everyone, On 20th September 2014, there will be a LiveCode meeting in the Netherlands. The exact location will be announced shortly. Participants, please contact me as soon as possible. I need to know how many people will participate to determine where to host the meeting. Contact me by e-mail, tomorrow or Tuesday. We expect people from two or three different countries and hope to organise a really international meeting. If you can't make it to RunRevLive, this might be a great opportunity to meet fellow LiveCode users. Two months ago, we had a meeting in Zurich, Switzerland. You can read about it and view a few pictures at http://qery.us/cdv or http://blog.economy-x-talk.com I will make another announcement within a few days. If you have questions, contact me by e-mail, send me a message on Twitter or use Facebook (see below). Kind regards, Mark -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 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
Re: Window manager plugin?
John, Here's my complete solution: on mouseUp put item 1 of the screenLoc comma round(item 2 of the screenLoc / 3) into myLoc askAt Hello,Write something,myLoc if it is not empty then answerAt You wrote: the result,myLoc,Yep,Nope end if put the result end mouseUp on answerAt theMessage,theLoc put answer information quote theMessage quote with space into myScript if the paramCount is 2 then put quote OK quote after myScript else put quote param(3) quote after myScript repeat with x = 4 to the paramCount put space or quote param(x) quote after myScript end repeat end if set the loc of the templateStack to theLoc set the vis of the templateStack to false create stack Place Holder set the defaultStack to Place Holder do myScript delete stack Place Holder return it end answerAt on askAt theMessage,theDefault,theLoc put ask question quote theMessage quote with quote theDefault quote into myScript set the loc of the templateStack to theLoc set the vis of the templateStack to false create stack Place Holder set the defaultStack to Place Holder do myScript delete stack Place Holder return it end askAt The advantage of this approach is that it only depends on the ask and answer stacks and still works if the lockMessages has been set to true. It would need some adjustments if you want to use unicode or HTML. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 8/23/2014 13:07, Mark Schonewille wrote: Hi John, No, but that should be easy. There are several ways to do this. For example, create an invisible stack, set its location to the location where you want the answer dialog. Set the defaultStack to this stack and execute the ask or answer command. There may be more elegant ways. set the topleft of the templateStack to 0,32 set the vis of the templateStack to false create stack place holder set the defaultStack to it answer bla put it into myAnswer delete stack Place Holder This should work on windows and probably also on Mac, but on Mac I almost always use ask/answer as sheet. -- Kind regards, Mark Schonewille Economy-x-Talk Http://economy-x-talk.com Share the clipboard of your computer over a local network with Clipboard Link http://clipboardlink.economy-x-talk.com Op 23 aug. 2014 om 02:50 heeft JB sund...@pacifier.com het volgende geschreven: Hi Mark, Will that let you position the ask and answer dialogs? John Balgenorth ___ 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