From dochawk at gmail.com Sun Dec 1 00:04:41 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 30 Nov 2013 21:04:41 -0800 Subject: master/slave stack links In-Reply-To: <1601069163550.20131130200802@ahsoftware.net> References: <1601069163550.20131130200802@ahsoftware.net> Message-ID: On Sat, Nov 30, 2013 at 8:08 PM, Mark Wieder wrote: > > Actually, the slave is stuck on the read line. I changed "read until > end" to "read until cr"... I'm not really clear on what "end" means. > *that* was the problem??? The dictionary says, If you specify any of EOF, end, or empty, the read continues reading until it reaches the end of the file. (If you're reading from a serial port, you must use the form read from file portname until empty.) I'm reading this as meaning that the entire buffer will be handed over. For my purposes, I suppose that I could loop until "read until cr" comes up empty? While the communication has other purposes, my own use will typically/frequently have multiple lines. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From mwieder at ahsoftware.net Sun Dec 1 00:11:12 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 30 Nov 2013 21:11:12 -0800 Subject: master/slave stack links In-Reply-To: References: <1601069163550.20131130200802@ahsoftware.net> Message-ID: <1461072953791.20131130211112@ahsoftware.net> Richard- Saturday, November 30, 2013, 9:04:41 PM, you wrote: > The dictionary says, Yeah... I know what the dictionary *says*, but I don't know what "end" means in the context of an open process. In your sample stack you're writing the entire field on each closeField message. There's an implicit cr at the end of the string, so the read command yields control when you get there. At any rate, you can experiment from there now that it's working this far. The "until empty" thing may work out. -- -Mark Wieder ahsoftware at gmail.com From scott at tactilemedia.com Sun Dec 1 01:12:48 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Sat, 30 Nov 2013 22:12:48 -0800 Subject: Copy In-Reply-To: <471063159621.20131130182758@ahsoftware.net> References: <421058105292.20131130170343@ahsoftware.net> <471063159621.20131130182758@ahsoftware.net> Message-ID: Hi Mark: I've had Copy for a little while now, but haven't been able to figure out if it's possible to directly share a file, without having to route people through the Copy web site. Do you know if this is possible? The key thing for me with DropBox (and what I think is missing with most of the other cloud services) is (virtual) direct file access from your desktop. You can share your files without having to go through any service. Box, SugarSync, Google Drive (and apparently Copy) all require the people you share with to go through a Web page to get ahold of your files. At least, from what I've been able to figure out. With DropBox I can make any folder on my desktop publicly accessible, and offer direct download of files without having to designate any special sharing, which is great for working with LiveCode stacks. If any of the other services offer this kind of accessibility, I would love to know how to enable it. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 11/30/13 6:27 PM, "Mark Wieder" wrote: >Roger- > >Saturday, November 30, 2013, 5:32:08 PM, you wrote: > >> That sounds very interesting. 20GB is enticing, BUT... After all the >>NSA >> hoopla, a lot of folks are considering bringing their data back >>in-house. > >Yes, it's a good point, but Copy is using 256-bit AES encryption, >which is about as good as you're going to get in the cloud. And >they've got an innovative approach to sharing storage: if a folder is >shared among three people, they are each apportioned one third of the >storage limit, so teams aren't paying for storage more than once. As I >understand it, if you have a 20GB limit and you put 10GB in your >shared folder, and so do two other people you've shared it with, there >are now 30GB in that folder but you're still within your storage >allocation limit. > >-- >-Mark Wieder > ahsoftware at gmail.com > > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode > From stephenREVOLUTION2 at barncard.com Sun Dec 1 02:11:09 2013 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sat, 30 Nov 2013 23:11:09 -0800 Subject: Copy In-Reply-To: References: <421058105292.20131130170343@ahsoftware.net> <471063159621.20131130182758@ahsoftware.net> Message-ID: On Sat, Nov 30, 2013 at 10:12 PM, Scott Rossi wrote: > If any of the > other services offer this kind of accessibility, I would love to know how > to enable it. > ?Scott: what I do is use livecode server and a small irev file in a folder of files to automatically create a download page, accessible from any browser and hosted on one of my Dreamhost hosted sites. It's great because one can brand it easily and show notes right alongside. screenshot: http://media.barncard.com/downloads/DOWNLOAD-iREV.png Using Transmit, I can have a 'drop' folder on my desktop that can deliver files right to the remote download directory. --- a SECURE alternative is something I've mentioned before - it's a peer-to-peer (folder to folder) setup that works on all platforms and only requires a copyable 16 character 'secret' that can be sent to the recipient. It's dead-dog simple and free. Even clients can use it for the first time. http://www.bittorrent.com/sync/get-started sqb *--* *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* From matthias_livecode_150811 at m-r-d.de Sun Dec 1 06:56:51 2013 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Sun, 1 Dec 2013 12:56:51 +0100 Subject: Copy In-Reply-To: References: <421058105292.20131130170343@ahsoftware.net> <471063159621.20131130182758@ahsoftware.net> Message-ID: <65E74F16-4C26-4AA2-B96D-41275EDF137E@m-r-d.de> Stephen, that looks interesting. Would you mind to share your .irev file, so others could find out how to do that on their servers also? Regards, Matthias Am 01.12.2013 um 08:11 schrieb stephen barncard : > On Sat, Nov 30, 2013 at 10:12 PM, Scott Rossi wrote: > >> If any of the >> other services offer this kind of accessibility, I would love to know how >> to enable it. >> > > ?Scott: > what I do is use livecode server and a small irev file in a folder of files > to automatically create a download page, accessible from any browser and > hosted on one of my Dreamhost hosted sites. > > It's great because one can brand it easily and show notes right alongside. > > screenshot: > http://media.barncard.com/downloads/DOWNLOAD-iREV.png > > Using Transmit, I can have a 'drop' folder on my desktop that can deliver > files right to the remote download directory. > > --- > > a SECURE alternative is something I've mentioned before - it's a > peer-to-peer (folder to folder) setup that works on all platforms and only > requires a copyable 16 character 'secret' that can be sent to the > recipient. > > It's dead-dog simple and free. Even clients can use it for the first time. > http://www.bittorrent.com/sync/get-started > > sqb > > > > *--* > *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode Matthias Rebbe Tel: +49 5741 310000 +49 160 5504462 eMail: matthias underscore livecode underscore 150811 at m dash r dash d dot de From livfoss at mac.com Sun Dec 1 07:10:34 2013 From: livfoss at mac.com (Graham Samuel) Date: Sun, 01 Dec 2013 13:10:34 +0100 Subject: Is hiding a modal dialog the same as closing it? Message-ID: <594949ED-9567-4632-AED6-0199C1B3BB02@mac.com> In a desktop app, I have a little color palette that opens as modal, and is dismissed with an 'OK' or 'Cancel' button in the usual way after the user had picked a color and the color is placed in a global (yes, I know, it could have been a custom property). This works in general, but I'm having some trouble with the initial opening, where unexpected things happen, possibly with the defaultStack setting. Anyway it's some time since I scripted this, and I just noticed that I don't close this stack when someone clicks 'OK", I just hide it. The effect is that the stack is dismissed, and control returns to the handler that's waiting for the setting of the global, and the program sequence continues. Is hiding really the same as closing the stack? This doesn't seem to be documented anywhere. Has anyone any tips on this stuff? I am getting some very odd behaviour when I first open the modal, but no problems after that. There is a rather odd note by Oliver in the LC dictionary about messages that might be sent when a modal is opened, but it doesn't give a complete account of all the messages sent etc. TIA Graham From m.schonewille at economy-x-talk.com Sun Dec 1 07:14:05 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 01 Dec 2013 13:14:05 +0100 Subject: Is hiding a modal dialog the same as closing it? In-Reply-To: <594949ED-9567-4632-AED6-0199C1B3BB02@mac.com> References: <594949ED-9567-4632-AED6-0199C1B3BB02@mac.com> Message-ID: <529B280D.2090308@economy-x-talk.com> Hi Graham, What odd behaviour do you see? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi Fill out this survey please http://livecodebeginner.economy-x-talk.com/survey/ On 12/1/2013 13:10, Graham Samuel wrote: > In a desktop app, I have a little color palette that opens as modal, and is dismissed with an 'OK' or 'Cancel' button in the usual way after the user had picked a color and the color is placed in a global (yes, I know, it could have been a custom property). This works in general, but I'm having some trouble with the initial opening, where unexpected things happen, possibly with the defaultStack setting. > > Anyway it's some time since I scripted this, and I just noticed that I don't close this stack when someone clicks 'OK", I just hide it. The effect is that the stack is dismissed, and control returns to the handler that's waiting for the setting of the global, and the program sequence continues. Is hiding really the same as closing the stack? This doesn't seem to be documented anywhere. > > Has anyone any tips on this stuff? I am getting some very odd behaviour when I first open the modal, but no problems after that. There is a rather odd note by Oliver in the LC dictionary about messages that might be sent when a modal is opened, but it doesn't give a complete account of all the messages sent etc. > > TIA > > Graham From matthias_livecode_150811 at m-r-d.de Sun Dec 1 09:00:24 2013 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Sun, 1 Dec 2013 15:00:24 +0100 Subject: Copy In-Reply-To: References: <421058105292.20131130170343@ahsoftware.net> <471063159621.20131130182758@ahsoftware.net> Message-ID: <24A2782C-7A18-496C-B417-9453EB608FC3@m-r-d.de> There is a nice menubar tool for Mac OS X at http://serus.io called Servus. You can drag a file to the menubar icon of servus and servus uploads that file to dropbox, creates a public link for that file ands create a nice preview page. It?s a really useful tool. Regards, Matthias Am 01.12.2013 um 07:12 schrieb Scott Rossi : > Hi Mark: > > I've had Copy for a little while now, but haven't been able to figure out > if it's possible to directly share a file, without having to route people > through the Copy web site. Do you know if this is possible? > > The key thing for me with DropBox (and what I think is missing with most > of the other cloud services) is (virtual) direct file access from your > desktop. You can share your files without having to go through any > service. Box, SugarSync, Google Drive (and apparently Copy) all require > the people you share with to go through a Web page to get ahold of your > files. At least, from what I've been able to figure out. > > With DropBox I can make any folder on my desktop publicly accessible, and > offer direct download of files without having to designate any special > sharing, which is great for working with LiveCode stacks. If any of the > other services offer this kind of accessibility, I would love to know how > to enable it. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 11/30/13 6:27 PM, "Mark Wieder" wrote: > >> Roger- >> >> Saturday, November 30, 2013, 5:32:08 PM, you wrote: >> >>> That sounds very interesting. 20GB is enticing, BUT... After all the >>> NSA >>> hoopla, a lot of folks are considering bringing their data back >>> in-house. >> >> Yes, it's a good point, but Copy is using 256-bit AES encryption, >> which is about as good as you're going to get in the cloud. And >> they've got an innovative approach to sharing storage: if a folder is >> shared among three people, they are each apportioned one third of the >> storage limit, so teams aren't paying for storage more than once. As I >> understand it, if you have a 20GB limit and you put 10GB in your >> shared folder, and so do two other people you've shared it with, there >> are now 30GB in that folder but you're still within your storage >> allocation limit. >> >> -- >> -Mark Wieder >> ahsoftware at gmail.com >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode Matthias Rebbe Tel: +49 5741 310000 +49 160 5504462 eMail: matthias underscore livecode underscore 150811 at m dash r dash d dot de From harrison at all-auctions.com Sun Dec 1 12:11:40 2013 From: harrison at all-auctions.com (Rick Harrison) Date: Sun, 1 Dec 2013 12:11:40 -0500 Subject: Copy Image to TargetImage In-Reply-To: <65E74F16-4C26-4AA2-B96D-41275EDF137E@m-r-d.de> References: <421058105292.20131130170343@ahsoftware.net> <471063159621.20131130182758@ahsoftware.net> <65E74F16-4C26-4AA2-B96D-41275EDF137E@m-r-d.de> Message-ID: <0680B92C-F771-4E7D-8DA1-C7F512F0AB74@all-auctions.com> Hi there, Ok, I used to know how to do this. Now when I try to copy imageData from one image to another I just get garbage in the targeted image. set the imageData of image "TargetImage" of this card to the imageData of image "OriginalImage" of this card I?ve been through the archives trying to figure out what is going wrong but no joy. Suggestions? Thanks, Rick From klaus at major-k.de Sun Dec 1 12:16:43 2013 From: klaus at major-k.de (Klaus major-k) Date: Sun, 1 Dec 2013 18:16:43 +0100 Subject: Copy Image to TargetImage In-Reply-To: <0680B92C-F771-4E7D-8DA1-C7F512F0AB74@all-auctions.com> References: <421058105292.20131130170343@ahsoftware.net> <471063159621.20131130182758@ahsoftware.net> <65E74F16-4C26-4AA2-B96D-41275EDF137E@m-r-d.de> <0680B92C-F771-4E7D-8DA1-C7F512F0AB74@all-auctions.com> Message-ID: Hi Rick, Am 01.12.2013 um 18:11 schrieb Rick Harrison : > Hi there, > > Ok, I used to know how to do this. > Now when I try to copy imageData > from one image to another I just get > garbage in the targeted image. > > set the imageData of image "TargetImage" of this card to the imageData of image "OriginalImage" of this card > > I?ve been through the archives trying > to figure out what is going wrong > but no joy. > > Suggestions? Yes :-) Setting the imagedata requires that both images (source and target) have the SAME height and width! If they don't you see garbage! Set "the text" property instead: ... set the text of image "TargetImage" to the text of img "OriginalImage" ... > Thanks, > > Rick Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From coiin at verizon.net Sun Dec 1 12:17:51 2013 From: coiin at verizon.net (Colin Holgate) Date: Sun, 01 Dec 2013 12:17:51 -0500 Subject: Copy Image to TargetImage In-Reply-To: <0680B92C-F771-4E7D-8DA1-C7F512F0AB74@all-auctions.com> References: <421058105292.20131130170343@ahsoftware.net> <471063159621.20131130182758@ahsoftware.net> <65E74F16-4C26-4AA2-B96D-41275EDF137E@m-r-d.de> <0680B92C-F771-4E7D-8DA1-C7F512F0AB74@all-auctions.com> Message-ID: <0BE3C4B6-FFEC-47B8-A49D-51E7677371A6@verizon.net> You need to make the image width and height be the same first. Also, note that the alpha will be lost, you can fix that if need be by setting the alphadata of the second image to the alphadata of the first image. From coiin at verizon.net Sun Dec 1 12:21:07 2013 From: coiin at verizon.net (Colin Holgate) Date: Sun, 01 Dec 2013 12:21:07 -0500 Subject: Copy Image to TargetImage In-Reply-To: References: <421058105292.20131130170343@ahsoftware.net> <471063159621.20131130182758@ahsoftware.net> <65E74F16-4C26-4AA2-B96D-41275EDF137E@m-r-d.de> <0680B92C-F771-4E7D-8DA1-C7F512F0AB74@all-auctions.com> Message-ID: That seems to produce a white rectangle. On Dec 1, 2013, at 12:16 PM, Klaus major-k wrote: > > >set the text of image "TargetImage" to the text of img "OriginalImage" From vclement at gmail.com Sun Dec 1 12:25:32 2013 From: vclement at gmail.com (Vaughn Clement) Date: Sun, 1 Dec 2013 10:25:32 -0700 Subject: Copy Image to TargetImage In-Reply-To: <0BE3C4B6-FFEC-47B8-A49D-51E7677371A6@verizon.net> References: <421058105292.20131130170343@ahsoftware.net> <471063159621.20131130182758@ahsoftware.net> <65E74F16-4C26-4AA2-B96D-41275EDF137E@m-r-d.de> <0680B92C-F771-4E7D-8DA1-C7F512F0AB74@all-auctions.com> <0BE3C4B6-FFEC-47B8-A49D-51E7677371A6@verizon.net> Message-ID: Hi I just learning how to use images with the image control. I used the text of the image and sized it to the rect of the control. This worked ok, but it did not save the images because the next time the card was opened the image was gone. The LC lessons did not explain how to save the image/s. Do you know where I can find the script elements to save the image in the mobile device? On Sunday, December 1, 2013, Colin Holgate wrote: > You need to make the image width and height be the same first. Also, note > that the alpha will be lost, you can fix that if need be by setting the > alphadata of the second image to the alphadata of the first image. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Thank you Vaughn Clement Apps by Vaughn Clement (Support) *http://www.appsbyvaughnclement.com/tools/home-page/ * Skype: vaughn.clement https://secure.join.me/appsbyvclement FaceTime: vclement at gmail.com LogMeIn also avaialble Call on "ooVoo" at address: vaughnclement or 9282549062 Ph. 928-254-9062 Cloud Hosting Registration Web Site: https://my.oditech.com/cart.php?a=add&pid=41 From klaus at major-k.de Sun Dec 1 12:26:56 2013 From: klaus at major-k.de (Klaus major-k) Date: Sun, 1 Dec 2013 18:26:56 +0100 Subject: Copy Image to TargetImage In-Reply-To: References: <421058105292.20131130170343@ahsoftware.net> <471063159621.20131130182758@ahsoftware.net> <65E74F16-4C26-4AA2-B96D-41275EDF137E@m-r-d.de> <0680B92C-F771-4E7D-8DA1-C7F512F0AB74@all-auctions.com> Message-ID: <958B0113-C8A3-427B-B08C-7DC5A49CE01F@major-k.de> Hi Colin, Am 01.12.2013 um 18:21 schrieb Colin Holgate : > That seems to produce a white rectangle. hmm, just tested here and works!? Are the images imported or referenced? > On Dec 1, 2013, at 12:16 PM, Klaus major-k wrote: >> >>> set the text of image "TargetImage" to the text of img "OriginalImage" Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From harrison at all-auctions.com Sun Dec 1 12:33:37 2013 From: harrison at all-auctions.com (Rick Harrison) Date: Sun, 1 Dec 2013 12:33:37 -0500 Subject: Copy Image to TargetImage In-Reply-To: References: <421058105292.20131130170343@ahsoftware.net> <471063159621.20131130182758@ahsoftware.net> <65E74F16-4C26-4AA2-B96D-41275EDF137E@m-r-d.de> <0680B92C-F771-4E7D-8DA1-C7F512F0AB74@all-auctions.com> Message-ID: <076F57A1-CFDD-4E13-A951-67665B3FD42F@all-auctions.com> Hi Klaus and Colon, I tried: set the text of image "TargetImage" of this card to the text of image "OriginalImage" of this card That gave me an image object with the same color as the stack background. (Essentially looked blank!) :-( I created my TargetImage to be the exact same size and used ?set the imageData? which this time gave me my image but as Colon explained without the alpha channel which I need. So, I?m almost there. How do I copy the alpha channel? Thanks, RIck On Dec 1, 2013, at 12:16 PM, Klaus major-k wrote: > Hi Rick, > > Am 01.12.2013 um 18:11 schrieb Rick Harrison : > >> Hi there, >> >> Ok, I used to know how to do this. >> Now when I try to copy imageData >> from one image to another I just get >> garbage in the targeted image. >> >> set the imageData of image "TargetImage" of this card to the imageData of image "OriginalImage" of this card >> >> I?ve been through the archives trying >> to figure out what is going wrong >> but no joy. >> >> Suggestions? > > Yes :-) > > Setting the imagedata requires that both images (source and target) have the SAME > height and width! If they don't you see garbage! > > Set "the text" property instead: > ... > set the text of image "TargetImage" to the text of img "OriginalImage" > ... > >> Thanks, >> >> Rick > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From coiin at verizon.net Sun Dec 1 12:49:06 2013 From: coiin at verizon.net (Colin Holgate) Date: Sun, 01 Dec 2013 12:49:06 -0500 Subject: Copy Image to TargetImage In-Reply-To: <958B0113-C8A3-427B-B08C-7DC5A49CE01F@major-k.de> References: <421058105292.20131130170343@ahsoftware.net> <471063159621.20131130182758@ahsoftware.net> <65E74F16-4C26-4AA2-B96D-41275EDF137E@m-r-d.de> <0680B92C-F771-4E7D-8DA1-C7F512F0AB74@all-auctions.com> <958B0113-C8A3-427B-B08C-7DC5A49CE01F@major-k.de> Message-ID: Using the set the text method works if the original image is an ordinary image control. It seems to fail if the image is showing something from the Copy Files list. From harrison at all-auctions.com Sun Dec 1 12:54:06 2013 From: harrison at all-auctions.com (Rick Harrison) Date: Sun, 1 Dec 2013 12:54:06 -0500 Subject: Copy Image to TargetImage In-Reply-To: <076F57A1-CFDD-4E13-A951-67665B3FD42F@all-auctions.com> References: <421058105292.20131130170343@ahsoftware.net> <471063159621.20131130182758@ahsoftware.net> <65E74F16-4C26-4AA2-B96D-41275EDF137E@m-r-d.de> <0680B92C-F771-4E7D-8DA1-C7F512F0AB74@all-auctions.com> <076F57A1-CFDD-4E13-A951-67665B3FD42F@all-auctions.com> Message-ID: HI Klaus and Colin, I got the alphaData working with the following: set the alphaData of image "TargetImage" of this card to the the alphaData of image "OriginalImage" of this card Thanks, Rick P.S. Klaus, If you could point to a working example of the ?text of the image? that would be great. Thanks! On Dec 1, 2013, at 12:33 PM, Rick Harrison wrote: > Hi Klaus and Colon, (Stupid Auto-Correction Spelling Failure!) > > I tried: > > set the text of image "TargetImage" of this card to the text of image "OriginalImage" of this card > > That gave me an image object with the same color as the stack background. (Essentially looked blank!) :-( > > I created my TargetImage to be the exact same size and used ?set the imageData? which this > time gave me my image but as Colon explained without the alpha channel which I need. > > So, I?m almost there. > > How do I copy the alpha channel? > > Thanks, > > RIck > From m.schonewille at economy-x-talk.com Sun Dec 1 13:13:02 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 01 Dec 2013 19:13:02 +0100 Subject: Copy Image to TargetImage In-Reply-To: References: <421058105292.20131130170343@ahsoftware.net> <471063159621.20131130182758@ahsoftware.net> <65E74F16-4C26-4AA2-B96D-41275EDF137E@m-r-d.de> <0680B92C-F771-4E7D-8DA1-C7F512F0AB74@all-auctions.com> <0BE3C4B6-FFEC-47B8-A49D-51E7677371A6@verizon.net> Message-ID: <529B7C2E.7020305@economy-x-talk.com> Vaughn, You can import your images as control to make sure they don't disappear. Another way is to create a folder next to your stack and call this folder "pictures". Put your image files into the folder, e.g. "pictures/mypicture.png". Set the filename of the image control to "pictures/mypicture.png". Now, whenever you move your stack, make sure that you move the folder to the same place and the pictures will be visible in your stack. You can use the Files section of the Standalone Application Settings to include your folder with your standalone. Also see pages 116-118 of my book. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi Fill out this survey please http://livecodebeginner.economy-x-talk.com/survey/ On 12/1/2013 18:25, Vaughn Clement wrote: > Hi > > I just learning how to use images with the image control. I used the text > of the image and sized it to the rect of the control. This worked ok, but > it did not save the images because the next time the card was opened the > image was gone. The LC lessons did not explain how to save the image/s. Do > you know where I can find the script elements to save the image in the > mobile device? > > On Sunday, December 1, 2013, Colin Holgate wrote: > >> You need to make the image width and height be the same first. Also, note >> that the alpha will be lost, you can fix that if need be by setting the >> alphadata of the second image to the alphadata of the first image. >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > From vclement at gmail.com Sun Dec 1 13:17:35 2013 From: vclement at gmail.com (Vaughn Clement) Date: Sun, 1 Dec 2013 11:17:35 -0700 Subject: Copy Image to TargetImage In-Reply-To: <529B7C2E.7020305@economy-x-talk.com> References: <421058105292.20131130170343@ahsoftware.net> <471063159621.20131130182758@ahsoftware.net> <65E74F16-4C26-4AA2-B96D-41275EDF137E@m-r-d.de> <0680B92C-F771-4E7D-8DA1-C7F512F0AB74@all-auctions.com> <0BE3C4B6-FFEC-47B8-A49D-51E7677371A6@verizon.net> <529B7C2E.7020305@economy-x-talk.com> Message-ID: Hi Mark I have your book so I will look at the pages... Thanks Thank you Vaughn Clement Apps by Vaughn Clement (Support) *http://www.appsbyvaughnclement.com/tools/home-page/ * Skype: vaughn.clement https://secure.join.me/appsbyvclement FaceTime: vclement at gmail.com LogMeIn also avaialble Call on "ooVoo" at address: vaughnclement or 9282549062 Ph. 928-254-9062 Cloud Hosting Registration Web Site: https://my.oditech.com/cart.php?a=add&pid=41 On Sun, Dec 1, 2013 at 11:13 AM, Mark Schonewille < m.schonewille at economy-x-talk.com> wrote: > Vaughn, > > You can import your images as control to make sure they don't disappear. > > Another way is to create a folder next to your stack and call this folder > "pictures". Put your image files into the folder, e.g. > "pictures/mypicture.png". Set the filename of the image control to > "pictures/mypicture.png". Now, whenever you move your stack, make sure that > you move the folder to the same place and the pictures will be visible in > your stack. > > You can use the Files section of the Standalone Application Settings to > include your folder with your standalone. > > Also see pages 116-118 of my book. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour > spaces. http://www.color-converter.com > > Buy my new book "Programming LiveCode for the Real Beginner" > http://qery.us/3fi > > Fill out this survey please > http://livecodebeginner.economy-x-talk.com/survey/ > > > On 12/1/2013 18:25, Vaughn Clement wrote: > >> Hi >> >> I just learning how to use images with the image control. I used the text >> of the image and sized it to the rect of the control. This worked ok, but >> it did not save the images because the next time the card was opened the >> image was gone. The LC lessons did not explain how to save the image/s. Do >> you know where I can find the script elements to save the image in the >> mobile device? >> >> On Sunday, December 1, 2013, Colin Holgate wrote: >> >> You need to make the image width and height be the same first. Also, note >>> that the alpha will be lost, you can fix that if need be by setting the >>> alphadata of the second image to the alphadata of the first image. >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >> >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Sun Dec 1 13:23:58 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 01 Dec 2013 12:23:58 -0600 Subject: Is hiding a modal dialog the same as closing it? In-Reply-To: <594949ED-9567-4632-AED6-0199C1B3BB02@mac.com> References: <594949ED-9567-4632-AED6-0199C1B3BB02@mac.com> Message-ID: <529B7EBE.2070500@hyperactivesw.com> On 12/1/13 6:10 AM, Graham Samuel wrote: > Is hiding really the same as closing the stack? No, they're different. Hiding a stack just removes it from view but it remains in the message path and in the openStacks. Closing a stack removes it from the message path and from the openStacks. A hidden stack that is re-shown later will not receive any of the "open*" messages because it is already open, it just isn't being drawn on screen. A closed stack will receive all the open* messages because it really is opening again. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From klaus at major-k.de Sun Dec 1 13:29:02 2013 From: klaus at major-k.de (Klaus major-k) Date: Sun, 1 Dec 2013 19:29:02 +0100 Subject: Copy Image to TargetImage In-Reply-To: References: <421058105292.20131130170343@ahsoftware.net> <471063159621.20131130182758@ahsoftware.net> <65E74F16-4C26-4AA2-B96D-41275EDF137E@m-r-d.de> <0680B92C-F771-4E7D-8DA1-C7F512F0AB74@all-auctions.com> <076F57A1-CFDD-4E13-A951-67665B3FD42F@all-auctions.com> Message-ID: Am 01.12.2013 um 18:54 schrieb Rick Harrison : > HI Klaus and Colin, > > I got the alphaData working with the following: > > set the alphaData of image "TargetImage" of this card to the the alphaData of image "OriginalImage" of this card > > Thanks, > > Rick > > P.S. Klaus, If you could point to a working example of the ?text of the image? that would be great. well, nothing more than my one-liner as posted earlier :-) ... set the text of image "TargetImage" to the text of img "OriginalImage" ## or simply: put img "OriginalImage" into img "TargetImage" ... Both tested with a (imported) PNG file with alpha channnekl and both lines worked as exspected! > Thanks! Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From harrison at all-auctions.com Sun Dec 1 13:35:04 2013 From: harrison at all-auctions.com (Rick Harrison) Date: Sun, 1 Dec 2013 13:35:04 -0500 Subject: Copy Image to TargetImage In-Reply-To: References: <421058105292.20131130170343@ahsoftware.net> <471063159621.20131130182758@ahsoftware.net> <65E74F16-4C26-4AA2-B96D-41275EDF137E@m-r-d.de> <0680B92C-F771-4E7D-8DA1-C7F512F0AB74@all-auctions.com> <076F57A1-CFDD-4E13-A951-67665B3FD42F@all-auctions.com> Message-ID: Hi Klaus, Ok, I?ll see If I can figure out why setting the text isn?t working with my images. Thanks, Rick On Dec 1, 2013, at 1:29 PM, Klaus major-k wrote: > > Am 01.12.2013 um 18:54 schrieb Rick Harrison : > >> HI Klaus and Colin, >> >> I got the alphaData working with the following: >> >> set the alphaData of image "TargetImage" of this card to the the alphaData of image "OriginalImage" of this card >> >> Thanks, >> >> Rick >> >> P.S. Klaus, If you could point to a working example of the ?text of the image? that would be great. > > well, nothing more than my one-liner as posted earlier :-) > ... > set the text of image "TargetImage" to the text of img "OriginalImage" > ## or simply: > put img "OriginalImage" into img "TargetImage" > ... > > Both tested with a (imported) PNG file with alpha channnekl and both lines worked as exspected! > >> Thanks! > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From coiin at verizon.net Sun Dec 1 13:41:40 2013 From: coiin at verizon.net (Colin Holgate) Date: Sun, 01 Dec 2013 13:41:40 -0500 Subject: Copy Image to TargetImage In-Reply-To: References: <421058105292.20131130170343@ahsoftware.net> <471063159621.20131130182758@ahsoftware.net> <65E74F16-4C26-4AA2-B96D-41275EDF137E@m-r-d.de> <0680B92C-F771-4E7D-8DA1-C7F512F0AB74@all-auctions.com> <076F57A1-CFDD-4E13-A951-67665B3FD42F@all-auctions.com> Message-ID: It could be you were using included linked files, like I was when it failed for me. If the images are really imported it works ok. On Dec 1, 2013, at 1:35 PM, Rick Harrison wrote: > >Ok, I?ll see If I can figure out why setting the text isn?t working with my images. From mwieder at ahsoftware.net Sun Dec 1 14:23:02 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 1 Dec 2013 11:23:02 -0800 Subject: Copy In-Reply-To: References: <421058105292.20131130170343@ahsoftware.net> <471063159621.20131130182758@ahsoftware.net> Message-ID: <1921124063704.20131201112302@ahsoftware.net> Stephen- NRPS! -- -Mark Wieder ahsoftware at gmail.com From harrison at all-auctions.com Sun Dec 1 14:39:09 2013 From: harrison at all-auctions.com (Rick Harrison) Date: Sun, 1 Dec 2013 14:39:09 -0500 Subject: Copy Image to TargetImage In-Reply-To: References: <421058105292.20131130170343@ahsoftware.net> <471063159621.20131130182758@ahsoftware.net> <65E74F16-4C26-4AA2-B96D-41275EDF137E@m-r-d.de> <0680B92C-F771-4E7D-8DA1-C7F512F0AB74@all-auctions.com> <076F57A1-CFDD-4E13-A951-67665B3FD42F@all-auctions.com> Message-ID: Hi Colin & Klaus, Yes, once I imported the image as a control I found I could use setting the text just fine. One still has to set the height and width of the target to be the same as the original; and lock it down, or it will change size if the original was bigger or smaller. Now I can move onto other things! Thanks guys! Rick On Dec 1, 2013, at 1:41 PM, Colin Holgate wrote: > It could be you were using included linked files, like I was when it failed for me. If the images are really imported it works ok. > > > On Dec 1, 2013, at 1:35 PM, Rick Harrison wrote: > >>> Ok, I?ll see If I can figure out why setting the text isn?t working with my images. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From harrison at all-auctions.com Sun Dec 1 14:41:00 2013 From: harrison at all-auctions.com (Rick Harrison) Date: Sun, 1 Dec 2013 14:41:00 -0500 Subject: Copy Image to TargetImage In-Reply-To: References: <421058105292.20131130170343@ahsoftware.net> <471063159621.20131130182758@ahsoftware.net> <65E74F16-4C26-4AA2-B96D-41275EDF137E@m-r-d.de> <0680B92C-F771-4E7D-8DA1-C7F512F0AB74@all-auctions.com> <076F57A1-CFDD-4E13-A951-67665B3FD42F@all-auctions.com> Message-ID: Hi again, One last thing. Does anyone know which method executes faster? This might be important since I?m going to have other animations executing. Thanks, Rick On Dec 1, 2013, at 1:41 PM, Colin Holgate wrote: > It could be you were using included linked files, like I was when it failed for me. If the images are really imported it works ok. > > > On Dec 1, 2013, at 1:35 PM, Rick Harrison wrote: > >>> Ok, I?ll see If I can figure out why setting the text isn?t working with my images. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mwieder at ahsoftware.net Sun Dec 1 14:56:58 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 1 Dec 2013 11:56:58 -0800 Subject: Copy In-Reply-To: References: <421058105292.20131130170343@ahsoftware.net> <471063159621.20131130182758@ahsoftware.net> Message-ID: <371126100456.20131201115658@ahsoftware.net> Scott- Saturday, November 30, 2013, 10:12:48 PM, you wrote: > Hi Mark: > I've had Copy for a little while now, but haven't been able to figure out > if it's possible to directly share a file, without having to route people > through the Copy web site. Do you know if this is possible? > The key thing for me with DropBox (and what I think is missing with most > of the other cloud services) is (virtual) direct file access from your > desktop. You can share your files without having to go through any > service. Box, SugarSync, Google Drive (and apparently Copy) all require > the people you share with to go through a Web page to get ahold of your > files. At least, from what I've been able to figure out. > With DropBox I can make any folder on my desktop publicly accessible, and > offer direct download of files without having to designate any special > sharing, which is great for working with LiveCode stacks. If any of the > other services offer this kind of accessibility, I would love to know how > to enable it. Did you install the Copy desktop app? Sharing is via a url because the shared file is in the cloud. This is probably a good thing because you don't have to worry about the server load on your desktop. But changes you make to your desktop file are reflected in the cloud version, so updates are automatic. And if you choose to allow edit and sync capability to a shared folder then a collaborator with Copy will get updates into their local Copy folder and you will have two-way syncing. Doesn't Dropbox do the same thing? I thought shared Dropbox files with other people came through dl.dropbox.com/... When you share a Dropbox folder with someone the syncing is done through the cloud file, rather than setting up a peer-to-peer connection, which is what owncloud does. -- -Mark Wieder ahsoftware at gmail.com From gcanyon at gmail.com Sun Dec 1 15:11:22 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Sun, 1 Dec 2013 14:11:22 -0600 Subject: Copy Image to TargetImage In-Reply-To: References: <421058105292.20131130170343@ahsoftware.net> <471063159621.20131130182758@ahsoftware.net> <65E74F16-4C26-4AA2-B96D-41275EDF137E@m-r-d.de> <0680B92C-F771-4E7D-8DA1-C7F512F0AB74@all-auctions.com> <076F57A1-CFDD-4E13-A951-67665B3FD42F@all-auctions.com> Message-ID: I ran a quick test. The text was faster than the imagedata in the four cases I tried. For small images it was about 3x faster for text, for 1mb images it was 17x faster. On Sun, Dec 1, 2013 at 1:41 PM, Rick Harrison wrote: > Hi again, > > One last thing. Does anyone know which method > executes faster? This might be important since I?m > going to have other animations executing. > > Thanks, > > Rick > > On Dec 1, 2013, at 1:41 PM, Colin Holgate wrote: > > > It could be you were using included linked files, like I was when it > failed for me. If the images are really imported it works ok. > > > > > > On Dec 1, 2013, at 1:35 PM, Rick Harrison > wrote: > > > >>> Ok, I?ll see If I can figure out why setting the text isn?t working > with my images. > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mwieder at ahsoftware.net Sun Dec 1 15:20:23 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 1 Dec 2013 12:20:23 -0800 Subject: Copy Image to TargetImage In-Reply-To: References: <421058105292.20131130170343@ahsoftware.net> <471063159621.20131130182758@ahsoftware.net> <65E74F16-4C26-4AA2-B96D-41275EDF137E@m-r-d.de> <0680B92C-F771-4E7D-8DA1-C7F512F0AB74@all-auctions.com> <076F57A1-CFDD-4E13-A951-67665B3FD42F@all-auctions.com> Message-ID: <751127504488.20131201122023@ahsoftware.net> Geoff- Sunday, December 1, 2013, 12:11:22 PM, you wrote: > I ran a quick test. The text was faster than the imagedata in the four > cases I tried. For small images it was about 3x faster for text, for 1mb > images it was 17x faster. !!! (...off to dig through the code to figure out why...) -- -Mark Wieder ahsoftware at gmail.com From scott at tactilemedia.com Sun Dec 1 15:47:27 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Sun, 01 Dec 2013 12:47:27 -0800 Subject: Copy In-Reply-To: <371126100456.20131201115658@ahsoftware.net> References: <421058105292.20131130170343@ahsoftware.net> <471063159621.20131130182758@ahsoftware.net> <371126100456.20131201115658@ahsoftware.net> Message-ID: On 12/1/13 11:56 AM, "Mark Wieder" wrote: >Did you install the Copy desktop app? Of course. Now sure how you would use it otherwise :-) >Sharing is via a url because the shared file is in the cloud. This is >probably a good thing because you don't have to worry about the server >load on your desktop. But changes you make to your desktop file are >reflected in the cloud version, so updates are automatic. And if you >choose to allow edit and sync capability to a shared folder then a >collaborator with Copy will get updates into their local Copy folder >and you will have two-way syncing. >Doesn't Dropbox do the same thing? I thought shared Dropbox files with >other people came through dl.dropbox.com/... When you share a Dropbox >folder with someone the syncing is done through the cloud file, rather >than setting up a peer-to-peer connection, which is what owncloud >does. AFAIK, DropBox sharing is always through the cloud, which is mirrored from your desktop folder/s. For me, the benefit is you can give people direct access to a file (dl.dropbox.com/...) which I don't see how to do with other services, including Copy. You have to send people to a web page, where they download the shared file. I'm sure at this point all the services are fairly similar, but each seems to have its own little idiosyncrasies. For example, last time I checked, Google Drive is unable to render a Web page -- it just displays the code. Presumably this is some kind of security feature, but at the same time kind of goofy. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design From zryip.theslug at gmail.com Sun Dec 1 15:54:35 2013 From: zryip.theslug at gmail.com (zryip theSlug) Date: Sun, 1 Dec 2013 21:54:35 +0100 Subject: [ANN] Excel Library released In-Reply-To: References: Message-ID: Thanks! The Library will be updated regularly with addition of new commands, so stay tuned! Best Regards, -- Zryip TheSlug http://www.aslugontheroad.com From gcanyon at gmail.com Sun Dec 1 16:14:05 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Sun, 1 Dec 2013 15:14:05 -0600 Subject: Copy In-Reply-To: References: <421058105292.20131130170343@ahsoftware.net> <471063159621.20131130182758@ahsoftware.net> <371126100456.20131201115658@ahsoftware.net> Message-ID: Scott, I shared a folder with you out of curiosity. You can also share a file through Copy, I'll try that in a second as well... On Sun, Dec 1, 2013 at 2:47 PM, Scott Rossi wrote: > On 12/1/13 11:56 AM, "Mark Wieder" wrote: > > >Did you install the Copy desktop app? > > Of course. Now sure how you would use it otherwise :-) > > > >Sharing is via a url because the shared file is in the cloud. This is > >probably a good thing because you don't have to worry about the server > >load on your desktop. But changes you make to your desktop file are > >reflected in the cloud version, so updates are automatic. And if you > >choose to allow edit and sync capability to a shared folder then a > >collaborator with Copy will get updates into their local Copy folder > >and you will have two-way syncing. > > >Doesn't Dropbox do the same thing? I thought shared Dropbox files with > >other people came through dl.dropbox.com/... When you share a Dropbox > >folder with someone the syncing is done through the cloud file, rather > >than setting up a peer-to-peer connection, which is what owncloud > >does. > > > AFAIK, DropBox sharing is always through the cloud, which is mirrored from > your desktop folder/s. For me, the benefit is you can give people direct > access to a file (dl.dropbox.com/...) which I don't see how to do with > other services, including Copy. You have to send people to a web page, > where they download the shared file. > > I'm sure at this point all the services are fairly similar, but each seems > to have its own little idiosyncrasies. For example, last time I checked, > Google Drive is unable to render a Web page -- it just displays the code. > Presumably this is some kind of security feature, but at the same time > kind of goofy. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From gcanyon at gmail.com Sun Dec 1 16:20:08 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Sun, 1 Dec 2013 15:20:08 -0600 Subject: Copy In-Reply-To: References: <421058105292.20131130170343@ahsoftware.net> <471063159621.20131130182758@ahsoftware.net> <371126100456.20131201115658@ahsoftware.net> Message-ID: For anyone who wants it, here's a link to a stack that compares speeds between the imagedata and text properties of images: https://copy.com/NcN4a2LJ0U0hzPeW On Sun, Dec 1, 2013 at 3:14 PM, Geoff Canyon wrote: > Scott, I shared a folder with you out of curiosity. You can also share a > file through Copy, I'll try that in a second as well... > > > On Sun, Dec 1, 2013 at 2:47 PM, Scott Rossi wrote: > >> On 12/1/13 11:56 AM, "Mark Wieder" wrote: >> >> >Did you install the Copy desktop app? >> >> Of course. Now sure how you would use it otherwise :-) >> >> >> >Sharing is via a url because the shared file is in the cloud. This is >> >probably a good thing because you don't have to worry about the server >> >load on your desktop. But changes you make to your desktop file are >> >reflected in the cloud version, so updates are automatic. And if you >> >choose to allow edit and sync capability to a shared folder then a >> >collaborator with Copy will get updates into their local Copy folder >> >and you will have two-way syncing. >> >> >Doesn't Dropbox do the same thing? I thought shared Dropbox files with >> >other people came through dl.dropbox.com/... When you share a Dropbox >> >folder with someone the syncing is done through the cloud file, rather >> >than setting up a peer-to-peer connection, which is what owncloud >> >does. >> >> >> AFAIK, DropBox sharing is always through the cloud, which is mirrored from >> your desktop folder/s. For me, the benefit is you can give people direct >> access to a file (dl.dropbox.com/...) which I don't see how to do with >> other services, including Copy. You have to send people to a web page, >> where they download the shared file. >> >> I'm sure at this point all the services are fairly similar, but each seems >> to have its own little idiosyncrasies. For example, last time I checked, >> Google Drive is unable to render a Web page -- it just displays the code. >> Presumably this is some kind of security feature, but at the same time >> kind of goofy. >> >> Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, UX/UI Design >> >> >> >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > From stephenREVOLUTION2 at barncard.com Sun Dec 1 16:31:09 2013 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sun, 1 Dec 2013 13:31:09 -0800 Subject: Copy In-Reply-To: <65E74F16-4C26-4AA2-B96D-41275EDF137E@m-r-d.de> References: <421058105292.20131130170343@ahsoftware.net> <471063159621.20131130182758@ahsoftware.net> <65E74F16-4C26-4AA2-B96D-41275EDF137E@m-r-d.de> Message-ID: On Sun, Dec 1, 2013 at 3:56 AM, Matthias Rebbe < matthias_livecode_150811 at m-r-d.de> wrote: > that looks interesting. > > Would you mind to share your .irev file, > so others could find out how to do that on their servers also? > > Regards, > > Matthias > ?PART ONE Matthias this stuff is all experimental but works great for me. a zip of the 'master' iRev file for "Directory Player" is here . this code is probably going to look like Siberian noodleworks without knowing the context. I work with a lot of different media in conjunction with with making records and use the web extensively to communicate and exchange files with my clients. Since I'm the only one using this, I don't need a fancy UI and instead upload files using an SFTP client. My goal: to create a web-based player for every thing I do, and have it create it's own properties. In addition to the simple 'directory player' I've created a video player (using JW player + minimal javascript ) that creates a playlist in real time from the contents of the folder, offers direct URL play, download option, otherwise file locations are obfuscated. an audio player (using JW player + minimal javascript ) that does the same a directory player that simply shows directories within a directory, and conditionally allows navigation through the areas. a gallery player that shows photo files in the directory. All these are designed for FAST setup. The rest of this rap relates to the simple download player: I've created a 'system' of folders that uses a 'player' for a particular use or that makes it easy for me to display media of different types super-quickly by simply uploading the files, filling out a prefs file and placing a short re-director file in the directory. This "INCLUDES" the master file as if it is running in the folder and the master can then make local references. In the files-directory player I go further and modify apache using .htaccess so that I can bypass automatic browser players and the media files can be downloaded with a normal click: htaccess file at top of download folder *AddType application/octet-stream aif* *AddType application/octet-stream tif* *AddType application/octet-stream psd* *AddType application/octet-stream qt* *AddType application/octet-stream zip* *AddType application/octet-stream mp3* *AddType application/octet-stream m4a* the index file looks like this. it includes the master file in the lib folder. the master file can also work in the folder solo without abstraction. ** (text limit - continued on part two)? *--* *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* From mcgrath3 at mac.com Sun Dec 1 16:47:29 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Sun, 01 Dec 2013 16:47:29 -0500 Subject: Copy In-Reply-To: <1921124063704.20131201112302@ahsoftware.net> References: <421058105292.20131130170343@ahsoftware.net> <471063159621.20131130182758@ahsoftware.net> <1921124063704.20131201112302@ahsoftware.net> Message-ID: <2D3CA221-442A-45D8-AE5D-D0E9E9039031@mac.com> New Riders of the Purple Sage On Dec 1, 2013, at 2:23 PM, Mark Wieder wrote: > > NRPS! > > -- > -Mark Wieder > ahsoftware at gmail.com From scott at tactilemedia.com Sun Dec 1 17:26:57 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Sun, 01 Dec 2013 14:26:57 -0800 Subject: Copy In-Reply-To: References: <421058105292.20131130170343@ahsoftware.net> <471063159621.20131130182758@ahsoftware.net> <371126100456.20131201115658@ahsoftware.net> Message-ID: Yup, got a link to a web page with the file. That's the default behavior. The challenge is to figure out how to get a direct link to the file (no web page). Like this: http://dl.dropboxusercontent.com/u/7192863/test/imagedata%20vs.%20text.live code Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 12/1/13 1:14 PM, "Geoff Canyon" wrote: >Scott, I shared a folder with you out of curiosity. You can also share a >file through Copy, I'll try that in a second as well... > > >On Sun, Dec 1, 2013 at 2:47 PM, Scott Rossi >wrote: > >> On 12/1/13 11:56 AM, "Mark Wieder" wrote: >> >> >Did you install the Copy desktop app? >> >> Of course. Now sure how you would use it otherwise :-) >> >> >> >Sharing is via a url because the shared file is in the cloud. This is >> >probably a good thing because you don't have to worry about the server >> >load on your desktop. But changes you make to your desktop file are >> >reflected in the cloud version, so updates are automatic. And if you >> >choose to allow edit and sync capability to a shared folder then a >> >collaborator with Copy will get updates into their local Copy folder >> >and you will have two-way syncing. >> >> >Doesn't Dropbox do the same thing? I thought shared Dropbox files with >> >other people came through dl.dropbox.com/... When you share a Dropbox >> >folder with someone the syncing is done through the cloud file, rather >> >than setting up a peer-to-peer connection, which is what owncloud >> >does. >> >> >> AFAIK, DropBox sharing is always through the cloud, which is mirrored >>from >> your desktop folder/s. For me, the benefit is you can give people >>direct >> access to a file (dl.dropbox.com/...) which I don't see how to do with >> other services, including Copy. You have to send people to a web page, >> where they download the shared file. >> >> I'm sure at this point all the services are fairly similar, but each >>seems >> to have its own little idiosyncrasies. For example, last time I >>checked, >> Google Drive is unable to render a Web page -- it just displays the >>code. >> Presumably this is some kind of security feature, but at the same time >> kind of goofy. >> >> Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, UX/UI Design >> >> >> >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode > From stephenREVOLUTION2 at barncard.com Sun Dec 1 17:33:23 2013 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sun, 1 Dec 2013 14:33:23 -0800 Subject: Copy In-Reply-To: References: <421058105292.20131130170343@ahsoftware.net> <471063159621.20131130182758@ahsoftware.net> <65E74F16-4C26-4AA2-B96D-41275EDF137E@m-r-d.de> Message-ID: On Sun, Dec 1, 2013 at 2:28 PM, stephen barncard < stephenREVOLUTION2 at barncard.com> wrote: > > [PART TWO - with a bit of overlap ] (damn this text limit?) the index file looks like this. it includes the master file in the lib folder. the master file can also work in the folder solo without abstraction. I've further rigged all folders in the system to display several different types of web pages as well as index.html. Below is the .htaccess file at site root. Note the DirectoryIndex. Options +ExecCGI FollowSymLinks AddHandler livecode-script .lc .irev AddHandler php5-script php htm html DirectoryIndex index.irev index.lc index.php index.html dir.irev video.irev audio.irev gallery.irev Action livecode-script /cgi-bin/livecode-server/livecode-community-server I have many folder default indexes, and they define the player type of the folder. This makes it easier to set up each folder for automatic action. PGM FLOW If the folder is accessed, either by "www.site.com/audio/whatever/" or " www.site.com/audio/whatever/download.irev" then download.irev executes and immediately includes master file in "/_lib/download-player.irev" PUT HEADER -- needed for full html5 validation set errormode set up variables init defaults loadconfig - reads config.txt (see above) config file setEnclosingFolder - where am I setFullURL - establishes current web available address createValidateURLf - creates a validation link newListingComplete - pretty file listing with exceptions and links the rest is html and css code with imbedded iRev strings built from variables. DISCLAIMER: This is a peek into my little code world. I hope it is readable to others but I hadn't planned on sharing this yet without comments! Am I insane? Am I doing this the 'wrong way?' I have no idea. sqb -- Stephen Barncard - San Francisco Ca. USA - Deeds Not Words From bobsneidar at iotecdigital.com Sun Dec 1 17:38:55 2013 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sun, 1 Dec 2013 22:38:55 +0000 Subject: Answer File on Mac OS X In-Reply-To: <23946865-EB48-4FF4-B802-4828358FFB71@verizon.net> References: <5FE3DA64-535E-4B6C-9850-20132A37C599@iotecdigital.com> <5296C2B4.4020501@gmail.com> <28449E87-E245-4261-ABF6-8BC0AED01C6E@iotecdigital.com> <5296D1DB.6070006@hyperactivesw.com> <23946865-EB48-4FF4-B802-4828358FFB71@verizon.net> Message-ID: <0007A9BD-348E-4573-B04C-A7FB8E2BF69D@iotecdigital.com> All good up until the part, "but it would only show files that had been saved with the OS9 style of Type/Creator information.? All these PDF?s have never been touched by OS 9. Apparently, Adobe at least is still using file types. Bob Sneidar IT Technician Integrated Office Technology bobsneidar at iotecdigital.com 714-401-2407 On Nov 28, 2013, at 07:09 , Colin Holgate > wrote: Both Jacque?s and Bob?s ways work. The one Marty posted happened not to work because the wildcard part overrode the pdf part. So, ?|pdf? (no space), should work, and "PDF Files|pdf? will work too. Now, the above is using ?with?. If you use ?of?, then the old file TYPE comes into play. So, this would work: answer file "Select file to open:" of type "PDF ? (note the space), but it would only show files that had been saved with the OS9 style of Type/Creator information. Any pure OSX PDFs would most likely be grayed out. This article by Devin Asay has a handy list of the file types: http://revolution.byu.edu/helps/file-creatorcodes.php _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Sun Dec 1 17:51:54 2013 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sun, 1 Dec 2013 22:51:54 +0000 Subject: 6.5 Problem In-Reply-To: <5296EF38.2050801@gmail.com> References: <5296D266.7070305@hyperactivesw.com> <5296EF38.2050801@gmail.com> Message-ID: <4E89EBBC-7FC7-4BCD-859C-C74F6CDE5EDD@iotecdigital.com> Unless of course, the new feature is resolution independence. It would be my guess that most LC debs would put up with a few road bumps to have that. I certainly would! I would never before have attempted to port anything I made to a mobile platform after reading all the posts about the hell and havoc of supporting all the varied resolutions, only to have someone release the very next week yet another Android or iOS device with heretofore unknown resolutions. I think that what most developers do in these situations is they do not upgrade their dev software in a production environment until they have sussed out the potential issues. This seems to me to be an impossible task, this backwards compatibility thing. Rather, it should have read, all possible effort will be made to remain backward compatible. Otherwise LC will end up with a DOS-like ball and chain around it?s digital ankle. Bob Sneidar IT Technician Integrated Office Technology bobsneidar at iotecdigital.com 714-401-2407 On Nov 27, 2013, at 23:22 , Richmond > wrote: In the Livecode Kickstarter Roadmap there is a point made that all new versions of Livecode must be completely backward compatible. In light of "grumps and bumps" with recent supposedly finished releases I am wondering how backward compatible they really are. If the price of new features is breaking those we have come to depend upon then that price is too high. From livfoss at mac.com Sun Dec 1 17:54:46 2013 From: livfoss at mac.com (Graham Samuel) Date: Sun, 01 Dec 2013 23:54:46 +0100 Subject: Is hiding a modal dialog the same as closing it? In-Reply-To: <529B7EBE.2070500@hyperactivesw.com> References: <594949ED-9567-4632-AED6-0199C1B3BB02@mac.com> <529B7EBE.2070500@hyperactivesw.com> Message-ID: <3B34E8FC-D605-4492-A11A-5CD00734FAF7@mac.com> Thanks Jacque The odd thing to me, though, is that if you hide a modal dialog rather than closing it, then it seems that the modal behaviour, where the dialog stops the action of the calling handler, ceases as if the dialog had been closed. That's really what my query was about. In the end I found that too many strange things were happening using 'hide', so I corrected my script to use 'close', and I've made sure I've soaked up the various 'open' messages each time through as I really don't want them in my particular app. Really I'm using the modal dialog to let someone pick from a limited range of colours by clicking on a graphic rather then using a menu, so I don't want the stack to do any more or less to interrupt the flow than say an 'answer' dialog does. So these added messages were something I was trying to avoid. Never mind, it seems to be working now. Thanks again for your help. Grraham On 1 Dec 2013, at 19:23, J. Landman Gay wrote: > On 12/1/13 6:10 AM, Graham Samuel wrote: >> Is hiding really the same as closing the stack? > > No, they're different. Hiding a stack just removes it from view but it remains in the message path and in the openStacks. Closing a stack removes it from the message path and from the openStacks. > > A hidden stack that is re-shown later will not receive any of the "open*" messages because it is already open, it just isn't being drawn on screen. A closed stack will receive all the open* messages because it really is opening again. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Sun Dec 1 17:56:57 2013 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sun, 1 Dec 2013 22:56:57 +0000 Subject: [ANN] Excel Library released In-Reply-To: References: Message-ID: That is fantastic! Wish I had this 4 weeks ago when I began development on a forms generator app, which as one of it?s features imports the clipboardData [text] of a copied spreadsheet that gets sent to us when we have to install a copier. I will have to look into this to see if I can forgo the copying of the spreadsheet first. Is it possible to get the contents of a named cell or group of cells? Bob Sneidar IT Technician Integrated Office Technology bobsneidar at iotecdigital.com 714-401-2407 On Nov 28, 2013, at 16:08 , zryip theSlug > wrote: Dear LiveCoders, We have released our Excel Library in 2 versions: 1. An open source version: http://www.aslugontheroad.com/download/category/5-open-sources 2. A commercial version: http://www.aslugontheroad.com/ourproducts/14-excel-library-for-livecode The Excel Library package is composed by: - a library of more than 170 commands or functions for controlling MS Excel with LiveCode (allowing the creation or deletion of sheets, shapes or charts, among a lot of numerous things) - a full documentation with its Lab for directly experimenting the library commands The Excel Library is compatible with - LiveCode Community and Commercial both versions - MS Excel Windows and MS Excel Macintosh A big thanks to our Excel Library Testers group who helped testing the library in different approaches and with different Excel versions. Best Regards, -- Zryip TheSlug http://www.aslugontheroad.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From gcanyon at gmail.com Sun Dec 1 18:01:26 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Sun, 1 Dec 2013 17:01:26 -0600 Subject: Copy In-Reply-To: References: <421058105292.20131130170343@ahsoftware.net> <471063159621.20131130182758@ahsoftware.net> <371126100456.20131201115658@ahsoftware.net> Message-ID: On Sun, Dec 1, 2013 at 3:20 PM, Geoff Canyon wrote: > For anyone who wants it, here's a link to a stack that compares speeds > between the imagedata and text properties of images: > https://copy.com/NcN4a2LJ0U0hzPeW > > On Sun, Dec 1, 2013 at 4:26 PM, Scott Rossi wrote: > Yup, got a link to a web page with the file. That's the default behavior. > > The challenge is to figure out how to get a direct link to the file (no > web page). > Like this: > http://dl.dropboxusercontent.com/u/7192863/test/imagedata%20vs.%20text.live > code > Okay, well here you go: https://copy.com/NcN4a2LJ0U0hzPeW/imagedata%20vs.%20text.livecode?download=1 That works directly for me at least -- let me know if it's different for you (might be since it's my file). I got that by inspecting the download link in the file, but less-klugy options should be possible if the link itself works. From bobsneidar at iotecdigital.com Sun Dec 1 18:03:25 2013 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sun, 1 Dec 2013 23:03:25 +0000 Subject: Is hiding a modal dialog the same as closing it? In-Reply-To: <3B34E8FC-D605-4492-A11A-5CD00734FAF7@mac.com> References: <594949ED-9567-4632-AED6-0199C1B3BB02@mac.com> <529B7EBE.2070500@hyperactivesw.com> <3B34E8FC-D605-4492-A11A-5CD00734FAF7@mac.com> Message-ID: <85E1D07E-9079-4B92-8EF0-F4950F84B8D3@iotecdigital.com> As an aside, I have noticed with modal windows it?s a very bad thing to do anything that would generate an error dialog when in that modal state. You will be unable to dismiss the error dialog as the modal will prevent you, and if memory serves, the error dialog will prevent you from interacting with the modal window. Bob Sneidar IT Technician Integrated Office Technology bobsneidar at iotecdigital.com 714-401-2407 On Dec 1, 2013, at 14:54 , Graham Samuel > wrote: Thanks Jacque The odd thing to me, though, is that if you hide a modal dialog rather than closing it, then it seems that the modal behaviour, where the dialog stops the action of the calling handler, ceases as if the dialog had been closed. That's really what my query was about. In the end I found that too many strange things were happening using 'hide', so I corrected my script to use 'close', and I've made sure I've soaked up the various 'open' messages each time through as I really don't want them in my particular app. Really I'm using the modal dialog to let someone pick from a limited range of colours by clicking on a graphic rather then using a menu, so I don't want the stack to do any more or less to interrupt the flow than say an 'answer' dialog does. So these added messages were something I was trying to avoid. Never mind, it seems to be working now. Thanks again for your help. Grraham On 1 Dec 2013, at 19:23, J. Landman Gay wrote: On 12/1/13 6:10 AM, Graham Samuel wrote: Is hiding really the same as closing the stack? No, they're different. Hiding a stack just removes it from view but it remains in the message path and in the openStacks. Closing a stack removes it from the message path and from the openStacks. A hidden stack that is re-shown later will not receive any of the "open*" messages because it is already open, it just isn't being drawn on screen. A closed stack will receive all the open* messages because it really is opening again. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From paulhibbert at mac.com Sun Dec 1 18:06:13 2013 From: paulhibbert at mac.com (Paul Hibbert) Date: Sun, 01 Dec 2013 15:06:13 -0800 Subject: Answer File on Mac OS X In-Reply-To: <0007A9BD-348E-4573-B04C-A7FB8E2BF69D@iotecdigital.com> References: <5FE3DA64-535E-4B6C-9850-20132A37C599@iotecdigital.com> <5296C2B4.4020501@gmail.com> <28449E87-E245-4261-ABF6-8BC0AED01C6E@iotecdigital.com> <5296D1DB.6070006@hyperactivesw.com> <23946865-EB48-4FF4-B802-4828358FFB71@verizon.net> <0007A9BD-348E-4573-B04C-A7FB8E2BF69D@iotecdigital.com> Message-ID: Bob, I checked a folder full of PDFs on my hard drive and found some worked with the space in the file type and some that didn?t, like yours, none of these PDFs were generated on OS 9 as far as I know, they are all quite new. The odd ones with the space came from different sources, one of them from ImageCapture.app on another of my Macs running OS X 10.7.5. After a few tests I concluded that the best line for this would probably be? answer file "Which PDF?" with type "PDF Files|pdf,pdf |PDF,PDF " ?From what I saw on OS X 10.8.5 this covered both options reliably, however, I don't have Mavericks to test on just yet. Paul On 2013-12-01, at 2:38 PM, Bob Sneidar wrote: > All good up until the part, "but it would only show files that had been saved with the OS9 style of Type/Creator information.? All these PDF?s have never been touched by OS 9. Apparently, Adobe at least is still using file types. > > Bob Sneidar > IT Technician > Integrated Office Technology > bobsneidar at iotecdigital.com > 714-401-2407 > > > > On Nov 28, 2013, at 07:09 , Colin Holgate > wrote: > > Both Jacque?s and Bob?s ways work. The one Marty posted happened not to work because the wildcard part overrode the pdf part. > > So, ?|pdf? (no space), should work, and "PDF Files|pdf? will work too. > > Now, the above is using ?with?. If you use ?of?, then the old file TYPE comes into play. So, this would work: > > answer file "Select file to open:" of type "PDF ? > > (note the space), but it would only show files that had been saved with the OS9 style of Type/Creator information. Any pure OSX PDFs would most likely be grayed out. > > This article by Devin Asay has a handy list of the file types: > > http://revolution.byu.edu/helps/file-creatorcodes.php > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Sun Dec 1 18:15:23 2013 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sun, 1 Dec 2013 23:15:23 +0000 Subject: Answer File on Mac OS X In-Reply-To: References: <5FE3DA64-535E-4B6C-9850-20132A37C599@iotecdigital.com> <5296C2B4.4020501@gmail.com> <28449E87-E245-4261-ABF6-8BC0AED01C6E@iotecdigital.com> <5296D1DB.6070006@hyperactivesw.com> <23946865-EB48-4FF4-B802-4828358FFB71@verizon.net> <0007A9BD-348E-4573-B04C-A7FB8E2BF69D@iotecdigital.com> Message-ID: Thanks Paul, Jacque, others. with type works reliably. Maybe I didn?t read the docs carefully enough. It comes to mind that if a PDF was saved in Windows it would not have the file type, so with type ?PDF Files|pdf? is definitely the way to go. Bob Sneidar IT Technician Integrated Office Technology bobsneidar at iotecdigital.com 714-401-2407 On Dec 1, 2013, at 15:06 , Paul Hibbert > wrote: Bob, I checked a folder full of PDFs on my hard drive and found some worked with the space in the file type and some that didn?t, like yours, none of these PDFs were generated on OS 9 as far as I know, they are all quite new. The odd ones with the space came from different sources, one of them from ImageCapture.app on another of my Macs running OS X 10.7.5. After a few tests I concluded that the best line for this would probably be? answer file "Which PDF?" with type "PDF Files|pdf,pdf |PDF,PDF " ?From what I saw on OS X 10.8.5 this covered both options reliably, however, I don't have Mavericks to test on just yet. Paul From zryip.theslug at gmail.com Sun Dec 1 18:18:44 2013 From: zryip.theslug at gmail.com (zryip theSlug) Date: Mon, 2 Dec 2013 00:18:44 +0100 Subject: [ANN] Excel Library released In-Reply-To: References: Message-ID: Bob, Yes, this is possible by using the following syntax: put XCEL_Range_Ref_Add(tTheWorkbookRef, tTheSheetRef, "myRange") into tTheRange put XCEL_Range_Values_Get(tTheRange) into tTheRangeData Where: - tTheWorkbookRef is a reference to a workbook (number or name) - tTheSheetRef is a reference to a sheet (number or name) - "myRange" is a named range. We can also use a range in the A1-style notation: "A1:C3" for example For a single cell we have also the XCEL_Range_Value_Get function. On Sun, Dec 1, 2013 at 11:56 PM, Bob Sneidar wrote: > That is fantastic! Wish I had this 4 weeks ago when I began development on a forms generator app, which as one of it?s features imports the clipboardData [text] of a copied spreadsheet that gets sent to us when we have to install a copier. I will have to look into this to see if I can forgo the copying of the spreadsheet first. Is it possible to get the contents of a named cell or group of cells? > > Bob Sneidar > IT Technician > Integrated Office Technology > bobsneidar at iotecdigital.com > 714-401-2407 > > > > On Nov 28, 2013, at 16:08 , zryip theSlug > wrote: > > Dear LiveCoders, > > > We have released our Excel Library in 2 versions: > > 1. An open source version: > http://www.aslugontheroad.com/download/category/5-open-sources > > 2. A commercial version: > http://www.aslugontheroad.com/ourproducts/14-excel-library-for-livecode > > > The Excel Library package is composed by: > - a library of more than 170 commands or functions for controlling MS > Excel with LiveCode (allowing the creation or deletion of sheets, > shapes or charts, among a lot of numerous things) > - a full documentation with its Lab for directly experimenting the > library commands > > The Excel Library is compatible with > - LiveCode Community and Commercial both versions > - MS Excel Windows and MS Excel Macintosh > > A big thanks to our Excel Library Testers group who helped testing the > library in different approaches and with different Excel versions. > > > Best Regards, > -- > Zryip TheSlug > http://www.aslugontheroad.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode Best Regards, -- Zryip TheSlug http://www.aslugontheroad.com From bobsneidar at iotecdigital.com Sun Dec 1 18:37:33 2013 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sun, 1 Dec 2013 23:37:33 +0000 Subject: Communicating between to standalones with "write to process" - Found word(s) list error in the Text body In-Reply-To: References: Message-ID: They can but only one can have write access at a time. Since you cannot open sqlite read only in LC (that might be a nice feature), create a text file before opening database, checking first for its existence before opening. If it exists then another stack has it open. Once open, do your thing then close it (I never leave a sqLite db open if I am not reading from it or writing to it) then delete the text file. Alternatively, you can leave the text file in place and simply write the name of the stack currently using the database. You can get creative and add the time the database was opened, so if the current time is beyond 30 seconds of last opened time, there is probably something wrong and you can deal with it. Of course you cannot use this strategy with iOS (no file system), but I think you probably can with Android. Another option would be to have a hidden stack make the queries for your other stacks. Pass the sql statement in a function call to that stack and return the result of the query. Since only one stack is really opening the database, problem solved! Seems overkill though when you can simply install mySQL with a very small footprint, or else do what I do and get an on-rev account which has mySQL built in. Bob Sneidar IT Technician Integrated Office Technology bobsneidar at iotecdigital.com 714-401-2407 On Nov 30, 2013, at 09:42 , Dr. Hawkins > wrote: really* nice would be for two livecode processes to be able to share a SQLite :memory: database . . . From dochawk at gmail.com Sun Dec 1 18:59:33 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sun, 1 Dec 2013 15:59:33 -0800 Subject: Communicating between to standalones with "write to process" - Found word(s) list error in the Text body In-Reply-To: References: Message-ID: On Sun, Dec 1, 2013 at 3:37 PM, Bob Sneidar wrote: > Since you cannot open sqlite read only in LC (that might be a nice > feature), create a text file before opening database, checking first for > its existence before opening. If it exists then another stack has it open. :( This would be more cumbersome than what I'm trying to avoid . . . I get a half-second or so lag from hitting a db across town. *If* livecode were multithreaded, even weakly, i could use SQLite locks. My tentative solution is a slave process, so I pass off the updates to the remote db to the slave, and "eventually" the update comes back from the slave. If I play with the disk file, I've slowed things down even more than the in-memory shenanigans . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Sun Dec 1 19:03:30 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sun, 1 Dec 2013 16:03:30 -0800 Subject: on-screen scaling Message-ID: I see the value of resolution independence, but I'm looking for somthing a bit less. I would *like* to be able to produce output cards, measuring in points (or whatever) that represent actual real estate on paper or pdf, but be able to resize on a mac (or pc) screen. A full page on a modern screen is just too small. I"m not particularly worried about the quality of scaled objects; it's text & rects for me. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From monte at sweattechnologies.com Sun Dec 1 19:25:59 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon, 2 Dec 2013 11:25:59 +1100 Subject: on-rev and custom externals Message-ID: <8FABBE64-E0BB-4C20-AF89-8B41A6B28183@sweattechnologies.com> Hi Folks I'm trying to work out if there's a way to add custom externals to an on-rev account... Normally externals for livecode server just go in a directory next to the server but obviously that only works if you have control of that directory. I have tried the usual: set the externals of the templateStack to tExternals create stack "theExternals" start using stack "theExternals" But the externalPackages of the stack returns empty Cheers -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From rjb at robelko.com Sun Dec 1 19:27:39 2013 From: rjb at robelko.com (Robert Brenstein) Date: Mon, 2 Dec 2013 01:27:39 +0100 Subject: Copy In-Reply-To: <471063159621.20131130182758@ahsoftware.net> References: <421058105292.20131130170343@ahsoftware.net> <471063159621.20131130182758@ahsoftware.net> Message-ID: On 30.11.2013 at 18:27 Uhr -0800 Mark Wieder apparently wrote: > >they've got an innovative approach to sharing storage: if a folder is >shared among three people, they are each apportioned one third of the >storage limit, so teams aren't paying for storage more than once. As I >understand it, if you have a 20GB limit and you put 10GB in your >shared folder, and so do two other people you've shared it with, there >are now 30GB in that folder but you're still within your storage >allocation limit. > This sounds quite reasonable. However, that also means that if 5 people share a folder and auto-syncing is active, some 100 gb could easily show up on my local disk if that service worked like dropbox. RObert From MikeKerner at roadrunner.com Sun Dec 1 19:54:33 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sun, 1 Dec 2013 19:54:33 -0500 Subject: Communicating between to standalones with "write to process" - Found word(s) list error in the Text body In-Reply-To: References: Message-ID: What he's suggesting is just a semaphore, which is common with DBMS's. He's also correct that you can do it with a hidden, secondary stack being the gatekeeper for the DB. Another option would be to use Valentina Server or to compile your own little application to be a database server. On Sun, Dec 1, 2013 at 6:59 PM, Dr. Hawkins wrote: > On Sun, Dec 1, 2013 at 3:37 PM, Bob Sneidar >wrote: > > > Since you cannot open sqlite read only in LC (that might be a nice > > feature), create a text file before opening database, checking first for > > its existence before opening. If it exists then another stack has it > open. > > > :( > > This would be more cumbersome than what I'm trying to avoid . . . > > I get a half-second or so lag from hitting a db across town. *If* livecode > were multithreaded, even weakly, i could use SQLite locks. My tentative > solution is a slave process, so I pass off the updates to the remote db to > the slave, and "eventually" the update comes back from the slave. > > If I play with the disk file, I've slowed things down even more than the > in-memory shenanigans . . . > > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From chipp at chipp.com Sun Dec 1 20:33:00 2013 From: chipp at chipp.com (Chipp Walters) Date: Sun, 1 Dec 2013 19:33:00 -0600 Subject: Sweet little progress ARC library Message-ID: Needed to create some libs for showing progress for this dashboard recently. https://dl.dropboxusercontent.com/u/3788438/DONOTMOVE/Screenshot%202013-12-01%2019.13.26.png The point of the Dashboard was to allow exec mgmt to review progress. I built it and then purchased one of those Android on a sticks and plugged it into a nice HDTV. I set it up so it runs continuously, panning from one screen to the next. Anyway, I needed some libraries to set the starting and ending points of the arcs based on both percentage and degrees. Thought I'd share them here... Works sorta like this: put the long ID of grc "Arc1" into tObjID put "45" into tPercentCompleted --> 45% ARC put "90" into tStartAngle --> START FROM THE TOP put "clockwise" into tDirection --> ARC 'GROWS' CLOCKWISE --> NOW CALL IT altSetPercentComplete tObjID, tPercentCompleted, tStartAngle, tDirection on altSetPercentComplete pObjID,pPercent,pStartAngle,pDirection if the style of pObjID is not "Oval" then exit altSetPercentComplete if pPercent is "" then put 0 into pPercent if pStartAngle is "" then put 90 into pStartAngle if pDirection is "" then put "clockwise" into pDirection put 3.6 * pPercent into tDegrees altSetArcAngle pObjID,tDegrees,pStartAngle,pDirection end altSetPercentComplete on altSetAngle pObjID,pAngle,pStartAngle,pDirection if the style of pObjID is not "Oval" then exit altSetAngle if pAngle is "" then put 0 into pAngle if pStartAngle is "" then put 90 into pStartAngle if pDirection is "" then put "clockwise" into pDirection altSetArcAngle pObjID,pAngle,pStartAngle,pDirection end altSetAngle on altSetArcAngle pObjID,pDegrees,pStartAngle,pDirection if the style of pObjID is not "Oval" then exit altSetArcAngle lock screen if pDegrees is "" then put 270 into pDegrees if pStartAngle is "" then put 90 into pStartAngle if pDirection is "" then put "clockwise" into pDirection if pDirection is "clockwise" then set the arcAngle of pObjID to pDegrees set the startAngle of pObjID to pStartAngle-pDegrees else set the arcAngle of pObjID to pDegrees set the startAngle of pObjID to pStartAngle end if unlock screen end altSetArcAngle From endernafi at gmail.com Sun Dec 1 21:29:16 2013 From: endernafi at gmail.com (Ender Nafi Elekcioglu) Date: Mon, 2 Dec 2013 04:29:16 +0200 Subject: Strict Compilation Mode Message-ID: Dear LiveCoders, I?m curious about the benefits of strict compilation mode. Could someone please tell me them briefly; is it worth using? I?ve tried it and encountered some -weird for me- errors. code: _put item 2 of the filename of sPreviousPage into tPage error: ? compilation error at line 403 (Expression: unquoted literal) near ?filename?, char 18 code: _move sSnapshot from tLoc1 to tLoc2 error: ? compilation error at line 412 (Expression: unquoted literal), char 12 How should I quote a script variable? Thanks, ~ Ender Nafi From john at onechip.com Sun Dec 1 21:37:44 2013 From: john at onechip.com (John) Date: Sun, 1 Dec 2013 18:37:44 -0800 Subject: Strict Compilation Mode In-Reply-To: References: Message-ID: Ender, Did you declare the variables with something like: local sPreviousPage, tPage before use? Thanks, John On Dec 1, 2013, at 6:29 PM, Ender Nafi Elekcioglu wrote: > Dear LiveCoders, > > I?m curious about the benefits of strict compilation mode. > Could someone please tell me them briefly; is it worth using? > > I?ve tried it and encountered some -weird for me- errors. > > code: > _put item 2 of the filename of sPreviousPage into tPage > > error: > ? compilation error at line 403 (Expression: unquoted literal) near ?filename?, char 18 > > code: > _move sSnapshot from tLoc1 to tLoc2 > > error: > ? compilation error at line 412 (Expression: unquoted literal), char 12 > > > How should I quote a script variable? > > > Thanks, > > ~ Ender Nafi > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From endernafi at gmail.com Sun Dec 1 21:42:03 2013 From: endernafi at gmail.com (Ender Nafi Elekcioglu) Date: Mon, 2 Dec 2013 04:42:03 +0200 Subject: Strict Compilation Mode In-Reply-To: References: Message-ID: I declared *sPreviousPage* at the beginning of the card script ?cause it?s a script local, and *tPage* at the beginning of the handler script. Card script is as following: _local sPreviousPage, sSnapshot ? _on doStuff __local tPage, tLoc1, tLoc2 __put item 2 of the filename of sPreviousPage into tPage __move sSnapshot from tLoc1 to tLoc2 _end doStuff ~ Ender Nafi From feed at smpcsupport.com Sun Dec 1 21:45:10 2013 From: feed at smpcsupport.com (RunRevPlanet) Date: Mon, 02 Dec 2013 13:45:10 +1100 Subject: [ANN] New LiveCode Developer Social Networking Site Message-ID: <1385952310.529bf436ec273@www.server101.com> Hi There, LiveCodeGameDev.net is now live! After starting LiveCodeGameDeveloper I realised that there is a need for a social/community website for LiveCode Developers. Well, it now exists at LiveCodeGameDev.net. Despite the name, it is not restricted to making games with LiveCode. If you are a LiveCode programmer (or want to be one) then this site is for you. Oh no, more fragmentation of the LiveCode community, some may think. Well, that is not the intention. Unlike the Forums and the email LiveCode lists, LiveCodeGameDev.net is not about posting a problem and hoping for an answer. Instead LiveCodeGameDev.net is about more visibly (to the wider net and search engines) sharing ideas, information and resources about game and other programming. * Want to make games and would like a place with a growing number of tutorials and tips on doing it with LiveCode? * Would like a venue to post articles about your coding adventures, but don't have the time (or need the pressure!) of maintaining your own coder's blog? * Found a fantastic web page related to game or LiveCode programming, and want a place to share the link? * Have software written in LiveCode that you want to present and get feedback on? If any of these sound appealing then join LiveCodeGameDev.net today! It's free to register, which instantly (after an email confirmation link) makes you a full member with submission and voting privileges. Hope to see you there: http://livecodegamedev.net, it's not just games. Cheers, Scott. -- Scott McDonald "Components, Controls, Tools and Resources for LiveCode" www.runrevplanet.com From niconiko at gmail.com Sun Dec 1 22:12:24 2013 From: niconiko at gmail.com (Nicolas Cueto) Date: Mon, 2 Dec 2013 12:12:24 +0900 Subject: scrollerDidScroll problem Message-ID: Learning about Android scroller controls. Finally got scrolling working on my device. But ran into either a problem or a bug. Here is the script where I think the problem is happening: on scrollerDidScroll hOffset, vOffset // When the user scrolls move field "theField" set the vScroll of group "scrollArea" to vOffset end scrollerDidScroll Scrolling works but the field gets lopped off soon as I scroll. That is to say, even when the field is scrolled back up to its topmost position, a top portion of that field remains hidden above the group's rect area. The equally odd thing is tha the vScroll value in that lopped portion always equals the "Top" value of the group's rect. I tested this by repositioning the group in the IDE and then relaunching the app on the device. So, is it me or is it a bug? Most probably me, so, any solutions? Thank you. -- Nicolas Cueto From endernafi at gmail.com Sun Dec 1 22:18:11 2013 From: endernafi at gmail.com (Ender Nafi Elekcioglu) Date: Mon, 2 Dec 2013 05:18:11 +0200 Subject: scrollerDidScroll problem In-Reply-To: References: Message-ID: Nicolas, It?s not a bug. The first two values of *contentRect* of the scroller should 0,0. You probably created your scroller this way: put the left of group ?scrollArea? & comma & \ the top of group ?scrollArea? & comma & \ the formattedWidth of group ?scrollArea? ?& comma & \ the formattedHeight of group ?scrollArea? into tContentRect mobileControlSet tScrollerID, ?contentRect?, tContentRect It?s wrong, use this instead: put 0 & comma & 0 & \ the formattedWidth of group ?scrollArea? ?& comma & \ the formattedHeight of group ?scrollArea? into tContentRect Best, ~ Ender Nafi From mwieder at ahsoftware.net Sun Dec 1 22:19:05 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 1 Dec 2013 19:19:05 -0800 Subject: Strict Compilation Mode In-Reply-To: References: Message-ID: <1041152627429.20131201191905@ahsoftware.net> Ender- Sunday, December 1, 2013, 6:42:03 PM, you wrote: > _local sPreviousPage, sSnapshot > > __put item 2 of the filename of sPreviousPage into tPage You can't do that. The compiler's parser will generate an error (ok - I guess you've already discovered that) because "sPreviousPage" has to resolve to an object reference at compile time, not at runtime. As far as the engine knows, when you try to compile that, you're trying to get the property of a local variable, and that's invalid. You can go the long way around: do "put item 2 of the filename of" && sPreviousPage "into tPage" -- -Mark Wieder ahsoftware at gmail.com From mwieder at ahsoftware.net Sun Dec 1 22:22:24 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 1 Dec 2013 19:22:24 -0800 Subject: Communicating between to standalones with "write to process" - Found word(s) list error in the Text body In-Reply-To: References: Message-ID: <411152826301.20131201192224@ahsoftware.net> Richard- Sunday, December 1, 2013, 3:59:33 PM, you wrote: > I get a half-second or so lag from hitting a db across town. Half a second is quite a long delay. You could bounce signals off the moon in that time. -- -Mark Wieder ahsoftware at gmail.com From endernafi at gmail.com Sun Dec 1 22:27:55 2013 From: endernafi at gmail.com (Ender Nafi Elekcioglu) Date: Mon, 2 Dec 2013 05:27:55 +0200 Subject: Strict Compilation Mode In-Reply-To: <1041152627429.20131201191905@ahsoftware.net> References: <1041152627429.20131201191905@ahsoftware.net> Message-ID: Mark, Thanks, I?m starting to understand it. But your explanation rises more questions in my head. For example, I have hundreds of lines referring to script locals which resolve to object references. Like this: _set the dropShadow of sActiveGroup to tDropShadowProperties sActiveGroup contains the long id of the foremost group at any given time during runtime. Those lines didn?t throw any error. Isn?t this weird? ~ Ender Nafi From mwieder at ahsoftware.net Sun Dec 1 23:36:36 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 1 Dec 2013 20:36:36 -0800 Subject: Copy In-Reply-To: References: <421058105292.20131130170343@ahsoftware.net> <471063159621.20131130182758@ahsoftware.net> <371126100456.20131201115658@ahsoftware.net> Message-ID: <891157278158.20131201203636@ahsoftware.net> Geoff- Sunday, December 1, 2013, 3:01:26 PM, you wrote: > That works directly for me at least -- let me know if it's different for > you (might be since it's my file). I got that by inspecting the download > link in the file, but less-klugy options should be possible if the link > itself works. The link works, and Copy has a RESTful developer api. I haven't dived into it yet (they're using OAuth 1 for authentication), but I don't think it'll be too hard to whip something up. https://www.copy.com/developer -- -Mark Wieder ahsoftware at gmail.com From mwieder at ahsoftware.net Mon Dec 2 00:05:07 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 1 Dec 2013 21:05:07 -0800 Subject: Strict Compilation Mode In-Reply-To: References: <1041152627429.20131201191905@ahsoftware.net> Message-ID: <591158988542.20131201210507@ahsoftware.net> Ender- Sunday, December 1, 2013, 7:27:55 PM, you wrote: > Mark, > Thanks, I?m starting to understand it. > But your explanation rises more questions in my head. > For example, I have hundreds of lines referring to script locals > which resolve to object references. > Like this: > _set the dropShadow of sActiveGroup to tDropShadowProperties > sActiveGroup contains the long id of the foremost group at any given time during runtime. > Those lines didn?t throw any error. Rethinking what I said, possibly the compiler isn't able to parse the "get item x of" when it can't resolve the rest of the expression to a valid chunk at compile time. I don't know, but I've run into something similar and had to break it into multiple statements in order to get the script to compile. I haven't looked into that part of the engine at all. It's a twisty little maze of passages, all different. I'm likely to get eaten by a grue. > Isn?t this weird? For some reason, I got this only directly, not from the list. That's weird as well. Actually, I now notice that I haven't gotten any updates from the list in the last hour, and gmane shows new messages. -- -Mark Wieder ahsoftware at gmail.com From christer at mindcrea.com Mon Dec 2 00:49:07 2013 From: christer at mindcrea.com (=?iso-8859-1?Q?Pyyhti=E4_Christer?=) Date: Mon, 2 Dec 2013 07:49:07 +0200 Subject: scrollerDidScroll problem Message-ID: <1CDCF63A-1459-4620-97F9-6EE02C3FA0B7@mindcrea.com> I found exactly the same with my Android devices. Making sure the rect was from 0,0 to the bottom and right did not help. The exact number of lines missing from the top is six. It is most probably a bug, but as went around it and it is not disturbing at this moment, haven't made a bug report, yet. Thanks for reminding, need to check once again and report. rgds From john at onechip.com Mon Dec 2 01:43:21 2013 From: john at onechip.com (John) Date: Sun, 1 Dec 2013 22:43:21 -0800 Subject: 6.1.3 incompatible with 10.9 sandboxing Message-ID: <7F8334D5-01FB-40FF-A58C-F61650795C06@onechip.com> Hi, I have gone around in circles for a couple of days and it appears that something has changed when code signing and sandboxing. This is happening under OS 10.9. I am using App Wrapper to code sign and sandbox my app. The app works as expected before I sign it. After I sign it there are major issues when I attempt to open a save dialog using ?ask file?. At first I though it was an OS version issue (10.9 versus 10.8.5). It isn?t. Sam at Ohanaware has been very helpful but there doesn?t seem to be anything wrong on his end. This seems to have something to do with sandboxing. Does anybody know if working under 10.8.5 will solve this issue? Is anyone else seeing this issue? Any suggestions would be very welcome. Help... Thanks, John From richmondmathewson at gmail.com Mon Dec 2 02:56:58 2013 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 02 Dec 2013 09:56:58 +0200 Subject: 6.1.3 incompatible with 10.9 sandboxing In-Reply-To: <7F8334D5-01FB-40FF-A58C-F61650795C06@onechip.com> References: <7F8334D5-01FB-40FF-A58C-F61650795C06@onechip.com> Message-ID: <529C3D4A.9090407@gmail.com> On 02/12/13 08:43, John wrote: > Hi, > > I have gone around in circles for a couple of days and it appears that something has changed when code signing and sandboxing. This is happening under OS 10.9. > > I am using App Wrapper to code sign and sandbox my app. The app works as expected before I sign it. After I sign it there are major issues when I attempt to open a save dialog using ?ask file?. At first I though it was an OS version issue (10.9 versus 10.8.5). I know this is OT, but why is Mac OS 9 described as 10.8.5 ? Obviously other people than RunRev are confused as to how to number software releases. Richmond. > It isn?t. Sam at Ohanaware has been very helpful but there doesn?t seem to be anything wrong on his end. This seems to have something to do with sandboxing. > > Does anybody know if working under 10.8.5 will solve this issue? Is anyone else seeing this issue? Any suggestions would be very welcome. Help... > > Thanks, > John > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From alanstenhouse at hotmail.com Mon Dec 2 03:23:14 2013 From: alanstenhouse at hotmail.com (Alan Stenhouse) Date: Mon, 2 Dec 2013 09:23:14 +0100 Subject: imagedata + text comparison In-Reply-To: References: Message-ID: Hi Geoff Thanks for the stack and image comparison, very interesting! However, the scripts displayed the same time for both? but the second part of each script shows T as the time and should be T2. i.e. put cr & "Text:" && length(the text of image 1) && "bytes." && T2 && "seconds." after R cheers Alan On 01/12/2013, at 10:20 PM, use-livecode-request at lists.runrev.com wrote: > For anyone who wants it, here's a link to a stack that compares speeds > between the imagedata and text properties of images: > https://copy.com/NcN4a2LJ0U0hzPeW From livfoss at mac.com Mon Dec 2 05:36:09 2013 From: livfoss at mac.com (Graham Samuel) Date: Mon, 02 Dec 2013 11:36:09 +0100 Subject: Checking for 'quit' and aborting shutdown Message-ID: This is probably a very ancient issue, but I haven't had to deal with it before: I've only tried this on the Mac, but I decided to put in a query in a desktop app, "Do you really want to quit?" when a user chooses 'Quit' from a file menu (it's part of a 'shutdownRequest' handler). This obviously requires a response from the user in order to continue. This is fine, unless the user of the whole machine decides to shut it down without closing my app. Then I find that my little dialog is invoked and demands a response before shutting down, but I may not be there to respond to the dialog. Is there any way to effectively detect a general shutdown as opposed to just 'quit'? I think the same problem applies to Windows as well, but I haven't tested it. Graham From john at onechip.com Mon Dec 2 05:59:17 2013 From: john at onechip.com (John) Date: Mon, 2 Dec 2013 02:59:17 -0800 Subject: 6.1.3 incompatible with 10.9 sandboxing In-Reply-To: <529C3D4A.9090407@gmail.com> References: <7F8334D5-01FB-40FF-A58C-F61650795C06@onechip.com> <529C3D4A.9090407@gmail.com> Message-ID: <87177B8C-8405-47FC-879D-945A87162448@onechip.com> Now I am totally confused. Perhaps I should have gone with the naming conventions of Mavericks (OS 10.9) and Mountain Lion (OS 10.8). One point of confusion I should perhaps clear up is that App Wrapper is a product of Ohanaware and Sam is the very helpful owner of the company. With that cleared up, does anyone have a suggestion? I put together a quick test stack that uses Applescript to replace ?ask file? (Sam?s suggestion) that seems to work. I don?t know if this will pass muster with Apple however. Has anyone tries using [do script as ?Applescript?] where script is the appropriate applescript, and managed to get it accepted by Apple? Thanks, John On Dec 1, 2013, at 11:56 PM, Richmond wrote: > On 02/12/13 08:43, John wrote: >> Hi, >> >> I have gone around in circles for a couple of days and it appears that something has changed when code signing and sandboxing. This is happening under OS 10.9. >> >> I am using App Wrapper to code sign and sandbox my app. The app works as expected before I sign it. After I sign it there are major issues when I attempt to open a save dialog using ?ask file?. At first I though it was an OS version issue (10.9 versus 10.8.5). > > I know this is OT, but why is Mac OS 9 described as 10.8.5 ? Obviously other people than RunRev are confused as to how to number software releases. > > Richmond. > >> It isn?t. Sam at Ohanaware has been very helpful but there doesn?t seem to be anything wrong on his end. This seems to have something to do with sandboxing. >> >> Does anybody know if working under 10.8.5 will solve this issue? Is anyone else seeing this issue? Any suggestions would be very welcome. Help... >> >> Thanks, >> John >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From roger.e.eller at sealedair.com Mon Dec 2 07:38:41 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Mon, 2 Dec 2013 07:38:41 -0500 Subject: on-screen scaling In-Reply-To: References: Message-ID: I haven't tackled scaling text and rects, but I have rendered PDF pages. If you need a Letter size page, make the width of the stack (8.5 * 72), and make the height (11 * 72). Layout your document on this "page", and use LiveCode's print to PDF feature. Look in the dictionary for details. On Windows, it uses a PDF printer DLL, so make sure it is selected in standalone settings. You might be able to use the new fullScreenMode for desktop (in 6.5) to achieve some level of scaling. If not, the PDF can be zoomed in Acrobat Reader. ~Roger On Dec 1, 2013 7:03 PM, "Dr. Hawkins" wrote: > I see the value of resolution independence, but I'm looking for somthing a > bit less. > > I would *like* to be able to produce output cards, measuring in points (or > whatever) that represent actual real estate on paper or pdf, but be able to > resize on a mac (or pc) screen. A full page on a modern screen is just too > small. I"m not particularly worried about the quality of scaled objects; > it's text & rects for me. > > > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From m.schonewille at economy-x-talk.com Mon Dec 2 08:02:22 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 02 Dec 2013 14:02:22 +0100 Subject: [OT] Everything you need to know about my book In-Reply-To: <5294AC25.4050004@economy-x-talk.com> References: <5294AC25.4050004@economy-x-talk.com> Message-ID: <529C84DE.3050202@economy-x-talk.com> We got 26 books left and counting (with x = 26 down to 0 step -1) On 11/26/2013 15:11, Mark Schonewille wrote: > Hi, > > During the past 7 months, I regularly wrote an update about my book on > this mailing list. I have now written a blog post with all the > information I posted the past months. You can find the blog post here: > http://qery.us/41j > > Short version: there are 30 books left, we'll ship the last batch of the > year on 12 December, we expect to have sold them all by that date, and > any order made after that date will be put on a waiting list. > > Long version: http://qery.us/41j > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other > colour spaces. http://www.color-converter.com > > Buy my new book "Programming LiveCode for the Real Beginner" > http://qery.us/3fi > > Fill out this survey please > http://livecodebeginner.economy-x-talk.com/survey/ > From lists at mangomultimedia.com Mon Dec 2 09:01:38 2013 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 2 Dec 2013 09:01:38 -0500 Subject: 6.1.3 incompatible with 10.9 sandboxing In-Reply-To: <7F8334D5-01FB-40FF-A58C-F61650795C06@onechip.com> References: <7F8334D5-01FB-40FF-A58C-F61650795C06@onechip.com> Message-ID: On Mon, Dec 2, 2013 at 1:43 AM, John wrote: > > I have gone around in circles for a couple of days and it appears that > something has changed when code signing and sandboxing. This is happening > under OS 10.9. > John, When you say that something has changed are you saying that previously you were able to code sign a sandboxed application and the ask file dialog worked? As I mentioned in my previous response I have never been able to get proper behavior with LiveCode and sandboxing. This goes back to OS 10.7. I believe the issue has to do with the interactions between the Cocoa dialogs that are used by the OS when sandboxing is in play and the Carbon LiveCode application. You might try adding any notes to my bug report. Perhaps the LiveCode team can fix the issue with some additional details. http://quality.runrev.com/show_bug.cgi?id=10477 -- Trevor DeVore Blue Mango Learning Systems www.screensteps.com - www.clarify-it.com From jhurley0305 at sbcglobal.net Mon Dec 2 09:33:14 2013 From: jhurley0305 at sbcglobal.net (Jim Hurley) Date: Mon, 2 Dec 2013 06:33:14 -0800 Subject: Words that must not be spoken In-Reply-To: References: Message-ID: I have just moved over to a Macbook Air running OS X 10.9 I have a utility that I have long used for proofreading. I click on a word of text, and RR begins to read from that point on. (Great for distinguishing between references to the "Public Defender" or the "Pubic Defender.") It has run well in all versions of LC, but now balks at any text containing an apostrophe or quote and perhaps other characters that I haven't yet explored. It won't even *begin* to speak text containing these characters. But it will speak that same text if I remove just those offending characters. Is there a language setting in the Mac preferences that I need to change to make the text agreeable to revspeak? Thanks, Jim From ambassador at fourthworld.com Mon Dec 2 09:35:58 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 02 Dec 2013 06:35:58 -0800 Subject: Sweet little progress ARC library In-Reply-To: References: Message-ID: <529C9ACE.2090406@fourthworld.com> Chipp Walters wrote: > Needed to create some libs for showing progress for this dashboard > recently. > https://dl.dropboxusercontent.com/u/3788438/DONOTMOVE/Screenshot%202013-12-01%2019.13.26.png > > The point of the Dashboard was to allow exec mgmt to review progress. I > built it and then purchased one of those Android on a sticks and plugged it > into a nice HDTV. I set it up so it runs continuously, panning from one > screen to the next. Nicely done, Chipp. The old Microphone modem scripting package used a dial as a progress indicator for downloads, and I always liked both the novel appearance and the good use of space they provide. Your dashboard looks great. I wish I'd had that screen shot when I spoke at the MacTech Conference last month - since it was for an IT crowd, I used dashboards as an example of some of the things LC is great at. Yours would have been a wonderful addition in my slides. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From ambassador at fourthworld.com Mon Dec 2 09:39:48 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 02 Dec 2013 06:39:48 -0800 Subject: Checking for 'quit' and aborting shutdown In-Reply-To: References: Message-ID: <529C9BB4.90604@fourthworld.com> Graham Samuel wrote: > Is there any way to effectively detect a general shutdown as opposed > to just 'quit'? Would shutdownRequest cover what you need? -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From ambassador at fourthworld.com Mon Dec 2 09:57:55 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 02 Dec 2013 06:57:55 -0800 Subject: SoCal LC User Group meeting Thurs., Dec 5, Pasadena Message-ID: <529C9FF3.4090605@fourthworld.com> The next SoCal LiveCode User Group meeting is happening Thursday, December 5, at 7PM in Pasadena - details in the LUG section of the LiveCode forums: -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Mon Dec 2 10:16:50 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 02 Dec 2013 07:16:50 -0800 Subject: [ANN] New LiveCode Developer Social Networking Site In-Reply-To: <1385952310.529bf436ec273@www.server101.com> References: <1385952310.529bf436ec273@www.server101.com> Message-ID: <529CA462.7020308@fourthworld.com> Scott wrote: > LiveCodeGameDev.net is now live! After starting LiveCodeGameDeveloper I realised > that there is a need for a social/community website for LiveCode Developers. > Well, it now exists at LiveCodeGameDev.net. Despite the name, it is not > restricted to making games with LiveCode. If you are a LiveCode programmer (or > want to be one) then this site is for you. > > Oh no, more fragmentation of the LiveCode community, some may think. Well, that > is not the intention. Unlike the Forums and the email LiveCode lists, > LiveCodeGameDev.net is not about posting a problem and hoping for an answer. > > Instead LiveCodeGameDev.net is about more visibly (to the wider net and search > engines) sharing ideas, information and resources about game and other > programming. Well done, Scott - thanks. I wouldn't worry about "fragmentation". As the community continues to grow and diversify, we would hope the venue for discussing LC and related topics grows along with it. Your new site is a great addition to the family. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From harrison at all-auctions.com Mon Dec 2 10:20:05 2013 From: harrison at all-auctions.com (Rick Harrison) Date: Mon, 2 Dec 2013 10:20:05 -0500 Subject: Copy Image to TargetImage In-Reply-To: References: <421058105292.20131130170343@ahsoftware.net> <471063159621.20131130182758@ahsoftware.net> <65E74F16-4C26-4AA2-B96D-41275EDF137E@m-r-d.de> <0680B92C-F771-4E7D-8DA1-C7F512F0AB74@all-auctions.com> <076F57A1-CFDD-4E13-A951-67665B3FD42F@all-auctions.com> Message-ID: <3F9E60EB-2BCB-42B1-8185-2CD7E8A701F4@all-auctions.com> Hi Geoff, Thanks for the benchmarks! Text method it is then! Rick On Dec 1, 2013, at 3:11 PM, Geoff Canyon wrote: > I ran a quick test. The text was faster than the imagedata in the four > cases I tried. For small images it was about 3x faster for text, for 1mb > images it was 17x faster. > > > On Sun, Dec 1, 2013 at 1:41 PM, Rick Harrison wrote: > >> Hi again, >> >> One last thing. Does anyone know which method >> executes faster? This might be important since I?m >> going to have other animations executing. >> >> Thanks, >> >> Rick >> From jhurley0305 at sbcglobal.net Mon Dec 2 10:22:46 2013 From: jhurley0305 at sbcglobal.net (Jim Hurley) Date: Mon, 2 Dec 2013 07:22:46 -0800 Subject: Words that must not be spoken In-Reply-To: References: Message-ID: <9B331848-20C6-4D5F-A7B3-1AC19D8804DE@sbcglobal.net> P.S. I have run the text through TextEdit. Jim > I have just moved over to a Macbook Air running OS X 10.9 > > I have a utility that I have long used for proofreading. I click on a word of text, and RR begins to read from that point on. (Great for distinguishing between references to the "Public Defender" or the "Pubic Defender.") > > It has run well in all versions of LC, but now balks at any text containing an apostrophe or quote and perhaps other characters that I haven't yet explored. It won't even *begin* to speak text containing these characters. But it will speak that same text if I remove just those offending characters. > > Is there a language setting in the Mac preferences that I need to change to make the text agreeable to revspeak? > > Thanks, > > Jim > > From m.schonewille at economy-x-talk.com Mon Dec 2 09:43:56 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 02 Dec 2013 15:43:56 +0100 Subject: Words that must not be spoken In-Reply-To: References: Message-ID: <529C9CAC.6010508@economy-x-talk.com> Hi Jim, Try a different voice. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi Fill out this survey please http://livecodebeginner.economy-x-talk.com/survey/ On 12/2/2013 15:33, Jim Hurley wrote: > I have just moved over to a Macbook Air running OS X 10.9 > > I have a utility that I have long used for proofreading. I click on a word of text, and RR begins to read from that point on. (Great for distinguishing between references to the "Public Defender" or the "Pubic Defender.") > > It has run well in all versions of LC, but now balks at any text containing an apostrophe or quote and perhaps other characters that I haven't yet explored. It won't even *begin* to speak text containing these characters. But it will speak that same text if I remove just those offending characters. > > Is there a language setting in the Mac preferences that I need to change to make the text agreeable to revspeak? > > Thanks, > > Jim > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dochawk at gmail.com Mon Dec 2 10:51:05 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Mon, 2 Dec 2013 07:51:05 -0800 Subject: on-screen scaling In-Reply-To: References: Message-ID: On Mon, Dec 2, 2013 at 4:38 AM, Roger Eller wrote: > I haven't tackled scaling text and rects, but I have rendered PDF pages. > If you need a Letter size page, make the width of the stack (8.5 * 72), and > make the height (11 * 72). Layout your document on this "page", and use > LiveCode's print to PDF feature. > This is what I'm currently doing. However, the page is also live before rendering, and changes can be made, which render back to the database. On modern screens, though, pixels are well under a point, and things are too small to easily read. I want the *engine* to display things at a scaled size (well, I suppose what I *really* want is the engine to unscale from the screen's scaling . . .) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From th.douez at gmail.com Mon Dec 2 10:55:14 2013 From: th.douez at gmail.com (Thierry Douez) Date: Mon, 2 Dec 2013 16:55:14 +0100 Subject: revEnvironmentDistributionPath() ? Message-ID: Hi, I have a stack from runrev with revEnvironmentDistributionPath() in openstack script. Does someone know what's the return value as it is broken in LC 5.5 :( Thanks, Thierry ------------------------------------------------ Thierry Douez - http://sunny-tdz.com Maker of sunnYperl - sunnYmidi - sunnYmage From sschvarstein at gmail.com Mon Dec 2 11:24:23 2013 From: sschvarstein at gmail.com (Sergio Schvarstein) Date: Mon, 2 Dec 2013 17:24:23 +0100 Subject: iOS write to file issue Message-ID: <59E5FDFF-EE0E-43F6-A6FA-245E483D0128@gmail.com> Hi, I am trying to write a simple text file in iOS. It works OK in iOS simulator but it doesn?t work on a device. The file contains only a number, which is the number of the card I want to go while opening the stack. My intention is to simulate multitasking for opening the last card viewed in the previous session while reopening the app. Here are my scripts: 1. First I open the file at preOpenStack for reading its value. local myFile, myVariable on preOpenStack put specialFolderPath("home") & ?/? into myFolder put ?myfile.txt? into myFilename put myFolder & myFilename into myFile open file myFile read from file myFile for 1 ? the file contains only a number put it into myVariable ? here I save the card number where to jump close file myFile end preOpenStack This works OK and I jump to the card later, after some inits. ? go card myVariable ... 2. Then, I move to different cards and I store the card number in myVariable. While closing the app: on shutdown open file myFile for write write myVariable to file myFile ? this is supposed to replace the contents of the file with the new card number, which is stored in myVariable close file myFile end shutdown This script doesn?t works on the device, because when I reopen the app it always jumps to card 1. In iOS Simulator it works ok and jumps to the last card viewed while reopening. What am I doing wrong ? Thanks in advance. ______________________________ Sergio Schvarstein sschvarstein at gmail.com ______________________________ From livfoss at mac.com Mon Dec 2 11:39:11 2013 From: livfoss at mac.com (Graham Samuel) Date: Mon, 02 Dec 2013 17:39:11 +0100 Subject: Checking for 'quit' and aborting shutdown In-Reply-To: <529C9BB4.90604@fourthworld.com> References: <529C9BB4.90604@fourthworld.com> Message-ID: <93B16933-168C-4645-8305-7FF31D592FB9@mac.com> No, that's sent when the user chooses 'quit', and it's also sent when OSX chooses 'quit' for you, i.e. when someone chooses 'Shut Down' in the main menu of the machine. So my script can't say "I'll ask my user nicely if he/she really wants to shut down, unless it's an order from OSX High Command, in which case I'll just cave in and do it". I suppose there may be something one can do with Apple Events, but then I'd be left with the same issue on the PC. Maybe asking "are you sure?" should be deprecated. Thanks for the reply. Graham On 2 Dec 2013, at 15:39, Richard Gaskin wrote: > Graham Samuel wrote: > > > Is there any way to effectively detect a general shutdown as opposed > > to just 'quit'? > > Would shutdownRequest cover what you need? > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > Follow me on Twitter: http://twitter.com/FourthWorldSys > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bvlahos at mac.com Mon Dec 2 12:04:40 2013 From: bvlahos at mac.com (Bill Vlahos) Date: Mon, 02 Dec 2013 09:04:40 -0800 Subject: Words that must not be spoken In-Reply-To: References: Message-ID: <53C3AFDC-1D36-4205-AF3C-24DF1D1E0CF4@mac.com> Jim, I just confirmed this. This happens with the ?curly? quotes and apostrophe characters. The non curly ones work. Since Text Edit and the system itself can do it correctly I suspect this is a LiveCode issue not a System Preference setting. For now you could add a routine that replaces the curly quotes, etc. with non curly ones and your proofreading work work again. Bill Vlahos On Dec 2, 2013, at 6:33 AM, Jim Hurley wrote: > I have just moved over to a Macbook Air running OS X 10.9 > > I have a utility that I have long used for proofreading. I click on a word of text, and RR begins to read from that point on. (Great for distinguishing between references to the "Public Defender" or the "Pubic Defender.") > > It has run well in all versions of LC, but now balks at any text containing an apostrophe or quote and perhaps other characters that I haven't yet explored. It won't even *begin* to speak text containing these characters. But it will speak that same text if I remove just those offending characters. > > Is there a language setting in the Mac preferences that I need to change to make the text agreeable to revspeak? > > Thanks, > > Jim > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From devin_asay at byu.edu Mon Dec 2 12:08:16 2013 From: devin_asay at byu.edu (Devin Asay) Date: Mon, 2 Dec 2013 17:08:16 +0000 Subject: Checking for 'quit' and aborting shutdown In-Reply-To: References: Message-ID: On Dec 2, 2013, at 3:36 AM, Graham Samuel wrote: > This is probably a very ancient issue, but I haven't had to deal with it before: > > I've only tried this on the Mac, but I decided to put in a query in a desktop app, "Do you really want to quit?" when a user chooses 'Quit' from a file menu (it's part of a 'shutdownRequest' handler). This obviously requires a response from the user in order to continue. This is fine, unless the user of the whole machine decides to shut it down without closing my app. Then I find that my little dialog is invoked and demands a response before shutting down, but I may not be there to respond to the dialog. Is there any way to effectively detect a general shutdown as opposed to just 'quit'? I think the same problem applies to Windows as well, but I haven't tested it. Graham, Ken Ray has lots of great tips on his web site sonsothunder.com, including this one that might be of help for your problem: http://www.sonsothunder.com/devres/livecode/tips/menu001.htm Devin Devin Asay Learn to code with LiveCode University http://university.livecode.com From livfoss at mac.com Mon Dec 2 12:49:06 2013 From: livfoss at mac.com (Graham Samuel) Date: Mon, 02 Dec 2013 18:49:06 +0100 Subject: Checking for 'quit' and aborting shutdown In-Reply-To: References: Message-ID: Thanks Devin, Ken's stuff is always worth reading. Sadly it doesn't work with my particular problem, but maybe nothing does. I simply have to decide whether to warn the user before quitting and live with the problem, or give up the warning. I am not sure if Apple (or Microsoft for that matter) has any guidelines on one's app being a 'good citizen' in this respect. Graham On 2 Dec 2013, at 18:08, Devin Asay wrote: > On Dec 2, 2013, at 3:36 AM, Graham Samuel wrote: > >> This is probably a very ancient issue, but I haven't had to deal with it before: >> >> I've only tried this on the Mac, but I decided to put in a query in a desktop app, "Do you really want to quit?" when a user chooses 'Quit' from a file menu (it's part of a 'shutdownRequest' handler). This obviously requires a response from the user in order to continue. This is fine, unless the user of the whole machine decides to shut it down without closing my app. Then I find that my little dialog is invoked and demands a response before shutting down, but I may not be there to respond to the dialog. Is there any way to effectively detect a general shutdown as opposed to just 'quit'? I think the same problem applies to Windows as well, but I haven't tested it. > > Graham, > > Ken Ray has lots of great tips on his web site sonsothunder.com, including this one that might be of help for your problem: > > http://www.sonsothunder.com/devres/livecode/tips/menu001.htm > > Devin > > > Devin Asay > Learn to code with LiveCode University > http://university.livecode.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Mon Dec 2 13:34:30 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 02 Dec 2013 10:34:30 -0800 Subject: Checking for 'quit' and aborting shutdown In-Reply-To: <93B16933-168C-4645-8305-7FF31D592FB9@mac.com> References: <93B16933-168C-4645-8305-7FF31D592FB9@mac.com> Message-ID: <529CD2B6.2040802@fourthworld.com> Graham Samuel wrote: > On 2 Dec 2013, at 15:39, Richard Gaskin wrote: >> >> Would shutdownRequest cover what you need? >> > No, that's sent when the user chooses 'quit', and it's also sent > when OSX chooses 'quit' for you, i.e. when someone chooses 'Shut > Down' in the main menu of the machine. So my script can't say "I'll > ask my user nicely if he/she really wants to shut down, unless > it's an order from OSX High Command, in which case I'll just cave > in and do it". I suppose there may be something one can do with Apple > Events, but then I'd be left with the same issue on the PC. Maybe > asking "are you sure?" should be deprecated. Looks like apps get an Apple event of 'shut' for shutdown (this is old, but page 8-8 should probably still be relevant as far as the AE constants are concerned): Not sure what to do on Win or Linux, though on Linux there's probably a signal code you could trap for. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From jacque at hyperactivesw.com Mon Dec 2 13:38:42 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 02 Dec 2013 12:38:42 -0600 Subject: Checking for 'quit' and aborting shutdown In-Reply-To: References: Message-ID: <529CD3B2.2000309@hyperactivesw.com> On 12/2/13 11:49 AM, Graham Samuel wrote: > I simply > have to decide whether to warn the user before quitting and live with > the problem, or give up the warning. I am not sure if Apple (or > Microsoft for that matter) has any guidelines on one's app being a > 'good citizen' in this respect. The only warning any of my installed apps show on quitting is if there is unsaved data. None try to confirm a basic quit action by itself, and I think I'd find it irritating if they did. The one exception I can think of is for children's software, where children may experiment with menus or try to see what a Quit button on screen will do. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From gerry.orkin at gmail.com Mon Dec 2 13:50:22 2013 From: gerry.orkin at gmail.com (Gerry) Date: Tue, 3 Dec 2013 05:50:22 +1100 Subject: iOS write to file issue In-Reply-To: <59E5FDFF-EE0E-43F6-A6FA-245E483D0128@gmail.com> References: <59E5FDFF-EE0E-43F6-A6FA-245E483D0128@gmail.com> Message-ID: <8A559F29-3EDD-43D4-9C63-B9A9558FF743@gmail.com> This what I use for writing text files. Works everywhere. On writefile fileTowrite,dataTowrite # write a text file with some text set the defaultFolder to specialFolderPath("Documents") put dataTowrite into URL (("file:"&fileTowrite&".txt")) end writefile Sent from my iPad > On 3 Dec 2013, at 3:24 am, Sergio Schvarstein wrote: > > Hi, > > I am trying to write a simple text file in iOS. It works OK in iOS simulator but it doesn?t work on a device. > > From revdev at pdslabs.net Mon Dec 2 14:38:38 2013 From: revdev at pdslabs.net (Phil Davis) Date: Mon, 02 Dec 2013 11:38:38 -0800 Subject: Words that must not be spoken In-Reply-To: <53C3AFDC-1D36-4205-AF3C-24DF1D1E0CF4@mac.com> References: <53C3AFDC-1D36-4205-AF3C-24DF1D1E0CF4@mac.com> Message-ID: <529CE1BE.1030008@pdslabs.net> Another option (on a Mac at least) is to use the "say" shell command. Just tried it from the message box with a text file containing curly quotes and it works. Phil Davis On 12/2/13, 9:04 AM, Bill Vlahos wrote: > Jim, > > I just confirmed this. This happens with the ?curly? quotes and apostrophe characters. The non curly ones work. > > Since Text Edit and the system itself can do it correctly I suspect this is a LiveCode issue not a System Preference setting. > > For now you could add a routine that replaces the curly quotes, etc. with non curly ones and your proofreading work work again. > > Bill Vlahos > > On Dec 2, 2013, at 6:33 AM, Jim Hurley wrote: > >> I have just moved over to a Macbook Air running OS X 10.9 >> >> I have a utility that I have long used for proofreading. I click on a word of text, and RR begins to read from that point on. (Great for distinguishing between references to the "Public Defender" or the "Pubic Defender.") >> >> It has run well in all versions of LC, but now balks at any text containing an apostrophe or quote and perhaps other characters that I haven't yet explored. It won't even *begin* to speak text containing these characters. But it will speak that same text if I remove just those offending characters. >> >> Is there a language setting in the Mac preferences that I need to change to make the text agreeable to revspeak? >> >> Thanks, >> >> Jim >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Phil Davis From lfredricks at proactive-intl.com Mon Dec 2 15:25:54 2013 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Mon, 2 Dec 2013 12:25:54 -0800 Subject: Cyber Monday 50% off Valentina Studio, ADK for LiveCode & More Message-ID: <871ECC7A923646E7BFA5A4945F49FCC7@GATEWAY> Hello all, It is Cyber Monday, and I hope you are not as disappointed as I was that BF & CM deals on the iPad Air were lame ;-) Over on the Paradigma Software site, Valentina Studio, ADK DB for LiveCode and VDN are all 50% until tomorrow. This is the first time we've done an offer on VDN. VDN is allowing the redistribution of our server. Don't forget that our server now is both DB AND Reports, and Reports now works with many types of DB...including new MS SQL Server and Oracle support. Deal ends tomorrow, so this is a last reminder. As a side note, my other company Mirye Software has Shade 3D discounted at 50% off - http://www.miryestore.com/home.php?cat=634, as well as some fun content. You can get Shade 3D for Unity for free too! Best regards, Lynn Fredricks Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From pete at lcsql.com Mon Dec 2 15:36:08 2013 From: pete at lcsql.com (Peter Haworth) Date: Mon, 2 Dec 2013 12:36:08 -0800 Subject: Checking for 'quit' and aborting shutdown In-Reply-To: <93B16933-168C-4645-8305-7FF31D592FB9@mac.com> References: <529C9BB4.90604@fourthworld.com> <93B16933-168C-4645-8305-7FF31D592FB9@mac.com> Message-ID: I hope you find a solution to this. I've given up trying to shutdown my Mac at a specific time each night via the Scheduler because there are too many apps that sit there on a close prompt waiting for a user response (incluiding Livecode). Pete lcSQL Software On Mon, Dec 2, 2013 at 8:39 AM, Graham Samuel wrote: > No, that's sent when the user chooses 'quit', and it's also sent when OSX > chooses 'quit' for you, i.e. when someone chooses 'Shut Down' in the main > menu of the machine. So my script can't say "I'll ask my user nicely if > he/she really wants to shut down, unless it's an order from OSX High > Command, in which case I'll just cave in and do it". I suppose there may be > something one can do with Apple Events, but then I'd be left with the same > issue on the PC. Maybe asking "are you sure?" should be deprecated. > > Thanks for the reply. > > Graham > > On 2 Dec 2013, at 15:39, Richard Gaskin wrote: > > > Graham Samuel wrote: > > > > > Is there any way to effectively detect a general shutdown as opposed > > > to just 'quit'? > > > > Would shutdownRequest cover what you need? > > > > -- > > Richard Gaskin > > Fourth World > > LiveCode training and consulting: http://www.fourthworld.com > > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > > Follow me on Twitter: http://twitter.com/FourthWorldSys > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From monte at sweattechnologies.com Mon Dec 2 16:06:48 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 3 Dec 2013 08:06:48 +1100 Subject: Words that must not be spoken In-Reply-To: <529CE1BE.1030008@pdslabs.net> References: <53C3AFDC-1D36-4205-AF3C-24DF1D1E0CF4@mac.com> <529CE1BE.1030008@pdslabs.net> Message-ID: <8EF01BFF-2D34-4BDD-8D88-9D76042204E1@sweattechnologies.com> > It has run well in all versions of LC, but now balks at any text containing an apostrophe or quote and perhaps other characters that I haven't yet explored. It won't even *begin* to speak text containing these characters. But it will speak that same text if I remove just those offending characters. It sounds like it could be an encoding thing... perhaps the api revSpeak uses in Mavericks has switched over to UTF8? Maybe try utf8 encoding before calling revSpeak... Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From m.schonewille at economy-x-talk.com Mon Dec 2 17:02:11 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 02 Dec 2013 23:02:11 +0100 Subject: revEnvironmentDistributionPath() ? In-Reply-To: References: Message-ID: <529D0363.608@economy-x-talk.com> Hi Thierry, It is broken in every version of LiveCode that I have currently installed. Perhaps it only works in a particular context? Can you post (part of) the openStack script and tell a little more about 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 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi Fill out this survey please http://livecodebeginner.economy-x-talk.com/survey/ On 12/2/2013 16:55, Thierry Douez wrote: > Hi, > > I have a stack from runrev with revEnvironmentDistributionPath() in > openstack script. > > Does someone know what's the return value as it is broken in LC 5.5 :( > > Thanks, > > Thierry > > > > ------------------------------------------------ > Thierry Douez - http://sunny-tdz.com > Maker of sunnYperl - sunnYmidi - sunnYmage > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From endernafi at gmail.com Mon Dec 2 17:40:18 2013 From: endernafi at gmail.com (Ender Nafi Elekcioglu) Date: Tue, 3 Dec 2013 00:40:18 +0200 Subject: Strict Compilation Mode In-Reply-To: <591158988542.20131201210507@ahsoftware.net> References: <1041152627429.20131201191905@ahsoftware.net> <591158988542.20131201210507@ahsoftware.net> Message-ID: On December 2, 2013 at 7:06:43, Mark Wieder (mwieder at ahsoftware.net) wrote: I haven't looked into that part of the engine? at all. It's a twisty little maze of passages, all different. I'm? likely to get eaten by a grue.? Well put :) About the problem I?ve asked; it?s gone. Nothing whatsoever. Today, I?ve taken a 2000 mile business trip; although I?ve initially planned to work on the plane, fatigue prevailed and my computer remained closed. Half an hour ago, I opened the computer and started that same not-compiling project and it compiled. I?ve changed a couple of lines deliberately and it compiled again. I don?t know what?s happened in the meantime; maybe Livecode, too, needed a good plane-seat-nap. Thanks, Mark; at least my understanding?s got wider about how the engine works; ?resolve to an object? stuff and all... Best, ~ Ender Nafi From endernafi at gmail.com Mon Dec 2 17:55:33 2013 From: endernafi at gmail.com (Ender Nafi Elekcioglu) Date: Tue, 3 Dec 2013 00:55:33 +0200 Subject: scrollerDidScroll problem In-Reply-To: <1CDCF63A-1459-4620-97F9-6EE02C3FA0B7@mindcrea.com> References: <1CDCF63A-1459-4620-97F9-6EE02C3FA0B7@mindcrea.com> Message-ID: @Nicolas, ???????? ?:) @Pyyhti?, Really, there?s no bug. There may be two kinds of problems, it?s most likely the first one: 1. Making a mistake setting the scroller 2. Making a mistake constructing the scrolling group {unbounded scroll thing, setting the rect wrongly, etc.} I?ve noticed that you wrote??0,0 to the bottom and right?. You shouldn?t set the bottom and right, you must put the formattedWidth and formattedHeight. Here?s a longer -still not complete- code sample, it should give you an idea: _/*?assuming that the real rect of scrolling group is 100,100,400,2000 and you want it to be scrolled only vertically. */ _set the rect of group??scrollingGroup? to 100,100,400,400? _set the unboundedVScroll of group??scrollingGroup? to true _put 100,100,400,400 into tRect _put 0,0,the width of group??scrollingGroup?,the formattedHeight of group??scrollingGroup? into tContentRect _ _mobileControlSet sScrollerID,??rect?, tRect _mobileControlSet sScrollerID,??contentRect?, tContentRect Hope it helps? Best, ~ Ender Nafi On December 2, 2013 at 7:49:47, Pyyhti? Christer (christer at mindcrea.com) wrote: I found exactly the same with my Android devices. Making sure the rect was from 0,0 to the bottom and right did not help. The exact number of lines missing from the top is six. It is most probably a bug, but as went around it and it is not disturbing at this moment, haven't made a bug report, yet. Thanks for reminding, need to check once again and report.? rgds? _______________________________________________? use-livecode mailing list? use-livecode at lists.runrev.com? Please visit this url to subscribe, unsubscribe and manage your subscription preferences:? http://lists.runrev.com/mailman/listinfo/use-livecode? On December 2, 2013 at 7:25:16, Nicolas Cueto (niconiko at gmail.com) wrote: Ender,? That did the trick.? ("OK Google, what's ????? in Turkish?")? Te?ekk?r ederim!? --? Nicolas Cueto? From matthias_livecode_150811 at m-r-d.de Mon Dec 2 18:20:55 2013 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Tue, 3 Dec 2013 00:20:55 +0100 Subject: Copy In-Reply-To: References: <421058105292.20131130170343@ahsoftware.net> <471063159621.20131130182758@ahsoftware.net> <65E74F16-4C26-4AA2-B96D-41275EDF137E@m-r-d.de> Message-ID: <3F552854-B7EE-498F-9323-30E2886205D1@m-r-d.de> Stephen, thanks. Will look into it. Regards, Matthias Am 01.12.2013 um 23:33 schrieb stephen barncard : > On Sun, Dec 1, 2013 at 2:28 PM, stephen barncard < > stephenREVOLUTION2 at barncard.com> wrote: >> >> > > > [PART TWO - with a bit of overlap ] (damn this text limit?) > > the index file looks like this. it includes the master file in the lib > folder. > the master file can also work in the folder solo without abstraction. > > set the itemdelimiter to "/" > get $_SERVER[PATH_TRANSLATED] > include (item 1 to 4 of it) & "/_lib/download-player.irev" > ?> > > I've further rigged all folders in the system to display several different > types of web pages as well as index.html. Below is the .htaccess file at > site root. Note the DirectoryIndex. > > Options +ExecCGI FollowSymLinks > AddHandler livecode-script .lc .irev > AddHandler php5-script php htm html > DirectoryIndex index.irev index.lc index.php index.html dir.irev video.irev > audio.irev gallery.irev > Action livecode-script /cgi-bin/livecode-server/livecode-community-server > > > I have many folder default indexes, and they define the player type of the > folder. This makes it easier to set up each folder for automatic action. > > > PGM FLOW > > If the folder is accessed, either by > "www.site.com/audio/whatever/" or " > www.site.com/audio/whatever/download.irev" > then > download.irev executes and immediately includes master file in > "/_lib/download-player.irev" > > PUT HEADER -- needed for full html5 validation > set errormode > set up variables > init defaults > > loadconfig - reads config.txt (see above) config file > setEnclosingFolder - where am I > setFullURL - establishes current web available address > createValidateURLf - creates a validation link > newListingComplete - pretty file listing with exceptions and links > > the rest is html and css code with imbedded iRev strings built from > variables. > > DISCLAIMER: > > This is a peek into my little code world. I hope it is readable to others > but I hadn't planned on sharing this yet without comments! Am I insane? Am > I doing this the 'wrong way?' I have no idea. > > sqb > > -- > Stephen Barncard - San Francisco Ca. USA - Deeds Not Words > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode Matthias Rebbe Tel: +49 5741 310000 +49 160 5504462 eMail: matthias underscore livecode underscore 150811 at m dash r dash d dot de From th.douez at gmail.com Mon Dec 2 22:40:06 2013 From: th.douez at gmail.com (Thierry Douez) Date: Tue, 3 Dec 2013 04:40:06 +0100 Subject: revEnvironmentDistributionPath() ? In-Reply-To: <529D0363.608@economy-x-talk.com> References: <529D0363.608@economy-x-talk.com> Message-ID: > Hi Thierry, > > It is broken in every version of LiveCode that I have currently installed. > Perhaps it only works in a particular context? > Best regards, > > Mark Schonewille > ?Thanks Mark- Umm, it looks like it is the full path of livecode exe. Otherwise, not a special context. it's the stack coming with the externals tool settings. Regards, Thierry? > On 12/2/2013 16:55, Thierry Douez wrote: > >> Hi, >> >> I have a stack from runrev with revEnvironmentDistributionPath() in >> openstack script. >> >> Does someone know what's the return value as it is broken in LC 5.5 :( >> > ------------------------------------------------ Thierry Douez - http://sunny-tdz.com Maker of sunnYperl - sunnYmidi - sunnYmage From monte at sweattechnologies.com Mon Dec 2 22:45:14 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 3 Dec 2013 14:45:14 +1100 Subject: revEnvironmentDistributionPath() ? In-Reply-To: References: <529D0363.608@economy-x-talk.com> Message-ID: <6290ABA6-E047-4251-B938-83370AF774CC@sweattechnologies.com> On 03/12/2013, at 2:40 PM, Thierry Douez wrote: > Umm, it looks like it is the full path of livecode exe. > > Otherwise, not a special context. > it's the stack coming with the externals tool settings. Here's the implementation in 6.1.3 stack Home: -- Deprecated Path Functions function revEnvironmentPreferencePath return revEnvironmentUserPreferencesPath() end revEnvironmentPreferencePath function revEnvironmentPreferencesPath return revEnvironmentUserPreferencesPath() end revEnvironmentPreferencesPath function revEnvironmentCachePath throw "Component has attempted to use a non-existant environment path function: revEnvironmentCachePath" end revEnvironmentCachePath function revEnvironmentSupportPath throw "Component has attempted to use a non-existant environment path function: revEnvironmentSupportPath" end revEnvironmentSupportPath function revEnvironmentInstallationPath throw "Component has attempted to use a non-existant environment path function: revEnvironmentInstallationPath" end revEnvironmentInstallationPath function revEnvironmentDistributionPath throw "Component has attempted to use a non-existant environment path function: revEnvironmentDistributionPath" end revEnvironmentDistributionPath -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From th.douez at gmail.com Mon Dec 2 23:03:39 2013 From: th.douez at gmail.com (Thierry Douez) Date: Tue, 3 Dec 2013 05:03:39 +0100 Subject: revEnvironmentDistributionPath() ? In-Reply-To: <6290ABA6-E047-4251-B938-83370AF774CC@sweattechnologies.com> References: <529D0363.608@economy-x-talk.com> <6290ABA6-E047-4251-B938-83370AF774CC@sweattechnologies.com> Message-ID: 2013/12/3 Monte Goulding > > On 03/12/2013, at 2:40 PM, Thierry Douez wrote: > > > Umm, it looks like it is the full path of livecode exe. > > > > Otherwise, not a special context. > > it's the stack coming with the externals tool settings. > > Here's the implementation in 6.1.3 stack Home: > > -- Deprecated Path Functions > > function revEnvironmentDistributionPath > throw "Component has attempted to use a non-existant environment path > function: revEnvironmentDistributionPath" > end revEnvironmentDistributionPath > ?Great Monte ! Unfortunately, this states that the stack to initialize the externals template is deprecated too :( Regards, Thierry ------------------------------------------------ Thierry Douez - http://sunny-tdz.com Maker of sunnYperl - sunnYmidi - sunnYmage From john at onechip.com Tue Dec 3 01:32:16 2013 From: john at onechip.com (John) Date: Mon, 2 Dec 2013 22:32:16 -0800 Subject: 6.1.3 incompatible with 10.9 sandboxing In-Reply-To: References: <7F8334D5-01FB-40FF-A58C-F61650795C06@onechip.com> Message-ID: Trevor, It was a long and confusing day or two, hence my multiple and rarely coherent posts to this list, but yes, I definitely do have apps approved and selling on the app store that uses ?ask file? and write to disk. They were released in 2012 (from their release dates I am guessing one was released using 10.7 and the other using 10.8). Looking over my more recent releases it occurs to me that since that time they have been utility style apps that don?t read or write files other than preferences which don?t count. Hopefully in the next day or so I will have the fix for this issue implemented using applescript. I put together a quick test app which looks promising. I don?t know if these fixes in my the real app will both sandbox and pass muster with Apple. If they do, I will post my fix. Once I get my app up I will see if I can create a simple stack that shows the issue with a built signed and unsigned apps that I can send along when I add to your bug report. Thanks, John On Dec 2, 2013, at 6:01 AM, Trevor DeVore wrote: > On Mon, Dec 2, 2013 at 1:43 AM, John wrote: > >> >> I have gone around in circles for a couple of days and it appears that >> something has changed when code signing and sandboxing. This is happening >> under OS 10.9. >> > > John, > > When you say that something has changed are you saying that previously you > were able to code sign a sandboxed application and the ask file dialog > worked? As I mentioned in my previous response I have never been able to > get proper behavior with LiveCode and sandboxing. This goes back to OS > 10.7. I believe the issue has to do with the interactions between the Cocoa > dialogs that are used by the OS when sandboxing is in play and the Carbon > LiveCode application. > > You might try adding any notes to my bug report. Perhaps the LiveCode team > can fix the issue with some additional details. > > http://quality.runrev.com/show_bug.cgi?id=10477 > > -- > Trevor DeVore > Blue Mango Learning Systems > www.screensteps.com - www.clarify-it.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dochawk at gmail.com Tue Dec 3 03:31:44 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 3 Dec 2013 00:31:44 -0800 Subject: Communicating between to standalones with "write to process" - Found word(s) list error in the Text body In-Reply-To: <411152826301.20131201192224@ahsoftware.net> References: <411152826301.20131201192224@ahsoftware.net> Message-ID: On Sun, Dec 1, 2013 at 7:22 PM, Mark Wieder wrote: > Half a second is quite a long delay. You could bounce signals off the > moon in that time. > Yes, but not across Las Vegas . . . :) At home, I'm on a Clear wireless connection. I have a bunch of blocks of code like put the milliseconds into strt do_a_db_transaction put the milliseconds - strt into stp stp is generally 500 ms, give or take. When I"m actually on the localnet, whether on the server itself or my laptop, I don't notice a lag. A threaded stack would solve this for me, but as it stands, the database functions take a long time, so I have to hide them from the user. Primarily, I watch time since the last keystroke, and if it gets to a couple of seconds, hitting the db is fair game.. But for my needs, a semaphore system would be sufficient: People *could* enter conflicting things on different systems,but for this type of application, if that is happening, there is a bigger problem in the firm than I can hope to help with (It means that Jane is entering data which conflicts with with what sue is entering. You either owe Macy's$500 or $700 . . .). As such, updating the local db to just have the information that soeone else entered is enough, even if it takes a couple/several seconds. Blocking the user, though, is *bad*. (OK, I'm an impatient person, and my software reflects this. 10+ years ago, I had an SE/30 rather than an SE over this . . . Never buy your software from someone who isn't lazy & impatient!) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Tue Dec 3 03:40:38 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 3 Dec 2013 00:40:38 -0800 Subject: Communicating between to standalones with "write to process" - Found word(s) list error in the Text body In-Reply-To: References: Message-ID: On Sun, Dec 1, 2013 at 4:54 PM, Mike Kerner wrote: > What he's suggesting is just a semaphore, which is common with DBMS's. > Ahh, vocabulary that I need :) Do you have any suggestions for me to read on that. [During my dissertation work, which created a third branch of dynamic programming, I was well into it when I realized that I'd recreated either lossy virtual memory or disk caching . . . {the search space was too large to keep an index of tried values, so it kept more recent ones and recalculated}] > He's also correct that you can do it with a hidden, secondary stack being > the gatekeeper for the DB. > > *whew* :) > Another option would be to use Valentina Server or to compile your own > little application to be a database server. > But would there be any value in using a database server rather than just a clone of the stack? That clone can use the same codebase, and automatically be updated by definition . . . Thanks -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From m.schonewille at economy-x-talk.com Tue Dec 3 05:54:13 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 03 Dec 2013 11:54:13 +0100 Subject: revEnvironmentDistributionPath() ? In-Reply-To: References: <529D0363.608@economy-x-talk.com> <6290ABA6-E047-4251-B938-83370AF774CC@sweattechnologies.com> Message-ID: <529DB855.1080403@economy-x-talk.com> Hi Thierry, It looks like the distribution path was /Applications/revEnterprise x.x.app/Tools/. This directory contains the Toolset folder among others, which in turn contains all IDE stacks. It also contains the Runtime folder with the build engines. On Windows, you'll fine the contents of the Tools folder in the same folder as the engine, i.e. C:\Program Files (x86)\RunRev\revEnterprise x.x\. Probably you can replace the function with set the itemdel to slash return item 1 to -3 of the effective filename of stack "Home" You'll have to test this with your old stack though. The revEnvironmentDistributionPath function was deprecated in Revolution 4.5-dp-4 or earlier. If you post the entire script, we might be able to fix the problem. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi Fill out this survey please http://livecodebeginner.economy-x-talk.com/survey/ On 12/3/2013 05:03, Thierry Douez wrote: > Unfortunately, this states that the stack to initialize the > externals template is deprecated too :( > > Regards, > > Thierry From lists at mangomultimedia.com Tue Dec 3 08:56:10 2013 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 3 Dec 2013 08:56:10 -0500 Subject: 6.1.3 incompatible with 10.9 sandboxing In-Reply-To: References: <7F8334D5-01FB-40FF-A58C-F61650795C06@onechip.com> Message-ID: On Tue, Dec 3, 2013 at 1:32 AM, John wrote: > It was a long and confusing day or two, hence my multiple and rarely > coherent posts to this list, but yes, I definitely do have apps approved > and selling on the app store that uses ?ask file? and write to disk. One clarification - are you sure they were sandboxed? > They were released in 2012 (from their release dates I am guessing one was > released using 10.7 and the other using 10.8). I have an app in the MAS from 2012 as well. The requirement for sandboxing was implemented midway through 2012 I believe. I haven't been able to post anything but 1 bug fix release (no new features) since that time. My last update was August 2012. Looking forward to hearing if your AppleScript solution works. -- Trevor DeVore Blue Mango Learning Systems www.screensteps.com - www.clarify-it.com From jhurley0305 at sbcglobal.net Tue Dec 3 11:21:35 2013 From: jhurley0305 at sbcglobal.net (James Hurley) Date: Tue, 3 Dec 2013 08:21:35 -0800 Subject: Words that must not be spoken In-Reply-To: References: Message-ID: Hi Bill, I think you are right about this being a LiveCode issue, but perhaps only with the new Mac OS 10.9. revSpeak works well with other versions of Mac OS and MS Word text. Here is a test if anyone wants to test for themselves: on mouseUp put ?revsSpeak no longer works of Word?s curly quotes and apostrophes." into tText put tText into tGood replace "'" with numToChar(213) in tText--Word's apostrophe put tText into tBad revSpeak tGoodText wait until revIsSpeaking() is false revSpeak tBadText ?This doesn?t work for me in Mac OS 10.9 end mouseUP And here is code that will clean MS Word text of the offending characters and allow revSpeak to function in 10.9 on mouseUp put field 1 into tText --Field 1 contains text that was copied from a MS Word document. put numToChar(213) into tApostrophe put numToChar(210) into tQuote1 put numToChar(211) into tQuote2 put numToChar(34) into tQuote replace tApostrophe with "'" in tText replace tQuote1 with tQuote in tText ?Surprisingly LC's "Quote" doesn't seem to work, only char 34. replace tQuote2 with tQuote in tText put tText into field 1 ? Field 1 can now be spoken. end mouseUp Jim > Message: 16 > Date: Mon, 02 Dec 2013 09:04:40 -0800 > From: Bill Vlahos > To: How to use LiveCode > Subject: Re: Words that must not be spoken > Message-ID: <53C3AFDC-1D36-4205-AF3C-24DF1D1E0CF4 at mac.com> > Content-Type: text/plain; charset=windows-1252 > > Jim, > > I just confirmed this. This happens with the ?curly? quotes and apostrophe characters. The non curly ones work. > > Since Text Edit and the system itself can do it correctly I suspect this is a LiveCode issue not a System Preference setting. > > For now you could add a routine that replaces the curly quotes, etc. with non curly ones and your proofreading work work again. > > Bill Vlahos > > On Dec 2, 2013, at 6:33 AM, Jim Hurley wrote: > >> I have just moved over to a Macbook Air running OS X 10.9 >> >> I have a utility that I have long used for proofreading. I click on a word of text, and RR begins to read from that point on. (Great for distinguishing between references to the "Public Defender" or the "Pubic Defender.") >> >> It has run well in all versions of LC, but now balks at any text containing an apostrophe or quote and perhaps other characters that I haven't yet explored. It won't even *begin* to speak text containing these characters. But it will speak that same text if I remove just those offending characters. >> >> Is there a language setting in the Mac preferences that I need to change to make the text agreeable to revspeak? >> >> Thanks, >> >> Jim >> >> From MikeKerner at roadrunner.com Tue Dec 3 12:47:16 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 3 Dec 2013 12:47:16 -0500 Subject: Communicating between to standalones with "write to process" - Found word(s) list error in the Text body In-Reply-To: References: Message-ID: OK, let's see: As far as the vocabulary, no, sorry, that's from [a number greater than what I'm going to admit] years of working in the DB space on lots of platforms and on lots of very interesting problems. The reason for using the server is that it takes most of the work out for you, and you just worry about talking to it. Transactions, triggers, semaphores, record locking, etc. can all be handled that way. Now once you get into multi-stage commits, you and I have to talk because that's a topic that is generally beyond the scope here. You could, if your data set was not abhorently large, also use LC's fields as your database, and go old school with creating a card for each record, etc. Then if you communicate with the stack, you're really just communicating with a "crude" database server. On Tue, Dec 3, 2013 at 3:40 AM, Dr. Hawkins wrote: > On Sun, Dec 1, 2013 at 4:54 PM, Mike Kerner >wrote: > > > What he's suggesting is just a semaphore, which is common with DBMS's. > > > > Ahh, vocabulary that I need :) > > Do you have any suggestions for me to read on that. > > [During my dissertation work, which created a third branch of dynamic > programming, I was well into it when I realized that I'd recreated either > lossy virtual memory or disk caching . . . {the search space was too large > to keep an index of tried values, so it kept more recent ones and > recalculated}] > > > > > He's also correct that you can do it with a hidden, secondary stack being > > the gatekeeper for the DB. > > > > *whew* > > :) > > > > Another option would be to use Valentina Server or to compile your own > > little application to be a database server. > > > > But would there be any value in using a database server rather than just a > clone of the stack? That clone can use the same codebase, and > automatically be updated by definition . . . > > Thanks > > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From bogdanoff at me.com Tue Dec 3 12:47:08 2013 From: bogdanoff at me.com (Peter Bogdanoff) Date: Tue, 3 Dec 2013 09:47:08 -0800 Subject: revSpeak In-Reply-To: References: Message-ID: Hi, Having just discovered revSpeak, I want to explore it further for the textbook I'm working on. I see it speaks English as that is my OSX system language default. Do users of other languages have this capability? Specifically, do Chinese Windows users generally have Chinese voices installed, or French users--, or German users--, etc? Peter Bogdanoff UCLA From john at onechip.com Tue Dec 3 13:18:22 2013 From: john at onechip.com (John) Date: Tue, 3 Dec 2013 10:18:22 -0800 Subject: 6.1.3 incompatible with 10.9 sandboxing In-Reply-To: References: <7F8334D5-01FB-40FF-A58C-F61650795C06@onechip.com> Message-ID: Trevor, I can?t tell you one way or the other if the later app was sandboxed or not. If it was implemented midway through the year, for instance June, then it is not sandboxed. I was also a bit off on my OS release dates (looked at the wrong column in a release date matrix) and both were built under 10.7. This is a very sad state of affairs. I hope the applescript path works as well. Thanks, John On Dec 3, 2013, at 5:56 AM, Trevor DeVore wrote: > On Tue, Dec 3, 2013 at 1:32 AM, John wrote: > >> It was a long and confusing day or two, hence my multiple and rarely >> coherent posts to this list, but yes, I definitely do have apps approved >> and selling on the app store that uses ?ask file? and write to disk. > > > One clarification - are you sure they were sandboxed? > > >> They were released in 2012 (from their release dates I am guessing one was >> released using 10.7 and the other using 10.8). > > > I have an app in the MAS from 2012 as well. The requirement for sandboxing > was implemented midway through 2012 I believe. I haven't been able to post > anything but 1 bug fix release (no new features) since that time. My last > update was August 2012. > > Looking forward to hearing if your AppleScript solution works. > > -- > Trevor DeVore > Blue Mango Learning Systems > www.screensteps.com - www.clarify-it.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Tue Dec 3 13:30:21 2013 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 03 Dec 2013 20:30:21 +0200 Subject: Hack the Appearance of the revMenubar stack Message-ID: <529E233D.9030404@gmail.com> There's a new, improved version of my "hack_attack" stack now available at: http://andregarzia.on-rev.com/richmond/ ... vecode.zip This allows you to do a wide variety of things to the revMenubar stack, and then, if you don't like what you see, to put it back how it originally was. Richmond. From richmondmathewson at gmail.com Tue Dec 3 14:16:35 2013 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 03 Dec 2013 21:16:35 +0200 Subject: [OT] Ubuntu Touch emulator Message-ID: <529E2E13.20500@gmail.com> https://wiki.ubuntu.com/Touch/Emulator Wow; maybe, just maybe, I'll get my Devawriter working in a tablet without spending 1,000 years of solitude! Richmond. From bobsneidar at iotecdigital.com Tue Dec 3 14:19:40 2013 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 3 Dec 2013 19:19:40 +0000 Subject: Words that must not be spoken - Found word(s) remove list in the Text body In-Reply-To: <748845cf-1676-4060-a2dd-d750a79bdcb9@lists.runrev.com> References: <748845cf-1676-4060-a2dd-d750a79bdcb9@lists.runrev.com> Message-ID: typo start: end: Bob Sneidar IT Technician Integrated Office Technology bobsneidar at iotecdigital.com 714-401-2407 On Dec 3, 2013, at 08:21 , James Hurley > wrote: revsSpeak From ray at linkit.com Tue Dec 3 14:49:00 2013 From: ray at linkit.com (Ray) Date: Tue, 03 Dec 2013 14:49:00 -0500 Subject: revSpeak In-Reply-To: References: Message-ID: <529E35AC.9050804@LinkIt.Com> I thought revSpeak used whatever the system language was set to. Have you tried it on a system set to a language other than English? On 12/3/2013 12:47 PM, Peter Bogdanoff wrote: > Hi, > > Having just discovered revSpeak, I want to explore it further for the textbook I'm working on. > > I see it speaks English as that is my OSX system language default. > > Do users of other languages have this capability? Specifically, do Chinese Windows users generally have Chinese voices installed, or French users--, or German users--, etc? > > > Peter Bogdanoff > UCLA > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Tue Dec 3 14:55:08 2013 From: klaus at major-k.de (Klaus major-k) Date: Tue, 3 Dec 2013 20:55:08 +0100 Subject: revSpeak In-Reply-To: References: Message-ID: <060D02AC-36B0-4D19-992A-16C6D8CEAAA9@major-k.de> Hi Peter, Am 03.12.2013 um 18:47 schrieb Peter Bogdanoff : > Hi, > > Having just discovered revSpeak, I want to explore it further for the textbook I'm working on. > > I see it speaks English as that is my OSX system language default. > > Do users of other languages have this capability? Specifically, do Chinese Windows users generally have Chinese voices installed, or French users--, or German users--, etc? on my german system 10.9 the default installed "Voice" was english, but you can download additonal localized voices via the system preferences pane! > Peter Bogdanoff > UCLA Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From roger.e.eller at sealedair.com Tue Dec 3 15:00:43 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Tue, 3 Dec 2013 15:00:43 -0500 Subject: [OT] Ubuntu Touch emulator In-Reply-To: <529E2E13.20500@gmail.com> References: <529E2E13.20500@gmail.com> Message-ID: It might work on Android with little modification, but you might have to add code to load your custom fonts. ~Roger On Tue, Dec 3, 2013 at 2:16 PM, Richmond wrote: > https://wiki.ubuntu.com/Touch/Emulator > > Wow; maybe, just maybe, I'll get my Devawriter working in a tablet without > spending 1,000 years > of solitude! > > Richmond. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From richmondmathewson at gmail.com Tue Dec 3 15:02:43 2013 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 03 Dec 2013 22:02:43 +0200 Subject: revSpeak In-Reply-To: <060D02AC-36B0-4D19-992A-16C6D8CEAAA9@major-k.de> References: <060D02AC-36B0-4D19-992A-16C6D8CEAAA9@major-k.de> Message-ID: <529E38E3.9010003@gmail.com> On 3.12.2013 21:55, Klaus major-k wrote: > Hi Peter, > > Am 03.12.2013 um 18:47 schrieb Peter Bogdanoff : > >> Hi, >> >> Having just discovered revSpeak, I want to explore it further for the textbook I'm working on. >> >> I see it speaks English as that is my OSX system language default. >> >> Do users of other languages have this capability? Specifically, do Chinese Windows users generally have Chinese voices installed, or French users--, or German users--, etc? > on my german system 10.9 the default installed "Voice" was english, but you can download > additonal localized voices via the system preferences pane! > >> Peter Bogdanoff >> UCLA > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode Messing around the other day with a Mac OS 9 install disc I found a set of Mexican Spanish voices; whether those can be installed on Mac OS 10.x.x I don't know. It is great fun getting the Speech synthesizer on my G3 iMac running Mac OS 9.2.2 to speak English with a Mexican Spanish voice . . . Oh, blast, the truth about my juvenile tendencies has surfaced at last . . . LOL Richmond. From richmondmathewson at gmail.com Tue Dec 3 15:05:51 2013 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 03 Dec 2013 22:05:51 +0200 Subject: [OT] Ubuntu Touch emulator In-Reply-To: References: <529E2E13.20500@gmail.com> Message-ID: <529E399F.7090800@gmail.com> On 3.12.2013 22:00, Roger Eller wrote: > It might work on Android with little modification, but you might have to > add code to load your custom fonts. Well, it might, but as nobody is exactly sending me lots of mazoolah at the moment I cannot afford a commercial licence for 6.5.0, and am feeling rather too selfish to release it open source. I will build one at home with the Community version and give it a go on the Genymotion Android emulator, but when and if is a funny question as have a lot of other stuff on my plate right now. Richmond. > > ~Roger > > On Tue, Dec 3, 2013 at 2:16 PM, Richmond wrote: > >> https://wiki.ubuntu.com/Touch/Emulator >> >> Wow; maybe, just maybe, I'll get my Devawriter working in a tablet without >> spending 1,000 years >> of solitude! >> >> Richmond. >> >> From roger.e.eller at sealedair.com Tue Dec 3 15:20:10 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Tue, 3 Dec 2013 15:20:10 -0500 Subject: [OT] Ubuntu Touch emulator In-Reply-To: <529E399F.7090800@gmail.com> References: <529E2E13.20500@gmail.com> <529E399F.7090800@gmail.com> Message-ID: Having never ever released a mobile app for sale, I can not say you will become rich. BUT... within that larger potential audience, there may be more people willing to try it for 99 cents than you may think. Yours is a unique enough app, and a pleasant looking design, that people my go for it out of curiosity. AND a touch screen makes it ideal for using a virtual keyboard... If you go this route, I think your number 1 comment from users will be "how can I use this as a standard Android keyboard?", and to that end... RunRev, when can we make widgets, and keyboards, custom launchers, etc. using LiveCode? Or will we ever see this? ~Roger On Tue, Dec 3, 2013 at 3:05 PM, Richmond wrote: > On 3.12.2013 22:00, Roger Eller wrote: > >> It might work on Android with little modification, but you might have to >> add code to load your custom fonts. >> > > Well, it might, but as nobody is exactly sending me lots of mazoolah at > the moment I cannot afford a > commercial licence for 6.5.0, and am feeling rather too selfish to release > it open source. > > I will build one at home with the Community version and give it a go on > the Genymotion Android emulator, > but when and if is a funny question as have a lot of other stuff on my > plate right now. > > Richmond. > > >> ~Roger >> >> On Tue, Dec 3, 2013 at 2:16 PM, Richmond >> wrote: >> >> https://wiki.ubuntu.com/Touch/Emulator >>> >>> Wow; maybe, just maybe, I'll get my Devawriter working in a tablet >>> without >>> spending 1,000 years >>> of solitude! >>> >>> Richmond. >>> >>> >>> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From john at onechip.com Tue Dec 3 15:36:32 2013 From: john at onechip.com (John) Date: Tue, 3 Dec 2013 12:36:32 -0800 Subject: 6.1.3 incompatible with 10.9 sandboxing In-Reply-To: References: <7F8334D5-01FB-40FF-A58C-F61650795C06@onechip.com> Message-ID: The following functions use applescript to perform the functions provided by ?ask file? and ?answer file?. They work as expected and I can read and write files as needed from my app. When the app is built as a standalone everything words as expected. That?s the good news. The bad news is that I have the same problem after I sandbox the app. When the Save dialog appears there are issues. Under 10.9, it (the save dialog) flashes rapidly on the screen and it appears as if the app has crashed. This seems really odd given I have bypassed LiveCodes functions. Does anyone have a clue? function answerFile thePrompt theExtension /* Use Apple Script to present an Open dialog box and return a path. Returns empty if the user cancels or there is an error. Optionally pass in a prompt (thePrompt) and file extention to filter with (theExtention). Defaults to the documents folder when first used. */ local theScript, appleScriptResult, scratch if theExtension is empty then -- choose the script based on extension. Empty prompts look fine. put "choose file with prompt" & quote & thePrompt & quote into theScript else put "choose file of type {" & quote & theExtension & quote & "} with prompt" & quote & thePrompt & quote into theScript end if do theScript as "Applescript" put the Result into appleScriptResult if appleScriptResult contains quote then -- if there is a " then there is a path put offset(quote,appleScriptResult) + 1 into scratch return revUnixFromMacPath(char scratch to -2 of appleScriptResult) else return empty end if end answerFile function askFile thePrompt theName /* Use Apple Script to present a Save dialog box and return a path. Returns empty if the user cancels or there is an error. Optionally pass in a prompt (thePrompt) and default file name (theName) Defaults to the documents folder when first used. */ local theScript, appleScriptResult, scratch if theName is empty then -- choose the script based on the default file name. Empty prompts look fine. put "choose file name with prompt" & quote & thePrompt & quote into theScript else put "choose file name with prompt" & quote & thePrompt & quote & "default name" & quote & theName & quote into theScript end if do theScript as "Applescript" put the Result into appleScriptResult if appleScriptResult contains quote then -- if there is a " then there is a path put offset(quote,appleScriptResult) + 1 into scratch return revUnixFromMacPath(char scratch to -2 of appleScriptResult) else return empty end if end askFile On Dec 3, 2013, at 10:18 AM, John wrote: > Trevor, > > I can?t tell you one way or the other if the later app was sandboxed or not. If it was implemented midway through the year, for instance June, then it is not sandboxed. I was also a bit off on my OS release dates (looked at the wrong column in a release date matrix) and both were built under 10.7. > > This is a very sad state of affairs. I hope the applescript path works as well. > > Thanks, > John > > > On Dec 3, 2013, at 5:56 AM, Trevor DeVore wrote: > >> On Tue, Dec 3, 2013 at 1:32 AM, John wrote: >> >>> It was a long and confusing day or two, hence my multiple and rarely >>> coherent posts to this list, but yes, I definitely do have apps approved >>> and selling on the app store that uses ?ask file? and write to disk. >> >> >> One clarification - are you sure they were sandboxed? >> >> >>> They were released in 2012 (from their release dates I am guessing one was >>> released using 10.7 and the other using 10.8). >> >> >> I have an app in the MAS from 2012 as well. The requirement for sandboxing >> was implemented midway through 2012 I believe. I haven't been able to post >> anything but 1 bug fix release (no new features) since that time. My last >> update was August 2012. >> >> Looking forward to hearing if your AppleScript solution works. >> >> -- >> Trevor DeVore >> Blue Mango Learning Systems >> www.screensteps.com - www.clarify-it.com >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Tue Dec 3 15:40:00 2013 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 03 Dec 2013 22:40:00 +0200 Subject: [OT] Ubuntu Touch emulator In-Reply-To: References: <529E2E13.20500@gmail.com> <529E399F.7090800@gmail.com> Message-ID: <529E41A0.3010306@gmail.com> On 3.12.2013 22:20, Roger Eller wrote: > Having never ever released a mobile app for sale, I can not say you will > become rich. BUT... within that larger potential audience, there may be > more people willing to try it for 99 cents than you may think. Yours is a > unique enough app, and a pleasant looking design, that people my go for it > out of curiosity. AND a touch screen makes it ideal for using a virtual > keyboard... If you go this route, I think your number 1 comment from users > will be "how can I use this as a standard Android keyboard?", and to that > end... > > RunRev, when can we make widgets, and keyboards, custom launchers, etc. > using LiveCode? Or will we ever see this? Oddly enough, when I was helping my wife set up her iPad, and a Cyrillic keyboard (my wife is a Bulgarian Professor of Linguistics), the thought of how one might use Livecode to do just that did cross my mind - but that goes for Linux, Mac and Windows desktops as well. In the Summer I visited my Mum and Dad who stay in the South-West of England. Dad took me up to the local library where, in a fit of daft extravagance, the local council had bought a touch-screen computer so pensioners can go in and look at photos of the place before the 2nd World War. Jolly nice too; but, having bought the thing they had paid some unemployed fellow who had promoted himself as a "computer expert" (and those are few and far between whatever people may say), whose first question on booting the machine up into Ubuntu 12.10 was "Where's Windows?" He had then installed a pirate copy of Windows XP, made a load of rubbish with Powerpoint, and ran off with his payment before the council realised that: a. He hadn't done anything beyond make a slide-show of photos: no search, linear presentation. b. Filled their computer with stuff which would get them in big trouble (pirate Windows, Office and so on). I backed up all the digitised photos (at least a pensioner who hung around the library had done a good job there), scrubbed the hard drive, reinstalled Xubuntu (cannot stand the 'funny' GUI on Ubuntu), and gave a retired army Colonel a copy of the old, Free RevMedia I had stored; a few lessons, and he said he couldn't manage things. Now, if they can find some relatively computer-competent 16-17 year old by Summer next year, I have offered to spend 4-5 days getting him/her up-and-running to create a hyperlinked stack with all the digitised photos, plus pots of scanned documents the Colonel is digitising over the winter. Now, what would be fun would be a touch-screen on-screen keyboard to allow all those pensioners to type in their memories, daft stories, and so forth, to create a repository of local information which may yet be quite useful, especially after those people have died. A very large proportion of those people have acute arthritis, and knobbly fingers as a result, so quite simply cannot cope with a conventional keyboard. An on-screen, large keyboard (and the thing has a socking great monitor) would do the trick. Richmond. > > ~Roger > > > On Tue, Dec 3, 2013 at 3:05 PM, Richmond wrote: > >> On 3.12.2013 22:00, Roger Eller wrote: >> >>> It might work on Android with little modification, but you might have to >>> add code to load your custom fonts. >>> >> Well, it might, but as nobody is exactly sending me lots of mazoolah at >> the moment I cannot afford a >> commercial licence for 6.5.0, and am feeling rather too selfish to release >> it open source. >> >> I will build one at home with the Community version and give it a go on >> the Genymotion Android emulator, >> but when and if is a funny question as have a lot of other stuff on my >> plate right now. >> >> Richmond. >> >> >>> ~Roger >>> >>> On Tue, Dec 3, 2013 at 2:16 PM, Richmond >>> wrote: >>> >>> https://wiki.ubuntu.com/Touch/Emulator >>>> Wow; maybe, just maybe, I'll get my Devawriter working in a tablet >>>> without >>>> spending 1,000 years >>>> of solitude! >>>> >>>> Richmond. >>>> >>>> >>>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From john at onechip.com Tue Dec 3 18:31:54 2013 From: john at onechip.com (John) Date: Tue, 3 Dec 2013 15:31:54 -0800 Subject: Can't sell on Mac App Store Message-ID: <4CD0E1C6-D9BF-451F-8E79-871C2A1D44E4@onechip.com> I somehow managed to miss the fact that as it stands now, you cannot sell LC produced apps on the Mac App Store if your app reads or writes files. This is a long standing issue (see http://quality.runrev.com/show_bug.cgi?id=10477 and http://quality.runrev.com/show_bug.cgi?id=11545). In this case, I have a great deal of effort put into this project and, had I known, I would have done something different (used Xojo for instance). Given I was burned, I thought someone else might appreciate a heads up. Thanks, John From ambassador at fourthworld.com Tue Dec 3 19:25:19 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 03 Dec 2013 16:25:19 -0800 Subject: Can't sell on Mac App Store In-Reply-To: <4CD0E1C6-D9BF-451F-8E79-871C2A1D44E4@onechip.com> References: <4CD0E1C6-D9BF-451F-8E79-871C2A1D44E4@onechip.com> Message-ID: <529E766F.9070100@fourthworld.com> On 12/3/13 3:31 PM, John wrote: > I somehow managed to miss the fact that as it stands now, > you cannot sell LC produced apps on the Mac App Store if your > app reads or writes files. This is a long standing issue (see > http://quality.runrev.com/show_bug.cgi?id=10477 and > http://quality.runrev.com/show_bug.cgi?id=11545). > In this case, I have a great deal of effort put into this > project and, had I known, I would have done something different > (used Xojo for instance). Given I was burned, I thought someone > else might appreciate a heads up. While both the report from October and the one from 35 hours ago are clearly important, if I understand them correctly there are two details worth noting: - Neither prevents your apps from reading or writing files. The issue appears to be with the older Carbon call made for the Ask File and Answer File dialogs, so any file I/O that doesn't require the user to name the files is unaffected. - This only affects sandboxed apps, so while this does affect Mac app store submissions until it's resolved, it seems you can still distribute your app through the Web like most of the bigger publishers continue to do. Even Apple's own subsidiary, Filemaker, started distributing though the app store only yesterday. And FWIW, judging from the dozens of sandboxing-related posts in the Xojo forums, it seems it's not exactly simple for folks to rewrite their apps to comply with Apple's changing policies no matter which tool they use. I agree that it's important to see these resolved as quickly as possible, but knowing their actual scope may help other developers even more. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From vclement at gmail.com Tue Dec 3 20:06:20 2013 From: vclement at gmail.com (Vaughn Clement) Date: Tue, 3 Dec 2013 18:06:20 -0700 Subject: Can't sell on Mac App Store In-Reply-To: <529E766F.9070100@fourthworld.com> References: <4CD0E1C6-D9BF-451F-8E79-871C2A1D44E4@onechip.com> <529E766F.9070100@fourthworld.com> Message-ID: OK I keep seeing the term sandboxing? Give a new developer a description of how this is used in LiveCode? Thank you Vaughn Clement Apps by Vaughn Clement (Support) *http://www.appsbyvaughnclement.com/tools/home-page/ * Skype: vaughn.clement https://secure.join.me/appsbyvclement FaceTime: vclement at gmail.com LogMeIn also avaialble Call on "ooVoo" at address: vaughnclement or 9282549062 Ph. 928-254-9062 Cloud Hosting Registration Web Site: https://my.oditech.com/cart.php?a=add&pid=41 On Tue, Dec 3, 2013 at 5:25 PM, Richard Gaskin wrote: > On 12/3/13 3:31 PM, John wrote: > > I somehow managed to miss the fact that as it stands now, > > you cannot sell LC produced apps on the Mac App Store if your > > app reads or writes files. This is a long standing issue (see > > http://quality.runrev.com/show_bug.cgi?id=10477 and > > http://quality.runrev.com/show_bug.cgi?id=11545). > > In this case, I have a great deal of effort put into this > > project and, had I known, I would have done something different > > (used Xojo for instance). Given I was burned, I thought someone > > else might appreciate a heads up. > > While both the report from October and the one from 35 hours ago are > clearly important, if I understand them correctly there are two details > worth noting: > > - Neither prevents your apps from reading or writing files. The issue > appears to be with the older Carbon call made for the Ask File and > Answer File dialogs, so any file I/O that doesn't require the user > to name the files is unaffected. > > - This only affects sandboxed apps, so while this does affect Mac app > store submissions until it's resolved, it seems you can still > distribute your app through the Web like most of the bigger publishers > continue to do. > > Even Apple's own subsidiary, Filemaker, started distributing though the > app store only yesterday. > > And FWIW, judging from the dozens of sandboxing-related posts in the Xojo > forums, it seems it's not exactly simple for folks to rewrite their apps to > comply with Apple's changing policies no matter which tool they use. > > I agree that it's important to see these resolved as quickly as possible, > but knowing their actual scope may help other developers even more. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ambassador at fourthworld.com Tue Dec 3 20:11:58 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 03 Dec 2013 17:11:58 -0800 Subject: Can't sell on Mac App Store In-Reply-To: References: Message-ID: <529E815E.3080205@fourthworld.com> Vaughn Clement wrote: > I keep seeing the term sandboxing? Give a new developer a description of > how this is used in LiveCode? Sandboxing is a way of restricting what an app can do ("keep it in its sandbox") to prevent it from possibly harming other apps, user data, or the system. While Apple still allows apps to be distributed outside of the Mac app store, and indeed most of the bigger publishers do, for those who want to distribute through the MAS sandboxing is a requirement. Apple has tons of good details here: -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From brahma at hindu.org Tue Dec 3 21:19:24 2013 From: brahma at hindu.org (Brahmanathswami) Date: Tue, 03 Dec 2013 16:19:24 -1000 Subject: Sorting Deep Nested Arrays Message-ID: <529E912C.6080206@hindu.org> I have a deep nested array that I want to push out to a table. It needs to be ordered/sorted by the "start_date" which is data the lies "deep down" at the "end" of the levels. The incoming data is from MySQL and my query sorts the data, but then after poking this into an array the sort is lost. This is actually being done in RevIgniter, but I still think it's a generic LiveCode use case regardless of context. put empty into tBuf repeat for each key tE in gData["task-hours"]["entries"] put gData["task-hours "]["entries"][tE] into tR put ""&tR["start_time"]&""&tR["project"]&""&tR["task"]&""&tR["description"]&""&tR["budget"]&""&tR["amount"]&"" after tBuf end repeat return tBuf OK... let's forget about the mark up... For each key "tE" in this array gData["payment"]["entries"][tE] We have a value that is another array with keys start time project task description budget amount real data/values looks like 2013-07-01 06:00:00 some task A description GKWeb 12:04:00* *I want to sort these from the outset by the start date. Is there a way? Multi-level arrays are very cool, but a bit labyrinthine to the point of being so opaque they start to be black boxes! Swasti Astu, Be Well! Brahmanathaswami From endernafi at gmail.com Tue Dec 3 23:33:08 2013 From: endernafi at gmail.com (Ender Nafi Elekcioglu) Date: Wed, 4 Dec 2013 06:33:08 +0200 Subject: Sorting Deep Nested Arrays In-Reply-To: <529E912C.6080206@hindu.org> References: <529E912C.6080206@hindu.org> Message-ID: Until gurus? replies, let me put my two cents? Often, the simplest methods are the most reliable ones. How about combining the array into a temporary variable, then sort it by the *item* (formerly *key*) you want, then construct the tBuf? ~ Ender Nafi From th.douez at gmail.com Wed Dec 4 02:51:03 2013 From: th.douez at gmail.com (Thierry Douez) Date: Wed, 4 Dec 2013 08:51:03 +0100 Subject: revEnvironmentDistributionPath() ? In-Reply-To: <529DB855.1080403@economy-x-talk.com> References: <529D0363.608@economy-x-talk.com> <6290ABA6-E047-4251-B938-83370AF774CC@sweattechnologies.com> <529DB855.1080403@economy-x-talk.com> Message-ID: Thanks Mark- Currently I have my nose to the grindstone (*) and I did move on... (*) just discover today this nice expression :) We would say in French: avoir le nez dans le guidon. Best, Thierry 2013/12/3 Mark Schonewille > > > It looks like the distribution path was /Applications/revEnterprise > x.x.app/Tools/. This directory contains the Toolset folder among others, > which in turn contains all IDE stacks. It also contains the Runtime folder > with the build engines. On Windows, you'll fine the contents of the Tools > folder in the same folder as the engine, i.e. C:\Program Files > (x86)\RunRev\revEnterprise x.x\. Probably you can replace the function with > > set the itemdel to slash > return item 1 to -3 of the effective filename of stack "Home" > > You'll have to test this with your old stack though. The > revEnvironmentDistributionPath function was deprecated in Revolution > 4.5-dp-4 or earlier. > ------------------------------------------------ Thierry Douez - http://sunny-tdz.com Maker of sunnYperl - sunnYmidi - sunnYmage From rene.micout at numericable.com Wed Dec 4 03:19:02 2013 From: rene.micout at numericable.com (=?windows-1252?Q?Ren=E9_Micout?=) Date: Wed, 4 Dec 2013 09:19:02 +0100 Subject: revEnvironmentDistributionPath() ? In-Reply-To: References: <529D0363.608@economy-x-talk.com> <6290ABA6-E047-4251-B938-83370AF774CC@sweattechnologies.com> <529DB855.1080403@economy-x-talk.com> Message-ID: Le 4 d?c. 2013 ? 08:51, Thierry Douez a ?crit : > Thanks Mark- > > Currently I have my nose to the grindstone (*) > and I did move on... > > > (*) just discover today this nice expression :) > We would say in French: avoir le nez dans le guidon. > > Best, > > Thierry Baisse la t?te t?auras l?air d?un coureur ! ;-) From dick.kriesel at mail.com Wed Dec 4 04:18:25 2013 From: dick.kriesel at mail.com (Dick Kriesel) Date: Wed, 4 Dec 2013 01:18:25 -0800 Subject: Sorting Deep Nested Arrays In-Reply-To: <529E912C.6080206@hindu.org> References: <529E912C.6080206@hindu.org> Message-ID: On Dec 3, 2013, at 6:19 PM, Brahmanathswami wrote: > > *I want to sort these from the outset by the start date. > Is there a way? > How about like this? put gData["task-hours"]["entries"] into tEntries put the keys of tEntries into tKeys sort tKeys by tEntries[each]["start-date"] repeat for each line tE in tKeys put tEntries[tE] into tR -- to do: put ... tR["start-date"] ... after tBuf end repeat return tBuf -- Dick From toolbook at kestner.de Wed Dec 4 04:49:05 2013 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Wed, 4 Dec 2013 10:49:05 +0100 Subject: Is sandboxing on OS X already state of the art? Message-ID: <003001cef0d6$127554f0$375ffed0$@de> Hello, joining Vaughns question to sandboxing I also didn't cared about sandboxing up to now and I am not good in handling Mac techs specifics. Because I am just preparing a new version of one of my programs, where I have to change some file paths anyway I would be happy, if somebody could give me some opinions on sandboxing. Is sandboxing already "state of the art" for Mac applications, which are not sold from the Mac app store? As I read Richards post, it is not yet. But do you think, sandboxed apps and / or the distribution path over the Mac app store are going to be obligatory in near future, so that it would be wise to sandbox my app already now, to not make again bigger changes on my program in one or two years again? Or do you think the "classic" programs may exist parallel to sandboxed apps for years? I would be happy if I just could go on with my "old style" program and not having to care about xCode, sandboxes, manifestes, appstore, etc. Any statements welcome, I am a little lost, when reading the Apple guidelines to sandboxing Tiemo From alex at tweedly.net Wed Dec 4 06:01:40 2013 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 04 Dec 2013 11:01:40 +0000 Subject: Question re ChartsEngine Message-ID: <529F0B94.9020505@tweedly.net> (I know there's a forum specifically for ChartsEngine - if I could figure out how to post there, I might have used it :-) There was a problem (a long time ago) with setting maxY for a stacked line chart, causing the highest line to be drawn at the maxY rather than at its actual height ( http://forums.runrev.com/viewtopic.php?f=36&t=6144 ) but that was apparently fixed in 1.1.1 I seem to be getting a kind of similar problem with stacked bar charts - setting a value for maxY shifts all bars up to the top of the chart. (This is with ChartsEngine Demo, stacked bar chart sample - just setting maxY made it happen). Has anyone else seen this ? Or know a way round it ? Also - once you've set a value for maxY - how can you 'unset' it ? Simply setting set charts["maxY"] of tchart to empty doesn't seem to take it away properly. I'd give more detail - but I don't want to use up my limited number of tries with the demo version, so can't run it again just to give a better description. Thanks -- Alex. From williamdesmet at gmail.com Wed Dec 4 07:45:25 2013 From: williamdesmet at gmail.com (William de Smet) Date: Wed, 4 Dec 2013 13:45:25 +0100 Subject: Missing PDF icon on iphoneComposeHtmlMail Message-ID: Hi there, I noticed on iOS7 and LC6.5 a missing PDF icon on using iphoneComposeHtmlMail. This is shown in the app when a new e-mail message is composed (with a PDF attachment). When receiving the same e-mail with the attachment the PDF icon is shown of course. In one of my apps made with an earlier version of LC and on iOS 6 the PDF icon is present. I use the same code as before. Anyone else seeing this? Am I missing something or has there been a change? greetings, William From gregory.lypny at videotron.ca Wed Dec 4 08:35:48 2013 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Wed, 04 Dec 2013 08:35:48 -0500 Subject: Emailing From LiveCode Server Message-ID: <73E2DF48-606D-4602-ADA1-0B887B6BDD10@videotron.ca> Hi everyone, I?m running LiveCode Server on my Mac, and I want to learn how to send an email receipt to students who have uploaded an assignment through my website. Can anyone point me to a tutorial or handler script that explains how to do this. Would the revMail command do the trick? Much obliged, Gregory From bvg at mac.com Wed Dec 4 09:59:38 2013 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Wed, 04 Dec 2013 15:59:38 +0100 Subject: Question re ChartsEngine In-Reply-To: <529F0B94.9020505@tweedly.net> References: <529F0B94.9020505@tweedly.net> Message-ID: <2443A2ED-25B5-4FDE-BCEC-B6EB971CD116@mac.com> Hi Alex (sending to you directly as well as the list, so you might get this twice in your inbox) The problem is that maxY doesn't work with stackedBar charts. I know it's kind of an unexpected feature to leave out for that particular type, but that's how it always has been :( To clean all 'settings' for ChartsEngine, you need to manipulate the custom property set of the group that shows the chart. Sometimes that can be confusing, so I suggest you browse trough the custom properties in the property inspector of the IDE and select the propertySet "charts" there. Then you can pick properties to delete one by one, or just delete the propertySet "charts" completely to start fresh. An approach that I use often would be to reset the properties and start completely over every time via script, it works like this: put "1,2,3" & return & "4,5,6" into chartsArray["data"] put "barsStacked" into chartsArray["chartStyle"] --etc. set the customProperties["charts"] of group "example" to chartsArray send "chartsRefresh" to group "example" Also make sure to check out the documentation stack, it's supplied with every download. If you can't post to forums.runrev.com, then you probably need to ask RunRev support about that... But of course you can always contact me directly on chartsengine at chartsengine.com , or any other of my email addresses. All relevant information about ChartsEngine can always be found here: http://forums.runrev.com/viewtopic.php?f=36&t=6882 Cheers Bjoernke PS: don't forget that ChartsEngine is part of the winter holiday sale that RunRev is having right now: http://livecode.com/mega-bundle-2013/ On 04.12.2013, at 12:01, Alex Tweedly wrote: > (I know there's a forum specifically for ChartsEngine - if I could figure out how to post there, I might have used it :-) > > There was a problem (a long time ago) with setting maxY for a stacked line chart, causing the highest line to be drawn at the maxY rather than at its actual height ( http://forums.runrev.com/viewtopic.php?f=36&t=6144 ) but that was apparently fixed in 1.1.1 > > I seem to be getting a kind of similar problem with stacked bar charts - setting a value for maxY shifts all bars up to the top of the chart. (This is with ChartsEngine Demo, stacked bar chart sample - just setting maxY made it happen). > Has anyone else seen this ? > Or know a way round it ? > > Also - once you've set a value for maxY - how can you 'unset' it ? Simply setting > set charts["maxY"] of tchart to empty > doesn't seem to take it away properly. > > I'd give more detail - but I don't want to use up my limited number of tries with the demo version, so can't run it again just to give a better description. > > Thanks > -- Alex. -- Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From mkoob at rogers.com Wed Dec 4 10:12:30 2013 From: mkoob at rogers.com (Martin Koob) Date: Wed, 4 Dec 2013 07:12:30 -0800 (PST) Subject: Emailing From LiveCode Server In-Reply-To: <73E2DF48-606D-4602-ADA1-0B887B6BDD10@videotron.ca> References: <73E2DF48-606D-4602-ADA1-0B887B6BDD10@videotron.ca> Message-ID: <1386169950086-4673254.post@n4.nabble.com> There is a tutorial here. http://lessons.runrev.com/s/3527/m/4070/l/8184-sending-emails-from-livecode-server-scripts Martin -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Emailing-From-LiveCode-Server-tp4673252p4673254.html Sent from the Revolution - User mailing list archive at Nabble.com. From alex at tweedly.net Wed Dec 4 11:27:02 2013 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 04 Dec 2013 16:27:02 +0000 Subject: Question re ChartsEngine In-Reply-To: <2443A2ED-25B5-4FDE-BCEC-B6EB971CD116@mac.com> References: <529F0B94.9020505@tweedly.net> <2443A2ED-25B5-4FDE-BCEC-B6EB971CD116@mac.com> Message-ID: <529F57D6.4030309@tweedly.net> Thanks Bj?rnke. So far, only one copy - gmail is too clever for its own good :-) It is indeed surprising that maxY doesn't work for stacked bar charts - it's a very useful feature, and I'd have thought it was even more important for stacked than for simple bar charts. Oh well, I guess it's time to start writing code :-) -- Alex. P.S. forums. I know why I can't post - it's because I can't remember how to login. I know I had a different username or password for the forums vs the runrev store account (vs the on-rev account). Can never remember what they are, and the entry in InfoWallet has become too confusing (three usernames, two email addresses, 5 passwords all for different parts of runrev). Since I only look at the forums about once a year (just to see if the user interface has improved from abysmal to even barely usable :-), I decided I would just stick with the uselist. When (if) runrev enables the email gateway, then I''ll be a forum user, and not before. P.S> megaBundle - great deal, unless you've already got 80-90% of it from previous Kickstarter and/or megabundles. :-) On 04/12/2013 14:59, Bj?rnke von Gierke wrote: > Hi Alex (sending to you directly as well as the list, so you might get this twice in your inbox) > > The problem is that maxY doesn't work with stackedBar charts. I know it's kind of an unexpected feature to leave out for that particular type, but that's how it always has been :( > > To clean all 'settings' for ChartsEngine, you need to manipulate the custom property set of the group that shows the chart. Sometimes that can be confusing, so I suggest you browse trough the custom properties in the property inspector of the IDE and select the propertySet "charts" there. Then you can pick properties to delete one by one, or just delete the propertySet "charts" completely to start fresh. An approach that I use often would be to reset the properties and start completely over every time via script, it works like this: > > put "1,2,3" & return & "4,5,6" into chartsArray["data"] > put "barsStacked" into chartsArray["chartStyle"] > --etc. > set the customProperties["charts"] of group "example" to chartsArray > send "chartsRefresh" to group "example" > > > Also make sure to check out the documentation stack, it's supplied with every download. > > If you can't post to forums.runrev.com, then you probably need to ask RunRev support about that... But of course you can always contact me directly on chartsengine at chartsengine.com , or any other of my email addresses. All relevant information about ChartsEngine can always be found here: > > http://forums.runrev.com/viewtopic.php?f=36&t=6882 > > Cheers > Bjoernke > > PS: don't forget that ChartsEngine is part of the winter holiday sale that RunRev is having right now: http://livecode.com/mega-bundle-2013/ > From livfoss at mac.com Wed Dec 4 12:46:35 2013 From: livfoss at mac.com (Graham Samuel) Date: Wed, 04 Dec 2013 18:46:35 +0100 Subject: Where are LC's iOS Guidelines? Message-ID: <96502561-B913-4CE3-AA41-78BE77208584@mac.com> I put my toe into iOS waters months and months ago, and actually got a couple of apps running as prototypes: an iPhone app and an iPad one. I am effectively starting again and I find I've now forgotten most of what I learned, plus the topic has moved on with Retina displays, iPhone 5 etc. Can someone point me to some concise LC documentation that explains (for a start) what exactly is the spec of the Icons and Splash Screens that are referred to in the current (6.1.3) version of the LC Standalone settings? That way I could get an experimental app to show its face, at least. I can find a few tutorials, but I can't find a definite and precise list of dimensions etc. At least I can't find any of this by using the LC IDE toolbar, and I can't see the iOS release notes I used to rely on. Sorry if this is obvious to everyone else. TIA for any guidance. Graham From jacque at hyperactivesw.com Wed Dec 4 13:08:53 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 04 Dec 2013 12:08:53 -0600 Subject: revEnvironmentDistributionPath() ? In-Reply-To: References: <529D0363.608@economy-x-talk.com> <6290ABA6-E047-4251-B938-83370AF774CC@sweattechnologies.com> <529DB855.1080403@economy-x-talk.com> Message-ID: <529F6FB5.6040806@hyperactivesw.com> On 12/4/13 2:19 AM, Ren? Micout wrote: >> (*) just discover today this nice expression :) >> We would say in French: avoir le nez dans le guidon. >> >> Best, >> >> Thierry > > Baisse la t?te t?auras l?air d?un coureur ! LOL! I had to use Google translate but I like that. So I learned a new phrase today too. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Wed Dec 4 13:36:30 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 04 Dec 2013 12:36:30 -0600 Subject: [ANN] Zygodact documentation Message-ID: <529F762E.7040003@hyperactivesw.com> The documentation for Zygodact was accidentally omitted from the download being distributed with the current MegaBundle. If you receive an error when trying to view the docs from the Zygodact menu, you can re-download the app from the same link you received in the registration email. The docs are now included in that copy. Alternately you can just download the PDF file here: http://www.hyperactivesw.com/zygodact/Zygodact1043Docs.pdf. Apologies for the omission, there was a bit of a rush to get the latest version online before the MegaBundle went live. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From stephenREVOLUTION2 at barncard.com Wed Dec 4 13:57:33 2013 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Wed, 4 Dec 2013 10:57:33 -0800 Subject: Executing Livecode Server from command line Message-ID: I've seen some forum posts that indicate there might be a problem Executing Livecode Server from the command line. At any rate, just typing the name of the iRev file "livecode-server-test_Color.irev ?" and hitting return doesn't run the script.? error returned: -bash: livecode-server-test_Color.irev: command not found this script runs fine on the web I obviously don't spend a lot of time in Terminal. Is it broken or am I just being dumb? *--* *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* From warren at warrensweb.us Wed Dec 4 15:44:17 2013 From: warren at warrensweb.us (Warren Samples) Date: Wed, 04 Dec 2013 14:44:17 -0600 Subject: Executing Livecode Server from command line In-Reply-To: References: Message-ID: <529F9421.2080900@warrensweb.us> On 12/04/2013 12:57 PM, stephen barncard wrote: > I've seen some forum posts that indicate there might be a problem Executing > Livecode Server from the command line. > > At any rate, just typing the name of the iRev file > "livecode-server-test_Color.irev > ?" and hitting return doesn't run the script.? > error returned: > -bash: livecode-server-test_Color.irev: command not found > > this script runs fine on the web > > I obviously don't spend a lot of time in Terminal. > > Is it broken or am I just being dumb? Put the path to the livecode server executable + space + path to script or file you want to run. It should work. Warren From gcanyon at gmail.com Wed Dec 4 15:54:01 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Wed, 4 Dec 2013 14:54:01 -0600 Subject: Is 0.000001 as small a number as can be worked with? Message-ID: I find that any calculation that would result in a number smaller than 0.000001 either rounds up to 0.000001 or down to 0. Since numerics are accurate up to about 10^15, what gives with the fairly limited decimal portion? From jhj at jhj.com Wed Dec 4 16:08:31 2013 From: jhj at jhj.com (Jerry Jensen) Date: Wed, 4 Dec 2013 13:08:31 -0800 Subject: Is 0.000001 as small a number as can be worked with? In-Reply-To: References: Message-ID: <30B64B8A-8159-4385-86E3-CEE71093B625@jhj.com> In the multi-line message box try: set the numberformat to "0.##########" put 0.000001 / 1000 Note that the numberformat needs to be in quotes so the first # isn't interpreted as the start of a comment. Otherwise it seems to use the default which is 0.###### . .Jerry On Dec 4, 2013, at 12:54 PM, Geoff Canyon wrote: > I find that any calculation that would result in a number smaller than > 0.000001 either rounds up to 0.000001 or down to 0. Since numerics are > accurate up to about 10^15, what gives with the fairly limited decimal > portion? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Wed Dec 4 16:10:51 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 04 Dec 2013 15:10:51 -0600 Subject: Is 0.000001 as small a number as can be worked with? In-Reply-To: References: Message-ID: <529F9A5B.5040604@hyperactivesw.com> On 12/4/13 2:54 PM, Geoff Canyon wrote: > I find that any calculation that would result in a number smaller than > 0.000001 either rounds up to 0.000001 or down to 0. Since numerics are > accurate up to about 10^15, what gives with the fairly limited decimal > portion? Numberformat? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From stephenREVOLUTION2 at barncard.com Wed Dec 4 16:38:48 2013 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Wed, 4 Dec 2013 13:38:48 -0800 Subject: TRYING to get LC server 6.5 to work using .htaccess Message-ID: Hi gang. I am still attempting to get *LC Server 6.5* to run using the .htcaccess method. I've checked the permissions several times, but not having success. 6.1 has worked flawlessly - but some features are missing and have been promised. Has anyone else tested 6.5 Server using .htaccess? Or any method? I think Richard Gaskin, as usual, is right. Does this have the odor of missing libs ? I get this in the error log for the test site on trying to 'run' an irev page: [Wed Dec 04 12:51:39 2013] [error] [client 67.160.217.136] livecode-server exited due to fatal signal 11 [Wed Dec 04 12:51:39 2013] [error] [client 67.160.217.136] in __kernel_sigreturn @ 0 [Wed Dec 04 12:51:39 2013] [error] [client 67.160.217.136] in @ 0x80f1675 [Wed Dec 04 12:51:39 2013] [error] [client 67.160.217.136] in @ 0x8131f05 [Wed Dec 04 12:51:39 2013] [error] [client 67.160.217.136] in @ 0x8131f84 [Wed Dec 04 12:51:39 2013] [error] [client 67.160.217.136] in @ 0x80f3429 [Wed Dec 04 12:51:39 2013] [error] [client 67.160.217.136] in @ 0x8086084 [Wed Dec 04 12:51:39 2013] [error] [client 67.160.217.136] in @ 0x808671b [Wed Dec 04 12:51:39 2013] [error] [client 67.160.217.136] in __libc_start_main @ 229 [Wed Dec 04 12:51:39 2013] [error] [client 67.160.217.136] in fwrite @ 333 [Wed Dec 04 12:51:39 2013] [error] [client 67.160.217.136] Premature end of script headers: livecode-server [ note: this is actually livecode-community-server 6.5 as I still can't find the commercial version - I have renamed the folder and file "livecode-community-server" to "livecode-server" as I though I saw an error noting "livecode-server" when using the original name of the package "livecode-community-server" -- I thought that might indicate a hard self-reference in the code. Hell, I'll try anything.] what's a 'creative user' to do? I just want to get on with the Livecode part. Shouldn't this package just work? There are no docs that tell me otherwise. I really want to try the graphics features on server? finally, should I file as a bug? Like that it doesn't work? sqb *--* *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* From lvhdgc7 at gmail.com Wed Dec 4 18:17:34 2013 From: lvhdgc7 at gmail.com (tbodine) Date: Wed, 4 Dec 2013 15:17:34 -0800 (PST) Subject: What is "revLibrary" stack? Message-ID: <1386199054846-4673265.post@n4.nabble.com> Hi, Livecoders. The stack "revLibrary" has begun to open itself regularly (and annoyingly) while I work in LC 6.1 (on XP). It's Help menu offers "About" and "Help" commands that don't do anything. What is this stack and how do I get rid of it? Thanks, Tom Bodine -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/What-is-revLibrary-stack-tp4673265.html Sent from the Revolution - User mailing list archive at Nabble.com. From niconiko at gmail.com Wed Dec 4 18:20:14 2013 From: niconiko at gmail.com (Nicolas Cueto) Date: Thu, 5 Dec 2013 08:20:14 +0900 Subject: datagrid object: resizing advice for "on LayoutControl pControlRect" Message-ID: Dear List, The various LC teaching resources out there on datagrid objects demonstrate resizing by modifying the "on LayoutControl" handler. But their examples aren't letting me see clearly what the resizing logic is. Heck, it took me an embarassingly long while to figure out what "pControlRect" referred to! So, in search of a more concrete example, I'm hoping someone here won't mind providing the script for an "on LayoutControl" handler for this specific datagrid template: -------------------------------------------------------------------------- group "Row Template" width 626 height 66 loc 315,36 rect 2,3,628,69 graphic "Background" width 626 height 66 loc 315,36 rect 2,3,628,69 button "fileicon" width 64 height 64 loc 36,36 rect 4,4,68,68 field "filename" width 422 height 64 loc 295,36 rect 84,4,506,68 field "filesize" width 104 height 64 loc 572,36 rect 520,4,624,68 ----------------------------------------------------------------------- I figure with your kind help here, I can work backwards from the script to figure out what the logic is. Thank you. -- Nicolas Cueto From dunbarx at aol.com Wed Dec 4 18:56:21 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Wed, 4 Dec 2013 18:56:21 -0500 (EST) Subject: Is 0.000001 as small a number as can be worked with? In-Reply-To: <30B64B8A-8159-4385-86E3-CEE71093B625@jhj.com> References: <30B64B8A-8159-4385-86E3-CEE71093B625@jhj.com> Message-ID: <8D0BF6390CDB14B-910-B2A2@webmail-m202.sysops.aol.com> I think what Jerry meant was: set the numberformat to "0.00000000000000000000" or whatever. Craig -----Original Message----- From: Jerry Jensen To: How to use LiveCode Sent: Wed, Dec 4, 2013 4:09 pm Subject: Re: Is 0.000001 as small a number as can be worked with? In the multi-line message box try: set the numberformat to "0.##########" put 0.000001 / 1000 Note that the numberformat needs to be in quotes so the first # isn't interpreted as the start of a comment. Otherwise it seems to use the default which is 0.###### . .Jerry On Dec 4, 2013, at 12:54 PM, Geoff Canyon wrote: > I find that any calculation that would result in a number smaller than > 0.000001 either rounds up to 0.000001 or down to 0. Since numerics are > accurate up to about 10^15, what gives with the fairly limited decimal > portion? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Wed Dec 4 20:04:22 2013 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Thu, 5 Dec 2013 02:04:22 +0100 Subject: itunes connect complains about 120x120pix icon, although it exists Message-ID: <0AF9D9FD-706B-4220-B09A-110AA868A463@m-r-d.de> Hi, today i wanted to upload an update for one of my iOS apps. I created that version with LC 6.1.3 Although i added a 120x120 pixel png in the standalone settings, iTunesConnectUploader complains after the upload that there is no such png file. Can i just ignore that error or do i have to change something? Regards, Matthias Rebbe From bonnmike at gmail.com Wed Dec 4 20:33:25 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Wed, 4 Dec 2013 18:33:25 -0700 Subject: Executing Livecode Server from command line In-Reply-To: <529F9421.2080900@warrensweb.us> References: <529F9421.2080900@warrensweb.us> Message-ID: You can also use the #! method to make it run. Set your script to executable and add: #!/path/to/server/executable as the first line. Bash will see the first line and execute the script as an argument to the program listed on the #! line. (like shell scripts start with #!/bin/bash or #!/bin/sh or whatever shell is being used) The problem with this method is that (unless it has been changed) livecode server doesn't know to ignore #! lines and will dump it to stdout followed by whatever your script puts out. On Wed, Dec 4, 2013 at 1:44 PM, Warren Samples wrote: > On 12/04/2013 12:57 PM, stephen barncard wrote: > >> I've seen some forum posts that indicate there might be a problem >> Executing >> Livecode Server from the command line. >> >> At any rate, just typing the name of the iRev file >> "livecode-server-test_Color.irev >> " and hitting return doesn't run the script. >> error returned: >> -bash: livecode-server-test_Color.irev: command not found >> >> this script runs fine on the web >> >> I obviously don't spend a lot of time in Terminal. >> >> Is it broken or am I just being dumb? >> > > > Put the path to the livecode server executable + space + path to script or > file you want to run. > > It should work. > > Warren > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From vclement at gmail.com Wed Dec 4 21:38:33 2013 From: vclement at gmail.com (Vaughn Clement) Date: Wed, 4 Dec 2013 19:38:33 -0700 Subject: Background & Image Issue Message-ID: Hi All I have 2 substacks that are doing the same thing where the image control accepts an image from the IOS photo library into the image control, but it is filling all of the cards in the stack with the added image. Now the stack uses a background where the background is shared, but the data in the card is not shared on the next new card. In the stack script I am putting the image in the document/picture folder. *on* openStack checkdata *end* openStack *on* checkData *set* the defaultfolder to specialfolderpath("documents") *if* there is not a folder "pictures" *then* *create* folder "pictures" *end* *if* *end* checkData I tried sharing and not sharing to see if that would fix the issue but it still fills all of the cards. This is the script of the card that is adding the image to the image control. This is the button script that places the image on the card. *on* mouseUp mobilePickPhoto "library" *lock* screen *set* the text of image "PhotoImage" to the text of the last image of this card *delete* the last image of this cd *end* mouseUp -- Photoimage is the image control, the image is appearing in the control as planned Thank you Vaughn Clement Apps by Vaughn Clement (Support) *http://www.appsbyvaughnclement.com/tools/home-page/ * Skype: vaughn.clement https://secure.join.me/appsbyvclement FaceTime: vclement at gmail.com LogMeIn also avaialble Call on "ooVoo" at address: vaughnclement or 9282549062 Ph. 928-254-9062 Cloud Hosting Registration Web Site: https://my.oditech.com/cart.php?a=add&pid=41 From endernafi at gmail.com Wed Dec 4 21:44:19 2013 From: endernafi at gmail.com (Ender Nafi Elekcioglu) Date: Thu, 5 Dec 2013 04:44:19 +0200 Subject: itunes connect complains about 120x120pix icon, although it exists In-Reply-To: <0AF9D9FD-706B-4220-B09A-110AA868A463@m-r-d.de> References: <0AF9D9FD-706B-4220-B09A-110AA868A463@m-r-d.de> Message-ID: Matthias, You can ignore it, Apple accepts the binary. But if it still bothers you, you can edit the Info.plist to get rid off it. This is Chris Sheffield?s solution: ? I did a search and found some instructions on how to modify the Info.plist template. I was able to work around this problem by modifying that template (/Applications/LiveCode 6.1.3/LiveCode 6.1.3.app/Contents/Tools/Runtime/iOS/[Device]/Settings.plist) to explicitly include the correct icon files. After doing that and building my app and resubmitting it, the warning from Apple went away. This is a workaround, of course. As I mentioned, I have submitted a bug report regarding the issue. If anyone does decide to modify that template file, but sure to back up the original first. In the file there is a CFBundleIconFiles key. This key should contain an array of strings, each string being the file name of one of your icons. When building an app with LC 6.1.3, the pre-iOS 7 icons are listed as Icon-72.png and Icon-144.png in the Info.plist file. I simply added two new entries, one for Icon-76.png and Icon-152.png. Worked like a charm. And watch capitalization. As you know, iOS is case sensitive. Good luck. Chris ? Best, ~ Ender Nafi On December 5, 2013 at 3:05:06, Matthias Rebbe (matthias_livecode_150811 at m-r-d.de) wrote: Hi, today i wanted to upload an update for one of my iOS apps. I created that version with LC 6.1.3 Although i added a 120x120 pixel png in the standalone settings, iTunesConnectUploader complains after the upload that there is no such png file. Can i just ignore that error or do i have to change something? Regards, Matthias Rebbe _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From stephenREVOLUTION2 at barncard.com Thu Dec 5 00:21:13 2013 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Wed, 4 Dec 2013 21:21:13 -0800 Subject: Executing Livecode Server from command line In-Reply-To: References: <529F9421.2080900@warrensweb.us> Message-ID: On Wed, Dec 4, 2013 at 5:33 PM, Mike Bonner wrote: > You can also use the #! method to make it run. > > Set your script to executable and add: > #!/path/to/server/executable > ?thanks, Warren and Mike.? *--* *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* From jacque at hyperactivesw.com Thu Dec 5 00:53:54 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 04 Dec 2013 23:53:54 -0600 Subject: Background & Image Issue In-Reply-To: References: Message-ID: <52A014F2.1070604@hyperactivesw.com> On 12/4/13 8:38 PM, Vaughn Clement wrote: > > I tried sharing and not sharing to see if that would fix the issue but it > still fills all of the cards. This is the script of the card that is adding > the image to the image control. > > This is the button script that places the image on the card. > > *on* mouseUp > > mobilePickPhoto "library" > > *lock* screen > > *set* the text of image "PhotoImage" to the text of the last image of > this card > > *delete* the last image of this cd > > *end* mouseUp If the image "PhotoImage" is part of the shared background, it will be shared on every card. Make sure it isn't part of the background group. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From john at onechip.com Thu Dec 5 01:17:50 2013 From: john at onechip.com (John) Date: Wed, 4 Dec 2013 22:17:50 -0800 Subject: Is sandboxing on OS X already state of the art? In-Reply-To: <003001cef0d6$127554f0$375ffed0$@de> References: <003001cef0d6$127554f0$375ffed0$@de> Message-ID: <86B1D5B4-D637-42E0-BC0A-F46FA59E461E@onechip.com> Tiemo, Signing and sandboxing is only required if you wish to sell (or give away) Mac apps on Apple?s App Store. The intention is to keep malicious programs from being distributed. You do not need it unless you are on Apples store. Signing your apps (different from sandboxing) is a good idea even if you are going to distribute the app yourself. Signing is a simple and painless process. Apps that are not signed will present the user with a warning when they are launched implying that the app may be dangerous to the users computer. This of course makes users nervous. There is a table near the bottom of this page https://developer.apple.com/osx/distribution/ the provides a good overview. Thanks, John On Dec 4, 2013, at 1:49 AM, Tiemo Hollmann TB wrote: > Hello, > > joining Vaughns question to sandboxing I also didn't cared about sandboxing > up to now and I am not good in handling Mac techs specifics. > > Because I am just preparing a new version of one of my programs, where I > have to change some file paths anyway I would be happy, if somebody could > give me some opinions on sandboxing. > > Is sandboxing already "state of the art" for Mac applications, which are not > sold from the Mac app store? As I read Richards post, it is not yet. But do > you think, sandboxed apps and / or the distribution path over the Mac app > store are going to be obligatory in near future, so that it would be wise to > sandbox my app already now, to not make again bigger changes on my program > in one or two years again? Or do you think the "classic" programs may exist > parallel to sandboxed apps for years? > > I would be happy if I just could go on with my "old style" program and not > having to care about xCode, sandboxes, manifestes, appstore, etc. > > Any statements welcome, I am a little lost, when reading the Apple > guidelines to sandboxing > > Tiemo > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Thu Dec 5 02:28:22 2013 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Thu, 5 Dec 2013 08:28:22 +0100 Subject: itunes connect complains about 120x120pix icon, although it exists In-Reply-To: References: <0AF9D9FD-706B-4220-B09A-110AA868A463@m-r-d.de> Message-ID: <4F4E83F0-B042-423B-8AD7-A0ADCD2890C5@m-r-d.de> Ender Nafi, thanks. I will try that in the case my app is rejected. Regards, Matthias Am 05.12.2013 um 03:44 schrieb Ender Nafi Elekcioglu : > Matthias, > > You can ignore it, Apple accepts the binary. > > But if it still bothers you, you can edit the Info.plist to get rid off it. > This is Chris Sheffield?s solution: > > ? > > I did a search and found some instructions on how to modify the Info.plist template. I was able to work around this problem by modifying that template (/Applications/LiveCode 6.1.3/LiveCode 6.1.3.app/Contents/Tools/Runtime/iOS/[Device]/Settings.plist) to explicitly include the correct icon files. After doing that and building my app and resubmitting it, the warning from Apple went away. This is a workaround, of course. As I mentioned, I have submitted a bug report regarding the issue. If anyone does decide to modify that template file, but sure to back up the original first. > > In the file there is a CFBundleIconFiles key. This key should contain an array of strings, each string being the file name of one of your icons. When building an app with LC 6.1.3, the pre-iOS 7 icons are listed as Icon-72.png and Icon-144.png in the Info.plist file. I simply added two new entries, one for Icon-76.png and Icon-152.png. Worked like a charm. And watch capitalization. As you know, iOS is case sensitive. > > Good luck. > > Chris > > ? > > > Best, > > ~ Ender Nafi > > On December 5, 2013 at 3:05:06, Matthias Rebbe (matthias_livecode_150811 at m-r-d.de) wrote: > >> Hi, >> >> today i wanted to upload an update for one of my iOS apps. >> I created that version with LC 6.1.3 >> Although i added a 120x120 pixel png in the standalone settings, iTunesConnectUploader complains after the upload that there is no such png file. >> >> Can i just ignore that error or do i have to change something? >> >> Regards, >> >> Matthias Rebbe >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode From toolbook at kestner.de Thu Dec 5 02:41:06 2013 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Thu, 5 Dec 2013 08:41:06 +0100 Subject: AW: Is sandboxing on OS X already state of the art? In-Reply-To: <86B1D5B4-D637-42E0-BC0A-F46FA59E461E@onechip.com> References: <003001cef0d6$127554f0$375ffed0$@de> <86B1D5B4-D637-42E0-BC0A-F46FA59E461E@onechip.com> Message-ID: <003201cef18d$5b8245b0$1286d110$@de> Hi John, Yes, today sandboxing only is required, if I would want to distribute on the AppStore - what I don't want. But as the table you have pointed to shows, sandboxing today already is also "recommended" for all other distribution paths. So I was wondering how many of you LC guys here do sandboxing already today (for traditional programs) and what your "feelings" are, how long it will take until Apple requires sandboxing for all OS X programs. Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von John > Gesendet: Donnerstag, 5. Dezember 2013 07:18 > An: How to use LiveCode > Betreff: Re: Is sandboxing on OS X already state of the art? > > Tiemo, > > Signing and sandboxing is only required if you wish to sell (or give > away) Mac apps on Apple?s App Store. The intention is to keep malicious > programs from being distributed. You do not need it unless you are on > Apples store. > > Signing your apps (different from sandboxing) is a good idea even if you > are going to distribute the app yourself. Signing is a simple and painless > process. Apps that are not signed will present the user with a warning > when they are launched implying that the app may be dangerous to the users > computer. This of course makes users nervous. > > There is a table near the bottom of this page > https://developer.apple.com/osx/distribution/ the provides a good overview. > > Thanks, > John > > > On Dec 4, 2013, at 1:49 AM, Tiemo Hollmann TB wrote: > > > Hello, > > > > joining Vaughns question to sandboxing I also didn't cared about > > sandboxing up to now and I am not good in handling Mac techs specifics. > > > > Because I am just preparing a new version of one of my programs, where > > I have to change some file paths anyway I would be happy, if somebody > > could give me some opinions on sandboxing. > > > > Is sandboxing already "state of the art" for Mac applications, which > > are not sold from the Mac app store? As I read Richards post, it is > > not yet. But do you think, sandboxed apps and / or the distribution > > path over the Mac app store are going to be obligatory in near future, > > so that it would be wise to sandbox my app already now, to not make > > again bigger changes on my program in one or two years again? Or do > > you think the "classic" programs may exist parallel to sandboxed apps for > years? > > > > I would be happy if I just could go on with my "old style" program and > > not having to care about xCode, sandboxes, manifestes, appstore, etc. > > > > Any statements welcome, I am a little lost, when reading the Apple > > guidelines to sandboxing > > > > Tiemo > > > > > > > > > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From john at onechip.com Thu Dec 5 04:13:50 2013 From: john at onechip.com (John) Date: Thu, 5 Dec 2013 01:13:50 -0800 Subject: Is sandboxing on OS X already state of the art? In-Reply-To: <003201cef18d$5b8245b0$1286d110$@de> References: <003001cef0d6$127554f0$375ffed0$@de> <86B1D5B4-D637-42E0-BC0A-F46FA59E461E@onechip.com> <003201cef18d$5b8245b0$1286d110$@de> Message-ID: <4D3F792D-CB36-4B99-996B-33A84C1CC336@onechip.com> My best guess is that sandboxing exists so that Apple can assure the integrity of the app store. If that is true then I doubt is will become mandatory. For that to happen it would require that some future version of the OS would implement checking to see of the app was approved by Apple. If that were to happen then the app store would loose an advantage. Perhaps that is the goal but I doubt it. At best I imagine the user would receive a warning as they do not for signing. Thanks, John On Dec 4, 2013, at 11:41 PM, Tiemo Hollmann TB wrote: > Hi John, > Yes, today sandboxing only is required, if I would want to distribute on the > AppStore - what I don't want. But as the table you have pointed to shows, > sandboxing today already is also "recommended" for all other distribution > paths. So I was wondering how many of you LC guys here do sandboxing already > today (for traditional programs) and what your "feelings" are, how long it > will take until Apple requires sandboxing for all OS X programs. > Tiemo > > >> -----Urspr?ngliche Nachricht----- >> Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im > Auftrag >> von John >> Gesendet: Donnerstag, 5. Dezember 2013 07:18 >> An: How to use LiveCode >> Betreff: Re: Is sandboxing on OS X already state of the art? >> >> Tiemo, >> >> Signing and sandboxing is only required if you wish to sell (or give >> away) Mac apps on Apple?s App Store. The intention is to keep malicious >> programs from being distributed. You do not need it unless you are on >> Apples store. >> >> Signing your apps (different from sandboxing) is a good idea even if > you >> are going to distribute the app yourself. Signing is a simple and > painless >> process. Apps that are not signed will present the user with a warning >> when they are launched implying that the app may be dangerous to the users >> computer. This of course makes users nervous. >> >> There is a table near the bottom of this page >> https://developer.apple.com/osx/distribution/ the provides a good > overview. >> >> Thanks, >> John >> >> >> On Dec 4, 2013, at 1:49 AM, Tiemo Hollmann TB wrote: >> >>> Hello, >>> >>> joining Vaughns question to sandboxing I also didn't cared about >>> sandboxing up to now and I am not good in handling Mac techs specifics. >>> >>> Because I am just preparing a new version of one of my programs, where >>> I have to change some file paths anyway I would be happy, if somebody >>> could give me some opinions on sandboxing. >>> >>> Is sandboxing already "state of the art" for Mac applications, which >>> are not sold from the Mac app store? As I read Richards post, it is >>> not yet. But do you think, sandboxed apps and / or the distribution >>> path over the Mac app store are going to be obligatory in near future, >>> so that it would be wise to sandbox my app already now, to not make >>> again bigger changes on my program in one or two years again? Or do >>> you think the "classic" programs may exist parallel to sandboxed apps > for >> years? >>> >>> I would be happy if I just could go on with my "old style" program and >>> not having to care about xCode, sandboxes, manifestes, appstore, etc. >>> >>> Any statements welcome, I am a little lost, when reading the Apple >>> guidelines to sandboxing >>> >>> Tiemo >>> >>> >>> >>> >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From gcanyon at gmail.com Thu Dec 5 05:06:11 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Thu, 5 Dec 2013 04:06:11 -0600 Subject: Is 0.000001 as small a number as can be worked with? In-Reply-To: <8D0BF6390CDB14B-910-B2A2@webmail-m202.sysops.aol.com> References: <30B64B8A-8159-4385-86E3-CEE71093B625@jhj.com> <8D0BF6390CDB14B-910-B2A2@webmail-m202.sysops.aol.com> Message-ID: Gah! I wish I'd known this last week? Well, maybe not -- the acceleration due to Deimos's gravity at a distance of 100,000,000,000 meters is 0.000000003432397^2 meters per second^2, and not even "0.###############" turns that into other than 0.0 On Wed, Dec 4, 2013 at 5:56 PM, wrote: > I think what Jerry meant was: > > > set the numberformat to "0.00000000000000000000" or whatever. > > > > Craig > > > -----Original Message----- > From: Jerry Jensen > To: How to use LiveCode > Sent: Wed, Dec 4, 2013 4:09 pm > Subject: Re: Is 0.000001 as small a number as can be worked with? > > > In the multi-line message box try: > > set the numberformat to "0.##########" > put 0.000001 / 1000 > > Note that the numberformat needs to be in quotes so the first # isn't > interpreted as the start of a comment. Otherwise it seems to use the > default > which is 0.###### . > .Jerry > > On Dec 4, 2013, at 12:54 PM, Geoff Canyon wrote: > > > I find that any calculation that would result in a number smaller than > > 0.000001 either rounds up to 0.000001 or down to 0. Since numerics are > > accurate up to about 10^15, what gives with the fairly limited decimal > > portion? > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From michaell at unimelb.edu.au Thu Dec 5 05:17:34 2013 From: michaell at unimelb.edu.au (Michael Julian Lew) Date: Thu, 5 Dec 2013 10:17:34 +0000 Subject: Is 0.000001 as small a number as can be worked with? Message-ID: Ages ago I wrote some functions to allow arithmetic with arbitrarily large numbers of decimal places. (I think I debugged them, but it was a while ago so you should check them carefully!) function SciForm x --Returns the number in the form signed mantissa, comma, power of ten put empty into tsign if char 1 of x = "-" then delete char 1 of x put "-" into tsign end if if char 1 of x = "+" then delete char 1 of x --leading zeros repeat if char 1 of x <> "0" then exit repeat delete char 1 of x end repeat if x is empty then --value was zero! return "0,0" exit SciForm end if if "." is not in x then put (the number of chars in x) -1 into tpower put "." after char 1 of x put x into tmant else --contains . if char 1 of x = "." then --decimal leading replace "." with empty in x put x into x2 put x into tmant put "." after char 1 of tmant put 0 into leadZeros repeat if char 1 of x2 <> "0" then exit repeat delete char 1 of x2 add 1 to leadZeros end repeat if x2 is empty then --value was zero! return "0,0" exit SciForm end if put the number of chars in x2- the number of chars in x -1 into tpower if leadZeros > 0 then delete char 1 to leadZeros of x put "." after char 1 of x put x into tmant else --decimal within put offset(".",x)-2 into tpower replace "." with empty in x put "." after char 1 of x put x into tmant end if end if return tsign & tmant &"," & tpower end SciForm function SciFormMult x,y --returns x*y put item 2 of x + item 2 of y into tpower put item 1 of x*item 1 of y into tMantProd put SciForm(tMantProd) into tProd add tPower to item 2 of tProd return tProd end SciFormMult function SciFormDivide x,y --returns x/y put item 2 of x - item 2 of y into tpower put item 1 of x/item 1 of y into tMantDiv put SciForm(tMantDiv) into tDiv add tPower to item 2 of tDiv return tDiv end SciFormDivide function SciFormAdd x,y put item 2 of x into xp put item 2 of y into yp put xp-yp into pdiff put item 1 of x into xmant put item 1 of y into ymant multiply ymant by 10^-pdiff put ymant + xmant into mantSum put sciForm(mantSum) into tsum add xp to item 2 of tsum return tsum end SciFormAdd function sciFormSubtract x,y multiply item 1 of y by -1 return SciFormAdd(x,y) end sciFormSubtract From m.schonewille at economy-x-talk.com Thu Dec 5 06:58:20 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 05 Dec 2013 12:58:20 +0100 Subject: [OT] Reminder: Programming Livecode for the Real Beginner almost sold out Message-ID: <52A06A5C.4060507@economy-x-talk.com> Hi everyone, It would be a real shame if you are planning to buy the book Programming LiveCode for the Real Beginner" only to find out that it is no longer available. Currently we have 2 dozens of books left. We will ship all remaining orders on 12th December. This will be the last shipment of the year. Read all about it at http://qery.us/41j 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 Buy my book "Programming LiveCode for the Real Beginner" http://qery.us/3fi Fill out this survey please http://livecodebeginner.economy-x-talk.com/survey/ From bill at bluewatermaritime.com Thu Dec 5 08:20:45 2013 From: bill at bluewatermaritime.com (william humphrey) Date: Thu, 5 Dec 2013 09:20:45 -0400 Subject: Where are LC's iOS Guidelines? In-Reply-To: <96502561-B913-4CE3-AA41-78BE77208584@mac.com> References: <96502561-B913-4CE3-AA41-78BE77208584@mac.com> Message-ID: I once looked for a similar set of guidelines and suggested interface examples for LiveCode and the making of stand-alones for Mac OS -- never found it. On Wed, Dec 4, 2013 at 1:46 PM, Graham Samuel wrote: > I put my toe into iOS waters months and months ago, and actually got a couple of apps running as prototypes: an iPhone app and an iPad one. I am effectively starting again and I find I've now forgotten most of what I learned, plus the topic has moved on with Retina displays, iPhone 5 etc. Can someone point me to some concise LC documentation that explains (for a start) what exactly is the spec of the Icons and Splash Screens that are referred to in the current (6.1.3) version of the LC Standalone settings? That way I could get an experimental app to show its face, at least. > > I can find a few tutorials, but I can't find a definite and precise list of dimensions etc. At least I can't find any of this by using the LC IDE toolbar, and I can't see the iOS release notes I used to rely on. Sorry if this is obvious to everyone else. > > TIA for any guidance. > > Graham > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- http://www.bluewatermaritime.com From gcanyon at gmail.com Thu Dec 5 08:56:25 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Thu, 5 Dec 2013 07:56:25 -0600 Subject: Is 0.000001 as small a number as can be worked with? In-Reply-To: References: Message-ID: Nice, thanks! I did something very similar about two days ago, except that, since I thought LC wouldn't handle more than 6 digits of precision to the right of the decimal point, I allowed for mantissas up to 10^7 (so that multiplication would not overflow the standard math/numeric * function. It turned out to be something like 100x slower than simple * which is perhaps understandable, but given that I'm talking about doing gravity for (at least) all the round bodies in the solar system (50 or so) for each update, I gave it up for a different method. You definitely need a bounds check so *put* SciFormAdd("1,23","1,-10") 1.,23 *put* SciFormAdd("1,-10","1,23") 9.99999999999999945575230987042816,22 doesn't happen. On Thu, Dec 5, 2013 at 4:17 AM, Michael Julian Lew wrote: > Ages ago I wrote some functions to allow arithmetic with arbitrarily large > numbers of decimal places. (I think I debugged them, but it was a while ago > so you should check them carefully!) > > function SciForm x > --Returns the number in the form signed mantissa, comma, power of ten > put empty into tsign > if char 1 of x = "-" then > delete char 1 of x > put "-" into tsign > end if > if char 1 of x = "+" then delete char 1 of x > --leading zeros > repeat > if char 1 of x <> "0" then exit repeat > delete char 1 of x > end repeat > if x is empty then > --value was zero! > return "0,0" > exit SciForm > end if > if "." is not in x then > put (the number of chars in x) -1 into tpower > put "." after char 1 of x > put x into tmant > else --contains . > if char 1 of x = "." then --decimal leading > replace "." with empty in x > put x into x2 > put x into tmant > put "." after char 1 of tmant > put 0 into leadZeros > repeat > if char 1 of x2 <> "0" then exit repeat > delete char 1 of x2 > add 1 to leadZeros > end repeat > if x2 is empty then > --value was zero! > return "0,0" > exit SciForm > end if > put the number of chars in x2- the number of chars in x -1 into > tpower > if leadZeros > 0 then delete char 1 to leadZeros of x > put "." after char 1 of x > put x into tmant > else --decimal within > put offset(".",x)-2 into tpower > replace "." with empty in x > put "." after char 1 of x > put x into tmant > end if > end if > return tsign & tmant &"," & tpower > end SciForm > > function SciFormMult x,y --returns x*y > put item 2 of x + item 2 of y into tpower > put item 1 of x*item 1 of y into tMantProd > put SciForm(tMantProd) into tProd > add tPower to item 2 of tProd > return tProd > end SciFormMult > > function SciFormDivide x,y --returns x/y > put item 2 of x - item 2 of y into tpower > put item 1 of x/item 1 of y into tMantDiv > put SciForm(tMantDiv) into tDiv > add tPower to item 2 of tDiv > return tDiv > end SciFormDivide > > function SciFormAdd x,y > put item 2 of x into xp > put item 2 of y into yp > put xp-yp into pdiff > put item 1 of x into xmant > put item 1 of y into ymant > multiply ymant by 10^-pdiff > put ymant + xmant into mantSum > put sciForm(mantSum) into tsum > add xp to item 2 of tsum > return tsum > end SciFormAdd > > function sciFormSubtract x,y > multiply item 1 of y by -1 > return SciFormAdd(x,y) > end sciFormSubtract > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From MikeKerner at roadrunner.com Thu Dec 5 09:08:02 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 5 Dec 2013 09:08:02 -0500 Subject: When is 10 really 13? Message-ID: I know that LC has this affinity for (ascii 10) instead of (ascii 13), but in this case it's going to be a problem. I am trying to parse a text file that is output from another system. When LC reads the file, it automatically interprets all the 's as 's. Thinking I was batty, I grabbed several other development tools that I use. Each and every one of them said that what LC said was an was really a , so just to be sure I went to the source of the file, and sure enough it is putting out . Reading further through the code, it appears that there are cases where both and are going to be output, and the differences are significant to properly handling the data. SO, do we have a way of dealing with this that I am not aware of? -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From bvg at mac.com Thu Dec 5 09:12:57 2013 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Thu, 05 Dec 2013 15:12:57 +0100 Subject: When is 10 really 13? In-Reply-To: References: Message-ID: <807913EC-03D4-4934-9939-3B73D8008232@mac.com> Instead of opening the file as text, open it as binary. Make sure to watch out for mactoiso() and isotomac() too. put url ("binfile:" & myPath) into field 1 --load text unchanged vs. put url ("binfile:" & myPath) into field 1 --applies automatic LC text conversions On 05.12.2013, at 15:08, Mike Kerner wrote: > I know that LC has this affinity for (ascii 10) instead of (ascii > 13), but in this case it's going to be a problem. > > I am trying to parse a text file that is output from another system. When > LC reads the file, it automatically interprets all the 's as 's. > > Thinking I was batty, I grabbed several other development tools that I > use. Each and every one of them said that what LC said was an was > really a , so just to be sure I went to the source of the file, and > sure enough it is putting out . Reading further through the code, it > appears that there are cases where both and are going to be > output, and the differences are significant to properly handling the data. > > SO, do we have a way of dealing with this that I am not aware of? -- Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From th.douez at gmail.com Thu Dec 5 09:13:56 2013 From: th.douez at gmail.com (Thierry Douez) Date: Thu, 5 Dec 2013 15:13:56 +0100 Subject: When is 10 really 13? In-Reply-To: References: Message-ID: Hi MIke, Opening your text file in *binary" mode : "binfile:whatever" then with the replace() function , get rid of what you don't want... Does that help ? Thierry ------------------------------------------------ Thierry Douez - http://sunny-tdz.com Maker of sunnYperl - sunnYmidi - sunnYmage 2013/12/5 Mike Kerner > I know that LC has this affinity for (ascii 10) instead of (ascii > 13), but in this case it's going to be a problem. > > I am trying to parse a text file that is output from another system. When > LC reads the file, it automatically interprets all the 's as 's. > > Thinking I was batty, I grabbed several other development tools that I > use. Each and every one of them said that what LC said was an was > really a , so just to be sure I went to the source of the file, and > sure enough it is putting out . Reading further through the code, it > appears that there are cases where both and are going to be > output, and the differences are significant to properly handling the data. > > SO, do we have a way of dealing with this that I am not aware of? > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From warren at warrensweb.us Thu Dec 5 09:15:48 2013 From: warren at warrensweb.us (Warren Samples) Date: Thu, 05 Dec 2013 08:15:48 -0600 Subject: TRYING to get LC server 6.5 to work using .htaccess In-Reply-To: References: Message-ID: <52A08A94.1080706@warrensweb.us> On 12/04/2013 03:38 PM, stephen barncard wrote: > Hi gang. > > I am still attempting to get *LC Server 6.5* to run using the .htcaccess > method. I've checked the permissions several times, but not having success. > 6.1 has worked flawlessly - but some features are missing and have been > promised. > > Has anyone else tested 6.5 Server using .htaccess? Or any method? Stephen, this is on Dreamhost? Do you have shell access enabled? If so, try logging in with ssh and run this: ldd What does it return? I have 6.5.0 working in a Caudium server. I can't help you with Apache, but if you have successfully gotten earlier versions running, your issue is probably not directly related to Apache configuration. You should be able to simply substitute the server executable, give it the proper permissions and go. I notice that there is some kind of lag in this version running a very simple test page although I can't tell where or why it occurs. A simple script in two different virtual servers running under the same Caudium server: http://warrensweb.us/untitled.lc (6.5.0) http://warren.ws/untitled.lc (6.1.2) 6.5.0 takes longer to deliver the page content but processing the script itself doesn't seem to be the issue, although if you refresh enough times you might find it occasionally takes in the neighborhood of 20 ms to process and this seems not to happen ever under 6.1.2. Every now and again it also doesn't process the last line of the script to display the elapsed processing time under 6.5.0. Good luck, Warren From MikeKerner at roadrunner.com Thu Dec 5 09:40:46 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 5 Dec 2013 09:40:46 -0500 Subject: When is 10 really 13? In-Reply-To: References: Message-ID: So, aside from this situtation, when else will be in the LC universe? Like I said, I know LC likes , but if it's substituting one for another, that's a problem. On Thu, Dec 5, 2013 at 9:13 AM, Thierry Douez wrote: > Hi MIke, > > Opening your text file in *binary" mode : "binfile:whatever" > then with the replace() function , get rid of what you don't want... > > Does that help ? > > Thierry > > > ------------------------------------------------ > Thierry Douez - http://sunny-tdz.com > Maker of sunnYperl - sunnYmidi - sunnYmage > > > 2013/12/5 Mike Kerner > > > I know that LC has this affinity for (ascii 10) instead of > (ascii > > 13), but in this case it's going to be a problem. > > > > I am trying to parse a text file that is output from another system. > When > > LC reads the file, it automatically interprets all the 's as 's. > > > > Thinking I was batty, I grabbed several other development tools that I > > use. Each and every one of them said that what LC said was an was > > really a , so just to be sure I went to the source of the file, and > > sure enough it is putting out . Reading further through the code, it > > appears that there are cases where both and are going to be > > output, and the differences are significant to properly handling the > data. > > > > SO, do we have a way of dealing with this that I am not aware of? > > > > -- > > On the first day, God created the heavens and the Earth > > On the second day, God created the oceans. > > On the third day, God put the animals on hold for a few hours, > > and did a little diving. > > And God said, "This is good." > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From bvg at mac.com Thu Dec 5 09:58:22 2013 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Thu, 05 Dec 2013 15:58:22 +0100 Subject: When is 10 really 13? In-Reply-To: References: Message-ID: <854AAB81-1C3E-4D30-9851-EF1537028B1D@mac.com> There's no "liking". :P As explained, when using "file", LC assumes it's a text file, and that you want conversions to happen. The same goes for fields. But in fact I think there's only a case where mactoiso() get transformed when it's in a field, and that is when you open a stack in windows/linux that was last saved on a mac (and vice versa for isotomac()). However I think it doesn't change line endings in such a case. So it's very easy: If you want text unchanged by automatisms in LC, and for it to retain it's characteristic, then don't store it in a field, and don't use "file:" for urls, simply use "binfile:" instead. On 05.12.2013, at 15:40, Mike Kerner wrote: > So, aside from this situtation, when else will be in the LC > universe? Like I said, I know LC likes , but if it's substituting one > for another, that's a problem. > > > On Thu, Dec 5, 2013 at 9:13 AM, Thierry Douez wrote: > >> Hi MIke, >> >> Opening your text file in *binary" mode : "binfile:whatever" >> then with the replace() function , get rid of what you don't want... >> >> Does that help ? >> >> Thierry >> >> >> ------------------------------------------------ >> Thierry Douez - http://sunny-tdz.com >> Maker of sunnYperl - sunnYmidi - sunnYmage >> >> >> 2013/12/5 Mike Kerner >> >>> I know that LC has this affinity for (ascii 10) instead of >> (ascii >>> 13), but in this case it's going to be a problem. >>> >>> I am trying to parse a text file that is output from another system. >> When >>> LC reads the file, it automatically interprets all the 's as 's. >>> >>> Thinking I was batty, I grabbed several other development tools that I >>> use. Each and every one of them said that what LC said was an was >>> really a , so just to be sure I went to the source of the file, and >>> sure enough it is putting out . Reading further through the code, it >>> appears that there are cases where both and are going to be >>> output, and the differences are significant to properly handling the >> data. >>> >>> SO, do we have a way of dealing with this that I am not aware of? >>> >>> -- >>> On the first day, God created the heavens and the Earth >>> On the second day, God created the oceans. >>> On the third day, God put the animals on hold for a few hours, >>> and did a little diving. >>> And God said, "This is good." >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From dochawk at gmail.com Thu Dec 5 11:40:54 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 5 Dec 2013 08:40:54 -0800 Subject: Strict Compilation Mode In-Reply-To: References: <1041152627429.20131201191905@ahsoftware.net> <591158988542.20131201210507@ahsoftware.net> Message-ID: On Mon, Dec 2, 2013 at 2:40 PM, Ender Nafi Elekcioglu wrote: > I?ve changed a couple of lines deliberately and it compiled again. > That can help. Breaking apart the line that declares the variable can help. In 5.5, quiting & restarting livecode usually helps. In any version of 6 I've tried, it's just nightmare; this is why I'm still using 5. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Thu Dec 5 11:44:41 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 5 Dec 2013 08:44:41 -0800 Subject: When is 10 really 13? In-Reply-To: <807913EC-03D4-4934-9939-3B73D8008232@mac.com> References: <807913EC-03D4-4934-9939-3B73D8008232@mac.com> Message-ID: On Thu, Dec 5, 2013 at 6:12 AM, Bj?rnke von Gierke wrote: > > put url ("binfile:" & myPath) into field 1 --load text unchanged > vs. > put url ("binfile:" & myPath) into field 1 --applies automatic LC text > conversions > I assume the second want's "file':" rather than "binfile:" ? -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From MikeKerner at roadrunner.com Thu Dec 5 11:55:53 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 5 Dec 2013 11:55:53 -0500 Subject: When is 10 really 13? In-Reply-To: References: <807913EC-03D4-4934-9939-3B73D8008232@mac.com> Message-ID: I've noticed that a lot of y'all are using url prefixes when dealing with files. I must be stuck in the 80's, because I always just use open file...of type... So did I miss something somewhere along the way? On Thu, Dec 5, 2013 at 11:44 AM, Dr. Hawkins wrote: > On Thu, Dec 5, 2013 at 6:12 AM, Bj?rnke von Gierke wrote: > > > > > put url ("binfile:" & myPath) into field 1 --load text unchanged > > vs. > > put url ("binfile:" & myPath) into field 1 --applies automatic LC text > > conversions > > > > I assume the second want's "file':" rather than "binfile:" ? > > > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From bvg at mac.com Thu Dec 5 11:57:49 2013 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Thu, 05 Dec 2013 17:57:49 +0100 Subject: When is 10 really 13? In-Reply-To: References: <807913EC-03D4-4934-9939-3B73D8008232@mac.com> Message-ID: <4577BA50-0554-45F4-88E4-E2106BF4D070@mac.com> it's just fewer lines, that's all :) On 05.12.2013, at 17:55, Mike Kerner wrote: > I've noticed that a lot of y'all are using url prefixes when dealing with > files. I must be stuck in the 80's, because I always just use open > file...of type... > > So did I miss something somewhere along the way? > > > On Thu, Dec 5, 2013 at 11:44 AM, Dr. Hawkins wrote: > >> On Thu, Dec 5, 2013 at 6:12 AM, Bj?rnke von Gierke wrote: >> >>> >>> put url ("binfile:" & myPath) into field 1 --load text unchanged >>> vs. >>> put url ("binfile:" & myPath) into field 1 --applies automatic LC text >>> conversions >>> >> >> I assume the second want's "file':" rather than "binfile:" ? >> >> >> >> -- >> Dr. Richard E. Hawkins, Esq. >> (702) 508-8462 >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From devin_asay at byu.edu Thu Dec 5 12:09:27 2013 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 5 Dec 2013 17:09:27 +0000 Subject: When is 10 really 13? In-Reply-To: References: <807913EC-03D4-4934-9939-3B73D8008232@mac.com> Message-ID: On Dec 5, 2013, at 9:55 AM, Mike Kerner wrote: > I've noticed that a lot of y'all are using url prefixes when dealing with > files. I must be stuck in the 80's, because I always just use open > file...of type... > > So did I miss something somewhere along the way? Mike, There are two different models for interacting with the local file system, the file model and the url model. I summarized the two models for my students here: http://livecode.byu.edu/extfiles/ExternalFiles.php HTH Devin Devin Asay Learn to code with LiveCode University http://university.livecode.com From livfoss at mac.com Thu Dec 5 12:18:13 2013 From: livfoss at mac.com (Graham Samuel) Date: Thu, 05 Dec 2013 18:18:13 +0100 Subject: Where are LC's iOS Guidelines? In-Reply-To: <96502561-B913-4CE3-AA41-78BE77208584@mac.com> References: <96502561-B913-4CE3-AA41-78BE77208584@mac.com> Message-ID: As nobody responded so far, I asked RunRev support and got a pretty comprehensive reply. Maybe it doesn't need repeating here, but just in case there are people as forgetful and out of the loop as I am, here's what Heather told me (clearly none of it is confidential!): > The individual iOS/Android release notes pdfs were dropped with version 6.1.0. > These were only ever meant to be a stopgap measure, while the mobile platform was > evolving. This documentation is now merged with the main documentation available > here: > > http://livecode.com/developers/ > > Check the sections for iOS and Android. > > Specific mobile terms are now available in the dictionary. > > You will find specific information about icon sizes here: > > http://livecode.com/developers/guides/mobile/configuring-an-application/ > > If you want to find the last version of the iOS/Android release notes, they are > here: > > http://downloads.livecode.com/livecode/6_0_2/ On 4 Dec 2013, at 18:46, Graham Samuel wrote: > I put my toe into iOS waters months and months ago, and actually got a couple of apps running as prototypes: an iPhone app and an iPad one. I am effectively starting again and I find I've now forgotten most of what I learned, plus the topic has moved on with Retina displays, iPhone 5 etc. Can someone point me to some concise LC documentation that explains (for a start) what exactly is the spec of the Icons and Splash Screens that are referred to in the current (6.1.3) version of the LC Standalone settings? That way I could get an experimental app to show its face, at least. > > I can find a few tutorials, but I can't find a definite and precise list of dimensions etc. At least I can't find any of this by using the LC IDE toolbar, and I can't see the iOS release notes I used to rely on. Sorry if this is obvious to everyone else. > > TIA for any guidance. > > Graham > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Thu Dec 5 12:48:45 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 05 Dec 2013 09:48:45 -0800 Subject: When is 10 really 13? In-Reply-To: References: Message-ID: <52A0BC7D.6030309@fourthworld.com> Mike Kerner wrote: > So, aside from this situtation, when else will be in the LC > universe? Like I said, I know LC likes , but if it's substituting one > for another, that's a problem. I started to write another TL/DR post, but since issues with line endings come up frequently I opted instead to turn it into an article for LiveCode Journal: It's a busy day here so I kinda just threw it together. If you spot any typos or inaccuracies please report them to ambassador AT fourthworld.com Thanks. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From eriks at sisyph.us Thu Dec 5 13:38:05 2013 From: eriks at sisyph.us (Erik Schwartz) Date: Thu, 5 Dec 2013 10:38:05 -0800 Subject: Searching within variables in LC server Message-ID: What is the equivalent to "find" for variables? I want to parse a string in a variable to extract a chunk between two markers. This is easy in PHP. If it was in a stack I could just dump it into a field and use "find" and "foundchunk" but fields are not supported in server. I assume there's some obvious way to do this. Thanks, Erik -- ============================================= eriks at sisyph.us http://sisyph.us (530) 213-ERIK http://twitter.com/eriks (530) 213-3745 http://www.linkedin.com/in/erikschwartz Archery stuff: http://barebow.tumblr.com/ ============================================= From klaus at major-k.de Thu Dec 5 13:41:05 2013 From: klaus at major-k.de (Klaus major-k) Date: Thu, 5 Dec 2013 19:41:05 +0100 Subject: Searching within variables in LC server In-Reply-To: References: Message-ID: <3A8025BD-1249-4FB2-B405-37918304301F@major-k.de> Hi Erik, Am 05.12.2013 um 19:38 schrieb Erik Schwartz : > What is the equivalent to "find" for variables? I want to parse a string in > a variable to extract a chunk between two markers. This is easy in PHP. > > If it was in a stack I could just dump it into a field and use "find" and > "foundchunk" but fields are not supported in server. > > I assume there's some obvious way to do this. maybe "offset" will help? > Thanks, > > Erik Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From eriks at sisyph.us Thu Dec 5 13:44:48 2013 From: eriks at sisyph.us (Erik Schwartz) Date: Thu, 5 Dec 2013 10:44:48 -0800 Subject: Searching within variables in LC server In-Reply-To: <3A8025BD-1249-4FB2-B405-37918304301F@major-k.de> References: <3A8025BD-1249-4FB2-B405-37918304301F@major-k.de> Message-ID: Thanks. I knew it was easy. On Thu, Dec 5, 2013 at 10:41 AM, Klaus major-k wrote: > Hi Erik, > > Am 05.12.2013 um 19:38 schrieb Erik Schwartz : > > > What is the equivalent to "find" for variables? I want to parse a string > in > > a variable to extract a chunk between two markers. This is easy in PHP. > > > > If it was in a stack I could just dump it into a field and use "find" and > > "foundchunk" but fields are not supported in server. > > > > I assume there's some obvious way to do this. > > maybe "offset" will help? > > > Thanks, > > > > Erik > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- ============================================= eriks at sisyph.us http://sisyph.us (530) 213-ERIK http://twitter.com/eriks (530) 213-3745 http://www.linkedin.com/in/erikschwartz Archery stuff: http://barebow.tumblr.com/ ============================================= From richmondmathewson at gmail.com Thu Dec 5 13:51:22 2013 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 05 Dec 2013 20:51:22 +0200 Subject: [OT] Blow your mind Message-ID: <52A0CB2A.6080801@gmail.com> This is: 1. Worth a look. 2. Guaranteed to dumb people down even further. http://www.lernstift.com/tech_en.html Richmond. From gcanyon at gmail.com Thu Dec 5 14:13:33 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Thu, 5 Dec 2013 13:13:33 -0600 Subject: [OT] Blow your mind In-Reply-To: <52A0CB2A.6080801@gmail.com> References: <52A0CB2A.6080801@gmail.com> Message-ID: Interesting -- reminds me of the experiments where they put a belt/anklet around someone with pager motors and make the one to the north vibrate so you subconsciously constantly know what direction is north. On Thu, Dec 5, 2013 at 12:51 PM, Richmond wrote: > This is: > > 1. Worth a look. > > 2. Guaranteed to dumb people down even further. > > http://www.lernstift.com/tech_en.html > > Richmond. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From vclement at gmail.com Thu Dec 5 14:46:29 2013 From: vclement at gmail.com (Vaughn Clement) Date: Thu, 5 Dec 2013 12:46:29 -0700 Subject: Basic Table Field in a Group Message-ID: Hi All I tried to use a basic table field in IOS today and it would not allow me to edit the fields in the simulator? Is there some reason the table field does not work in IOS? The developer guide makes no restrictions for IOS? Thank you Vaughn Clement Apps by Vaughn Clement (Support) *http://www.appsbyvaughnclement.com/tools/home-page/ * Skype: vaughn.clement https://secure.join.me/appsbyvclement FaceTime: vclement at gmail.com LogMeIn also avaialble Call on "ooVoo" at address: vaughnclement or 9282549062 Ph. 928-254-9062 Cloud Hosting Registration Web Site: https://my.oditech.com/cart.php?a=add&pid=41 From richmondmathewson at gmail.com Thu Dec 5 14:48:38 2013 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 05 Dec 2013 21:48:38 +0200 Subject: The revWeb plugin again . . . Message-ID: <52A0D896.2070104@gmail.com> I think that Toolbook is, on the whole, an inferior product to Livecode, especially as it is Windows-bound (i.e. not cross-platform); however I am interested to see that they are really plugging their "Publish to Web Specialist" like mad. http://talent.sumtotalsystems.com/TB-Trial-download.html?source=SEARCH_Trial_TB-11.5_0413&pi=ToolBook Admittedly, as far as I can see, all this really does is convert Toolbook stack (err . . sorry, 'book') to html . . . . . . But, still. Richmond. From ambassador at fourthworld.com Thu Dec 5 15:09:23 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 05 Dec 2013 12:09:23 -0800 Subject: The revWeb plugin again . . . In-Reply-To: <52A0D896.2070104@gmail.com> References: <52A0D896.2070104@gmail.com> Message-ID: <52A0DD73.8080909@fourthworld.com> Richmond wrote: > I think that Toolbook is, on the whole, an inferior product to Livecode, > especially as it > is Windows-bound (i.e. not cross-platform); however I am interested to > see that they > are really plugging their "Publish to Web Specialist" like mad. > > http://talent.sumtotalsystems.com/TB-Trial-download.html?source=SEARCH_Trial_TB-11.5_0413&pi=ToolBook > > Admittedly, as far as I can see, all this really does is convert > Toolbook stack (err . . sorry, 'book') > to html . . . -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From bvlahos at mac.com Thu Dec 5 16:54:22 2013 From: bvlahos at mac.com (Bill Vlahos) Date: Thu, 05 Dec 2013 13:54:22 -0800 Subject: Experience with mobile apps with ads Message-ID: <9372C7F5-4B84-4503-B58E-9A2C8D74A10F@mac.com> I?m working on a new game and want to hear feedback on what sales strategies work. What is the experience by LiveCode users releasing free apps with advertising on iOS an Android? What ad systems do you use? Do Android users buy apps? If so, how do they compare to iOS users? Is there success in providing a version for free with ads and for pay without ads? Thanks, Bill Vlahos From endernafi at gmail.com Thu Dec 5 17:12:33 2013 From: endernafi at gmail.com (Ender Nafi Elekcioglu) Date: Fri, 6 Dec 2013 00:12:33 +0200 Subject: Experience with mobile apps with ads In-Reply-To: <9372C7F5-4B84-4503-B58E-9A2C8D74A10F@mac.com> References: <9372C7F5-4B84-4503-B58E-9A2C8D74A10F@mac.com> Message-ID: A friend of mine is the co-founder of a game company which has focused on mobile games for 3 years. According to her experience, Android users tend to *not* pay for the apps compared to iOS users. Apple has developed a certain trust to itself among the users, apparently. She also advises the *freemium* model unless the brand is very strong. Examples:? Badland, Limbo, etc. can be paid apps {unique game play, credibility via word of mouth}; Cut the Rope, Fruit Ninja can be paid apps {well-known publisher, strong brand, advertisement}. Ninjump, Vector or a Scrabble-like game should be freemium *without* ads for iOS and *with* ads for Android. Because there are many assets in these kind of games to sell via in app purchases; bombs, shields, weapon pack, remaining letters, word solutions, etc. A -maybe too- simple formula can be as following: Build an addictive game for iOS, publish it free, increase the user count, make money from in app purchases, after reaching a certain user number publish it for Android and make money from ads and -hopefully- in app purchases. My 2 cents :) Best, ~ Ender Nafi On December 5, 2013 at 23:55:01, Bill Vlahos (bvlahos at mac.com) wrote: I?m working on a new game and want to hear feedback on what sales strategies work. What is the experience by LiveCode users releasing free apps with advertising on iOS an Android? What ad systems do you use? Do Android users buy apps? If so, how do they compare to iOS users? Is there success in providing a version for free with ads and for pay without ads? Thanks, Bill Vlahos _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From Nakia.Brewer at westrac.com.au Thu Dec 5 18:49:17 2013 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Thu, 5 Dec 2013 23:49:17 +0000 Subject: iOS Status Bar Color External Message-ID: <67116DB20798A94285EEE12A67079A28326460CD@MHSEXC02.westrac.com.au> Seen this questions asked the other day but didn't see the answer. Has anyone put anything together yet to control the iOS Status Bar Colors? COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. From monte at sweattechnologies.com Thu Dec 5 19:14:18 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 6 Dec 2013 11:14:18 +1100 Subject: iOS Status Bar Color External In-Reply-To: <67116DB20798A94285EEE12A67079A28326460CD@MHSEXC02.westrac.com.au> References: <67116DB20798A94285EEE12A67079A28326460CD@MHSEXC02.westrac.com.au> Message-ID: On 06/12/2013, at 10:49 AM, Nakia Brewer wrote: > Seen this questions asked the other day but didn't see the answer. > Has anyone put anything together yet to control the iOS Status Bar Colors? Hmm... you should open a bug report on iphoneSetStatusBarStyle on two things: - the docs should note that translucent and opaque are deprecated in iOS 7 - a new option "lightContent" should be added - add it as an option for the plist Should take someone only a few minutes to fix. For the time being you could try editing the plist manually to set UIStatusBarStyle to UIStatusBarStyleLightContent It's a very easy external too... [[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent]; Cheers -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From Nakia.Brewer at westrac.com.au Thu Dec 5 19:25:15 2013 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Fri, 6 Dec 2013 00:25:15 +0000 Subject: iOS Status Bar Color External In-Reply-To: References: <67116DB20798A94285EEE12A67079A28326460CD@MHSEXC02.westrac.com.au> Message-ID: <67116DB20798A94285EEE12A67079A2832646197@MHSEXC02.westrac.com.au> Yeah I will lodge one. Do we think it should have more configurability then just at the plist level? For example, I can see the status bar needing to change between different cards of an App... -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Monte Goulding Sent: Friday, 06 December 2013 11:14 To: How to use LiveCode Subject: Re: iOS Status Bar Color External On 06/12/2013, at 10:49 AM, Nakia Brewer wrote: > Seen this questions asked the other day but didn't see the answer. > Has anyone put anything together yet to control the iOS Status Bar Colors? Hmm... you should open a bug report on iphoneSetStatusBarStyle on two things: - the docs should note that translucent and opaque are deprecated in iOS 7 - a new option "lightContent" should be added - add it as an option for the plist Should take someone only a few minutes to fix. For the time being you could try editing the plist manually to set UIStatusBarStyle to UIStatusBarStyleLightContent It's a very easy external too... [[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent]; Cheers -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. From monte at sweattechnologies.com Thu Dec 5 19:39:31 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 6 Dec 2013 11:39:31 +1100 Subject: iOS Status Bar Color External In-Reply-To: <67116DB20798A94285EEE12A67079A2832646197@MHSEXC02.westrac.com.au> References: <67116DB20798A94285EEE12A67079A28326460CD@MHSEXC02.westrac.com.au> <67116DB20798A94285EEE12A67079A2832646197@MHSEXC02.westrac.com.au> Message-ID: <6445DA26-525A-477D-A720-9E679F173B36@sweattechnologies.com> On 06/12/2013, at 11:25 AM, Nakia Brewer wrote: > Yeah I will lodge one. > > Do we think it should have more configurability then just at the plist level? > For example, > I can see the status bar needing to change between different cards of an App... yes, that's why I said the bug report should include iphoneSetStatusBarStyle Cheers -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From slylabs13 at me.com Thu Dec 5 21:59:31 2013 From: slylabs13 at me.com (Robert Sneidar) Date: Thu, 05 Dec 2013 18:59:31 -0800 Subject: Detect when a field changes In-Reply-To: References: <1384642056133-4672429.post@n4.nabble.com> Message-ID: <798B5D34-2ADE-41A1-AFEC-F7E3B1D4C2D9@me.com> Simulated users are a side effect of Jacque?s Time Travel stack. When a user travel?s back in time to tell himself what crappy code he is presently writing and how to improve it, that creates a temporal paradox, altering and sometimes destroying the future version of the programmer, leaving only a ?theoretical? or sometimes called a ?simulated? user. Never NEVER travel BACK in time to criticize yourself. Bob On Nov 16, 2013, at 4:04 PM, Peter Haworth wrote: > "Is dispatched by the field whenever a user (or simulated user) action > causes the content of the field to change." > > What is a "simulated user" I wonder.... From slylabs13 at me.com Thu Dec 5 22:04:52 2013 From: slylabs13 at me.com (Robert Sneidar) Date: Thu, 05 Dec 2013 19:04:52 -0800 Subject: What does "stack was produced by a newer version" mean? In-Reply-To: <9DB80CB2-29B9-4666-A1D9-DB6E079F0F4F@mac.com> References: <50C60896-B125-4E99-95F5-36E9AFFAC3E0@mac.com> <9DB80CB2-29B9-4666-A1D9-DB6E079F0F4F@mac.com> Message-ID: <2C3549BA-42EA-4AAA-A235-3D12C9A7164D@me.com> I ran into that myself. What I ended up doing is opening the file I wanted to copy as read binary, I read until eof, then I opened the destination as write binary and wrote the contents of what I just read. This works famously for any file. downside would be large files, so you may want to run a repeat loop and read for x instead of until eof. Bob On Nov 18, 2013, at 9:45 AM, Graham Samuel wrote: > Answering my own question (to some extent), I now see that I did create the issue myself, by somehow messing up the "copy files" list in my standalone settings, so that the reference to the original template stack didn't work. In fact I tried to copy a non-existent file, and then rename it. Interestingly this did in fact produce a file - a useless one, but still a file. From slylabs13 at me.com Thu Dec 5 22:13:04 2013 From: slylabs13 at me.com (Robert Sneidar) Date: Thu, 05 Dec 2013 19:13:04 -0800 Subject: When is 10 really 13? In-Reply-To: <807913EC-03D4-4934-9939-3B73D8008232@mac.com> References: <807913EC-03D4-4934-9939-3B73D8008232@mac.com> Message-ID: <1C2941C2-691B-457C-B76D-6CD7E389F957@me.com> erm? am I blind or are those both the same? bob On Dec 5, 2013, at 6:12 AM, Bj?rnke von Gierke wrote: > Instead of opening the file as text, open it as binary. Make sure to watch out for mactoiso() and isotomac() too. > > put url ("binfile:" & myPath) into field 1 --load text unchanged > vs. > put url ("binfile:" & myPath) into field 1 --applies automatic LC text conversions From slylabs13 at me.com Thu Dec 5 22:18:53 2013 From: slylabs13 at me.com (Robert Sneidar) Date: Thu, 05 Dec 2013 19:18:53 -0800 Subject: When is 10 really 13? In-Reply-To: References: <807913EC-03D4-4934-9939-3B73D8008232@mac.com> Message-ID: <31105CBA-84B5-4524-8ECA-246FC433BA73@me.com> That?s a great little article Devin. Bob On Dec 5, 2013, at 9:09 AM, Devin Asay wrote: > Mike, > > There are two different models for interacting with the local file system, the file model and the url model. I summarized the two models for my students here: > > http://livecode.byu.edu/extfiles/ExternalFiles.php From slylabs13 at me.com Thu Dec 5 22:23:47 2013 From: slylabs13 at me.com (Robert Sneidar) Date: Thu, 05 Dec 2013 19:23:47 -0800 Subject: Strict Compilation Mode In-Reply-To: References: <1041152627429.20131201191905@ahsoftware.net> <591158988542.20131201210507@ahsoftware.net> Message-ID: <17BD4AFB-7AED-4C65-B17B-33ED4AADD74B@me.com> This has been hashed out before, but I think that if you are not using strict compilation mode from the git go, it would probably be better if you didn?t switch. Unless you are writing a fairly complex application, there really is not any reason (that I can see) for using strict compilation mode. It?s not that difficult to keep track of your variables if you develop a standard naming convention. Bob On Dec 5, 2013, at 8:40 AM, Dr. Hawkins wrote: > On Mon, Dec 2, 2013 at 2:40 PM, Ender Nafi Elekcioglu > wrote: > >> I?ve changed a couple of lines deliberately and it compiled again. >> > > That can help. > > Breaking apart the line that declares the variable can help. > > In 5.5, quiting & restarting livecode usually helps. In any version of 6 > I've tried, it's just nightmare; this is why I'm still using 5. > > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From slylabs13 at me.com Thu Dec 5 22:31:38 2013 From: slylabs13 at me.com (Robert Sneidar) Date: Thu, 05 Dec 2013 19:31:38 -0800 Subject: Sorting Deep Nested Arrays In-Reply-To: References: <529E912C.6080206@hindu.org> Message-ID: <891B3709-5B09-4CC4-849C-325E366ADD60@me.com> Last I heard combining and splitting only work with simple 2 dimensional arrays. Bob On Dec 3, 2013, at 8:33 PM, Ender Nafi Elekcioglu wrote: > Until gurus? replies, let me put my two cents? > Often, the simplest methods are the most reliable ones. > How about combining the array into a temporary variable, > then sort it by the *item* (formerly *key*) you want, > then construct the tBuf? > > > ~ Ender Nafi > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From endernafi at gmail.com Thu Dec 5 22:40:08 2013 From: endernafi at gmail.com (Ender Nafi Elekcioglu) Date: Fri, 6 Dec 2013 05:40:08 +0200 Subject: Strict Compilation Mode In-Reply-To: <17BD4AFB-7AED-4C65-B17B-33ED4AADD74B@me.com> References: <1041152627429.20131201191905@ahsoftware.net> <591158988542.20131201210507@ahsoftware.net> <17BD4AFB-7AED-4C65-B17B-33ED4AADD74B@me.com> Message-ID: I have many strict rules about naming conventions and style of code, organizations of cards, usage of groups, etc. But my co-workers don?t care those scripting rules much and their lack of attention -especially typos- make debugging process a headache. Besides, I wanted our projects to be future-proof. One after another their scopes get wider, line count of codes increase constantly. So far, I?m pretty happy with Strict Compilation Mode on. Best, ~ Ender Nafi On December 6, 2013 at 5:24:01, Robert Sneidar (slylabs13 at me.com) wrote: This has been hashed out before, but I think that if you are not using strict compilation mode from the git go, it would probably be better if you didn?t switch. Unless you are writing a fairly complex application, there really is not any reason (that I can see) for using strict compilation mode. It?s not that difficult to keep track of your variables if you develop a standard naming convention. Bob On Dec 5, 2013, at 8:40 AM, Dr. Hawkins wrote: > On Mon, Dec 2, 2013 at 2:40 PM, Ender Nafi Elekcioglu > wrote: > >> I?ve changed a couple of lines deliberately and it compiled again. >> > > That can help. > > Breaking apart the line that declares the variable can help. > > In 5.5, quiting & restarting livecode usually helps. In any version of 6 > I've tried, it's just nightmare; this is why I'm still using 5. > > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From slylabs13 at me.com Thu Dec 5 22:41:06 2013 From: slylabs13 at me.com (Robert Sneidar) Date: Thu, 05 Dec 2013 19:41:06 -0800 Subject: Communicating between to standalones with "write to process" - Found word(s) list error in the Text body In-Reply-To: References: Message-ID: <9F543924-10CF-4FC3-9B55-F039B01F47AF@me.com> Multi-stage commits? Wow! I never knew there was such a thing! I?d like to talk about that! I?m going to google that one. Bob On Dec 3, 2013, at 9:47 AM, Mike Kerner wrote: > The reason for using the server is that it takes most of the work out for > you, and you just worry about talking to it. Transactions, triggers, > semaphores, record locking, etc. can all be handled that way. Now once you > get into multi-stage commits, you and I have to talk because that's a topic > that is generally beyond the scope here. From jacque at hyperactivesw.com Thu Dec 5 22:54:20 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 05 Dec 2013 21:54:20 -0600 Subject: Detect when a field changes In-Reply-To: <798B5D34-2ADE-41A1-AFEC-F7E3B1D4C2D9@me.com> References: <1384642056133-4672429.post@n4.nabble.com> <798B5D34-2ADE-41A1-AFEC-F7E3B1D4C2D9@me.com> Message-ID: <52A14A6C.9000105@hyperactivesw.com> On 12/5/13 8:59 PM, Robert Sneidar wrote: > Simulated users are a side effect of Jacque?s Time Travel stack. When a user travel?s back in time to tell himself what crappy code he is presently writing and how to improve it, that creates a temporal paradox, altering and sometimes destroying the future version of the programmer, leaving only a ?theoretical? or sometimes called a ?simulated? user. > > Never NEVER travel BACK in time to criticize yourself. You speak from experience? I noticed you were gone from the list for a while. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From rene.micout at numericable.com Fri Dec 6 03:00:49 2013 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Fri, 6 Dec 2013 09:00:49 +0100 Subject: Strict Compilation Mode In-Reply-To: References: <1041152627429.20131201191905@ahsoftware.net> <591158988542.20131201210507@ahsoftware.net> <17BD4AFB-7AED-4C65-B17B-33ED4AADD74B@me.com> Message-ID: Hello, It is good also for me ! Merci Thierry ! Ren? Le 6 d?c. 2013 ? 04:40, Ender Nafi Elekcioglu a ?crit : > So far, I?m pretty happy with Strict Compilation Mode on. From th.douez at gmail.com Fri Dec 6 03:32:33 2013 From: th.douez at gmail.com (Thierry Douez) Date: Fri, 6 Dec 2013 09:32:33 +0100 Subject: Strict Compilation Mode In-Reply-To: References: <1041152627429.20131201191905@ahsoftware.net> <591158988542.20131201210507@ahsoftware.net> <17BD4AFB-7AED-4C65-B17B-33ED4AADD74B@me.com> Message-ID: 2013/12/6 Ren? Micout > Hello, > It is good also for me ! > Merci Thierry ! > Ren? > ?Hey, was a long time ago... :) Regards, Thierry ? > > Le 6 d?c. 2013 ? 04:40, Ender Nafi Elekcioglu a > ?crit : > > > So far, I?m pretty happy with Strict Compilation Mode on. > ------------------------------------------------ Thierry Douez - http://sunny-tdz.com Maker of sunnYperl - sunnYmidi - sunnYmage From palcibiades-first at yahoo.co.uk Fri Dec 6 04:37:57 2013 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Fri, 6 Dec 2013 01:37:57 -0800 (PST) Subject: The revWeb plugin again . . . In-Reply-To: <52A0D896.2070104@gmail.com> References: <52A0D896.2070104@gmail.com> Message-ID: <1386322677080-4673322.post@n4.nabble.com> http://www.plattecanyon.com/toolbook.aspx Seems to cost $2,800...! -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/The-revWeb-plugin-again-tp4673303p4673322.html Sent from the Revolution - User mailing list archive at Nabble.com. From matthias_livecode_150811 at m-r-d.de Fri Dec 6 04:51:33 2013 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Fri, 6 Dec 2013 10:51:33 +0100 Subject: The revWeb plugin again . . . In-Reply-To: <1386322677080-4673322.post@n4.nabble.com> References: <52A0D896.2070104@gmail.com> <1386322677080-4673322.post@n4.nabble.com> Message-ID: <6756246C-B9E0-4C8D-A9E9-9E59542BF763@m-r-d.de> Am 06.12.2013 um 10:37 schrieb Peter Alcibiades : > http://www.plattecanyon.com/toolbook.aspx > > Seems to cost $2,800...! plus $1095 for a support agreement ! ! ! According to their product description in the store, you cannot purchase Toolbook without that agreement. "All ToolBook purchases must be accompanied by a Support agreement." Regards, Matthias > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/The-revWeb-plugin-again-tp4673303p4673322.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode Matthias Rebbe Tel: +49 5741 310000 +49 160 5504462 eMail: matthias underscore livecode underscore 150811 at m dash r dash d dot de From ABMCLAWH at mailbox.sc.edu Fri Dec 6 08:30:53 2013 From: ABMCLAWH at mailbox.sc.edu (MCLAWHORN, TONY) Date: Fri, 6 Dec 2013 13:30:53 +0000 Subject: Livecode and socket communication Message-ID: <52F4CD4098B27344A9CC4FA0329B88B233A9C0B5@CAE145EMBP03.ds.sc.edu> Anybody in-the-know care to respond to where socket communication for Mobile Devices is in the development cycle? Are there any good external alternatives for using Livecode and socket communication for Mobile Devices?... MergeSocket? I just have the urgent need to implement socket communication on iOS and Android for a project that is being designed. Thanks for any input. --- |> |? Tony McLawhorn |? Computer Support Manager |? Department of History |? University of South Carolina |? Columbia, SC 29208 |? TonyMac at sc.edu |? (803) 777-9125 From klaus at major-k.de Fri Dec 6 08:56:26 2013 From: klaus at major-k.de (Klaus major-k) Date: Fri, 6 Dec 2013 14:56:26 +0100 Subject: Where are LC's iOS Guidelines? In-Reply-To: References: <96502561-B913-4CE3-AA41-78BE77208584@mac.com> Message-ID: <6E829534-7999-4633-9DC4-72CFCE204EB8@major-k.de> Hi all, Am 05.12.2013 um 18:18 schrieb Graham Samuel : > As nobody responded so far, I asked RunRev support and got a pretty comprehensive reply. Maybe it doesn't need repeating here, but just in case there are people as forgetful and out of the loop as I am, here's what Heather told me (clearly none of it is confidential!): > >> The individual iOS/Android release notes pdfs were dropped with version 6.1.0. >> These were only ever meant to be a stopgap measure, while the mobile platform was >> evolving. This documentation is now merged with the main documentation available >> here: >> >> http://livecode.com/developers/ when I enter "datagrid" in the search field of that page, I will get to the new page "Live in China"!? The big success of Livecode in China is a good thing, but not really what I exspected as a result for my search 8-) In other words, even for an experienced LC user like me it is really hard to find something specific in the online docs! >> Check the sections for iOS and Android. >> Specific mobile terms are now available in the dictionary. >> You will find specific information about icon sizes here: >> http://livecode.com/developers/guides/mobile/configuring-an-application/ >> If you want to find the last version of the iOS/Android release notes, they are >> here: >> http://downloads.livecode.com/livecode/6_0_2/. >> I can find a few tutorials, but I can't find a definite and precise list of dimensions etc. At least I can't find any of this by using the LC IDE toolbar, and I can't see the iOS release notes I used to rely on. Sorry if this is obvious to everyone else. >> >> TIA for any guidance. >> >> Graham Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From bill at bluewatermaritime.com Fri Dec 6 09:00:25 2013 From: bill at bluewatermaritime.com (william humphrey) Date: Fri, 6 Dec 2013 10:00:25 -0400 Subject: revonline Message-ID: Well now your need a password to view files on rev online from within live code. It is not the same as the password to your live code account. It has a reset button which does not work... From richmondmathewson at gmail.com Fri Dec 6 09:11:40 2013 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 06 Dec 2013 16:11:40 +0200 Subject: The revWeb plugin again . . . In-Reply-To: <6756246C-B9E0-4C8D-A9E9-9E59542BF763@m-r-d.de> References: <52A0D896.2070104@gmail.com> <1386322677080-4673322.post@n4.nabble.com> <6756246C-B9E0-4C8D-A9E9-9E59542BF763@m-r-d.de> Message-ID: <52A1DB1C.6000301@gmail.com> On 06/12/13 11:51, Matthias Rebbe wrote: > Am 06.12.2013 um 10:37 schrieb Peter Alcibiades : > >> http://www.plattecanyon.com/toolbook.aspx >> >> Seems to cost $2,800...! > plus $1095 for a support agreement ! ! ! > > According to their product description in the store, you cannot purchase Toolbook without that agreement. > > "All ToolBook purchases must be accompanied by a Support agreement." Compared with Livecode it is a rip-off; you get something that will develop for Windows and Blackberry that is clunkier codewise up against something that develops for Windows, Linux, Macintosh, iOS and Android for a lower sum of money. That was NOT the point of my posting. Richmond. > > Regards, > > Matthias > > From richmondmathewson at gmail.com Fri Dec 6 09:13:33 2013 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 06 Dec 2013 16:13:33 +0200 Subject: The revWeb plugin again . . . In-Reply-To: <1386322677080-4673322.post@n4.nabble.com> References: <52A0D896.2070104@gmail.com> <1386322677080-4673322.post@n4.nabble.com> Message-ID: <52A1DB8D.8030906@gmail.com> On 06/12/13 11:37, Peter Alcibiades wrote: > http://www.plattecanyon.com/toolbook.aspx > > Seems to cost $2,800...! > > > Mind you the picture of the matching 'thingy' with curvy lines is quite attractive. I guess I'll order 2 copies. Richmond. From roger.e.eller at sealedair.com Fri Dec 6 09:49:41 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Fri, 6 Dec 2013 09:49:41 -0500 Subject: Livecode and socket communication In-Reply-To: <52F4CD4098B27344A9CC4FA0329B88B233A9C0B5@CAE145EMBP03.ds.sc.edu> References: <52F4CD4098B27344A9CC4FA0329B88B233A9C0B5@CAE145EMBP03.ds.sc.edu> Message-ID: Hello fellow South Carolinian, and welcome to LiveCode! I'm only 2 hours up the road from you (Greenville). Anyways... I've heard rumblings about sockets coming to Android in 6.6, but for now on iOS there's Monte's external, as you've noted. ~Roger Roger EllerGraphics Systems Analyst 803 North Maple StreetP: 864.967.1625Simpsonville, SC 29681C: 864.908.0337 SealedAir.com Roger.E.Eller at SealedAir.com On Fri, Dec 6, 2013 at 8:30 AM, MCLAWHORN, TONY wrote: > Anybody in-the-know care to respond to where socket communication for > Mobile Devices is in the development cycle? > > Are there any good external alternatives for using Livecode and socket > communication for Mobile Devices?... MergeSocket? > > I just have the urgent need to implement socket communication on iOS and > Android for a project that is being designed. > > Thanks for any input. > --- > |> > | Tony McLawhorn > | Computer Support Manager > | Department of History > | University of South Carolina > | Columbia, SC 29208 > | TonyMac at sc.edu > | (803) 777-9125 > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From eric at canelasoftware.com Fri Dec 6 10:41:01 2013 From: eric at canelasoftware.com (Eric Corbett) Date: Fri, 6 Dec 2013 07:41:01 -0800 Subject: Livecode and socket communication In-Reply-To: References: <52F4CD4098B27344A9CC4FA0329B88B233A9C0B5@CAE145EMBP03.ds.sc.edu> Message-ID: <65B5422E-8B4C-4781-812A-4B212EF8D4D9@canelasoftware.com> MergeSocket works great! > On Dec 6, 2013, at 6:49, Roger Eller wrote: > > Hello fellow South Carolinian, and welcome to LiveCode! I'm only 2 hours > up the road from you (Greenville). Anyways... > I've heard rumblings about sockets coming to Android in 6.6, but for now on > iOS there's Monte's external, as you've noted. > > ~Roger > > > Roger EllerGraphics Systems Analyst > > 803 North Maple StreetP: 864.967.1625Simpsonville, SC 29681C: 864.908.0337 > SealedAir.com Roger.E.Eller at SealedAir.com > > > > > On Fri, Dec 6, 2013 at 8:30 AM, MCLAWHORN, TONY wrote: > >> Anybody in-the-know care to respond to where socket communication for >> Mobile Devices is in the development cycle? >> >> Are there any good external alternatives for using Livecode and socket >> communication for Mobile Devices?... MergeSocket? >> >> I just have the urgent need to implement socket communication on iOS and >> Android for a project that is being designed. >> >> Thanks for any input. >> --- >> |> >> | Tony McLawhorn >> | Computer Support Manager >> | Department of History >> | University of South Carolina >> | Columbia, SC 29208 >> | TonyMac at sc.edu >> | (803) 777-9125 >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Fri Dec 6 11:08:48 2013 From: pete at lcsql.com (Peter Haworth) Date: Fri, 6 Dec 2013 08:08:48 -0800 Subject: Strict Compilation Mode In-Reply-To: References: <1041152627429.20131201191905@ahsoftware.net> <591158988542.20131201210507@ahsoftware.net> <17BD4AFB-7AED-4C65-B17B-33ED4AADD74B@me.com> Message-ID: I switched to strict compilation mode after doing without it for months. The conversion process revealed several typo errors which would have eventually revealed themselves as bugs. For me the benefits far outweigh the minor inconveniences and I would never switch back. There was a recent post from someone saying his company would not use any LC tools that would not compile with strict compilation mode on. I wrote myself a stack which will analyze a script and create any missing local statements while attempting to identify typos in variable names. It made it a lot less time consuming to convert to strict compilation mode. If anyone would like a copy, email me off list. Pete lcSQL Software On Dec 5, 2013 7:40 PM, "Ender Nafi Elekcioglu" wrote: > I have many strict rules about naming conventions and style of code, > organizations of cards, usage of groups, etc. > But my co-workers don?t care those scripting rules much > and their lack of attention -especially typos- make debugging process a > headache. > > Besides, I wanted our projects to be future-proof. > One after another their scopes get wider, line count of codes increase > constantly. > > So far, I?m pretty happy with Strict Compilation Mode on. > > > > Best, > > ~ Ender Nafi > > > > On December 6, 2013 at 5:24:01, Robert Sneidar (slylabs13 at me.com) wrote: > > This has been hashed out before, but I think that if you are not using > strict compilation mode from the git go, it would probably be better if you > didn?t switch. Unless you are writing a fairly complex application, there > really is not any reason (that I can see) for using strict compilation > mode. It?s not that difficult to keep track of your variables if you > develop a standard naming convention. > > Bob > > > On Dec 5, 2013, at 8:40 AM, Dr. Hawkins wrote: > > > On Mon, Dec 2, 2013 at 2:40 PM, Ender Nafi Elekcioglu > > wrote: > > > >> I?ve changed a couple of lines deliberately and it compiled again. > >> > > > > That can help. > > > > Breaking apart the line that declares the variable can help. > > > > In 5.5, quiting & restarting livecode usually helps. In any version of 6 > > I've tried, it's just nightmare; this is why I'm still using 5. > > > > > > -- > > Dr. Richard E. Hawkins, Esq. > > (702) 508-8462 > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Fri Dec 6 11:37:15 2013 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 6 Dec 2013 16:37:15 +0000 Subject: What is "revLibrary" stack? In-Reply-To: <1386199054846-4673265.post@n4.nabble.com> References: <1386199054846-4673265.post@n4.nabble.com> Message-ID: <5FCC3F1D-F502-4824-9D33-DC63808B040B@iotecdigital.com> You don?t want to get rid of it, you want to find out what the bug is that is dumping in the middle of this library being used. If you get rid of the library you will likely break Livecode. Rev Library stacks do not throw errors when something goes awry. Else people would be tempted to trace through the code and ?fix? it (I am assuming that is why). I thought there was a property that gets set with the last error that occurred, but I cannot seem to find it in the dictionary. Bob Sneidar IT Technician Integrated Office Technology bobsneidar at iotecdigital.com 714-401-2407 On Dec 4, 2013, at 15:17 , tbodine > wrote: Hi, Livecoders. The stack "revLibrary" has begun to open itself regularly (and annoyingly) while I work in LC 6.1 (on XP). It's Help menu offers "About" and "Help" commands that don't do anything. What is this stack and how do I get rid of it? Thanks, Tom Bodine -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/What-is-revLibrary-stack-tp4673265.html Sent from the Revolution - User mailing list archive at Nabble.com. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From ben at runrev.com Fri Dec 6 12:33:11 2013 From: ben at runrev.com (Benjamin Beaumont) Date: Fri, 6 Dec 2013 17:33:11 +0000 Subject: RELEASE: LiveCode 6.5.1 RC1 Message-ID: Dear List Members, We are pleased to announce the release of LiveCode 6.5.1-rc-1. *Warning*, there still may be bugs in this pre-release. It is always good practice to back up your stacks before testing. Thank you to all those who reported bugs since the release of LiveCode 6.5.0. It's your work that enables us to fix and refine our releases and we're grateful for your support. *Release Contents* Control the screen pixel scaling. 11 bug fixes: - 11553 - Fill overlaps borders for arcs - 11551 - Stacks with many referenced images can take a long time to save. - 11549 - Text fails to render if a single native encoded character is followed by a unicode character in a field in certain cases. - 11547 - Setting the textColor of a line in a field doesn't work - 11535 - Monospaced fonts do not have consistent character width. - 11528 - Gradient colors incorrect on Android - 11527 - Unicode text on Android clipped - 11513 - If a stack has font attributes set, then ideal text layout is not used in fullscreen mode. - 11507 - Prevent crash in revBrowser on OSX when there is no data source - 11505 - Multiply blend mode does not work correctly for graphic effects - 11447 - 'put the MCSSendString of' crashes *pixelScale Property* We have added a new ?pixelScale? property (global) that allows you to control the density at which your stack is rendered. This property deprecates iphoneUseDeviceResolution. By default, LiveCode will automatically set the density of your stack to the density of the device it is running on. For example: - iPad (1.0) - iPad retina (2.0) In the example above, the height of the stack (in portrait) will report back at 1024 on both devices, even though the iPad retina has 2048 physical pixels. To access all the devices pixels in previous version of LiveCode you set the ?iphoneUseDeviceResolution? property to true. However, with the changes made in 6.5 Android developers needed a similar feature to iOS. So, to turn off automatic scaling on a high-density display you can set the pixelScale to ?1.0?. *Getting this release* To upgrade to this release please select "check for updates" from the help menu in LiveCode or download the installers directly at: http://downloads.livecode.com/livecode/6_5_1/ Warm regards, The LiveCode Team _____________________________________________ Benjamin Beaumont . RunRev Ltd LiveCode Product Manager mail : 25a Thistle Street Lane South West, Edinburgh, EH2 1EW email : ben at runrev.com company : +44(0) 845 219 89 23 fax : +44(0) 845 458 8487 web : www.runrev.com LiveCode - Programming made simple From jacque at hyperactivesw.com Fri Dec 6 13:59:43 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 06 Dec 2013 12:59:43 -0600 Subject: revonline In-Reply-To: References: Message-ID: <52A21E9F.8000106@hyperactivesw.com> On 12/6/13 8:00 AM, william humphrey wrote: > Well now your need a password to view files on rev online from within > live code. It is not the same as the password to your live code > account. It has a reset button which does not work... We've always needed a password to access revOnline, but you probably had it set to remember yours, which is what I do. I had the same issue a while ago though, so write to support and see if they can fix it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From scott at tactilemedia.com Fri Dec 6 17:11:50 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 06 Dec 2013 14:11:50 -0800 Subject: [ANN] Name Generator Message-ID: Pointless Friday exercise: Name Generator Ever since Al wrote about this on the list, I've been meaning to make one. Today I needed a break from a long week, so NameGen was born. http://tactile.on-rev.com/namegen/ So far, one of the more amusing names for me has been "Useless Lumber" -- I think this would make an excellent company name. Have a good weekend discovering a new name for your software. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 11/20/13 12:10 PM, "Alejandro Tejada" wrote: >Where is the Name Generator stack? :D From ambassador at fourthworld.com Fri Dec 6 17:14:34 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 06 Dec 2013 14:14:34 -0800 Subject: [ANN] Name Generator In-Reply-To: References: Message-ID: <52A24C4A.3090501@fourthworld.com> GMTA :) http://mumblo.com -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From monte at sweattechnologies.com Fri Dec 6 17:19:17 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Sat, 7 Dec 2013 09:19:17 +1100 Subject: [ANN] Name Generator In-Reply-To: References: Message-ID: Ossified Snail ;-) On 07/12/2013, at 9:11 AM, Scott Rossi wrote: > Pointless Friday exercise: Name Generator -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From jacque at hyperactivesw.com Fri Dec 6 17:20:09 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 06 Dec 2013 16:20:09 -0600 Subject: [ANN] Name Generator In-Reply-To: References: Message-ID: <52A24D99.8060304@hyperactivesw.com> On 12/6/13 4:11 PM, Scott Rossi wrote: > Pointless Friday exercise: Name Generator > > Ever since Al wrote about this on the list, I've been meaning to make one. > Today I needed a break from a long week, so NameGen was born. > > http://tactile.on-rev.com/namegen/ > > > So far, one of the more amusing names for me has been "Useless Lumber" -- > I think this would make an excellent company name. Spotted Disgust! :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From scott at tactilemedia.com Fri Dec 6 17:24:38 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 06 Dec 2013 14:24:38 -0800 Subject: [ANN] Name Generator Message-ID: Oh yeah? Insidious Potato ! Scott Rossi Creative Director Tactile Media, UX/UI Design -------- Original message -------- Subject: Re: [ANN] Name Generator From: Monte Goulding To: How to use LiveCode CC: Ossified Snail ;-) On 07/12/2013, at 9:11 AM, Scott Rossi wrote: > Pointless Friday exercise: Name Generator -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From monte at sweattechnologies.com Fri Dec 6 17:27:37 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Sat, 7 Dec 2013 09:27:37 +1100 Subject: [ANN] Name Generator In-Reply-To: References: Message-ID: <9421D51C-CC60-4C63-9ADD-3DFB269EB0C8@sweattechnologies.com> On 07/12/2013, at 9:24 AM, Scott Rossi wrote: > Insidious Potato ! My Fearless Yak would make a Dramatic Dinner of your Insidious Potato ;-) -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From roger.e.eller at sealedair.com Fri Dec 6 17:37:22 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Fri, 6 Dec 2013 17:37:22 -0500 Subject: [ANN] Name Generator In-Reply-To: References: Message-ID: Well-groomed Gate! Ha! ~Roger On Fri, Dec 6, 2013 at 5:11 PM, Scott Rossi wrote: > Pointless Friday exercise: Name Generator > > Ever since Al wrote about this on the list, I've been meaning to make one. > Today I needed a break from a long week, so NameGen was born. > > http://tactile.on-rev.com/namegen/ > > > So far, one of the more amusing names for me has been "Useless Lumber" -- > I think this would make an excellent company name. > > Have a good weekend discovering a new name for your software. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 11/20/13 12:10 PM, "Alejandro Tejada" wrote: > > >Where is the Name Generator stack? :D > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From Nakia.Brewer at westrac.com.au Fri Dec 6 17:45:21 2013 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Fri, 6 Dec 2013 22:45:21 +0000 Subject: [ANN] Name Generator In-Reply-To: References: , Message-ID: <1E93D9E5-52EE-412B-A4CB-1B6E8FD5F2AB@westrac.com.au> Sweet girls ! Sent from my iPhone > On 7 Dec 2013, at 9:37 am, "Roger Eller" wrote: > > Well-groomed Gate! > > Ha! > > ~Roger > >> On Fri, Dec 6, 2013 at 5:11 PM, Scott Rossi wrote: >> >> Pointless Friday exercise: Name Generator >> >> Ever since Al wrote about this on the list, I've been meaning to make one. >> Today I needed a break from a long week, so NameGen was born. >> >> http://tactile.on-rev.com/namegen/ >> >> >> So far, one of the more amusing names for me has been "Useless Lumber" -- >> I think this would make an excellent company name. >> >> Have a good weekend discovering a new name for your software. >> >> Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, UX/UI Design >> >> >> >> >>> On 11/20/13 12:10 PM, "Alejandro Tejada" wrote: >>> >>> Where is the Name Generator stack? :D >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. From keith.clarke at clarkeandclarke.co.uk Fri Dec 6 17:45:35 2013 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Fri, 6 Dec 2013 22:45:35 +0000 Subject: [ANN] Name Generator In-Reply-To: References: Message-ID: Is this function really needed if you already have an Overhead Underhung Throggle Switch? Best, Keith.. keith.clarke at improvedapps.com > On 6 Dec 2013, at 22:37, Roger Eller wrote: > > Well-groomed Gate! > > Ha! > > ~Roger > >> On Fri, Dec 6, 2013 at 5:11 PM, Scott Rossi wrote: >> >> Pointless Friday exercise: Name Generator >> >> Ever since Al wrote about this on the list, I've been meaning to make one. >> Today I needed a break from a long week, so NameGen was born. >> >> http://tactile.on-rev.com/namegen/ >> >> >> So far, one of the more amusing names for me has been "Useless Lumber" -- >> I think this would make an excellent company name. >> >> Have a good weekend discovering a new name for your software. >> >> Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, UX/UI Design >> >> >> >> >>> On 11/20/13 12:10 PM, "Alejandro Tejada" wrote: >>> >>> Where is the Name Generator stack? :D >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From scott at tactilemedia.com Fri Dec 6 17:46:14 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 06 Dec 2013 14:46:14 -0800 Subject: [ANN] Name Generator In-Reply-To: <9421D51C-CC60-4C63-9ADD-3DFB269EB0C8@sweattechnologies.com> References: <9421D51C-CC60-4C63-9ADD-3DFB269EB0C8@sweattechnologies.com> Message-ID: My Insidious Potato retaliates by striking Fearless Yak with a Valuable Hammer. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 12/6/13 2:27 PM, "Monte Goulding" wrote: > >On 07/12/2013, at 9:24 AM, Scott Rossi wrote: > >> Insidious Potato ! > >My Fearless Yak would make a Dramatic Dinner of your Insidious Potato ;-) > >-- >Monte Goulding > >M E R Goulding - software development services >mergExt - There's an external for that! > > > > > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode > From monte at sweattechnologies.com Fri Dec 6 17:54:00 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Sat, 7 Dec 2013 09:54:00 +1100 Subject: [ANN] Name Generator In-Reply-To: References: <9421D51C-CC60-4C63-9ADD-3DFB269EB0C8@sweattechnologies.com> Message-ID: <8E7F4B02-0A16-420D-9BE2-766669392E4F@sweattechnologies.com> On 07/12/2013, at 9:46 AM, Scott Rossi wrote: > My Insidious Potato retaliates by striking Fearless Yak with a Valuable > Hammer. Is this from within my Fearless Yak's Abiding Stomach mid Roasted Digestion? -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From jhj at jhj.com Fri Dec 6 17:57:37 2013 From: jhj at jhj.com (Jerry Jensen) Date: Fri, 6 Dec 2013 14:57:37 -0800 Subject: [ANN] Name Generator In-Reply-To: <8E7F4B02-0A16-420D-9BE2-766669392E4F@sweattechnologies.com> References: <9421D51C-CC60-4C63-9ADD-3DFB269EB0C8@sweattechnologies.com> <8E7F4B02-0A16-420D-9BE2-766669392E4F@sweattechnologies.com> Message-ID: <23F3F417-7DFF-4176-9183-7E67FFE8DA6D@jhj.com> On Dec 6, 2013, at 2:54 PM, Monte Goulding wrote: > On 07/12/2013, at 9:46 AM, Scott Rossi wrote: > >> My Insidious Potato retaliates by striking Fearless Yak with a Valuable >> Hammer. > > Is this from within my Fearless Yak's Abiding Stomach mid Roasted Digestion? Not if taken with my Clever Vegetable. From scott at tactilemedia.com Fri Dec 6 18:02:18 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 06 Dec 2013 15:02:18 -0800 Subject: [ANN] Name Generator Message-ID: After summoning demonic rainstorm from within abiding stomach, insidious potato is victorious. Scott Rossi Creative Director Tactile Media, UX/UI Design -------- Original message -------- Subject: Re: [ANN] Name Generator From: Jerry Jensen To: How to use LiveCode CC: On Dec 6, 2013, at 2:54 PM, Monte Goulding wrote: > On 07/12/2013, at 9:46 AM, Scott Rossi wrote: > >> My Insidious Potato retaliates by striking Fearless Yak with a Valuable >> Hammer. > > Is this from within my Fearless Yak's Abiding Stomach mid Roasted Digestion? Not if taken with my Clever Vegetable. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From monte at sweattechnologies.com Fri Dec 6 18:06:08 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Sat, 7 Dec 2013 10:06:08 +1100 Subject: [ANN] Name Generator In-Reply-To: References: Message-ID: Ah... that insidious potato sure is a slippery turkey ;-) On 07/12/2013, at 10:02 AM, Scott Rossi wrote: > After summoning demonic rainstorm from within abiding stomach, insidious potato is victorious. -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From pete at lcsql.com Fri Dec 6 21:44:08 2013 From: pete at lcsql.com (Peter Haworth) Date: Fri, 6 Dec 2013 18:44:08 -0800 Subject: customKeys Message-ID: Just discovered that if you inadvertently set the customPropertySet of an object to "customKeys" instead of empty, the IDE happily accepts it, but you won't be happy with the result! Two custom property sets named "customKeys" will be listed in the Inspector Custom Properties tab dropdown menu and neither one of them will contain any of the custom properties that used to be there. And you can't delete either one of them. Pete lcSQL Software From stephenREVOLUTION2 at barncard.com Fri Dec 6 22:56:47 2013 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Fri, 6 Dec 2013 19:56:47 -0800 Subject: [OT] Blow your mind In-Reply-To: References: <52A0CB2A.6080801@gmail.com> Message-ID: kinda cool but I'll wait for the second gen when they make it smaller like a normal pen. There's no reason for those boards inside to be so large, they just want to use an existing board design. *--* *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* On Thu, Dec 5, 2013 at 11:13 AM, Geoff Canyon wrote: > Interesting -- reminds me of the experiments where they put a belt/anklet > around someone with pager motors and make the one to the north vibrate so > you subconsciously constantly know what direction is north. > > > On Thu, Dec 5, 2013 at 12:51 PM, Richmond >wrote: > > > This is: > > > > 1. Worth a look. > > > > 2. Guaranteed to dumb people down even further. > > > > http://www.lernstift.com/tech_en.html > > > > Richmond. > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From stephenREVOLUTION2 at barncard.com Fri Dec 6 22:59:32 2013 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Fri, 6 Dec 2013 19:59:32 -0800 Subject: Searching within variables in LC server In-Reply-To: References: <3A8025BD-1249-4FB2-B405-37918304301F@major-k.de> Message-ID: and lineOffset and wordOffset and itemOffset *--* *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* On Thu, Dec 5, 2013 at 10:44 AM, Erik Schwartz wrote: > Thanks. I knew it was easy. > > > On Thu, Dec 5, 2013 at 10:41 AM, Klaus major-k wrote: > > > Hi Erik, > > > > Am 05.12.2013 um 19:38 schrieb Erik Schwartz : > > > > > What is the equivalent to "find" for variables? I want to parse a > string > > in > > > a variable to extract a chunk between two markers. This is easy in PHP. > > > > > > If it was in a stack I could just dump it into a field and use "find" > and > > > "foundchunk" but fields are not supported in server. > > > > > > I assume there's some obvious way to do this. > > > > maybe "offset" will help? > > > > > Thanks, > > > > > > Erik > > > > Best > > > > Klaus > > > > -- > > Klaus Major > > http://www.major-k.de > > klaus at major-k.de > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > -- > ============================================= > eriks at sisyph.us > http://sisyph.us > (530) 213-ERIK http://twitter.com/eriks > (530) 213-3745 http://www.linkedin.com/in/erikschwartz > Archery stuff: http://barebow.tumblr.com/ > ============================================= > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pderocco at ix.netcom.com Fri Dec 6 23:22:43 2013 From: pderocco at ix.netcom.com (Paul D. DeRocco) Date: Fri, 6 Dec 2013 20:22:43 -0800 Subject: [OT] Blow your mind In-Reply-To: References: <52A0CB2A.6080801@gmail.com> Message-ID: > From: stephen barncard > > kinda cool but I'll wait for the second gen when they make it > smaller like a normal pen. > There's no reason for those boards inside to be so large, > they just want to use an existing board design. The board inside looks like a Gumstix, which for a complete Omap Linux system with WiFi is pretty tiny. Designing a new, even smaller board would be a pretty extravagant investment just for a lousy pen. I think the problem with this is that it's hard to relate where you're holding the pen to where you want to write, if you're trying to write "on" something like a virtual sheet of paper. If you want to draw something, you need to see where you're about to make contact with the writing surface, even if it's virtual, before you make contact. And you need to be able to feel when you make contact. -- Ciao, Paul D. DeRocco Paul mailto:pderocco at ix.netcom.com From mwieder at ahsoftware.net Fri Dec 6 23:20:09 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 6 Dec 2013 20:20:09 -0800 Subject: OT: Vigil Message-ID: <421588291212.20131206202009@ahsoftware.net> It's Friday... Vigil is a *very* safe programming language: https://github.com/munificent/vigil -- -Mark Wieder ahsoftware at gmail.com From stephenREVOLUTION2 at barncard.com Sat Dec 7 00:09:29 2013 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Fri, 6 Dec 2013 21:09:29 -0800 Subject: [ANN] Name Generator In-Reply-To: References: Message-ID: On Fri, Dec 6, 2013 at 3:06 PM, Monte Goulding wrote: > Ah... that insidious potato sure is a slippery turkey ;-) ?Time to whip up an online Shakespearian insult generator.? I have the lists somewhere around here. Ah here we are. Randomize three word insult phrases. artless base-court apple-john bawdy bat-fowling baggage beslubbering beef-witted barnacle bootless beetle-headed bladder churlish boil-brained boar-pig cockered clapper-clawed bugbear clouted clay-brained bum-bailey craven common-kissing canker-blossom currish crook-pated clack-dish dankish dismal-dreaming clotpole dissembling dizzy-eyed coxcomb droning doghearted codpiece errant dread-bolted death-token fawning earth-vexing dewberry fobbing elf-skinned flap-dragon froward fat-kidneyed flax-wench frothy fen-sucked flirt-gill gleeking flap-mouthed foot-licker goatish fly-bitten fustilarian gorbellied folly-fallen giglet impertinent fool-born gudgeon infectious full-gorged haggard jarring guts-griping harpy loggerheaded half-faced hedge-pig lumpish hasty-witted horn-beast mammering hedge-born hugger-mugger mangled hell-hated joithead mewling idle-headed lewdster paunchy ill-breeding lout pribbling ill-nurtured maggot-pie puking knotty-pated malt-worm puny milk-livered mammet qualling motley-minded measle rank onion-eyed minnow reeky plume-plucked miscreant roguish pottle-deep moldwarp ruttish pox-marked mumble-news saucy reeling-ripe nut-hook spleeny rough-hewn pigeon-egg spongy rude-growing pignut surly rump-fed puttock tottering shard-borne pumpion unmuzzled sheep-biting ratsbane vain spur-galled scut venomed swag-bellied skainsmate villainous tardy-gaited strumpet warped tickle-brained varlot wayward toad-spotted vassal weedy unchin-snouted whey-face yeasty weather-bitten wagtail *--* *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* From monte at sweattechnologies.com Sat Dec 7 04:37:53 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Sat, 7 Dec 2013 20:37:53 +1100 Subject: New livecode release notes page Message-ID: <20F6C607-2B36-454A-9B65-0F0C04E6C5FB@sweattechnologies.com> Hi Folks I found a cool project today that takes a markdown file and turns it into a nice looking page with a toc all using javascript and I thought I'd use it to both provide something useful for the community and demonstrate the power of git and the coolness of markdown. The script that generates the markdown file from the change notes in the livecode repo is only 85 lines long. The page shows exactly which releases included or modified which bugfixes and features. Each bugfix note has a clickable bug number linking to quality control. Check it out: http://mergext.com/notes.html At the moment it doesn't include 6.5.1 because it's not yet a tagged release and the script uses tags to find releases. I hope people find it useful and if someone from RunRev is interested it would be quite easy to automate this with a github hook. Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From effendi at wanadoo.fr Sat Dec 7 08:31:26 2013 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Sat, 7 Dec 2013 14:31:26 +0100 Subject: [ANN] Name Generator Message-ID: <28FDC804-4F41-46E8-8E00-D0F810D925DA@wanadoo.fr> Hi from Beautiful Brittany, Thank you all for your encouragement to waste a complete Saturday Morning generating "Useless Company" names. Wow ! "Useless Company" - That should sell well !!! I managed to escape from your clutches when my rumach began to stumble - for those not in the loop, this is a metathesis - (I think) !. Whatever your results of using chance to create your company name or product, I will will suggest likening your name to what your company will do, or would like to do (as long as you know what your company will do, or would like to do). And whatever you choose, you are unlikely to find a company name so glorious, so highly sophisticated as "Batteries Not Included" I am so jealous that somebody found this before me ! I rest my case. -Francis From richmondmathewson at gmail.com Sat Dec 7 09:17:59 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 07 Dec 2013 16:17:59 +0200 Subject: [ANN] Name Generator In-Reply-To: References: Message-ID: <52A32E17.7000801@gmail.com> Shivering Balls I kid you not; third attempt. Richmond. From richmondmathewson at gmail.com Sat Dec 7 09:21:20 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 07 Dec 2013 16:21:20 +0200 Subject: OT: Vigil In-Reply-To: <421588291212.20131206202009@ahsoftware.net> References: <421588291212.20131206202009@ahsoftware.net> Message-ID: <52A32EE0.4040203@gmail.com> On 07/12/13 06:20, Mark Wieder wrote: > It's Friday... > > Vigil is a *very* safe programming language: > > https://github.com/munificent/vigil > "creatio ex nihilo" by whom? one wonders, or perhaps I shouldn't've asked that existential question. Richmond. From richmondmathewson at gmail.com Sat Dec 7 09:23:30 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 07 Dec 2013 16:23:30 +0200 Subject: RELEASE: LiveCode 6.5.1 RC1 In-Reply-To: References: Message-ID: <52A32F62.2080601@gmail.com> OK, I have to ask this: Why is the first release of 6.5.1 an RC release rather than a DP one? Is it just me that sees a spot of inconsistency? Richmond. From richmondmathewson at gmail.com Sat Dec 7 09:29:19 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 07 Dec 2013 16:29:19 +0200 Subject: New livecode release notes page In-Reply-To: <20F6C607-2B36-454A-9B65-0F0C04E6C5FB@sweattechnologies.com> References: <20F6C607-2B36-454A-9B65-0F0C04E6C5FB@sweattechnologies.com> Message-ID: <52A330BF.3040808@gmail.com> On 07/12/13 11:37, Monte Goulding wrote: > > > Check it out: http://mergext.com/notes.html > > Straight into my Bookmarks on Firefox: Thank you very much indeed. Richmond. From roger.e.eller at sealedair.com Sat Dec 7 10:17:58 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sat, 7 Dec 2013 10:17:58 -0500 Subject: RELEASE: LiveCode 6.5.1 RC1 In-Reply-To: <52A32F62.2080601@gmail.com> References: <52A32F62.2080601@gmail.com> Message-ID: It's just you. No, seriously, from what I can see, it looks like x.x.0 releases get developer previews because they contain new features. Dot 1 releases are just bug fixes, and if the reported bugs have all been fixed, they are release candidates. ~Roger On Dec 7, 2013 9:23 AM, "Richmond" wrote: > OK, I have to ask this: > > Why is the first release of 6.5.1 an RC release rather than a DP one? > > Is it just me that sees a spot of inconsistency? > > Richmond. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From roger.e.eller at sealedair.com Sat Dec 7 10:23:59 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sat, 7 Dec 2013 10:23:59 -0500 Subject: RELEASE: LiveCode 6.5.1 RC1 In-Reply-To: References: <52A32F62.2080601@gmail.com> Message-ID: However, there is a new "property" added in this RC, but it is applicable to an existing "feature". ~Roger On Dec 7, 2013 10:17 AM, "Roger Eller" wrote: > It's just you. No, seriously, from what I can see, it looks like x.x.0 > releases get developer previews because they contain new features. Dot 1 > releases are just bug fixes, and if the reported bugs have all been fixed, > they are release candidates. > > ~Roger > On Dec 7, 2013 9:23 AM, "Richmond" wrote: > >> OK, I have to ask this: >> >> Why is the first release of 6.5.1 an RC release rather than a DP one? >> >> Is it just me that sees a spot of inconsistency? >> >> Richmond. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > From slylabs13 at me.com Sat Dec 7 10:47:06 2013 From: slylabs13 at me.com (Robert Sneidar) Date: Sat, 07 Dec 2013 07:47:06 -0800 Subject: Detect when a field changes In-Reply-To: <52A14A6C.9000105@hyperactivesw.com> References: <1384642056133-4672429.post@n4.nabble.com> <798B5D34-2ADE-41A1-AFEC-F7E3B1D4C2D9@me.com> <52A14A6C.9000105@hyperactivesw.com> Message-ID: <3C220A31-CDF9-476C-902B-D34C86F5F26A@me.com> Let?s just say I don?t expect to be coding for much longer. Bob On Dec 5, 2013, at 7:54 PM, J. Landman Gay wrote: > On 12/5/13 8:59 PM, Robert Sneidar wrote: >> Simulated users are a side effect of Jacque?s Time Travel stack. When a user travel?s back in time to tell himself what crappy code he is presently writing and how to improve it, that creates a temporal paradox, altering and sometimes destroying the future version of the programmer, leaving only a ?theoretical? or sometimes called a ?simulated? user. >> >> Never NEVER travel BACK in time to criticize yourself. > > You speak from experience? I noticed you were gone from the list for a while. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From slylabs13 at me.com Sat Dec 7 10:54:19 2013 From: slylabs13 at me.com (Robert Sneidar) Date: Sat, 07 Dec 2013 07:54:19 -0800 Subject: OT: Vigil In-Reply-To: <421588291212.20131206202009@ahsoftware.net> References: <421588291212.20131206202009@ahsoftware.net> Message-ID: That?s hilarious. I would constantly be starting from scratch. :-) Bob On Dec 6, 2013, at 8:20 PM, Mark Wieder wrote: > It's Friday... > > Vigil is a *very* safe programming language: > > https://github.com/munificent/vigil > > -- > -Mark Wieder > ahsoftware at gmail.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From slylabs13 at me.com Sat Dec 7 10:55:59 2013 From: slylabs13 at me.com (Robert Sneidar) Date: Sat, 07 Dec 2013 07:55:59 -0800 Subject: [ANN] Name Generator In-Reply-To: References: Message-ID: Doubtful Afternoon seems to be perfect for my hobbyist coding company. Bob On Dec 6, 2013, at 2:11 PM, Scott Rossi wrote: > Pointless Friday exercise: Name Generator > > Ever since Al wrote about this on the list, I've been meaning to make one. > Today I needed a break from a long week, so NameGen was born. > > http://tactile.on-rev.com/namegen/ > > > So far, one of the more amusing names for me has been "Useless Lumber" -- > I think this would make an excellent company name. > > Have a good weekend discovering a new name for your software. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 11/20/13 12:10 PM, "Alejandro Tejada" wrote: > >> Where is the Name Generator stack? :D > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jbv at souslelogo.com Sat Dec 7 11:37:01 2013 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Sat, 7 Dec 2013 18:37:01 +0200 Subject: LC vs mySQL In-Reply-To: References: <52A32F62.2080601@gmail.com> Message-ID: Hy list, Since I started using LC (actually MC) ages ago, especially as an engine on a server, I've been trying to have my scripts run as fast as possible, and often tried both options : complex SQL requests that select and shape the data for optimum use in LC, or raw data "downloaded" from the DB followed by processing in LC. In a script of my current project, I have 8 * 35 = 280 requests to mySQL to a DB of about 80000 entries, each request featuring a "where" condition involving 5 to 10 parameters (and sometimes conditions such as myCol = 125 OR myCol = 387 OR myCol = 547 OR myCol = 1205 ...) Even by carefully building my tables with indexes, I was unable to drop execution time of my script below 1890 ms. By lowering the number of mySQL requests (for instance by getting in 1 shot all the entries to process) and processing them with several arrays through a few nested loops, I was able to run my script in only 315 ms (which is perfect for ajax type projects requiring realtime responses from the server). Of course, the drawback is that the LC code is a bit harder to read than a simple succession of SQL requests. Anyway in most cases the advantage goes to processing raw data in LC. I'm not sure if the above requires any further comments, but I'm curious about how you guys approach that problem (if there's any)... Al the best jbv From dochawk at gmail.com Sat Dec 7 11:39:12 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 7 Dec 2013 08:39:12 -0800 Subject: OT: Vigil In-Reply-To: References: <421588291212.20131206202009@ahsoftware.net> Message-ID: I do think it should refer to "exorcise" rather than "excise" . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Sat Dec 7 11:47:13 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 7 Dec 2013 08:47:13 -0800 Subject: Detect when a field changes In-Reply-To: <52A14A6C.9000105@hyperactivesw.com> References: <1384642056133-4672429.post@n4.nabble.com> <798B5D34-2ADE-41A1-AFEC-F7E3B1D4C2D9@me.com> <52A14A6C.9000105@hyperactivesw.com> Message-ID: On Thu, Dec 5, 2013 at 7:54 PM, J. Landman Gay wrote: > On 12/5/13 8:59 PM, Robert Sneidar wrote: > >> >> > Never NEVER travel BACK in time to criticize yourself. >> > > You speak from experience? I noticed you were gone from the list for a > while. > But he can fix that ! :) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Sat Dec 7 11:48:42 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 7 Dec 2013 08:48:42 -0800 Subject: field properties changing when group copied In-Reply-To: References: Message-ID: *bump* Has anyone else had to deal with this? Having to set the properties of every field to custom properties, and then loop through every output field every time to reset them, would be tedious & bugprone . . . On Sat, Nov 30, 2013 at 2:02 PM, Dr. Hawkins wrote: > > I think I've hit this before . . . > > The new federal bankruptcy forms, with which I am stuck, have very small > lines at points . . . > > I think this bit me before in another context. > > The original card looks like: > > http://dochawkbk.com/lcImages/screen_shot.pre_copy.png > > But after I copy it, the margins and text size get changed: > > http://dochawkbk.com/lcImages/screen_shot.copied.png > > (the blue text in the second one has been set by my program, from pure > ascii pulled from a db) > > Do I need to choose between the evils of oversized fields and looping > around *every* field on *every* copy to use its customProperties to set > it's properties, or is there a sane solution available? > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From mwieder at ahsoftware.net Sat Dec 7 12:18:28 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 7 Dec 2013 09:18:28 -0800 Subject: RELEASE: LiveCode 6.5.1 RC1 In-Reply-To: <52A32F62.2080601@gmail.com> References: <52A32F62.2080601@gmail.com> Message-ID: <451634990316.20131207091828@ahsoftware.net> Richmond- Saturday, December 7, 2013, 6:23:30 AM, you wrote: > OK, I have to ask this: > Why is the first release of 6.5.1 an RC release rather than a DP one? I think it's because 6.5.1 is a bug-fix release rather than new features added that would then need a test cycle before release. The one new added feature is a replacement for a buggy one in 6.5.0, and could therefore also count as a bug fix. The idea, I think, is to get the bug fixes out into a 6.5.1gm general release asap. -- -Mark Wieder ahsoftware at gmail.com From mwieder at ahsoftware.net Sat Dec 7 12:24:24 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 7 Dec 2013 09:24:24 -0800 Subject: LC vs mySQL In-Reply-To: References: <52A32F62.2080601@gmail.com> Message-ID: <1791635345886.20131207092424@ahsoftware.net> jbv- Saturday, December 7, 2013, 8:37:01 AM, you wrote: > In a script of my current project, I have 8 * 35 = 280 requests to mySQL > to a DB of about 80000 entries, each request featuring a "where" condition > involving 5 to 10 parameters (and sometimes conditions such as > myCol = 125 OR myCol = 387 OR myCol = 547 OR myCol = 1205 ...) > Even by carefully building my tables with indexes, I was unable to drop > execution time of my script below 1890 ms. Indexing is good. You'll lose a little time on writes because of the need to update the indexes, but more than make it up on reads. Can you move some of the processing into stored procedures on the backend? The more processing you can hand off to the MySQL server, the faster your response time will be. -- -Mark Wieder ahsoftware at gmail.com From mwieder at ahsoftware.net Sat Dec 7 12:30:27 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 7 Dec 2013 09:30:27 -0800 Subject: New livecode release notes page In-Reply-To: <20F6C607-2B36-454A-9B65-0F0C04E6C5FB@sweattechnologies.com> References: <20F6C607-2B36-454A-9B65-0F0C04E6C5FB@sweattechnologies.com> Message-ID: <491635708836.20131207093027@ahsoftware.net> Monte- Saturday, December 7, 2013, 1:37:53 AM, you wrote: > I hope people find it useful and if someone from RunRev is > interested it would be quite easy to automate this with a github > hook. That's awesome. I bookmarked it as well. Could the script be triggered on a CI server as part of the build process? -- -Mark Wieder ahsoftware at gmail.com From jbv at souslelogo.com Sat Dec 7 12:54:54 2013 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Sat, 7 Dec 2013 19:54:54 +0200 Subject: LC vs mySQL In-Reply-To: <1791635345886.20131207092424@ahsoftware.net> References: <52A32F62.2080601@gmail.com> <1791635345886.20131207092424@ahsoftware.net> Message-ID: <2b6e3143669908de4120f4f2cfd96fdb.squirrel@185.8.104.234> > > Indexing is good. You'll lose a little time on writes because of the > need to update the indexes, but more than make it up on reads. Can you > move some of the processing into stored procedures on the backend? The > more processing you can hand off to the MySQL server, the faster your > response time will be. AFAIR I had some bad surprises in mySQL indexes, especially fulltext indexes because of reserved words, or words so common in english that they aren't included in the index. The situation gets even weirder with french content of DBs when some words are used both in english & french... As for stored procedures, this is tempting, but maintenance gets harder when parts of the code are split between mySQL tables and LC scripts... jbv From ray at linkit.com Sat Dec 7 13:29:37 2013 From: ray at linkit.com (Ray) Date: Sat, 07 Dec 2013 13:29:37 -0500 Subject: customKeys In-Reply-To: References: Message-ID: <52A36911.3060102@LinkIt.Com> Pete, I didn't know that but I imagine you probably would get unexpected/undesirable results in doing this. Nonetheless, thanks for the heads-up. I'm doing a lot of works with custom property sets these days so I'll be sure to avoid such a mistake. Ray Horsley LinkIt! Software On 12/6/2013 9:44 PM, Peter Haworth wrote: > Just discovered that if you inadvertently set the customPropertySet of an > object to "customKeys" instead of empty, the IDE happily accepts it, but > you won't be happy with the result! Two custom property sets named > "customKeys" will be listed in the Inspector Custom Properties tab dropdown > menu and neither one of them will contain any of the custom properties that > used to be there. And you can't delete either one of them. > > > Pete > lcSQL Software > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From monte at sweattechnologies.com Sat Dec 7 14:24:26 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Sun, 8 Dec 2013 06:24:26 +1100 Subject: New livecode release notes page In-Reply-To: <491635708836.20131207093027@ahsoftware.net> References: <20F6C607-2B36-454A-9B65-0F0C04E6C5FB@sweattechnologies.com> <491635708836.20131207093027@ahsoftware.net> Message-ID: <54D94E82-1F1D-4DA7-9923-30566974038A@sweattechnologies.com> On 08/12/2013, at 4:30 AM, Mark Wieder wrote: > That's awesome. I bookmarked it as well. Could the script be triggered > on a CI server as part of the build process? Yes it could but it wouldn't need to be that complicated. I'd only need 2 things to automate it: - I'd need someone from RunRev to add a service hook: https://help.github.com/articles/post-receive-hooks - I currently don't have my own server with the ssh access I'd need to clone the repo on so I'd need ssh access to my on-rev account or to bite the bullet and setup a server elsewhere Actually automating it would only take a few minutes once those things were there... Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From jacque at hyperactivesw.com Sat Dec 7 14:42:38 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 07 Dec 2013 13:42:38 -0600 Subject: New livecode release notes page In-Reply-To: <20F6C607-2B36-454A-9B65-0F0C04E6C5FB@sweattechnologies.com> References: <20F6C607-2B36-454A-9B65-0F0C04E6C5FB@sweattechnologies.com> Message-ID: <52A37A2E.9010602@hyperactivesw.com> On 12/7/13 3:37 AM, Monte Goulding wrote: > The script that generates the markdown file from the change notes in > the livecode repo is only 85 lines long. The page shows exactly which > releases included or modified which bugfixes and features. Each > bugfix note has a clickable bug number linking to quality control. > > Check it out: http://mergext.com/notes.html This is fantastic, thank you very much. I bookmarked it immediately. The page is attractive and easy to read too. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From monte at sweattechnologies.com Sat Dec 7 14:57:31 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Sun, 8 Dec 2013 06:57:31 +1100 Subject: New livecode release notes page In-Reply-To: <52A37A2E.9010602@hyperactivesw.com> References: <20F6C607-2B36-454A-9B65-0F0C04E6C5FB@sweattechnologies.com> <52A37A2E.9010602@hyperactivesw.com> Message-ID: <79F457AB-69C6-4C86-9863-A14E78BA0AF7@sweattechnologies.com> On 08/12/2013, at 6:42 AM, "J. Landman Gay" wrote: > This is fantastic, thank you very much. I bookmarked it immediately. The page is attractive and easy to read too. I can't take any credit for the look of the page other than the index structure. The page uses http://ricostacruz.com/flatdoc/ which parses the markdown file http://mergext.com/notes.md There's a heap of markdown to pretty page projects on github as markdown based docs seems to be getting quite popular. Flatdoc does everything in the javascript but there's others that compile server side or even as a one time process. I found another one which looks good for more complex sites and can be themed and is also all javascript: http://dynalon.github.io/mdwiki/ Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From monte at sweattechnologies.com Sat Dec 7 15:02:43 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Sun, 8 Dec 2013 07:02:43 +1100 Subject: New livecode release notes page In-Reply-To: <54D94E82-1F1D-4DA7-9923-30566974038A@sweattechnologies.com> References: <20F6C607-2B36-454A-9B65-0F0C04E6C5FB@sweattechnologies.com> <491635708836.20131207093027@ahsoftware.net> <54D94E82-1F1D-4DA7-9923-30566974038A@sweattechnologies.com> Message-ID: On 08/12/2013, at 6:24 AM, Monte Goulding wrote: > I'd need someone from RunRev to add a service hook: https://help.github.com/articles/post-receive-hooks I just realised I could skip this bit if I just used a daily cron job to fetch the lc repo and run the script however it would be nicer to use a service hook. Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From lvhdgc7 at gmail.com Sat Dec 7 15:36:46 2013 From: lvhdgc7 at gmail.com (tbodine) Date: Sat, 7 Dec 2013 12:36:46 -0800 (PST) Subject: [ANN] Name Generator In-Reply-To: <52A32E17.7000801@gmail.com> References: <52A32E17.7000801@gmail.com> Message-ID: <1386448606196-4673380.post@n4.nabble.com> No doubt, Lewd Limit will be acquiring Shivering Balls. Hey, Scott, thanks for this hilarious name generator! --Tom Bodine -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-Name-Generator-tp4673335p4673380.html Sent from the Revolution - User mailing list archive at Nabble.com. From scott at tactilemedia.com Sat Dec 7 15:46:01 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Sat, 7 Dec 2013 12:46:01 -0800 Subject: [ANN] Name Generator In-Reply-To: <1386448606196-4673380.post@n4.nabble.com> References: <52A32E17.7000801@gmail.com> <1386448606196-4673380.post@n4.nabble.com> Message-ID: <36064C73-F757-46A1-93EB-8D75C5973A86@tactilemedia.com> You're welcome. Am happy to provide LC developers with a Cuddly Instrument. Regards, Scott Rossi Creative Director Tactile Media, UX Design > On Dec 7, 2013, at 12:36 PM, tbodine wrote: > > No doubt, Lewd Limit will be acquiring Shivering Balls. > > Hey, Scott, thanks for this hilarious name generator! > > --Tom Bodine > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-Name-Generator-tp4673335p4673380.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Sat Dec 7 16:01:38 2013 From: pete at lcsql.com (Peter Haworth) Date: Sat, 7 Dec 2013 13:01:38 -0800 Subject: LC vs mySQL In-Reply-To: <2b6e3143669908de4120f4f2cfd96fdb.squirrel@185.8.104.234> References: <52A32F62.2080601@gmail.com> <1791635345886.20131207092424@ahsoftware.net> <2b6e3143669908de4120f4f2cfd96fdb.squirrel@185.8.104.234> Message-ID: I think it's worth saying that indexes don't necessarily result in faster retrieval and sometimes aren't used even when you think they would be. In general, the fewer unique entries there are in an index, the less likely they are to speed up retrieval. To take an extreme example, if the indexed column has the same value in every row, the index is a waste of time. Hard to lay down hard and fast rule, but I usually don't bother with an index unless the average number of rows for each of it's values is no more than 15-20% of the total rows in it's associated table. A common example of an index not being used is if you use the LIKE operator. Let's say you have an index on a column named City and your where clause includes City LIKE '%town' The index won't be used because all it's entries would have to be scanned to satisfy the '%'. On the other hand City LIKE 'Black%' would use the index because only the entries that begin with 'Black' need to be accounted for. I've seen extreme examples where there would be a column that held the contents of City spelled backwards because the DB designer knew there would be a lot of queries in the first form above so the query could now be ReverseCity LIKE 'nwot%' Pretty weird! Don't know about MySQL but sqlite has an EXPLAIN QUERY PLAN statement that outputs information about how a query will be executed that is really useful when trying to figure out if an index is justified. Pete lcSQL Software On Dec 7, 2013 9:54 AM, wrote: > > > > > Indexing is good. You'll lose a little time on writes because of the > > need to update the indexes, but more than make it up on reads. Can you > > move some of the processing into stored procedures on the backend? The > > more processing you can hand off to the MySQL server, the faster your > > response time will be. > > > AFAIR I had some bad surprises in mySQL indexes, especially fulltext > indexes > because of reserved words, or words so common in english that they aren't > included in the index. The situation gets even weirder with french content > of > DBs when some words are used both in english & french... > As for stored procedures, this is tempting, but maintenance gets harder > when > parts of the code are split between mySQL tables and LC scripts... > > jbv > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dochawk at gmail.com Sat Dec 7 16:06:44 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 7 Dec 2013 13:06:44 -0800 Subject: Communicating between to standalones with "write to process" - Found word(s) list error in the Text body In-Reply-To: References: Message-ID: On Tue, Dec 3, 2013 at 9:47 AM, Mike Kerner wrote: > As far as the vocabulary, no, sorry, that's from [a number greater than > what I'm going to admit] years of working in the DB space on lots of > platforms and on lots of very interesting problems. > save us from dull problems :) > > The reason for using the server is that it takes most of the work out for > you, and you just worry about talking to it. Transactions, triggers, > semaphores, record locking, etc. can all be handled that way. Now once you > get into multi-stage commits, you and I have to talk because that's a topic > that is generally beyond the scope here. > I doubt that this will ever need that. I'm just sharing a few hundred variables and a couple dozen to couple hundred still fairly simple records (simple enough that I can store their INSERT statements > You could, if your data set was not abhorently large, also use LC's fields > as your database, and go old school with creating a card for each record, > etc. > :) That's the original 1989 version of this program . . . I switched from HyperCard to SuperCard so that I could have a single stack rather than two stacks per client . . . but it's hard to simultaneously access such a stack from multiple offices. I'm using the in-memory SQLite not because the data is so complicated (I had it in an array for a while, too), but because SELECT/WHERE and ORDER BY do so much of my work for me. Oh, and SUM() is a huge help, too. In '89, we were just tickled that I could process a card with a debt or asset on it about once every second . . . sticking it into an appropriate output form. I could have converted it to HyperCard 2 when that came out, but that would have meant copying every script and pasting . . . (I suppose I could have written a script to disassemble, and another to assemble, but . . .) > Then if you communicate with the stack, you're really just > communicating with a "crude" database server. > > -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From Ethan at Lish.net Sat Dec 7 16:58:03 2013 From: Ethan at Lish.net (Ethan Lish) Date: Sat, 7 Dec 2013 16:58:03 -0500 Subject: New livecode release notes page In-Reply-To: <54D94E82-1F1D-4DA7-9923-30566974038A@sweattechnologies.com> References: <20F6C607-2B36-454A-9B65-0F0C04E6C5FB@sweattechnologies.com> <491635708836.20131207093027@ahsoftware.net> <54D94E82-1F1D-4DA7-9923-30566974038A@sweattechnologies.com> Message-ID: <8EBAE5E6-35AD-4B53-BF77-7172074DBE2B@Lish.net> I'm happy to host it and can give you ssh access for this purpose E Ethan at Lish.net 240.449.8270 Sent from MyPhone > On Dec 7, 2013, at 2:24 PM, Monte Goulding wrote: > > >> On 08/12/2013, at 4:30 AM, Mark Wieder wrote: >> >> That's awesome. I bookmarked it as well. Could the script be triggered >> on a CI server as part of the build process? > > Yes it could but it wouldn't need to be that complicated. I'd only need 2 things to automate it: > - I'd need someone from RunRev to add a service hook: https://help.github.com/articles/post-receive-hooks > - I currently don't have my own server with the ssh access I'd need to clone the repo on so I'd need ssh access to my on-rev account or to bite the bullet and setup a server elsewhere > > Actually automating it would only take a few minutes once those things were there... > > Cheers > > -- > Monte Goulding > > M E R Goulding - software development services > mergExt - There's an external for that! > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From livfoss at mac.com Sat Dec 7 18:22:03 2013 From: livfoss at mac.com (Graham Samuel) Date: Sun, 08 Dec 2013 00:22:03 +0100 Subject: Cloning the selectedObject Message-ID: <8A897760-A9CF-470A-8584-B1343FFCC298@mac.com> In the LC Dictionary entry on 'clone', it gives as an example clone the selectedObject Now, 'the selectedObject' which is synonymous with 'the selectedObjects', can contain multiple lines, each one referring to a different selected object. AFAIKS, if you try the script line above with a multiline version of 'the selectedObject', the command doesn't clone all the objects, just the first one. At least I have a test that seems to show this, but finger trouble is always a possibility. Can anyone confirm, and if they can, is it a bug, or just something missing in the Dictionary (well, that's a bug too, but of another kind)? I'm using LC 6.1.3. Graham From ambassador at fourthworld.com Sat Dec 7 18:40:04 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 07 Dec 2013 15:40:04 -0800 Subject: New livecode release notes page In-Reply-To: <54D94E82-1F1D-4DA7-9923-30566974038A@sweattechnologies.com> References: <54D94E82-1F1D-4DA7-9923-30566974038A@sweattechnologies.com> Message-ID: <52A3B1D4.3090902@fourthworld.com> Monte Goulding wrote: > - I currently don't have my own server with the ssh access I'd > need to clone the repo on so I'd need ssh access to my on-rev > account or to bite the bullet and setup a server elsewhere LiveCodeJournal.com is a community resource. It's on a shared host, but I could give you shell access if that would work for you. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From pete at lcsql.com Sat Dec 7 19:35:51 2013 From: pete at lcsql.com (Peter Haworth) Date: Sat, 7 Dec 2013 16:35:51 -0800 Subject: Cloning the selectedObject In-Reply-To: <8A897760-A9CF-470A-8584-B1343FFCC298@mac.com> References: <8A897760-A9CF-470A-8584-B1343FFCC298@mac.com> Message-ID: Confirmed here with 5.5.4. It's a bug of one of the two types you mention, who knows which one! I guess you would have to use a repeat loop if you want to clone every object in the selectedobject(s). Pete lcSQL Software On Sat, Dec 7, 2013 at 3:22 PM, Graham Samuel wrote: > In the LC Dictionary entry on 'clone', it gives as an example > > clone the selectedObject > > Now, 'the selectedObject' which is synonymous with 'the selectedObjects', > can contain multiple lines, each one referring to a different selected > object. AFAIKS, if you try the script line above with a multiline version > of 'the selectedObject', the command doesn't clone all the objects, just > the first one. At least I have a test that seems to show this, but finger > trouble is always a possibility. > > Can anyone confirm, and if they can, is it a bug, or just something > missing in the Dictionary (well, that's a bug too, but of another kind)? > I'm using LC 6.1.3. > > Graham > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Sat Dec 7 19:43:32 2013 From: pete at lcsql.com (Peter Haworth) Date: Sat, 7 Dec 2013 16:43:32 -0800 Subject: Default values for handler parameters Message-ID: Live code allows: local tVar="abc" but it doesn't seem to allow: command myCommand p1,p2="abc" .. unless there's some other syntax for it. Seems like an omission? Pete lcSQL Software From jacque at hyperactivesw.com Sat Dec 7 20:00:04 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 07 Dec 2013 19:00:04 -0600 Subject: New livecode release notes page In-Reply-To: <52A3B1D4.3090902@fourthworld.com> References: <54D94E82-1F1D-4DA7-9923-30566974038A@sweattechnologies.com> <52A3B1D4.3090902@fourthworld.com> Message-ID: <2aefb848-bdaf-4cb0-95e2-4cc26b8ffefc@email.android.com> That would be a good place for it since there's already some release notes there. Richard Gaskin wrote: >Monte Goulding wrote: > > > - I currently don't have my own server with the ssh access I'd > > need to clone the repo on so I'd need ssh access to my on-rev > > account or to bite the bullet and setup a server elsewhere > >LiveCodeJournal.com is a community resource. It's on a shared host, >but >I could give you shell access if that would work for you. > >-- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > Follow me on Twitter: http://twitter.com/FourthWorldSys > > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dunbarx at aol.com Sat Dec 7 20:47:22 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Sat, 7 Dec 2013 20:47:22 -0500 (EST) Subject: Default values for handler parameters In-Reply-To: References: Message-ID: <8D0C1CE91F7BEAB-D80-1C80D@webmail-d269.sysops.aol.com> Peter. Not with LC at the moment, but does this throw an error in that the parameter construction is invalid, or does it evaluate "p2=abc" as a boolean, resolving to "true" or "false"? Craig -----Original Message----- From: Peter Haworth To: How to use LiveCode Sent: Sat, Dec 7, 2013 7:44 pm Subject: Default values for handler parameters Live code allows: local tVar="abc" but it doesn't seem to allow: command myCommand p1,p2="abc" .. unless there's some other syntax for it. Seems like an omission? Pete lcSQL Software _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From monte at sweattechnologies.com Sat Dec 7 20:54:05 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Sun, 8 Dec 2013 12:54:05 +1100 Subject: New livecode release notes page In-Reply-To: <2aefb848-bdaf-4cb0-95e2-4cc26b8ffefc@email.android.com> References: <54D94E82-1F1D-4DA7-9923-30566974038A@sweattechnologies.com> <52A3B1D4.3090902@fourthworld.com> <2aefb848-bdaf-4cb0-95e2-4cc26b8ffefc@email.android.com> Message-ID: <97403216-B96B-4837-A4EE-FC041AE07293@sweattechnologies.com> On 08/12/2013, at 12:00 PM, "J. Landman Gay" wrote: > That would be a good place for it since there's already some release notes there. Thanks folks. I've now had three offers of accounts ;-) I think the best one for the community (failing RunRev having a site like this) would be livecode journal so Richard if you want to contact me off list we can make this happen. BTW do we like this format better? http://mergext.com/notes/ This one uses MDwiki and allows you to choose a theme to suit your eyes and breaks the notes up into release cycle pages. The themes are also better on mobile than the other one. I also worked out I could get the notes from release branches that didn't have a tag and from the develop branch for upcoming bigger releases so now there's a Coming Soon section (only implemented for the MDwiki version). Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From mwieder at ahsoftware.net Sat Dec 7 21:32:24 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 7 Dec 2013 18:32:24 -0800 Subject: Default values for handler parameters In-Reply-To: References: Message-ID: <981668226189.20131207183224@ahsoftware.net> Pete- Saturday, December 7, 2013, 4:43:32 PM, you wrote: > Live code allows: > local tVar="abc" > but it doesn't seem to allow: > command myCommand p1,p2="abc" > .. unless there's some other syntax for it. > Seems like an omission? Yeah. I'd love to have default parameters someday. Meanwhile I work around it by command myCommand p1, p2 if p2 is empty then put "abc" into p2 end if ... carry on end myCommand -- -Mark Wieder ahsoftware at gmail.com From pete at lcsql.com Sat Dec 7 21:33:43 2013 From: pete at lcsql.com (Peter Haworth) Date: Sat, 7 Dec 2013 18:33:43 -0800 Subject: Default values for handler parameters In-Reply-To: <8D0C1CE91F7BEAB-D80-1C80D@webmail-d269.sysops.aol.com> References: <8D0C1CE91F7BEAB-D80-1C80D@webmail-d269.sysops.aol.com> Message-ID: Hi Craig, It throws an error, I think it was something like "invalid parameter separator". Not a big deal but would save having to initialize optional parms with "if p1 is empty then put true into p1" stuff. Pete lcSQL Software On Sat, Dec 7, 2013 at 5:47 PM, wrote: > Peter. > > > Not with LC at the moment, but does this throw an error in that the > parameter construction is invalid, or does it evaluate "p2=abc" as a > boolean, resolving to "true" or "false"? > > > Craig > > > > -----Original Message----- > From: Peter Haworth > To: How to use LiveCode > Sent: Sat, Dec 7, 2013 7:44 pm > Subject: Default values for handler parameters > > > Live code allows: > > local tVar="abc" > > but it doesn't seem to allow: > > command myCommand p1,p2="abc" > > .. unless there's some other syntax for it. > > Seems like an omission? > > Pete > lcSQL Software > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mwieder at ahsoftware.net Sat Dec 7 21:42:55 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 7 Dec 2013 18:42:55 -0800 Subject: Default values for handler parameters In-Reply-To: References: <8D0C1CE91F7BEAB-D80-1C80D@webmail-d269.sysops.aol.com> Message-ID: <101668856456.20131207184255@ahsoftware.net> Pete- Saturday, December 7, 2013, 6:33:43 PM, you wrote: > Not a big deal but would save having to initialize optional parms with "if > p1 is empty then put true into p1" stuff. Exactly. Especially if there are multiple optional parameters. -- -Mark Wieder ahsoftware at gmail.com From roger.e.eller at sealedair.com Sun Dec 8 10:47:40 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sun, 8 Dec 2013 10:47:40 -0500 Subject: Resolution Independence... Look at how far we've come In-Reply-To: References: Message-ID: It was the year 2000. The recommended practice was to keep your stacks smaller than 800x600, and preferably 640x480 to accommodate the majority of desktop users, and ask the users to switch to a compatible screen resolution. Was it worth the wait? http://www.mail-archive.com/metacard%40lists.best.com/msg04365.html ~Roger From livfoss at mac.com Sun Dec 8 13:24:24 2013 From: livfoss at mac.com (Graham Samuel) Date: Sun, 08 Dec 2013 19:24:24 +0100 Subject: Cloning the selectedObject In-Reply-To: References: <8A897760-A9CF-470A-8584-B1343FFCC298@mac.com> Message-ID: Thanks for the confirmation. I will do a quick test with 6.5.1 (very unlikely indeed to have changed) and then report it. Graham On 8 Dec 2013, at 01:35, Peter Haworth wrote: > Confirmed here with 5.5.4. It's a bug of one of the two types you mention, > who knows which one! I guess you would have to use a repeat loop if you > want to clone every object in the selectedobject(s). > > Pete > lcSQL Software > > > On Sat, Dec 7, 2013 at 3:22 PM, Graham Samuel wrote: > >> In the LC Dictionary entry on 'clone', it gives as an example >> >> clone the selectedObject >> >> Now, 'the selectedObject' which is synonymous with 'the selectedObjects', >> can contain multiple lines, each one referring to a different selected >> object. AFAIKS, if you try the script line above with a multiline version >> of 'the selectedObject', the command doesn't clone all the objects, just >> the first one. At least I have a test that seems to show this, but finger >> trouble is always a possibility. >> >> Can anyone confirm, and if they can, is it a bug, or just something >> missing in the Dictionary (well, that's a bug too, but of another kind)? >> I'm using LC 6.1.3. >> >> Graham >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From gcanyon at gmail.com Sun Dec 8 13:45:40 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Sun, 8 Dec 2013 12:45:40 -0600 Subject: Default values for handler parameters In-Reply-To: <101668856456.20131207184255@ahsoftware.net> References: <8D0C1CE91F7BEAB-D80-1C80D@webmail-d269.sysops.aol.com> <101668856456.20131207184255@ahsoftware.net> Message-ID: Way way back when, I hacked the script editor to support language-modifying features, and this was the first thing I did. When the new open language feature hits, this is first on my task list again. On Sat, Dec 7, 2013 at 8:42 PM, Mark Wieder wrote: > Pete- > > Saturday, December 7, 2013, 6:33:43 PM, you wrote: > > > Not a big deal but would save having to initialize optional parms with > "if > > p1 is empty then put true into p1" stuff. > > Exactly. Especially if there are multiple optional parameters. > > -- > -Mark Wieder > ahsoftware at gmail.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From scott at tactilemedia.com Sun Dec 8 13:51:44 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Sun, 08 Dec 2013 10:51:44 -0800 Subject: Default values for handler parameters In-Reply-To: References: Message-ID: Pete: How is what you wrote not accomplished by the following? command myCommand p1 local p2="abc" -- more stuff end myCommand Maybe I'm missing what you're proposing, but I'm not seeing an immediate use for it. Thanks for explaining. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 12/7/13 4:43 PM, "Peter Haworth" wrote: >Live code allows: > >local tVar="abc" > >but it doesn't seem to allow: > >command myCommand p1,p2="abc" > >.. unless there's some other syntax for it. > >Seems like an omission? > >Pete >lcSQL Software >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode > From MikeKerner at roadrunner.com Sun Dec 8 14:29:34 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sun, 8 Dec 2013 14:29:34 -0500 Subject: Communicating between to standalones with "write to process" - Found word(s) list error in the Text body In-Reply-To: <9F543924-10CF-4FC3-9B55-F039B01F47AF@me.com> References: <9F543924-10CF-4FC3-9B55-F039B01F47AF@me.com> Message-ID: Unfortunately, there is not very much written on the topic of multi-stage commits. You will be able to find information on "two-phase commits", which is a very basic version of this idea, but TPC involves state certainty. MSC does not. Multi-stage commits are sort-of a cross between thinking about data in quantum mechanics terms (i.e. the answer to any question depends on whom you ask and when, and the likelihood that all answers will be correct, even if they are different from each other), and two-phase commits - across many nodes. Yes, there are very important reasons to implement a solution this way. The U. S. Navy, for instance, has, in some cases 25-30 stage commits. On Thu, Dec 5, 2013 at 10:41 PM, Robert Sneidar wrote: > Multi-stage commits? Wow! I never knew there was such a thing! I?d like to > talk about that! I?m going to google that one. > > Bob > > > On Dec 3, 2013, at 9:47 AM, Mike Kerner wrote: > > > The reason for using the server is that it takes most of the work out for > > you, and you just worry about talking to it. Transactions, triggers, > > semaphores, record locking, etc. can all be handled that way. Now once > you > > get into multi-stage commits, you and I have to talk because that's a > topic > > that is generally beyond the scope here. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From jacque at hyperactivesw.com Sun Dec 8 14:39:01 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 08 Dec 2013 13:39:01 -0600 Subject: New livecode release notes page In-Reply-To: <97403216-B96B-4837-A4EE-FC041AE07293@sweattechnologies.com> References: <54D94E82-1F1D-4DA7-9923-30566974038A@sweattechnologies.com> <52A3B1D4.3090902@fourthworld.com> <2aefb848-bdaf-4cb0-95e2-4cc26b8ffefc@email.android.com> <97403216-B96B-4837-A4EE-FC041AE07293@sweattechnologies.com> Message-ID: <52A4CAD5.1040305@hyperactivesw.com> On 12/7/13 7:54 PM, Monte Goulding wrote: > BTW do we like this format better? http://mergext.com/notes/ > This one uses MDwiki and allows you to choose a theme to suit your eyes > and breaks the notes up into release cycle pages. The themes are also better on mobile than the other one. I like the first one a little better, even on mobile, because I think it's easier to have the list of release versions at the left. The themes in the MDwidi one all make the text uncomfortably huge on my Android tablet so there's more scrolling and the layout isn't as good. Also, since we need to develop on desktop, I wonder how important mobile support will be. Just my opinion though, others may differ and I'm okay with either of them. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From Ethan at Lish.net Sun Dec 8 14:41:02 2013 From: Ethan at Lish.net (Ethan Lish) Date: Sun, 8 Dec 2013 14:41:02 -0500 Subject: Livecode on a rent-a-MAC Message-ID: <64A9C54E-EFA4-4665-85CA-1C19E31B5B9E@Lish.net> The new rent-a-MAC in the cloud service now comes with an installed livecode IDE instance. Not sure if it's a commercial or community license. https://www.macincloud.com/features/tools/tools At a $1 per hour, it seems like a quick low cost way to get started. Has anyone tried this service? E Ethan at Lish.net 240.449.8270 Sent from MyPhone From jacque at hyperactivesw.com Sun Dec 8 14:42:17 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 08 Dec 2013 13:42:17 -0600 Subject: field properties changing when group copied In-Reply-To: References: Message-ID: <52A4CB99.8060300@hyperactivesw.com> Since no one's responded it sounds like something in your setup. The most likely reason is that your fields are using inherited text properties, and pasting one somewhere else causes the inheritance to change. Just a guess though, since I'm not sure what your setup is. On 12/7/13 10:48 AM, Dr. Hawkins wrote: > *bump* > > Has anyone else had to deal with this? Having to set the properties of > every field to custom properties, and then loop through every output field > every time to reset them, would be tedious & bugprone . . . > > > > > On Sat, Nov 30, 2013 at 2:02 PM, Dr. Hawkins wrote: > >> >> I think I've hit this before . . . >> >> The new federal bankruptcy forms, with which I am stuck, have very small >> lines at points . . . >> >> I think this bit me before in another context. >> >> The original card looks like: >> >> http://dochawkbk.com/lcImages/screen_shot.pre_copy.png >> >> But after I copy it, the margins and text size get changed: >> >> http://dochawkbk.com/lcImages/screen_shot.copied.png >> >> (the blue text in the second one has been set by my program, from pure >> ascii pulled from a db) >> >> Do I need to choose between the evils of oversized fields and looping >> around *every* field on *every* copy to use its customProperties to set >> it's properties, or is there a sane solution available? >> -- >> Dr. Richard E. Hawkins, Esq. >> (702) 508-8462 >> > > > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From MikeKerner at roadrunner.com Sun Dec 8 14:43:20 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sun, 8 Dec 2013 14:43:20 -0500 Subject: LC vs mySQL In-Reply-To: <2b6e3143669908de4120f4f2cfd96fdb.squirrel@185.8.104.234> References: <52A32F62.2080601@gmail.com> <1791635345886.20131207092424@ahsoftware.net> <2b6e3143669908de4120f4f2cfd96fdb.squirrel@185.8.104.234> Message-ID: Stored procedures get you two things: 1) faster network communication because you're just calling the SP with the parameters and allowing the server to do all the work instead of sending the query over the net, then getting the results passed back, then processing them, perhaps doing some more queries and sending them over the network, getting more results from the server, etc. 2) more consistency between types of clients if they are not homogenous. This is more important if you have teams of developers working on a project, or interrelated projects (like ERP). 3) Potentially faster processing time because more of the work is done on the server, which presumably has faster hardware and better processing time. Plus if you are deciding between doing something in LC (single-threaded) vs. the server (multi-threaded), you may notice a difference. On Sat, Dec 7, 2013 at 12:54 PM, wrote: > > > > > Indexing is good. You'll lose a little time on writes because of the > > need to update the indexes, but more than make it up on reads. Can you > > move some of the processing into stored procedures on the backend? The > > more processing you can hand off to the MySQL server, the faster your > > response time will be. > > > AFAIR I had some bad surprises in mySQL indexes, especially fulltext > indexes > because of reserved words, or words so common in english that they aren't > included in the index. The situation gets even weirder with french content > of > DBs when some words are used both in english & french... > As for stored procedures, this is tempting, but maintenance gets harder > when > parts of the code are split between mySQL tables and LC scripts... > > jbv > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From smudge.andy at googlemail.com Sun Dec 8 15:12:48 2013 From: smudge.andy at googlemail.com (AndyP) Date: Sun, 8 Dec 2013 12:12:48 -0800 (PST) Subject: Resolution Independence... Look at how far we've come In-Reply-To: References: Message-ID: <1386533568202-4673404.post@n4.nabble.com> 'ask the users to switch to a compatible screen resolution' .. can you imagine the expressions on users faces if you asked that now? Great find! ----- Andy Piddock My software never has bugs. It just develops random features. Copy the new cloud space, get your free 15GB space now: Get Copy Your LiveCode Work Desks - New Blog http://livecodemydesk.blogspot.de/ PointandSee is a FREE simple but full featured under cursor colour picker / finder. http://www.pointandsee.co.uk - made with LiveCode -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Resolution-Independence-Look-at-how-far-we-ve-come-tp4673395p4673404.html Sent from the Revolution - User mailing list archive at Nabble.com. From mwieder at ahsoftware.net Sun Dec 8 15:27:58 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 8 Dec 2013 12:27:58 -0800 Subject: Default values for handler parameters In-Reply-To: References: Message-ID: <491732760013.20131208122758@ahsoftware.net> Scott- Sunday, December 8, 2013, 10:51:44 AM, you wrote: > Pete: > How is what you wrote not accomplished by the following? > command myCommand p1 > local p2="abc" > -- more stuff > end myCommand > Maybe I'm missing what you're proposing, but I'm not seeing an immediate > use for it. Thanks for explaining. The idea is to provide for default values for optional parameters. In your example, p2 would always be "abc". If you wanted to override that, you couldn't. In the example below, p2 would be "abc" unless you specified a p2 parameter in the calling line command myCommand p1, p2="abc" -- more stuff put p2 after msg end myCommand myCommand "Scott" -- p2 is "abc" myCommand "Scott", "Rossi" -- p2 is "Rossi" -- -Mark Wieder ahsoftware at gmail.com From monte at sweattechnologies.com Sun Dec 8 15:32:20 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon, 9 Dec 2013 07:32:20 +1100 Subject: New livecode release notes page In-Reply-To: <52A4CAD5.1040305@hyperactivesw.com> References: <54D94E82-1F1D-4DA7-9923-30566974038A@sweattechnologies.com> <52A3B1D4.3090902@fourthworld.com> <2aefb848-bdaf-4cb0-95e2-4cc26b8ffefc@email.android.com> <97403216-B96B-4837-A4EE-FC041AE07293@sweattechnologies.com> <52A4CAD5.1040305@hyperactivesw.com> Message-ID: On 09/12/2013, at 6:39 AM, "J. Landman Gay" wrote: > I like the first one a little better, even on mobile, because I think it's easier to have the list of release versions at the left. The themes in the MDwidi one all make the text uncomfortably huge on my Android tablet so there's more scrolling and the layout isn't as good. Also, since we need to develop on desktop, I wonder how important mobile support will be. > > Just my opinion though, others may differ and I'm okay with either of them. hmm... yes the text is on the large side... I don't mind either way, whatever folks think is useful. Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From mwieder at ahsoftware.net Sun Dec 8 15:30:56 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 8 Dec 2013 12:30:56 -0800 Subject: LC vs mySQL In-Reply-To: <2b6e3143669908de4120f4f2cfd96fdb.squirrel@185.8.104.234> References: <52A32F62.2080601@gmail.com> <1791635345886.20131207092424@ahsoftware.net> <2b6e3143669908de4120f4f2cfd96fdb.squirrel@185.8.104.234> Message-ID: <291732937845.20131208123056@ahsoftware.net> jbv- Saturday, December 7, 2013, 9:54:54 AM, you wrote: > AFAIR I had some bad surprises in mySQL indexes, especially fulltext indexes > because of reserved words, or words so common in english that they aren't > included in the index. The situation gets even weirder with french content of > DBs when some words are used both in english & french... As Pete said, generating an index doesn't necessarily guarantee a speed increase. I'm not sure of the utility of a fulltext index, and I don't think generating an index on a numeric field will gain you anything. But in other cases you may see a marked difference. -- -Mark Wieder ahsoftware at gmail.com From mwieder at ahsoftware.net Sun Dec 8 15:57:00 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 8 Dec 2013 12:57:00 -0800 Subject: New livecode release notes page In-Reply-To: <52A4CAD5.1040305@hyperactivesw.com> References: <54D94E82-1F1D-4DA7-9923-30566974038A@sweattechnologies.com> <52A3B1D4.3090902@fourthworld.com> <2aefb848-bdaf-4cb0-95e2-4cc26b8ffefc@email.android.com> <97403216-B96B-4837-A4EE-FC041AE07293@sweattechnologies.com> <52A4CAD5.1040305@hyperactivesw.com> Message-ID: <701734501735.20131208125700@ahsoftware.net> Jacque- Sunday, December 8, 2013, 11:39:01 AM, you wrote: > Just my opinion though, others may differ and I'm okay with either of them. I'm with you on this. Either is better than none, but the first version is much more usable. -- -Mark Wieder ahsoftware at gmail.com From slylabs13 at me.com Sun Dec 8 16:33:48 2013 From: slylabs13 at me.com (Robert Sneidar) Date: Sun, 08 Dec 2013 13:33:48 -0800 Subject: Resolution Independence... Look at how far we've come In-Reply-To: References: Message-ID: <076BFBCA-A2EB-4028-A037-A79A205AD166@me.com> I love Kevin?s response. ?Non-starter.? It?s a whole new world baby! Bob On Dec 8, 2013, at 7:47 AM, Roger Eller wrote: > It was the year 2000. The recommended practice was to keep your stacks > smaller than 800x600, and preferably 640x480 to accommodate the majority of > desktop users, and ask the users to switch to a compatible screen > resolution. > > Was it worth the wait? > > http://www.mail-archive.com/metacard%40lists.best.com/msg04365.html > > ~Roger > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From monte at sweattechnologies.com Sun Dec 8 16:34:46 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon, 9 Dec 2013 08:34:46 +1100 Subject: New livecode release notes page In-Reply-To: <701734501735.20131208125700@ahsoftware.net> References: <54D94E82-1F1D-4DA7-9923-30566974038A@sweattechnologies.com> <52A3B1D4.3090902@fourthworld.com> <2aefb848-bdaf-4cb0-95e2-4cc26b8ffefc@email.android.com> <97403216-B96B-4837-A4EE-FC041AE07293@sweattechnologies.com> <52A4CAD5.1040305@hyperactivesw.com> <701734501735.20131208125700@ahsoftware.net> Message-ID: <0FB46EF0-637E-4BBE-B3DF-BA89542212D7@sweattechnologies.com> On 09/12/2013, at 7:57 AM, Mark Wieder wrote: > I'm with you on this. Either is better than none, but the first > version is much more usable. It sounds like a consensus is forming ;-) Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From richmondmathewson at gmail.com Sun Dec 8 16:55:05 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 08 Dec 2013 23:55:05 +0200 Subject: Livecode on a rent-a-MAC In-Reply-To: <64A9C54E-EFA4-4665-85CA-1C19E31B5B9E@Lish.net> References: <64A9C54E-EFA4-4665-85CA-1C19E31B5B9E@Lish.net> Message-ID: <52A4EAB9.3030403@gmail.com> On 08/12/13 21:41, Ethan Lish wrote: > The new rent-a-MAC in the cloud service now comes with an installed livecode IDE instance. Not sure if it's a commercial or community license. > > https://www.macincloud.com/features/tools/tools > > At a $1 per hour, it seems like a quick low cost way to get started. "a quick low cost way to get started" started with what? Possibly as a way of using a Macintosh without having a Macintosh machine [ although I manage that quite adequately, and have recently been fooling around with Mac OS 10.9 and VMware ] but as a way of getting started with Livecode this doesn't make sense at all: A kid who was doing some stuff with Livecode with me this Summer turned out to have no computer at home and no money worth talking about. We got hold of a Pentium 4 with 512 MB RAM, keyboard, monitor (cathode-ray tube) and a mouse for the princely sum of about $40, installed Xubuntu 12.04 and Livecode. [ I also dug a DVD burner, an additional 512 Megs of RAM and an 80 Gig PATA HD out of my "graveyard" ] Works a charm! ----------------- The "$1 per hour" sidesteps the cost of paying for internet as well. It also sidesteps the privacy question. > > Has anyone tried this service? Why would one want to do this? > > E > > Ethan at Lish.net > 240.449.8270 > > Sent from MyPhone > _______________________________________________ > Sent from a machine cobbled together from second-hand spare parts. Richmond. From stephenREVOLUTION2 at barncard.com Sun Dec 8 17:21:47 2013 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sun, 8 Dec 2013 14:21:47 -0800 Subject: Livecode on a rent-a-MAC In-Reply-To: <52A4EAB9.3030403@gmail.com> References: <64A9C54E-EFA4-4665-85CA-1C19E31B5B9E@Lish.net> <52A4EAB9.3030403@gmail.com> Message-ID: On Sun, Dec 8, 2013 at 1:55 PM, Richmond wrote: > Why would one want to do this? ?because it hadn't been tried as a startup yet.? *--* *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* From monte at sweattechnologies.com Sun Dec 8 17:57:02 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon, 9 Dec 2013 09:57:02 +1100 Subject: New livecode release notes page In-Reply-To: <701734501735.20131208125700@ahsoftware.net> References: <54D94E82-1F1D-4DA7-9923-30566974038A@sweattechnologies.com> <52A3B1D4.3090902@fourthworld.com> <2aefb848-bdaf-4cb0-95e2-4cc26b8ffefc@email.android.com> <97403216-B96B-4837-A4EE-FC041AE07293@sweattechnologies.com> <52A4CAD5.1040305@hyperactivesw.com> <701734501735.20131208125700@ahsoftware.net> Message-ID: On 09/12/2013, at 7:57 AM, Mark Wieder wrote: > I'm with you on this. Either is better than none, but the first > version is much more usable. I just update http://mergext.com/notes.html with the coming soon section for un-tagged changes on the develop branch or release branches. -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From dochawk at gmail.com Sun Dec 8 18:34:42 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sun, 8 Dec 2013 15:34:42 -0800 Subject: field properties changing when group copied In-Reply-To: <52A4CB99.8060300@hyperactivesw.com> References: <52A4CB99.8060300@hyperactivesw.com> Message-ID: On Sun, Dec 8, 2013 at 11:42 AM, J. Landman Gay wrote: > Since no one's responded it sounds like something in your setup. The most > likely reason is that your fields are using inherited text properties, and > pasting one somewhere else causes the inheritance to change. > > Just a guess though, since I'm not sure what your setup is. > I don't think I've changed anything from the defaults except for What is particularly hitting me is the fixed line height. I have my sharedText set, and the text survives the paste with its formatting. I set the fixed line height to on, and 12, to match the court forms. When I paste a group with a lot of label fields, most of the formatting survives, but the line height goes back a default 14. Also, the tighter margins I set seem to be getting reset to defaults, causing the text not to show in the field. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From roger.e.eller at sealedair.com Sun Dec 8 18:36:42 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sun, 8 Dec 2013 18:36:42 -0500 Subject: Resolution Independence... Look at how far we've come In-Reply-To: <076BFBCA-A2EB-4028-A037-A79A205AD166@me.com> References: <076BFBCA-A2EB-4028-A037-A79A205AD166@me.com> Message-ID: Yeah, he's gone from non-starter to kick-starter in 13 years flat! ~Roger On Dec 8, 2013 4:34 PM, "Robert Sneidar" wrote: > I love Kevin?s response. ?Non-starter.? It?s a whole new world baby! > > Bob > > > On Dec 8, 2013, at 7:47 AM, Roger Eller > wrote: > > > It was the year 2000. The recommended practice was to keep your stacks > > smaller than 800x600, and preferably 640x480 to accommodate the majority > of > > desktop users, and ask the users to switch to a compatible screen > > resolution. > > > > Was it worth the wait? > > > > http://www.mail-archive.com/metacard%40lists.best.com/msg04365.html > > > > ~Roger > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bill at bluewatermaritime.com Sun Dec 8 19:08:11 2013 From: bill at bluewatermaritime.com (william humphrey) Date: Sun, 8 Dec 2013 20:08:11 -0400 Subject: Help with revXML Message-ID: Hi I have a large XML file like this: AFGHANISTAN AF ALBANIA AL ALGERIA DZ AMERICAN SAMOA AS ANDORRA AD ANGOLA AO ANGUILLA AI ANTARCTICA AQ And I tried: put revXMLChildNames(pTree, "Country_List/Country", return, "Country_Name", true) into tCountries And all I get is just the first child name and not the list. I get just one Country_Name[1] (and it stops there) -- I'd also like to get the ISO_Code too as a list with a tab between it and the country name but.... From bill at bluewatermaritime.com Sun Dec 8 19:25:38 2013 From: bill at bluewatermaritime.com (william humphrey) Date: Sun, 8 Dec 2013 20:25:38 -0400 Subject: Help with revXML In-Reply-To: References: Message-ID: If I do: put revXMLChildNames(pTree, "Country_List", return, "Country", true) into tCountries Then I get the list with brackets but no creative use of any permutation of repeat for each line theCountry in tCountries put revXMLNodeContents(pTree, "Country_List/" & theCountry) & return after tListOfCountries end repeat Will give me any contents. Please help On Sun, Dec 8, 2013 at 8:08 PM, william humphrey wrote: > Hi > > I have a large XML file like this: > > > > AFGHANISTAN > AF > > > ALBANIA > AL > > > ALGERIA > DZ > > > AMERICAN SAMOA > AS > > > ANDORRA > AD > > > ANGOLA > AO > > > ANGUILLA > AI > > > ANTARCTICA > AQ > > > > And I tried: > > put revXMLChildNames(pTree, "Country_List/Country", return, > "Country_Name", true) into tCountries > > And all I get is just the first child name and not the list. I get just one > > Country_Name[1] (and it stops there) -- I'd also like to get the > ISO_Code too as a list with a tab between it and the country name > but.... -- http://www.bluewatermaritime.com From Nakia.Brewer at westrac.com.au Sun Dec 8 19:41:04 2013 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Mon, 9 Dec 2013 00:41:04 +0000 Subject: Help with revXML In-Reply-To: References: Message-ID: <67116DB20798A94285EEE12A67079A2832648CE8@MHSEXC02.westrac.com.au> Got a copy of the XML you could send? -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of william humphrey Sent: Monday, 09 December 2013 11:26 To: How to use LiveCode Subject: Re: Help with revXML If I do: put revXMLChildNames(pTree, "Country_List", return, "Country", true) into tCountries Then I get the list with brackets but no creative use of any permutation of repeat for each line theCountry in tCountries put revXMLNodeContents(pTree, "Country_List/" & theCountry) & return after tListOfCountries end repeat Will give me any contents. Please help On Sun, Dec 8, 2013 at 8:08 PM, william humphrey wrote: > Hi > > I have a large XML file like this: > > > > AFGHANISTAN > AF > > > ALBANIA > AL > > > ALGERIA > DZ > > > AMERICAN SAMOA > AS > > > ANDORRA > AD > > > ANGOLA > AO > > > ANGUILLA > AI > > > ANTARCTICA > AQ > > > > And I tried: > > put revXMLChildNames(pTree, "Country_List/Country", return, > "Country_Name", true) into tCountries > > And all I get is just the first child name and not the list. I get just one > > Country_Name[1] (and it stops there) -- I'd also like to get the > ISO_Code too as a list with a tab between it and the country name > but.... -- http://www.bluewatermaritime.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. From mkoob at rogers.com Sun Dec 8 20:11:34 2013 From: mkoob at rogers.com (Martin Koob) Date: Sun, 8 Dec 2013 17:11:34 -0800 (PST) Subject: [ANN] Name Generator In-Reply-To: <28FDC804-4F41-46E8-8E00-D0F810D925DA@wanadoo.fr> References: <28FDC804-4F41-46E8-8E00-D0F810D925DA@wanadoo.fr> Message-ID: <1386551494949-4673419.post@n4.nabble.com> With the company name though you need a tag line. I came up with tag lines for two of the names generated. Abusive Chess (Chess meets MMA) Vague Change (Change you are not really sure actually happened.) Martin -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-Name-Generator-tp4673335p4673419.html Sent from the Revolution - User mailing list archive at Nabble.com. From mwieder at ahsoftware.net Sun Dec 8 20:10:32 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 8 Dec 2013 17:10:32 -0800 Subject: New livecode release notes page In-Reply-To: <0FB46EF0-637E-4BBE-B3DF-BA89542212D7@sweattechnologies.com> References: <54D94E82-1F1D-4DA7-9923-30566974038A@sweattechnologies.com> <52A3B1D4.3090902@fourthworld.com> <2aefb848-bdaf-4cb0-95e2-4cc26b8ffefc@email.android.com> <97403216-B96B-4837-A4EE-FC041AE07293@sweattechnologies.com> <52A4CAD5.1040305@hyperactivesw.com> <701734501735.20131208125700@ahsoftware.net> <0FB46EF0-637E-4BBE-B3DF-BA89542212D7@sweattechnologies.com> Message-ID: <61749714096.20131208171032@ahsoftware.net> Monte- Sunday, December 8, 2013, 1:34:46 PM, you wrote: > It sounds like a consensus is forming ;-) Oh, I hate consensus-building. Everyone should just do as I say. -- -Mark Wieder ahsoftware at gmail.com From mwieder at ahsoftware.net Sun Dec 8 20:17:12 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 8 Dec 2013 17:17:12 -0800 Subject: New livecode release notes page In-Reply-To: <20F6C607-2B36-454A-9B65-0F0C04E6C5FB@sweattechnologies.com> References: <20F6C607-2B36-454A-9B65-0F0C04E6C5FB@sweattechnologies.com> Message-ID: <871750113992.20131208171712@ahsoftware.net> Monte- Saturday, December 7, 2013, 1:37:53 AM, you wrote: > community and demonstrate the power of git and the coolness of > markdown. I should also give a shout out to Kaveh Bazargan here. Every bit of the little I know about markdown I learned from Kaveh. He's the real expert on this, and anyone who's doing or thinking about doing digital typesetting, or who is looking for a consultant in the field, would do well to check him out. http://river-valley.com/ -- -Mark Wieder ahsoftware at gmail.com From mwieder at ahsoftware.net Sun Dec 8 20:20:56 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 8 Dec 2013 17:20:56 -0800 Subject: Resolution Independence... Look at how far we've come In-Reply-To: <076BFBCA-A2EB-4028-A037-A79A205AD166@me.com> References: <076BFBCA-A2EB-4028-A037-A79A205AD166@me.com> Message-ID: <1521750337859.20131208172056@ahsoftware.net> Robert- Sunday, December 8, 2013, 1:33:48 PM, you wrote: > I love Kevin?s response. ?Non-starter.? It?s a whole new world baby! But I should point out that Kevin is absolutely right... ...800x600 *is* not as small as 640x480... -- -Mark Wieder ahsoftware at gmail.com From roger.e.eller at sealedair.com Sun Dec 8 20:37:54 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sun, 8 Dec 2013 20:37:54 -0500 Subject: Resolution Independence... Look at how far we've come In-Reply-To: <1521750337859.20131208172056@ahsoftware.net> References: <076BFBCA-A2EB-4028-A037-A79A205AD166@me.com> <1521750337859.20131208172056@ahsoftware.net> Message-ID: On Sun, Dec 8, 2013 at 8:20 PM, Mark Wieder wrote: > Robert- > > But I should point out that Kevin is absolutely right... > > ...800x600 *is* not as small as 640x480... > > We used to pick on the "older guys" at work back in Y2K for preferring their 17" CRT's to be set at 640x480. And now, I despise retina and hd displays because my eyes are too old to appreciate HD. :( > > -- > -Mark Wieder > ahsoftware at gmail.com > ~Roger From mwieder at ahsoftware.net Sun Dec 8 20:36:07 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 8 Dec 2013 17:36:07 -0800 Subject: Help with revXML In-Reply-To: References: Message-ID: <1681751248352.20131208173607@ahsoftware.net> William- Are you using LC 6.5.x? If so, you can use the xpath query functions to accomplish this. Assuming the data in field 1, the following function will give you the desired list. If you want just the country names, substitute "/Country_List/Country/Country_Name" in the first line. on mouseUp local tXMLDoc local tXPathQuery local tResult put "/Country_List/Country" into tXPathQuery put revXMLCreateTree(field 1, true, true, false) into tXMLDoc put revXMLDataFromXPathQuery(tXMLDoc, tXPathQuery) into tResult end mouseUp -- -Mark Wieder ahsoftware at gmail.com From monte at sweattechnologies.com Sun Dec 8 20:49:15 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon, 9 Dec 2013 12:49:15 +1100 Subject: New livecode release notes page In-Reply-To: <61749714096.20131208171032@ahsoftware.net> References: <54D94E82-1F1D-4DA7-9923-30566974038A@sweattechnologies.com> <52A3B1D4.3090902@fourthworld.com> <2aefb848-bdaf-4cb0-95e2-4cc26b8ffefc@email.android.com> <97403216-B96B-4837-A4EE-FC041AE07293@sweattechnologies.com> <52A4CAD5.1040305@hyperactivesw.com> <701734501735.20131208125700@ahsoftware.net> <0FB46EF0-637E-4BBE-B3DF-BA89542212D7@sweattechnologies.com> <61749714096.20131208171032@ahsoftware.net> Message-ID: <51530C56-EF5F-4241-8A45-B42DA8A9BC30@sweattechnologies.com> On 09/12/2013, at 12:10 PM, Mark Wieder wrote: > Oh, I hate consensus-building. > Everyone should just do as I say. Fair enough ;-) I'm actually starting to wonder if this thing could be generally useful for other projects to use. If it's helpful for us then... Anyway, what's the http download url for community?... thought I'd add a link for each release. Cheers -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From slylabs13 at me.com Sun Dec 8 20:52:06 2013 From: slylabs13 at me.com (Robert Sneidar) Date: Sun, 08 Dec 2013 17:52:06 -0800 Subject: Resolution Independence... Look at how far we've come In-Reply-To: <1521750337859.20131208172056@ahsoftware.net> References: <076BFBCA-A2EB-4028-A037-A79A205AD166@me.com> <1521750337859.20131208172056@ahsoftware.net> Message-ID: A point which I duly concede. ;-) On Dec 8, 2013, at 5:20 PM, Mark Wieder wrote: > Robert- > > Sunday, December 8, 2013, 1:33:48 PM, you wrote: > >> I love Kevin?s response. ?Non-starter.? It?s a whole new world baby! > > > > > But I should point out that Kevin is absolutely right... > > > > > > > > > ...800x600 *is* not as small as 640x480... > > > > > > -- > -Mark Wieder > ahsoftware at gmail.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From slylabs13 at me.com Sun Dec 8 20:53:45 2013 From: slylabs13 at me.com (Robert Sneidar) Date: Sun, 08 Dec 2013 17:53:45 -0800 Subject: Livecode on a rent-a-MAC In-Reply-To: <52A4EAB9.3030403@gmail.com> References: <64A9C54E-EFA4-4665-85CA-1C19E31B5B9E@Lish.net> <52A4EAB9.3030403@gmail.com> Message-ID: <6AC3DF73-7727-4BB4-995A-D57F2F309CB6@me.com> A wise sage once said, ?It?s all about the pentium!? On Dec 8, 2013, at 1:55 PM, Richmond wrote: > On 08/12/13 21:41, Ethan Lish wrote: >> The new rent-a-MAC in the cloud service now comes with an installed livecode IDE instance. Not sure if it's a commercial or community license. >> >> https://www.macincloud.com/features/tools/tools >> >> At a $1 per hour, it seems like a quick low cost way to get started. > > "a quick low cost way to get started" started with what? > > Possibly as a way of using a Macintosh without having a Macintosh machine > > [ although I manage that quite adequately, and have recently been fooling around with Mac OS 10.9 and > VMware ] > > but as a way of getting started with Livecode this doesn't make sense at all: > > A kid who was doing some stuff with Livecode with me this Summer turned out to have no computer > at home and no money worth talking about. > > We got hold of a Pentium 4 with 512 MB RAM, keyboard, monitor (cathode-ray tube) and a mouse for the > princely sum of about $40, installed Xubuntu 12.04 and Livecode. > > [ I also dug a DVD burner, an additional 512 Megs of RAM and an 80 Gig PATA HD out of my "graveyard" ] > > Works a charm! > > ----------------- > > The "$1 per hour" sidesteps the cost of paying for internet as well. > > It also sidesteps the privacy question. > >> >> Has anyone tried this service? > > Why would one want to do this? > >> >> E >> >> Ethan at Lish.net >> 240.449.8270 >> >> Sent from MyPhone >> _______________________________________________ >> > > Sent from a machine cobbled together from second-hand spare parts. > > Richmond. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From slylabs13 at me.com Sun Dec 8 20:56:00 2013 From: slylabs13 at me.com (Robert Sneidar) Date: Sun, 08 Dec 2013 17:56:00 -0800 Subject: LC vs mySQL In-Reply-To: <291732937845.20131208123056@ahsoftware.net> References: <52A32F62.2080601@gmail.com> <1791635345886.20131207092424@ahsoftware.net> <2b6e3143669908de4120f4f2cfd96fdb.squirrel@185.8.104.234> <291732937845.20131208123056@ahsoftware.net> Message-ID: As usual, ?it depends?. Thousands of records? Full text search no problem. Millions of records? You may have a performance issue. Bob On Dec 8, 2013, at 12:30 PM, Mark Wieder wrote: > jbv- > > Saturday, December 7, 2013, 9:54:54 AM, you wrote: > >> AFAIR I had some bad surprises in mySQL indexes, especially fulltext indexes >> because of reserved words, or words so common in english that they aren't >> included in the index. The situation gets even weirder with french content of >> DBs when some words are used both in english & french... > > As Pete said, generating an index doesn't necessarily guarantee a > speed increase. I'm not sure of the utility of a fulltext index, and I > don't think generating an index on a numeric field will gain you > anything. But in other cases you may see a marked difference. > > -- > -Mark Wieder > ahsoftware at gmail.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From slylabs13 at me.com Sun Dec 8 21:03:47 2013 From: slylabs13 at me.com (Robert Sneidar) Date: Sun, 08 Dec 2013 18:03:47 -0800 Subject: Communicating between to standalones with "write to process" - Found word(s) list error in the Text body In-Reply-To: References: <9F543924-10CF-4FC3-9B55-F039B01F47AF@me.com> Message-ID: I get the need for such a thing. In SBT, they needed to update several tables in one transaction, and because Foxpro uses a dBase engine there was no support for this. So what they would do is lock the entire tables which required ?inserts? and semaphore lock the records that needed ?updates?. God forbid someone would crash or the power would go out during one of these transactions! But the time it took, even back then, to accomplish one of these ?transactions? was so small that it rarely if ever would occur. We are talking about updating or creating a new invoice. If the query involves thousands or more records, I can see how locking down a table for the duration would be impractical. Perhaps that is what staging a transaction is about? Bob On Dec 8, 2013, at 11:29 AM, Mike Kerner wrote: > Unfortunately, there is not very much written on the topic of multi-stage > commits. You will be able to find information on "two-phase commits", > which is a very basic version of this idea, but TPC involves state > certainty. MSC does not. > > Multi-stage commits are sort-of a cross between thinking about data in > quantum mechanics terms (i.e. the answer to any question depends on whom > you ask and when, and the likelihood that all answers will be correct, even > if they are different from each other), and two-phase commits - across many > nodes. Yes, there are very important reasons to implement a solution this > way. The U. S. Navy, for instance, has, in some cases 25-30 stage commits. > > > On Thu, Dec 5, 2013 at 10:41 PM, Robert Sneidar wrote: > >> Multi-stage commits? Wow! I never knew there was such a thing! I?d like to >> talk about that! I?m going to google that one. >> >> Bob >> >> >> On Dec 3, 2013, at 9:47 AM, Mike Kerner wrote: >> >>> The reason for using the server is that it takes most of the work out for >>> you, and you just worry about talking to it. Transactions, triggers, >>> semaphores, record locking, etc. can all be handled that way. Now once >> you >>> get into multi-stage commits, you and I have to talk because that's a >> topic >>> that is generally beyond the scope here. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From Nakia.Brewer at westrac.com.au Sun Dec 8 23:09:40 2013 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Mon, 9 Dec 2013 04:09:40 +0000 Subject: Running LC Program as a Service Message-ID: <67116DB20798A94285EEE12A67079A283264939E@MHSEXC02.westrac.com.au> Hi, Just wondering if anyone has ran a LC Program as a Service on windows server platform? I have a need to build a small program that basically completes API calls and requests based upon a schedule. (Its actually a messaging client that allows the user to schedule messages to be sent via an API at selectable times) COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. From roger.e.eller at sealedair.com Sun Dec 8 23:24:16 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sun, 8 Dec 2013 23:24:16 -0500 Subject: Running LC Program as a Service In-Reply-To: <67116DB20798A94285EEE12A67079A283264939E@MHSEXC02.westrac.com.au> References: <67116DB20798A94285EEE12A67079A283264939E@MHSEXC02.westrac.com.au> Message-ID: Your standalone will have to be digitally signed or MS Server will sit waiting for you to click "Run". If it is signed, you can use Windows Scheduler to launch it at a specified time. You need to have the app quit when it is done, or encounters an error. ~Roger On Sun, Dec 8, 2013 at 11:09 PM, Nakia Brewer wrote: > Hi, > > Just wondering if anyone has ran a LC Program as a Service on windows > server platform? > I have a need to build a small program that basically completes API calls > and requests based upon a schedule. > (Its actually a messaging client that allows the user to schedule messages > to be sent via an API at selectable times) > > > > > COPYRIGHT / DISCLAIMER: This message and/or including attached files may > contain confidential proprietary or privileged information. If you are not > the intended recipient, you are strictly prohibited from using, > reproducing, disclosing or distributing the information contained in this > email without authorisation from WesTrac. If you have received this message > in error please contact WesTrac on +61 8 9377 9444. We do not accept > liability in connection with computer virus, data corruption, delay, > interruption, unauthorised access or unauthorised amendment. We reserve the > right to monitor all e-mail communications. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From Nakia.Brewer at westrac.com.au Sun Dec 8 23:32:37 2013 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Mon, 9 Dec 2013 04:32:37 +0000 Subject: Running LC Program as a Service In-Reply-To: References: <67116DB20798A94285EEE12A67079A283264939E@MHSEXC02.westrac.com.au> Message-ID: <67116DB20798A94285EEE12A67079A2832649C30@MHSEXC02.westrac.com.au> Okay but I'm not certain how this will work with the intent of my App. Basically, the user has the ability to setup messages to be sent at any time he/she likes and this will vary (for example, some machine may receive one message at one time but other machines at another time) Basically, the App will need to run continuously (service) -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Roger Eller Sent: Monday, 09 December 2013 15:24 To: How to use LiveCode Subject: Re: Running LC Program as a Service Your standalone will have to be digitally signed or MS Server will sit waiting for you to click "Run". If it is signed, you can use Windows Scheduler to launch it at a specified time. You need to have the app quit when it is done, or encounters an error. ~Roger On Sun, Dec 8, 2013 at 11:09 PM, Nakia Brewer wrote: > Hi, > > Just wondering if anyone has ran a LC Program as a Service on windows > server platform? > I have a need to build a small program that basically completes API calls > and requests based upon a schedule. > (Its actually a messaging client that allows the user to schedule messages > to be sent via an API at selectable times) > > > > > COPYRIGHT / DISCLAIMER: This message and/or including attached files may > contain confidential proprietary or privileged information. If you are not > the intended recipient, you are strictly prohibited from using, > reproducing, disclosing or distributing the information contained in this > email without authorisation from WesTrac. If you have received this message > in error please contact WesTrac on +61 8 9377 9444. We do not accept > liability in connection with computer virus, data corruption, delay, > interruption, unauthorised access or unauthorised amendment. We reserve the > right to monitor all e-mail communications. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. From brahma at hindu.org Sun Dec 8 23:47:06 2013 From: brahma at hindu.org (Brahmanathswami) Date: Sun, 08 Dec 2013 18:47:06 -1000 Subject: Sorting Deep Nested Arrays In-Reply-To: <891B3709-5B09-4CC4-849C-325E366ADD60@me.com> References: <529E912C.6080206@hindu.org> <891B3709-5B09-4CC4-849C-325E366ADD60@me.com> Message-ID: <52A54B4A.3090903@hindu.org> I followed Ender Nafi's lead on this. I agree. "Often, the simplest methods are the most reliable one." My head starts to spin with the arrays get too deep. It's so easy to load them up , but then getting it back out! so Ender's idea was to "get out of the array" good! I used tried and true verbose brick by brick expressions to get into a list instead of yet another array. # For a listing we just need to get the data out into a simple line-tab delimited variable # to sort it properly the array keys are not sortable put tRow["start_time"] & tab into tTaskLine put tRow["task"] & tab after tTaskLine put tRow["budget"] & tab after tTaskLine put tRow["description"] & tab after tTaskLine put tRow["budget"] & tab after tTaskLine put tRow["amount"] after tTaskLine # we are switching to line based delivery so we need to wipes CR's in the description now replace cr with " " in tTaskLine # one space put tTaskLine & cr after tLongReport end repeat set the itemdel to tab sort tLongReport descending by item 1 of each put tLongReport into gData["allTasksReport"] then in my revIgniter output view I used this: "& (item 1 of tEntry) &""& (item 2 of tEntry) &""&( item 3 of tEntry) &"" & (item 4 of tEntry) &""& (item 5 of tEntry) &""& (item 6 of tEntry) &"" after tBuf end repeat return tBuf ?> OK, so maybe a few more lines of code and not as "cool" as arrays, but it's transparent and de-buggable. And for just a few fields, very small amount or data... where the content is short text strings and numbers, it hardly more code doing operations on tab del lines vs doing repeat loops on array keys and then sorting the keys and output the array on another loop iteration over sorted keys: you end up with almost as much code and it's very dense OTOH just the gData array in RevIgniter is really fun. Swasti Astu, Be Well! Brahmanathaswami Kauai's Hindu Monastery www.HimalayanAcademy.com Robert Sneidar wrote: > Often, the simplest methods are the most reliable ones. > > How about combining the array into a temporary variable, > > then sort it by the*item* (formerly*key*) you want, > > then construct the tBuf? From jacque at hyperactivesw.com Mon Dec 9 00:03:45 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 08 Dec 2013 23:03:45 -0600 Subject: Asking the impossible Message-ID: <52A54F31.5010209@hyperactivesw.com> I think this can't be done, but just in case: I have a transparent field that contains only an imagesource. It sits over a larger image. I need to differentiate whether the user has clicked on the imagesource content of the field or on its transparent area. I know this can be done with a normal image object, but what about an imagesource? Mousecolor won't work, there will always be a mousecolor. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From terry.judd at unimelb.edu.au Mon Dec 9 00:11:44 2013 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Mon, 9 Dec 2013 05:11:44 +0000 Subject: Asking the impossible In-Reply-To: <52A54F31.5010209@hyperactivesw.com> References: <52A54F31.5010209@hyperactivesw.com> Message-ID: put the imageSource of the mouseChunk? Terry... On 09/12/2013, at 04:03 PM, J. Landman Gay wrote: > I think this can't be done, but just in case: > > I have a transparent field that contains only an imagesource. It sits over a larger image. I need to differentiate whether the user has clicked on the imagesource content of the field or on its transparent area. > > I know this can be done with a normal image object, but what about an imagesource? Mousecolor won't work, there will always be a mousecolor. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > Dr Terry Judd Senior Lecturer in Medical Education Medical Education Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne From mark.laffoon at gmail.com Mon Dec 9 00:43:45 2013 From: mark.laffoon at gmail.com (Mark Laffoon) Date: Sun, 8 Dec 2013 20:43:45 -0900 Subject: Running LC Program as a Service In-Reply-To: <67116DB20798A94285EEE12A67079A2832649C30@MHSEXC02.westrac.com.au> References: <67116DB20798A94285EEE12A67079A283264939E@MHSEXC02.westrac.com.au> <67116DB20798A94285EEE12A67079A2832649C30@MHSEXC02.westrac.com.au> Message-ID: <0A43D082-B4AE-4F33-8979-933751803BFE@gmail.com> Maybe something like this would suit your needs: http://iain.cx/src/nssm/ Basically let's you run any executable as a service. Mark Sent from my iPhone > On Dec 8, 2013, at 7:32 PM, Nakia Brewer wrote: > > Okay but I'm not certain how this will work with the intent of my App. > > Basically, the user has the ability to setup messages to be sent at any time he/she likes and this will vary > (for example, some machine may receive one message at one time but other machines at another time) > > Basically, the App will need to run continuously (service) > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Roger Eller > Sent: Monday, 09 December 2013 15:24 > To: How to use LiveCode > Subject: Re: Running LC Program as a Service > > Your standalone will have to be digitally signed or MS Server will sit > waiting for you to click "Run". If it is signed, you can use Windows > Scheduler to launch it at a specified time. You need to have the app quit > when it is done, or encounters an error. > > ~Roger > > > On Sun, Dec 8, 2013 at 11:09 PM, Nakia Brewer > wrote: > >> Hi, >> >> Just wondering if anyone has ran a LC Program as a Service on windows >> server platform? >> I have a need to build a small program that basically completes API calls >> and requests based upon a schedule. >> (Its actually a messaging client that allows the user to schedule messages >> to be sent via an API at selectable times) >> >> >> >> >> COPYRIGHT / DISCLAIMER: This message and/or including attached files may >> contain confidential proprietary or privileged information. If you are not >> the intended recipient, you are strictly prohibited from using, >> reproducing, disclosing or distributing the information contained in this >> email without authorisation from WesTrac. If you have received this message >> in error please contact WesTrac on +61 8 9377 9444. We do not accept >> liability in connection with computer virus, data corruption, delay, >> interruption, unauthorised access or unauthorised amendment. We reserve the >> right to monitor all e-mail communications. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From harrison at all-auctions.com Mon Dec 9 00:56:53 2013 From: harrison at all-auctions.com (Rick Harrison) Date: Mon, 9 Dec 2013 00:56:53 -0500 Subject: Asking the impossible In-Reply-To: <52A54F31.5010209@hyperactivesw.com> References: <52A54F31.5010209@hyperactivesw.com> Message-ID: <7CBAF0BA-3988-44B5-B1E2-B3DD094989D8@all-auctions.com> Hi Jacqueline, This is a long shot in the dark, but if you know the exact coordinates of the transparent area, and you know the exact coordinates of the imagesource content, just check if the user clicked either of those coordinates. Don?t bother trying to look at the objects involved. Yes, it is a work around, but it just might work if you can?t find any other solution. You may need tables to store your coordinate maps. Cheers, Rick On Dec 9, 2013, at 12:03 AM, J. Landman Gay wrote: > I think this can't be done, but just in case: > > I have a transparent field that contains only an imagesource. It sits over a larger image. I need to differentiate whether the user has clicked on the imagesource content of the field or on its transparent area. > > I know this can be done with a normal image object, but what about an imagesource? Mousecolor won't work, there will always be a mousecolor. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From scott at tactilemedia.com Mon Dec 9 01:21:52 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Sun, 08 Dec 2013 22:21:52 -0800 Subject: Asking the impossible In-Reply-To: <52A54F31.5010209@hyperactivesw.com> References: <52A54F31.5010209@hyperactivesw.com> Message-ID: Are you ready for a kludge? You need the source image somewhere in your stack, and a 1x1 pixel graphic named "marker" placed on top of the source image. In your test script: put formattedrect of the mouseCharChunk into theRect put mouseH() - item 1 of theRect, mouseV() - item 2 of theRect into theOffset set loc of grc "marker" to left of img "source" + item 1 of theOffset,top of img "source" + item 2 of theOffset get intersect(grc "marker",img 1,"pixels") This will test the intersection of the marker graphic with the transparency of the image used as the image source. As I said, a kludge, but seems to work here. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 12/8/13 9:03 PM, "J. Landman Gay" wrote: >I think this can't be done, but just in case: > >I have a transparent field that contains only an imagesource. It sits >over a larger image. I need to differentiate whether the user has >clicked on the imagesource content of the field or on its transparent >area. > >I know this can be done with a normal image object, but what about an >imagesource? Mousecolor won't work, there will always be a mousecolor. > >-- >Jacqueline Landman Gay | jacque at hyperactivesw.com >HyperActive Software | http://www.hyperactivesw.com > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode > From scott at tactilemedia.com Mon Dec 9 01:24:09 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Sun, 08 Dec 2013 22:24:09 -0800 Subject: Asking the impossible In-Reply-To: References: <52A54F31.5010209@hyperactivesw.com> Message-ID: Sorry, the last line should have read: get intersect(grc "marker",img "source","pixels") Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 12/8/13 10:21 PM, "Scott Rossi" wrote: >Are you ready for a kludge? > >You need the source image somewhere in your stack, and a 1x1 pixel graphic >named "marker" placed on top of the source image. In your test script: > >put formattedrect of the mouseCharChunk into theRect > put mouseH() - item 1 of theRect, mouseV() - item 2 of theRect into >theOffset > set loc of grc "marker" to left of img "source" + item 1 of >theOffset,top of img "source" + item 2 of theOffset > get intersect(grc "marker",img 1,"pixels") > > >This will test the intersection of the marker graphic with the >transparency of the image used as the image source. >As I said, a kludge, but seems to work here. > >Regards, > >Scott Rossi >Creative Director >Tactile Media, UX/UI Design > > > > >On 12/8/13 9:03 PM, "J. Landman Gay" wrote: > >>I think this can't be done, but just in case: >> >>I have a transparent field that contains only an imagesource. It sits >>over a larger image. I need to differentiate whether the user has >>clicked on the imagesource content of the field or on its transparent >>area. >> >>I know this can be done with a normal image object, but what about an >>imagesource? Mousecolor won't work, there will always be a mousecolor. >> >>-- >>Jacqueline Landman Gay | jacque at hyperactivesw.com >>HyperActive Software | http://www.hyperactivesw.com >> >>_______________________________________________ >>use-livecode mailing list >>use-livecode at lists.runrev.com >>Please visit this url to subscribe, unsubscribe and manage your >>subscription preferences: >>http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode > From richmondmathewson at gmail.com Mon Dec 9 01:34:42 2013 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 09 Dec 2013 08:34:42 +0200 Subject: Livecode on a rent-a-MAC In-Reply-To: References: <64A9C54E-EFA4-4665-85CA-1C19E31B5B9E@Lish.net> <52A4EAB9.3030403@gmail.com> Message-ID: <52A56482.5030209@gmail.com> On 09/12/13 00:21, stephen barncard wrote: > On Sun, Dec 8, 2013 at 1:55 PM, Richmond wrote: > >> Why would one want to do this? > > ?because it hadn't been tried as a startup yet.? Err . . . W.C. Fields forever! > > *--* > *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Mon Dec 9 01:42:03 2013 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 09 Dec 2013 08:42:03 +0200 Subject: [OT] Free Office suite for Linux and Windows Message-ID: <52A5663B.5060404@gmail.com> http://www.freeoffice.com/en/download How this measures up against Office Libre or Open Office I don't know; but maybe, just maybe, it won't suck quite so much RAM. Richmond. From jbv at souslelogo.com Mon Dec 9 04:03:41 2013 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Mon, 9 Dec 2013 11:03:41 +0200 Subject: LC vs mySQL In-Reply-To: <291732937845.20131208123056@ahsoftware.net> References: <52A32F62.2080601@gmail.com> <1791635345886.20131207092424@ahsoftware.net> <2b6e3143669908de4120f4f2cfd96fdb.squirrel@185.8.104.234> <291732937845.20131208123056@ahsoftware.net> Message-ID: Yes, fulltext index offers a noticeable increase in performance for requests such as "Match against", but as I said, there might be records not found because of too common words that aren't indexed (or something similar). jbv > jbv- > > Saturday, December 7, 2013, 9:54:54 AM, you wrote: > >> AFAIR I had some bad surprises in mySQL indexes, especially fulltext >> indexes >> because of reserved words, or words so common in english that they >> aren't >> included in the index. The situation gets even weirder with french >> content of >> DBs when some words are used both in english & french... > > As Pete said, generating an index doesn't necessarily guarantee a > speed increase. I'm not sure of the utility of a fulltext index, and I > don't think generating an index on a numeric field will gain you > anything. But in other cases you may see a marked difference. > From matthias_livecode_150811 at m-r-d.de Mon Dec 9 04:45:55 2013 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Mon, 9 Dec 2013 10:45:55 +0100 Subject: Running LC Program as a Service In-Reply-To: <67116DB20798A94285EEE12A67079A283264939E@MHSEXC02.westrac.com.au> References: <67116DB20798A94285EEE12A67079A283264939E@MHSEXC02.westrac.com.au> Message-ID: <92554C38-D093-4F6C-8951-CC7B0387ACB4@m-r-d.de> A commercial tool that lets you run a windows app as a service is FireDaemon. http://firedaemon.com/firedaemon-products.php Regards, Matthias Am 09.12.2013 um 05:09 schrieb Nakia Brewer : > Hi, > > Just wondering if anyone has ran a LC Program as a Service on windows server platform? > I have a need to build a small program that basically completes API calls and requests based upon a schedule. > (Its actually a messaging client that allows the user to schedule messages to be sent via an API at selectable times) > > > > > COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode Matthias Rebbe Tel: +49 5741 310000 +49 160 5504462 eMail: matthias underscore livecode underscore 150811 at m dash r dash d dot de From phil.hudson at iname.com Mon Dec 9 08:16:33 2013 From: phil.hudson at iname.com (Philip Hudson) Date: Mon, 9 Dec 2013 13:16:33 +0000 Subject: [OT] Free Office suite for Linux and Windows In-Reply-To: <52A5663B.5060404@gmail.com> References: <52A5663B.5060404@gmail.com> Message-ID: Non-free. (FAIB only) On 9 December 2013 06:42, Richmond wrote: > http://www.freeoffice.com/en/download > > How this measures up against Office Libre or Open Office I don't know; > but maybe, just maybe, it won't suck quite so much RAM. > > Richmond. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Phil Hudson http://hudson-it.no-ip.biz @UWascalWabbit PGP/GnuPG ID: 0x887DCA63 From MikeKerner at roadrunner.com Mon Dec 9 12:13:49 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 9 Dec 2013 12:13:49 -0500 Subject: Pro/Corporate Groups Webinars Message-ID: If anybody is considering joining the Pro/Corporate groups, the schedule for the quarterly get-togethers with Kevin came out today, so yes, they're real, and yes, they're happening. If you want to have more feedback directly to The Man on LC's direction, there may be no better way to do it than this. -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From MikeKerner at roadrunner.com Mon Dec 9 12:29:20 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 9 Dec 2013 12:29:20 -0500 Subject: Communicating between to standalones with "write to process" - Found word(s) list error in the Text body In-Reply-To: References: <9F543924-10CF-4FC3-9B55-F039B01F47AF@me.com> Message-ID: Yes, and no. Transaction stages achieve two things: 1) The ability to overcome table locks, as you mentioned, by having another transaction table that is never locked. Remember, though, that this is achieved via network and software, not inside the database, so there will be cases where a mess is created that requires sysadmin intervention to fix. 2) Overcoming network issues. The reason why the U.S. Navy is such a good example is because you can imagine exactly why one would do this. HQ Logistics needs to know what is in inventory aboard all vessels. Yet, the system needs to be extremely fault-tolerant because, as you can imagine, things happen when you have war machines spread out all over the planet, especially when some of those machines are intentionally network-silent for any given period of time, and in war, the whole thing needs to be battle-tolerant, because as we all know, logistics wins wars. Now shrink that model back down to your app running on a phone. -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From richmondmathewson at gmail.com Mon Dec 9 12:54:04 2013 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 09 Dec 2013 19:54:04 +0200 Subject: [OT] Free Office suite for Linux and Windows In-Reply-To: References: <52A5663B.5060404@gmail.com> Message-ID: <52A603BC.2090704@gmail.com> On 09/12/13 15:16, Philip Hudson wrote: > Non-free. (FAIB only) What does FAIB mean? Richmond. > > > On 9 December 2013 06:42, Richmond wrote: > >> http://www.freeoffice.com/en/download >> >> How this measures up against Office Libre or Open Office I don't know; >> but maybe, just maybe, it won't suck quite so much RAM. >> >> Richmond. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > From m.schonewille at economy-x-talk.com Mon Dec 9 13:15:01 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 09 Dec 2013 19:15:01 +0100 Subject: [OT] Free Office suite for Linux and Windows In-Reply-To: <52A603BC.2090704@gmail.com> References: <52A5663B.5060404@gmail.com> <52A603BC.2090704@gmail.com> Message-ID: <52A608A5.7080004@economy-x-talk.com> Hi Richmond, Probably it means free as in (free) beer, rather than free as in free speech. I should say, though, that free as in beer is fine for me in many cases. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi Fill out this survey please http://livecodebeginner.economy-x-talk.com/survey/ On 12/9/2013 18:54, Richmond wrote: > On 09/12/13 15:16, Philip Hudson wrote: >> Non-free. (FAIB only) > > What does FAIB mean? > > Richmond. > From richmondmathewson at gmail.com Mon Dec 9 13:24:56 2013 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 09 Dec 2013 20:24:56 +0200 Subject: [OT] Free Office suite for Linux and Windows In-Reply-To: <52A608A5.7080004@economy-x-talk.com> References: <52A5663B.5060404@gmail.com> <52A603BC.2090704@gmail.com> <52A608A5.7080004@economy-x-talk.com> Message-ID: <52A60AF8.3030204@gmail.com> On 09/12/13 20:15, Mark Schonewille wrote: > Hi Richmond, > > Probably it means free as in (free) beer, rather than free as in free > speech. I should say, though, that free as in beer is fine for me in > many cases. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > I am no "purer" than the next man if we're talking about Richard Stallman's hijacking of the word 'Free' so it means 'Free' as resemanticised by Richard Stallman. I have always understood 'Free' as meaning 'you don't have to pay anything for it'. I have always thought that 'Free' and 'Open Source' were not synonymous. If 'Free' is taken to mean "do what you like with it', open source software is generally not 'Free' as I am legally bound (for the sake of argument) not to take Livecode Community, stick a label on the front which says "Richmond's Magic Thing", lock the code, and tell people they should pay $1000 to have a copy. I am on the look out for something for which I don't have to pay, does most of the things the big, clunky, RAM-hungry office suites do, and isn't as tatty round the edges as Abiword. As long as I don't have to pay for the thing I could not care less about whether I can muck around with its code, repackage it, redistribute it, and so on . . . mainly because I have no urge whatsoever to do anything with an office suite than type documents and faff around with spreadsheets. Richmond. From ambassador at fourthworld.com Mon Dec 9 13:54:55 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 09 Dec 2013 10:54:55 -0800 Subject: [OT] Free Office suite for Linux and Windows In-Reply-To: <52A60AF8.3030204@gmail.com> References: <52A60AF8.3030204@gmail.com> Message-ID: <52A611FF.90607@fourthworld.com> Richmond wrote: > I am no "purer" than the next man if we're talking about Richard Stallman's > hijacking of the word 'Free' so it means 'Free' as resemanticised by > Richard Stallman. I wouldn't call it "hijacking" as much as just one of the many inherent ambiguities in English. The first several definitions here uses "free" in the sense Stallman most frequently uses it: That in addition to "libre" the word "fee" also refers to "gratis" is not of Stallman's making. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From martyknappster at gmail.com Mon Dec 9 14:01:41 2013 From: martyknappster at gmail.com (Marty Knapp) Date: Mon, 09 Dec 2013 11:01:41 -0800 Subject: Trapping for option drag Message-ID: <52A61395.8080702@gmail.com> Is there a way to trap (to disable) the ability to option drag a selected object (which makes a copy)? I need to disable it for some objects on a card, yet still allow the user to select and reposition the object. I've been fiddling with it here and can't seem to come up with anything. Thanks, Marty From m.schonewille at economy-x-talk.com Mon Dec 9 14:23:37 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 9 Dec 2013 20:23:37 +0100 Subject: Trapping for option drag In-Reply-To: <52A61395.8080702@gmail.com> References: <52A61395.8080702@gmail.com> Message-ID: Hi Marty, Just write a frontscript that handles the drag before the IDE does. You could also create your own tool with a custom cursor and a global variable or property to store the mode of that tool. -- 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 9 dec 2013, at 20:01, Marty Knapp wrote: > Is there a way to trap (to disable) the ability to option drag a selected object (which makes a copy)? I need to disable it for some objects on a card, yet still allow the user to select and reposition the object. I've been fiddling with it here and can't seem to come up with anything. > > Thanks, > Marty > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From devin_asay at byu.edu Mon Dec 9 14:34:28 2013 From: devin_asay at byu.edu (Devin Asay) Date: Mon, 9 Dec 2013 19:34:28 +0000 Subject: Turning graphic effects off and on Message-ID: <0755713D-4247-43C1-BF9C-B7CF0ECDD200@byu.edu> Hi folks, I think I've done this, but I can't for the life of me remember how. In the property inspector for an object you can set up a graphic effect, and then use the checkbox to turn the effect off and on. LC somehow remembers your settings. But I want to do this by scripting. I know I can set each key of the effect separately, like this: set the colorOverlay["color"] of btn "foo" to "1,2,3" set the colorOverlay["opacity"] of btn "foo" to 160 etc. But is there a way to simulate just checking and unchecking the checkbox in the property inspector in a script? Devin Devin Asay Learn to code with LiveCode University http://university.livecode.com From jacque at hyperactivesw.com Mon Dec 9 14:39:05 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 09 Dec 2013 13:39:05 -0600 Subject: Asking the impossible In-Reply-To: References: <52A54F31.5010209@hyperactivesw.com> Message-ID: <52A61C59.6020907@hyperactivesw.com> That's pretty clever Scott. Should have known you'd come up with something. :) Rick, the image content used as the sources aren't rectangular, so just comparing the boundaries won't work. But it's a good concept for other uses, and thanks for the idea. On 12/9/13 12:21 AM, Scott Rossi wrote: > Are you ready for a kludge? > > You need the source image somewhere in your stack, and a 1x1 pixel graphic > named "marker" placed on top of the source image. In your test script: > > put formattedrect of the mouseCharChunk into theRect > put mouseH() - item 1 of theRect, mouseV() - item 2 of theRect into > theOffset > set loc of grc "marker" to left of img "source" + item 1 of > theOffset,top of img "source" + item 2 of theOffset > get intersect(grc "marker",img 1,"pixels") > > > This will test the intersection of the marker graphic with the > transparency of the image used as the image source. > As I said, a kludge, but seems to work here. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 12/8/13 9:03 PM, "J. Landman Gay" wrote: > >> I think this can't be done, but just in case: >> >> I have a transparent field that contains only an imagesource. It sits >> over a larger image. I need to differentiate whether the user has >> clicked on the imagesource content of the field or on its transparent >> area. >> >> I know this can be done with a normal image object, but what about an >> imagesource? Mousecolor won't work, there will always be a mousecolor. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From scott at tactilemedia.com Mon Dec 9 14:43:19 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 09 Dec 2013 11:43:19 -0800 Subject: Turning graphic effects off and on In-Reply-To: <0755713D-4247-43C1-BF9C-B7CF0ECDD200@byu.edu> References: <0755713D-4247-43C1-BF9C-B7CF0ECDD200@byu.edu> Message-ID: Not sure where the IDE is saving graphic effects settings, but basically using the checkbox removes the graphic effect. set the colorOverlay of the btn "foo" to empty If you don't need to rely on the IDE, you can store the graphic effect settings in a custom property or variable (it's an array). You can test whether a graphic effect has been applied to an object by checking the array. if the dropshadow of btn "foo" is an array then... Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 12/9/13 11:34 AM, "Devin Asay" wrote: >Hi folks, > >I think I've done this, but I can't for the life of me remember how. In >the property inspector for an object you can set up a graphic effect, and >then use the checkbox to turn the effect off and on. LC somehow remembers >your settings. But I want to do this by scripting. I know I can set each >key of the effect separately, like this: > > set the colorOverlay["color"] of btn "foo" to "1,2,3" > set the colorOverlay["opacity"] of btn "foo" to 160 > etc. > >But is there a way to simulate just checking and unchecking the checkbox >in the property inspector in a script? > >Devin > > >Devin Asay >Learn to code with LiveCode University >http://university.livecode.com > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode > From richmondmathewson at gmail.com Mon Dec 9 14:50:18 2013 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 09 Dec 2013 21:50:18 +0200 Subject: Turning graphic effects off and on In-Reply-To: <0755713D-4247-43C1-BF9C-B7CF0ECDD200@byu.edu> References: <0755713D-4247-43C1-BF9C-B7CF0ECDD200@byu.edu> Message-ID: <52A61EFA.7060808@gmail.com> On 09/12/13 21:34, Devin Asay wrote: > Hi folks, > > I think I've done this, but I can't for the life of me remember how. In the property inspector for an object you can set up a graphic effect, and then use the checkbox to turn the effect off and on. LC somehow remembers your settings. But I want to do this by scripting. I know I can set each key of the effect separately, like this: > > set the colorOverlay["color"] of btn "foo" to "1,2,3" > set the colorOverlay["opacity"] of btn "foo" to 160 > etc. > > But is there a way to simulate just checking and unchecking the checkbox in the property inspector in a script? > > Devin > > Well, as a person who goes in for the steam-shovel approach to programming here's a crude solution: To turn ON effects: First time around on mouseUp set the colorOverlay["color"] of btn "foo" to "1,2,3" set the colorOverlay["opacity"] of btn "foo" to 160 put the colorOverlay["color"] of btn "foo" into fld "fooColor" put the colorOverlay["opacity"] of btn "foo" into fld "fooOpake" end mouseUp To turn OFF effects on mouseUp set the colorOverlay["color"] of btn "foo" to empty set the colorOverlay["opacity"] of btn "foo" to empty on mouseUp To RESTORE effects on mouseUp set the colorOverlay["color"] of btn "foo" to fld "fooColor" set the colorOverlay["opacity"] of btn "foo" to fld "fooOpake" end mouseUp To be quite honest I don't know if that last lot will work, or you will have to put the contents of fld "fooColor" into some intermediate variable like this: on mouseUp put fld "fooColor" into fooColor set the colorOverlay["color"] of btn "foo" to fooColor put fld "fooOpake" into fooOpake set the colorOverlay["opacity"] of btn "foo" to fooOpake on mouseUp those hairy-chested types who feel at home with customProps could probably use those instead of fields. Richmond. From lvhdgc7 at gmail.com Mon Dec 9 14:51:08 2013 From: lvhdgc7 at gmail.com (tbodine) Date: Mon, 9 Dec 2013 11:51:08 -0800 (PST) Subject: Where is a list of revCopy result/error codes? Message-ID: <1386618668840-4673457.post@n4.nabble.com> Hi all. Where does one find a list of the error or result codes for revCopyFile and revCopyFolder? Can't find these in the Dictionary, User Manual or Google. I'm getting a code #4 when trying to copy a folder than contains a standalone. Thanks, Tom Bodine -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Where-is-a-list-of-revCopy-result-error-codes-tp4673457.html Sent from the Revolution - User mailing list archive at Nabble.com. From martyknappster at gmail.com Mon Dec 9 14:59:43 2013 From: martyknappster at gmail.com (Marty Knapp) Date: Mon, 09 Dec 2013 11:59:43 -0800 Subject: Trapping for option drag In-Reply-To: References: <52A61395.8080702@gmail.com> Message-ID: <52A6212F.9050605@gmail.com> Thanks Mark - I tried a frontscript trapping for mouseDown and the optionKey and that seems to do the trick. Marty > Hi Marty, > > Just write a frontscript that handles the drag before the IDE does. You could also create your own tool with a custom cursor and a global variable or property to store the mode of that tool. > > -- > 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 9 dec 2013, at 20:01, Marty Knapp wrote: > >> Is there a way to trap (to disable) the ability to option drag a selected object (which makes a copy)? I need to disable it for some objects on a card, yet still allow the user to select and reposition the object. I've been fiddling with it here and can't seem to come up with anything. >> >> From devin_asay at byu.edu Mon Dec 9 15:22:22 2013 From: devin_asay at byu.edu (Devin Asay) Date: Mon, 9 Dec 2013 20:22:22 +0000 Subject: Turning graphic effects off and on In-Reply-To: References: <0755713D-4247-43C1-BF9C-B7CF0ECDD200@byu.edu> Message-ID: On Dec 9, 2013, at 12:43 PM, Scott Rossi wrote: > Not sure where the IDE is saving graphic effects settings, but basically > using the checkbox removes the graphic effect. > set the colorOverlay of the btn "foo" to empty > > If you don't need to rely on the IDE, you can store the graphic effect > settings in a custom property or variable (it's an array). > > You can test whether a graphic effect has been applied to an object by > checking the array. > if the dropshadow of btn "foo" is an array then? Right, I know about setting the effect to empty, but it's the saving of the graphic effect settings that's tripping me up. Shouldn't something like this work: set the colorOverlay_save of btn "foo" to the colorOverlay of btn "foo" --> I thought this would save the array to a new customProp, but it just creates an empty custom prop set the colorOverlay of btn "foo" to the colorOverlay_save of btn "foo" Then I thought, maybe creating a custom property set will work: set the colorOverlay_save["color"] of btn "foo" to the colorOverlay["color"] of btn "foo" set the colorOverlay_save["blendMode"] to the colorOverlay["blendMode"] of btn "foo" set the colorOverlay_save["opacity"] to the colorOverlay["opacity"] of btn "foo" --> Yes, the custom prop set gets created, but this doesn't work: set the colorOverlay of btn "foo" to the colorOverlay_save of btn "foo" --> shouldn't this work? It doesn't Then I thought, I'll just iterate through the keys of the colorOverlay property. 'put the keys of the colorOverlay of btn "foo" yields nothin', at least in the message box. The only thing that works is explicitly naming the keys: set the colorOverlay["color"] of btn "foo" to the colorOverlay_save["color"] of btn "foo" set the colorOverlay["blendMode"] to the colorOverlay_save["blendMode"] of btn "foo" set the colorOverlay["opacity"] to the colorOverlay_save["opacity"] of btn "foo" So it looks like a modified version of Richmond's "steam shovel" approach is the best. I know that the custom property set of an object is an array, and that a custom property of an object can *hold* an array, but somehow they aren't as handy to work with as arrays in variables. :( Off to the steam shovel? Regards, Devin Devin Asay Learn to code with LiveCode University http://university.livecode.com From bernd.niggemann at uni-wh.de Mon Dec 9 15:22:13 2013 From: bernd.niggemann at uni-wh.de (BNig) Date: Mon, 9 Dec 2013 12:22:13 -0800 (PST) Subject: [ANN] pick wheel iOS7 style Message-ID: <1386620533887-4673460.post@n4.nabble.com> I was intrigued by the iOS7 pick wheel and tried to redo it in Livecode. It is not the true thing but as close as I could get. It is transparent, text is curved inwards or outwards, fontsize changes etc. It is pure livecode and works on desktop and mobile devices. Thanks go to Dixie and especially Ender for testing on mobile devices. Download it here http://berndniggemann.on-rev.com/pickwheel7/wheel7_0_0_6.livecode.zip Free for non-commercial use. Code is open. I would be interested in performance and possible bugs. So please do give some feedback if you feel so inclined. Either on the use-list or via email. Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-pick-wheel-iOS7-style-tp4673460.html Sent from the Revolution - User mailing list archive at Nabble.com. From jacque at hyperactivesw.com Mon Dec 9 15:43:51 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 09 Dec 2013 14:43:51 -0600 Subject: Where is a list of revCopy result/error codes? In-Reply-To: <1386618668840-4673457.post@n4.nabble.com> References: <1386618668840-4673457.post@n4.nabble.com> Message-ID: <52A62B87.90004@hyperactivesw.com> On 12/9/13 1:51 PM, tbodine wrote: > Hi all. > > Where does one find a list of the error or result codes for revCopyFile and > revCopyFolder? Can't find these in the Dictionary, User Manual or Google. > > I'm getting a code #4 when trying to copy a folder than contains a > standalone. The location of the error codes is explained in the "dialogError" entry in the dictionary. An easier way to look them up is to use the little plugin called "LiveCode Error Lookup", which is on RevOnline. Or you can directly download it here: Error 4 is: accept: bad expression -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Dec 9 15:47:33 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 09 Dec 2013 14:47:33 -0600 Subject: Turning graphic effects off and on In-Reply-To: References: <0755713D-4247-43C1-BF9C-B7CF0ECDD200@byu.edu> Message-ID: <52A62C65.50907@hyperactivesw.com> On 12/9/13 2:22 PM, Devin Asay wrote: > I know that the custom property set of an object is an array, and > that a custom property of an object can *hold* an array, but somehow > they aren't as handy to work with as arrays in variables. :( Maybe you could arrayEncode the whole array before storing it as a custom property, and then arrayDecode it when you want to use it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Dec 9 15:52:17 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 09 Dec 2013 14:52:17 -0600 Subject: Turning graphic effects off and on In-Reply-To: References: <0755713D-4247-43C1-BF9C-B7CF0ECDD200@byu.edu> Message-ID: <52A62D81.2070707@hyperactivesw.com> On 12/9/13 2:22 PM, Devin Asay wrote: > Right, I know about setting the effect to empty, but it's the saving of the graphic effect settings that's tripping me up. Shouldn't something like this work: > > set the colorOverlay_save of btn "foo" to the colorOverlay of btn "foo" > --> I thought this would save the array to a new customProp, but it just creates an empty custom prop > set the colorOverlay of btn "foo" to the colorOverlay_save of btn "foo" On second thought, I've done this successfully actually. Are you sure the property is empty? The inspector won't show it, but you should be able to retrieve it by script and see it in the variable watcher. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From scott at tactilemedia.com Mon Dec 9 15:58:16 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 09 Dec 2013 12:58:16 -0800 Subject: Turning graphic effects off and on In-Reply-To: References: <0755713D-4247-43C1-BF9C-B7CF0ECDD200@byu.edu> Message-ID: On 12/9/13 12:22 PM, "Devin Asay" wrote: > >> Not sure where the IDE is saving graphic effects settings, but basically >> using the checkbox removes the graphic effect. >> set the colorOverlay of the btn "foo" to empty >> >> If you don't need to rely on the IDE, you can store the graphic effect >> settings in a custom property or variable (it's an array). >> >> You can test whether a graphic effect has been applied to an object by >> checking the array. >> if the dropshadow of btn "foo" is an array then? > >Right, I know about setting the effect to empty, but it's the saving of >the graphic effect settings that's tripping me up. Shouldn't something >like this work: > > set the colorOverlay_save of btn "foo" to the colorOverlay of btn "foo" > --> I thought this would save the array to a new customProp, but it >just creates an empty custom prop > set the colorOverlay of btn "foo" to the colorOverlay_save of btn "foo" The custom prop is not empty -- it's an array, so it doesn't show up in the inspector (if the save worked correctly, you'll see a notice in the inspector explaining this when you inspect the custom property). You can also verify that a graphic effect can be transferred to another object like this: set the colorOverlay of grc 1 to the colorOverlay of btn "foo" What you describe above works as expected here (LC 6.1.3). Are you sure about your property names and object references? Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design From eric at canelasoftware.com Mon Dec 9 16:00:28 2013 From: eric at canelasoftware.com (Eric Corbett) Date: Mon, 9 Dec 2013 13:00:28 -0800 Subject: [ANN] pick wheel iOS7 style In-Reply-To: <1386620533887-4673460.post@n4.nabble.com> References: <1386620533887-4673460.post@n4.nabble.com> Message-ID: <7D546C37-AFDD-4F0A-A81F-FB69F4402645@canelasoftware.com> Thanks Bernd, I think about recreating this every time I use it on the iPhone. -Eric On Dec 9, 2013, at 12:22 PM, BNig wrote: > I was intrigued by the iOS7 pick wheel and tried to redo it in Livecode. It > is not the true thing but as close as I could get. It is transparent, text > is curved inwards or outwards, fontsize changes etc. > It is pure livecode and works on desktop and mobile devices. Thanks go to > Dixie and especially Ender for testing on mobile devices. > > Download it here > > http://berndniggemann.on-rev.com/pickwheel7/wheel7_0_0_6.livecode.zip > > Free for non-commercial use. Code is open. > I would be interested in performance and possible bugs. So please do give > some feedback if you feel so inclined. Either on the use-list or via email. > > Kind regards > Bernd > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-pick-wheel-iOS7-style-tp4673460.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From devin_asay at byu.edu Mon Dec 9 16:04:48 2013 From: devin_asay at byu.edu (Devin Asay) Date: Mon, 9 Dec 2013 21:04:48 +0000 Subject: Turning graphic effects off and on In-Reply-To: <52A62D81.2070707@hyperactivesw.com> References: <0755713D-4247-43C1-BF9C-B7CF0ECDD200@byu.edu> <52A62D81.2070707@hyperactivesw.com> Message-ID: <3F6AC6FE-31C5-4070-B584-1D8AE5846B37@byu.edu> On Dec 9, 2013, at 1:52 PM, J. Landman Gay wrote: > On 12/9/13 2:22 PM, Devin Asay wrote: > >> Right, I know about setting the effect to empty, but it's the saving of the graphic effect settings that's tripping me up. Shouldn't something like this work: >> >> set the colorOverlay_save of btn "foo" to the colorOverlay of btn "foo" >> --> I thought this would save the array to a new customProp, but it just creates an empty custom prop >> set the colorOverlay of btn "foo" to the colorOverlay_save of btn "foo" > > On second thought, I've done this successfully actually. Are you sure the property is empty? The inspector won't show it, but you should be able to retrieve it by script and see it in the variable watcher. Yeah, it's just empty. A custom property that's an array, when you click on it in the property inspector, gives you a warning not to edit it in the inspector lest you wreak havoc on it. Plus when I enter in the message box: the colorOverlay_save of btn "foo" is an array, you get 'false'. Seems like you would need to create the array separately in a variable, then store the variable in a CP. Devin Devin Asay Learn to code with LiveCode University http://university.livecode.com From irog at mac.com Mon Dec 9 16:04:45 2013 From: irog at mac.com (Roger Guay) Date: Mon, 09 Dec 2013 13:04:45 -0800 Subject: [ANN] pick wheel iOS7 style In-Reply-To: <1386620533887-4673460.post@n4.nabble.com> References: <1386620533887-4673460.post@n4.nabble.com> Message-ID: <37306E6E-B177-436C-A038-AC2A469E3652@mac.com> Very nice, Bernd! Thank you for sharing it. My first impression is that the wheel moves too rapidly (Mac OS 10.9 / MacBook Pro), but otherwise great! Thanks and cheers, Roger On Dec 9, 2013, at 12:22 PM, BNig wrote: > I was intrigued by the iOS7 pick wheel and tried to redo it in Livecode. It > is not the true thing but as close as I could get. It is transparent, text > is curved inwards or outwards, fontsize changes etc. > It is pure livecode and works on desktop and mobile devices. Thanks go to > Dixie and especially Ender for testing on mobile devices. > > Download it here > > http://berndniggemann.on-rev.com/pickwheel7/wheel7_0_0_6.livecode.zip > > Free for non-commercial use. Code is open. > I would be interested in performance and possible bugs. So please do give > some feedback if you feel so inclined. Either on the use-list or via email. > > Kind regards > Bernd > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-pick-wheel-iOS7-style-tp4673460.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From devin_asay at byu.edu Mon Dec 9 16:17:45 2013 From: devin_asay at byu.edu (Devin Asay) Date: Mon, 9 Dec 2013 21:17:45 +0000 Subject: Turning graphic effects off and on In-Reply-To: References: <0755713D-4247-43C1-BF9C-B7CF0ECDD200@byu.edu> Message-ID: <0C50A7A7-A968-4E0C-B892-962B3A0CAA08@byu.edu> On Dec 9, 2013, at 1:58 PM, Scott Rossi wrote: > > On 12/9/13 12:22 PM, "Devin Asay" wrote: > >> >>> Not sure where the IDE is saving graphic effects settings, but basically >>> using the checkbox removes the graphic effect. >>> set the colorOverlay of the btn "foo" to empty >>> >>> If you don't need to rely on the IDE, you can store the graphic effect >>> settings in a custom property or variable (it's an array). >>> >>> You can test whether a graphic effect has been applied to an object by >>> checking the array. >>> if the dropshadow of btn "foo" is an array thenS >> >> Right, I know about setting the effect to empty, but it's the saving of >> the graphic effect settings that's tripping me up. Shouldn't something >> like this work: >> >> set the colorOverlay_save of btn "foo" to the colorOverlay of btn "foo" >> --> I thought this would save the array to a new customProp, but it >> just creates an empty custom prop >> set the colorOverlay of btn "foo" to the colorOverlay_save of btn "foo" > > The custom prop is not empty -- it's an array, so it doesn't show up in > the inspector (if the save worked correctly, you'll see a notice in the > inspector explaining this when you inspect the custom property). > > You can also verify that a graphic effect can be transferred to another > object like this: > > set the colorOverlay of grc 1 to the colorOverlay of btn "foo" Yeah, that works, so I could just create a hidden object that has the desired graphic effect settings and use this method. > > What you describe above works as expected here (LC 6.1.3). Are you sure > about your property names and object references? Strange, I was pretty careful to get the right object references. I am working in 6.5 at the moment so it's possible that something is broken there. Thanks for the ideas. Devin Asay Learn to code with LiveCode University http://university.livecode.com From scott at tactilemedia.com Mon Dec 9 16:32:01 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 09 Dec 2013 13:32:01 -0800 Subject: Turning graphic effects off and on In-Reply-To: <0C50A7A7-A968-4E0C-B892-962B3A0CAA08@byu.edu> References: <0755713D-4247-43C1-BF9C-B7CF0ECDD200@byu.edu> <0C50A7A7-A968-4E0C-B892-962B3A0CAA08@byu.edu> Message-ID: I just tested here in 6.5.0 and using a custom property works as expected, so there might be something amiss with your setup. You shouldn't need to use an object -- storing a graphic effect in a custom property *should* work. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 12/9/13 1:17 PM, "Devin Asay" wrote: >>You can also verify that a graphic effect can be transferred to another >>object like this: >>set the colorOverlay of grc 1 to the colorOverlay of btn "foo" > >Yeah, that works, so I could just create a hidden object that has the >desired graphic effect settings and use this method. >>What you describe above works as expected here (LC 6.1.3). Are you sure >>about your property names and object references? > >Strange, I was pretty careful to get the right object references. I am >working in 6.5 at the moment so it's possible that something is broken >there. > >Thanks for the ideas. From bernd.niggemann at uni-wh.de Mon Dec 9 17:02:36 2013 From: bernd.niggemann at uni-wh.de (BNig) Date: Mon, 9 Dec 2013 14:02:36 -0800 (PST) Subject: [ANN] pick wheel iOS7 style In-Reply-To: <37306E6E-B177-436C-A038-AC2A469E3652@mac.com> References: <1386620533887-4673460.post@n4.nabble.com> <37306E6E-B177-436C-A038-AC2A469E3652@mac.com> Message-ID: <1386626556316-4673471.post@n4.nabble.com> Roger, thank you. if you want to slow it down change in the script of field "fScroll", it is set this high to compensate for mobile processing power. --------------------------------- on easeOut -- if the environment is "mobile" then exit easeOut put the milliseconds into sStart put abs (sMomentum-17) into sIncScroll -- change number here, lower is slower, e.g. -10 ..... --------------------------------- Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-pick-wheel-iOS7-style-tp4673460p4673471.html Sent from the Revolution - User mailing list archive at Nabble.com. From bernd.niggemann at uni-wh.de Mon Dec 9 17:13:31 2013 From: bernd.niggemann at uni-wh.de (BNig) Date: Mon, 9 Dec 2013 14:13:31 -0800 (PST) Subject: [ANN] pick wheel iOS7 style In-Reply-To: <7D546C37-AFDD-4F0A-A81F-FB69F4402645@canelasoftware.com> References: <1386620533887-4673460.post@n4.nabble.com> <7D546C37-AFDD-4F0A-A81F-FB69F4402645@canelasoftware.com> Message-ID: <1386627211927-4673472.post@n4.nabble.com> Thank you Eric, it turned out to be a lot trickier to mimick than the iOS6 pick wheel. Eric Corbett wrote > I think about recreating this every time I use it on the iPhone. > > -Eric -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-pick-wheel-iOS7-style-tp4673460p4673472.html Sent from the Revolution - User mailing list archive at Nabble.com. From andrew at ctech.me Mon Dec 9 17:28:31 2013 From: andrew at ctech.me (Andrew Kluthe) Date: Mon, 9 Dec 2013 16:28:31 -0600 Subject: [ANN] pick wheel iOS7 style In-Reply-To: <1386627211927-4673472.post@n4.nabble.com> References: <1386620533887-4673460.post@n4.nabble.com> <7D546C37-AFDD-4F0A-A81F-FB69F4402645@canelasoftware.com> <1386627211927-4673472.post@n4.nabble.com> Message-ID: To get it to slow down on windows I had to change sMomentum on line 81 of fld "fScroll" to a very low number --default is 100 On Mon, Dec 9, 2013 at 4:13 PM, BNig wrote: > Thank you Eric, > > it turned out to be a lot trickier to mimick than the iOS6 pick wheel. > > > Eric Corbett wrote > > I think about recreating this every time I use it on the iPhone. > > > > -Eric > > > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/ANN-pick-wheel-iOS7-style-tp4673460p4673472.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Regards, Andrew Kluthe andrew at ctech.me From irog at mac.com Mon Dec 9 17:38:31 2013 From: irog at mac.com (Roger Guay) Date: Mon, 09 Dec 2013 14:38:31 -0800 Subject: [ANN] pick wheel iOS7 style In-Reply-To: <1386626556316-4673471.post@n4.nabble.com> References: <1386620533887-4673460.post@n4.nabble.com> <37306E6E-B177-436C-A038-AC2A469E3652@mac.com> <1386626556316-4673471.post@n4.nabble.com> Message-ID: <4B0B324D-5EE3-49DC-9A8E-A129609E523E@mac.com> Ah yes, Thank you again, Bernd. On Dec 9, 2013, at 2:02 PM, BNig wrote: > Roger, > > thank you. > > if you want to slow it down change in the script of field "fScroll", it is > set this high to compensate for mobile processing power. > --------------------------------- > on easeOut > -- if the environment is "mobile" then exit easeOut > put the milliseconds into sStart > put abs (sMomentum-17) into sIncScroll -- change number here, lower is > slower, e.g. -10 > ..... > --------------------------------- > > Kind regards > Bernd > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-pick-wheel-iOS7-style-tp4673460p4673471.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From CFORD at mailbox.sc.edu Mon Dec 9 17:40:16 2013 From: CFORD at mailbox.sc.edu (FORD JR., CURT) Date: Mon, 9 Dec 2013 22:40:16 +0000 Subject: sorting internet dates chronologically Message-ID: <4AC93F8FE7AA27449837C912ED6305211B9C2B2F@CAE145EMBP04.ds.sc.edu> So I've got data in the form of internet dates: Mon, Nov 12, 2012 3:27:21 AM Is there a relatively straightforward way of sorting them chronologically? Getting the months converted to numbers isn't a problem but I thought I'd check if anyone has a handy function before wracking my brain more... thanks! Curt From scott at tactilemedia.com Mon Dec 9 17:40:40 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 09 Dec 2013 14:40:40 -0800 Subject: [ANN] pick wheel iOS7 style In-Reply-To: <1386620533887-4673460.post@n4.nabble.com> References: <1386620533887-4673460.post@n4.nabble.com> Message-ID: This is great Bernd, nice work. Not sure if you've seen this, but in LC 6.5, when an option button is clicked it spawns a native iOS7 picker wheel as well. I discovered this by accident. :-) Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 12/9/13 12:22 PM, "BNig" wrote: >I was intrigued by the iOS7 pick wheel and tried to redo it in Livecode. >It >is not the true thing but as close as I could get. It is transparent, text >is curved inwards or outwards, fontsize changes etc. >It is pure livecode and works on desktop and mobile devices. Thanks go to >Dixie and especially Ender for testing on mobile devices. > >Download it here > >http://berndniggemann.on-rev.com/pickwheel7/wheel7_0_0_6.livecode.zip > >Free for non-commercial use. Code is open. >I would be interested in performance and possible bugs. So please do give >some feedback if you feel so inclined. Either on the use-list or via >email. > >Kind regards >Bernd > > > >-- >View this message in context: >http://runtime-revolution.278305.n4.nabble.com/ANN-pick-wheel-iOS7-style-t >p4673460.html >Sent from the Revolution - User mailing list archive at Nabble.com. > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode > From ambassador at fourthworld.com Mon Dec 9 17:47:11 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 09 Dec 2013 14:47:11 -0800 Subject: sorting internet dates chronologically In-Reply-To: <4AC93F8FE7AA27449837C912ED6305211B9C2B2F@CAE145EMBP04.ds.sc.edu> References: <4AC93F8FE7AA27449837C912ED6305211B9C2B2F@CAE145EMBP04.ds.sc.edu> Message-ID: <52A6486F.1040306@fourthworld.com> Curt wrote: > So I've got data in the form of internet dates: > > Mon, Nov 12, 2012 3:27:21 AM > > Is there a relatively straightforward way of sorting them chronologically? Support for that particular format is built-in - see the dateTime keyword as an option for the sort command. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From bernd.niggemann at uni-wh.de Mon Dec 9 17:47:51 2013 From: bernd.niggemann at uni-wh.de (BNig) Date: Mon, 9 Dec 2013 14:47:51 -0800 (PST) Subject: [ANN] pick wheel iOS7 style In-Reply-To: References: <1386620533887-4673460.post@n4.nabble.com> <7D546C37-AFDD-4F0A-A81F-FB69F4402645@canelasoftware.com> <1386627211927-4673472.post@n4.nabble.com> Message-ID: <1386629271972-4673478.post@n4.nabble.com> Hi Andrew, sMomentum is set in the mouseMove handler (line 232) , line 81 is only an initialization. try to decrease the number in line 245, "put abs (sMomentum-17) into sIncScroll" Kind regards Bernd Andrew Kluthe-2 wrote > To get it to slow down on windows I had to change sMomentum on line 81 of > fld "fScroll" to a very low number --default is 100 -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-pick-wheel-iOS7-style-tp4673460p4673478.html Sent from the Revolution - User mailing list archive at Nabble.com. From alex at tweedly.org Mon Dec 9 17:53:24 2013 From: alex at tweedly.org (Alex Tweedly) Date: Mon, 09 Dec 2013 22:53:24 +0000 Subject: sorting internet dates chronologically In-Reply-To: <4AC93F8FE7AA27449837C912ED6305211B9C2B2F@CAE145EMBP04.ds.sc.edu> References: <4AC93F8FE7AA27449837C912ED6305211B9C2B2F@CAE145EMBP04.ds.sc.edu> Message-ID: <52A649E4.4020307@tweedly.org> Warning : untested .... typed straight into email not in the IDE write a function like function returnAsSeconds p convert p to seconds return p end returnAsSeconds and then do something like sort lines of myVar by returnAsSeconds(item 1 of each) (or whatever ..) -- Alex. On 09/12/2013 22:40, FORD JR., CURT wrote: > So I've got data in the form of internet dates: > > > Mon, Nov 12, 2012 3:27:21 AM > > > Is there a relatively straightforward way of sorting them chronologically? Getting the months converted to numbers isn't a problem but I thought I'd check if anyone has a handy function before wracking my brain more... thanks! > > > Curt > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bernd.niggemann at uni-wh.de Mon Dec 9 17:56:00 2013 From: bernd.niggemann at uni-wh.de (BNig) Date: Mon, 9 Dec 2013 14:56:00 -0800 (PST) Subject: [ANN] pick wheel iOS7 style In-Reply-To: References: <1386620533887-4673460.post@n4.nabble.com> Message-ID: <1386629760307-4673480.post@n4.nabble.com> Hi Scott, no, I did not know this. I knew eventually there would be a native iOS7 pick wheel. I did not expect it to arrive that early. But it was still fun to do. The one I posted will also work on other platforms. Any other easterEggs you found in 6.5? :) Kind regards Bernd Scott Rossi wrote > This is great Bernd, nice work. > > Not sure if you've seen this, but in LC 6.5, when an option button is > clicked it spawns a native iOS7 picker wheel as well. I discovered this > by accident. :-) > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-pick-wheel-iOS7-style-tp4673460p4673480.html Sent from the Revolution - User mailing list archive at Nabble.com. From jhurley0305 at sbcglobal.net Mon Dec 9 18:30:33 2013 From: jhurley0305 at sbcglobal.net (James Hurley) Date: Mon, 9 Dec 2013 15:30:33 -0800 Subject: How do I find the rgb values for colors defined by their name: e.g. blue, green, yellow etc. In-Reply-To: References: Message-ID: The subject says it all. Thanks. Jim From scott at tactilemedia.com Mon Dec 9 18:31:45 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 09 Dec 2013 15:31:45 -0800 Subject: [ANN] pick wheel iOS7 style In-Reply-To: <1386629760307-4673480.post@n4.nabble.com> References: <1386620533887-4673460.post@n4.nabble.com> <1386629760307-4673480.post@n4.nabble.com> Message-ID: On 12/9/13 2:56 PM, "BNig" wrote: >no, I did not know this. I knew eventually there would be a native iOS7 >pick >wheel. I did not expect it to arrive that early. But it was still fun to >do. >The one I posted will also work on other platforms. Yes, your stack can be useful for folks who want to customize appearance. >Any other easterEggs you found in 6.5? :) If you mean besides graphics displaying with the wrong colors and loaded fonts displaying clipped, then no :-) > >Scott Rossi wrote >> This is great Bernd, nice work. >> >> Not sure if you've seen this, but in LC 6.5, when an option button is >> clicked it spawns a native iOS7 picker wheel as well. I discovered this >> by accident. :-) >> Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design From devin_asay at byu.edu Mon Dec 9 19:14:14 2013 From: devin_asay at byu.edu (Devin Asay) Date: Tue, 10 Dec 2013 00:14:14 +0000 Subject: Turning graphic effects off and on In-Reply-To: References: <0755713D-4247-43C1-BF9C-B7CF0ECDD200@byu.edu> <0C50A7A7-A968-4E0C-B892-962B3A0CAA08@byu.edu> Message-ID: <9C498A75-3FF0-4568-B64A-1DED3986157A@byu.edu> On Dec 9, 2013, at 2:32 PM, Scott Rossi wrote: > I just tested here in 6.5.0 and using a custom property works as expected, > so there might be something amiss with your setup. > > You shouldn't need to use an object -- storing a graphic effect in a > custom property *should* work. Just went and tried this again. Now it's working. Must have been a typo. I blame morning fog brain. I'm going to use Jacque's time warp stack and go tell myself not to send that email. Just to recap: -- save the colorOverlay settings set the colorOverlay_save of btn "foo" to the colorOverlay of img "foo" -- get rid of the colorOverlay set the colorOverlay of btn "foo" to empty -- restore the colorOverlay settings set the colorOverlay_save of btn "foo" to the colorOverlay_save of img "foo" Regards, Devin Devin Asay Learn to code with LiveCode University http://university.livecode.com From pete at lcsql.com Mon Dec 9 19:14:57 2013 From: pete at lcsql.com (Peter Haworth) Date: Mon, 9 Dec 2013 16:14:57 -0800 Subject: How do I find the rgb values for colors defined by their name: e.g. blue, green, yellow etc. In-Reply-To: References: Message-ID: Here's a function that some kind person on the list gave me a while back. *function* RGBFromColorName theColor *if* theColor is not a color *then* *return* "Error: not a color" *create* invisible button *if* the result is not empty *then* *return* "Error" *set* the backgroundColor of last button to theColor *set* the backgroundPixel of last button to the backgroundPixel of last button *get* the backgroundColor of last button *delete* last button *return* it *end* RGBFromColorName Pete lcSQL Software On Mon, Dec 9, 2013 at 3:30 PM, James Hurley wrote: > The subject says it all. > > Thanks. > > Jim > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Mon Dec 9 19:17:33 2013 From: pete at lcsql.com (Peter Haworth) Date: Mon, 9 Dec 2013 16:17:33 -0800 Subject: How do I find the rgb values for colors defined by their name: e.g. blue, green, yellow etc. In-Reply-To: References: Message-ID: I'll try that again with better formatting: *function* RGBFromColorName theColor *if* theColor is not a color *then* *return* "Error: not a color" *create* invisible button *if* the result is not empty *then* *return* "Error" *set* the backgroundColor of last button to theColor *set* the backgroundPixel of last button to the backgroundPixel of last button *get* the backgroundColor of last button *delete* last button *return* it *end* RGBFromColorName Pete lcSQL Software On Mon, Dec 9, 2013 at 3:30 PM, James Hurley wrote: > The subject says it all. > > Thanks. > > Jim > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From irog at mac.com Mon Dec 9 19:18:54 2013 From: irog at mac.com (Roger Guay) Date: Mon, 09 Dec 2013 16:18:54 -0800 Subject: [ANN] pick wheel iOS7 style In-Reply-To: References: <1386620533887-4673460.post@n4.nabble.com> Message-ID: <3B8A8B05-DBA2-4F98-80DC-FB3685502467@mac.com> Hi Scott, I?m not sure I?m doing it right, but what I see in the iOS simulator is not a continuous wheel. This with a standard Option Menu control. Am I missing something cool? Thanks, Roger On Dec 9, 2013, at 2:40 PM, Scott Rossi wrote: > Not sure if you've seen this, but in LC 6.5, when an option button is > clicked it spawns a native iOS7 picker wheel as well. I discovered this > by accident. :-) From devin_asay at byu.edu Mon Dec 9 19:19:36 2013 From: devin_asay at byu.edu (Devin Asay) Date: Tue, 10 Dec 2013 00:19:36 +0000 Subject: How do I find the rgb values for colors defined by their name: e.g. blue, green, yellow etc. In-Reply-To: References: Message-ID: <4704F0AE-716D-46FA-853E-949818C13FC6@byu.edu> On Dec 9, 2013, at 4:30 PM, James Hurley wrote: > The subject says it all. Jim, I think the only option is to set one of the color properties of an object to a named color, then examine the value of that property. set the backgroundColor of grc "foo" to aquamarine put the backgroundColor of grc "foo" Devin Devin Asay Learn to code with LiveCode University http://university.livecode.com From lvhdgc7 at gmail.com Mon Dec 9 19:38:33 2013 From: lvhdgc7 at gmail.com (tbodine) Date: Mon, 9 Dec 2013 16:38:33 -0800 (PST) Subject: Where is a list of revCopy result/error codes? In-Reply-To: <52A62B87.90004@hyperactivesw.com> References: <1386618668840-4673457.post@n4.nabble.com> <52A62B87.90004@hyperactivesw.com> Message-ID: <1386635913848-4673488.post@n4.nabble.com> Thanks! My expression is no longer bad. Tom Bodine -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Where-is-a-list-of-revCopy-result-error-codes-tp4673457p4673488.html Sent from the Revolution - User mailing list archive at Nabble.com. From jhurley0305 at sbcglobal.net Mon Dec 9 19:43:28 2013 From: jhurley0305 at sbcglobal.net (James Hurley) Date: Mon, 9 Dec 2013 16:43:28 -0800 Subject: How do I find the rgb values for colors defined by their name: e.g. blue, green, yellow etc. Message-ID: But Keven , if the set is ?blue? then the Put is ?blue? How can for the Put into rgb? Jim n Dec 9, 2013, at 4:30 PM, James Hurley wrote: > The subject says it all. Jim, I think the only option is to set one of the color properties of an object to a named color, then examine the value of that property. set the backgroundColor of grc "foo" to aquamarine put the backgroundColor of grc "foo" Devin Devin Asay Learn to code with LiveCode University http://university.livecode.com From scott at tactilemedia.com Mon Dec 9 19:45:35 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 09 Dec 2013 16:45:35 -0800 Subject: [ANN] pick wheel iOS7 style In-Reply-To: <3B8A8B05-DBA2-4F98-80DC-FB3685502467@mac.com> References: <1386620533887-4673460.post@n4.nabble.com> <3B8A8B05-DBA2-4F98-80DC-FB3685502467@mac.com> Message-ID: The "cool" part is that the native iOS7 style picker wheel is created for you. It doesn't appear to be continuous. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 12/9/13 4:18 PM, "Roger Guay" wrote: >Hi Scott, > >I?m not sure I?m doing it right, but what I see in the iOS simulator is >not a continuous wheel. This with a standard Option Menu control. Am I >missing something cool? > >Thanks, > >Roger > > >On Dec 9, 2013, at 2:40 PM, Scott Rossi wrote: > >> Not sure if you've seen this, but in LC 6.5, when an option button is >> clicked it spawns a native iOS7 picker wheel as well. I discovered this >> by accident. :-) > > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode > From andrew at ctech.me Mon Dec 9 19:57:14 2013 From: andrew at ctech.me (Andrew Kluthe) Date: Mon, 9 Dec 2013 18:57:14 -0600 Subject: [ANN] pick wheel iOS7 style In-Reply-To: References: <1386620533887-4673460.post@n4.nabble.com> <3B8A8B05-DBA2-4F98-80DC-FB3685502467@mac.com> Message-ID: Also, for anyone playing on the desktop I added these lines to make it respond to the scroll wheel of the mouse on windows. I did end up disabling the easeOut though. on rawKeyDown pKey switch pKey case 65309 ScrollOne "down" break case 65308 ScrollOne "up" break case 65311 ScrollOne "down" break case 65310 ScrollOne "up" break default pass rawKeyDown end switch end rawKeyDown on ScrollOne pDirection put the effective textHeight of me into stextHeight put the number of lines of me into sNoOfLines put sNoOfLines / 2 into sRealNoOfLines switch pDirection case "up" if the cScrollLineNo of the owner of me + 1 > sRealNoOfLines then setWheel 1 else setWheel the cScrollLineNo of the owner of me + 1 end if break case "down" if the cScrollLineNo of the owner of me - 1 < 1 then setWheel sRealNoOfLines else setWheel the cScrollLineNo of the owner of me - 1 end if break end switch end ScrollOne On Mon, Dec 9, 2013 at 6:45 PM, Scott Rossi wrote: > The "cool" part is that the native iOS7 style picker wheel is created for > you. It doesn't appear to be continuous. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 12/9/13 4:18 PM, "Roger Guay" wrote: > > >Hi Scott, > > > >I?m not sure I?m doing it right, but what I see in the iOS simulator is > >not a continuous wheel. This with a standard Option Menu control. Am I > >missing something cool? > > > >Thanks, > > > >Roger > > > > > >On Dec 9, 2013, at 2:40 PM, Scott Rossi wrote: > > > >> Not sure if you've seen this, but in LC 6.5, when an option button is > >> clicked it spawns a native iOS7 picker wheel as well. I discovered this > >> by accident. :-) > > > > > >_______________________________________________ > >use-livecode mailing list > >use-livecode at lists.runrev.com > >Please visit this url to subscribe, unsubscribe and manage your > >subscription preferences: > >http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Regards, Andrew Kluthe andrew at ctech.me From pete at lcsql.com Mon Dec 9 20:10:19 2013 From: pete at lcsql.com (Peter Haworth) Date: Mon, 9 Dec 2013 17:10:19 -0800 Subject: How do I find the rgb values for colors defined by their name: e.g. blue, green, yellow etc. In-Reply-To: References: Message-ID: Hi Jim, Sent this earlier but it didn't make it for some reason. This is a function that some kind person on the list gave me a while back: *function* RGBFromColorName theColor * if* theColor is not a color *then* *return* "Error: not a color" *create* invisible button *if* the result is not empty *then* *return* "Error" *set* the backgroundColor of last button to theColor *set* the backgroundPixel of last button to the backgroundPixel of last button *get* the backgroundColor of last button *delete* last button *return* it *end* RGBFromColorName Pete lcSQL Software On Mon, Dec 9, 2013 at 4:43 PM, James Hurley wrote: > But Keven , > > if the set is ?blue? > then the Put is ?blue? > > How can for the Put into rgb? > > Jim > > n Dec 9, 2013, at 4:30 PM, James Hurley wrote: > > > The subject says it all. > > Jim, > > I think the only option is to set one of the color properties of an object > to a named color, then examine the value of that property. > > set the backgroundColor of grc "foo" to aquamarine > put the backgroundColor of grc "foo" > > Devin > > Devin Asay > Learn to code with LiveCode University > http://university.livecode.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From walter.h.brown at gmail.com Mon Dec 9 20:18:01 2013 From: walter.h.brown at gmail.com (Walt Brown) Date: Mon, 9 Dec 2013 20:18:01 -0500 Subject: How do I find the rgb values for colors defined by their name: e.g. blue, green, yellow etc. In-Reply-To: References: Message-ID: http://lessons.runrev.com/s/lessons/m/2592/l/125746-translating-a-color-name-to-an-rgb-numeric-triplet On Mon, Dec 9, 2013 at 6:30 PM, James Hurley wrote: > The subject says it all. > > Thanks. > > Jim > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ambassador at fourthworld.com Mon Dec 9 20:21:36 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 09 Dec 2013 17:21:36 -0800 Subject: How do I find the rgb values for colors defined by their name: e.g. blue, green, yellow etc. In-Reply-To: References: Message-ID: <52A66CA0.2020805@fourthworld.com> Peter Haworth wrote: > Hi Jim, > Sent this earlier but it didn't make it for some reason. This is a > function that some kind person on the list gave me a while back: > > *function* RGBFromColorName theColor > * if* theColor is not a color *then* *return* "Error: not a color" > > *create* invisible button > > *if* the result is not empty *then* *return* "Error" > > *set* the backgroundColor of last button to theColor > > *set* the backgroundPixel of last button to the backgroundPixel of last > button > > *get* the backgroundColor of last button > > *delete* last button > > *return* it > > *end* RGBFromColorName For greater robustness and a modest performance boost you could use the templateButton rather than creating a new physical button. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From slylabs13 at me.com Mon Dec 9 20:24:53 2013 From: slylabs13 at me.com (Robert Sneidar) Date: Mon, 09 Dec 2013 17:24:53 -0800 Subject: Turning graphic effects off and on In-Reply-To: <9C498A75-3FF0-4568-B64A-1DED3986157A@byu.edu> References: <0755713D-4247-43C1-BF9C-B7CF0ECDD200@byu.edu> <0C50A7A7-A968-4E0C-B892-962B3A0CAA08@byu.edu> <9C498A75-3FF0-4568-B64A-1DED3986157A@byu.edu> Message-ID: <582EE906-71BC-4BF8-98BF-87A4327BD2A3@me.com> What email?? Oh? never mind. Bob On Dec 9, 2013, at 4:14 PM, Devin Asay wrote: > Just went and tried this again. Now it's working. Must have been a typo. I blame morning fog brain. I'm going to use Jacque's time warp stack and go tell myself not to send that email. From jacque at hyperactivesw.com Mon Dec 9 22:47:41 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 09 Dec 2013 21:47:41 -0600 Subject: Turning graphic effects off and on In-Reply-To: <9C498A75-3FF0-4568-B64A-1DED3986157A@byu.edu> References: <0755713D-4247-43C1-BF9C-B7CF0ECDD200@byu.edu> <0C50A7A7-A968-4E0C-B892-962B3A0CAA08@byu.edu> <9C498A75-3FF0-4568-B64A-1DED3986157A@byu.edu> Message-ID: <52A68EDD.70506@hyperactivesw.com> On 12/9/13 6:14 PM, Devin Asay wrote: > I'm going to use Jacque's time warp > stack and go tell myself not to send that email. Like our front door lock, the time adjustor knob was installed upside down by accident and needs recalibration. I hope you noticed. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From devin_asay at byu.edu Tue Dec 10 00:11:05 2013 From: devin_asay at byu.edu (Devin Asay) Date: Tue, 10 Dec 2013 05:11:05 +0000 Subject: Turning graphic effects off and on In-Reply-To: <52A68EDD.70506@hyperactivesw.com> References: <0755713D-4247-43C1-BF9C-B7CF0ECDD200@byu.edu> <0C50A7A7-A968-4E0C-B892-962B3A0CAA08@byu.edu> <9C498A75-3FF0-4568-B64A-1DED3986157A@byu.edu> <52A68EDD.70506@hyperactivesw.com> Message-ID: On Dec 9, 2013, at 8:47 PM, J. Landman Gay wrote: > On 12/9/13 6:14 PM, Devin Asay wrote: > >> I'm going to use Jacque's time warp >> stack and go tell myself not to send that email. > > Like our front door lock, the time adjustor knob was installed upside down by accident and needs recalibration. I hope you noticed. Well I did, but only after I visited myself tomorrow and told myself not to bother because I already knew it. Devin Asay Learn to code with LiveCode University http://university.livecode.com From gcanyon at gmail.com Tue Dec 10 00:55:35 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Mon, 9 Dec 2013 23:55:35 -0600 Subject: Building an iOS app that takes pictures, first time always crashes Message-ID: I'm testing on iOS 7.0.4 on a 4S, and every time I build a new version, it crashes when trying to take a photo, until I take one with the front-faceing camera. That succeeds, and from then on either camera will work most of the time, but every once in a while, the back camera will die. Any ideas? The code I'm using is below: on takePhoto if the environment is "mobile" then mobilePickPhoto "camera",300,300 if the result is "cancel" then exit takePhoto end if else answer file "pick an image:" import paint from file it end if put the long id of the last control of this cd into imageID set the lockLoc of imageID to true toSquare 300,imageID set the loc of imageID to the loc of this cd set relayerGroupedControls to true set the layer of imageID to the layer of imageID set the alphadata of imageID to the uAlphaData of this stack enable control "start" of group "controls" set the blendlevel of control "start" of group "controls" to 0 end takePhoto on toSquare S,imageID put the width of imageID into W put the height of imageID into H if W = H and W <> S then set the width of imageID to S set the height of imageID to S crop image id (the short id of imageID) to the rect of imageID else if W < H then put round(S * H / W) into H put the rect of imageID into imageRect put item 1 of imageRect + S into item 3 of imageRect put item 2 of imageRect + H into item 4 of imageRect set the rect of imageID to imageRect put (item 4 of imageRect + item 2 of imageRect - S) div 2 into item 2 of imageRect put item 2 of imageRect + S into item 4 of imageRect crop image id (the short id of imageID) to imageRect else put round(S * W / H) into W put the rect of imageID into imageRect put item 1 of imageRect + W into item 3 of imageRect put item 2 of imageRect + S into item 4 of imageRect set the rect of imageID to imageRect put (item 3 of imageRect + item 1 of imageRect - S) div 2 into item 1 of imageRect put item 1 of imageRect + S into item 3 of imageRect crop image id (the short id of imageID) to imageRect end if set the loc of imageID to the loc of this cd end toSquare From rene.micout at numericable.com Tue Dec 10 03:54:17 2013 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Tue, 10 Dec 2013 09:54:17 +0100 Subject: [ANN] pick wheel iOS7 style In-Reply-To: <1386620533887-4673460.post@n4.nabble.com> References: <1386620533887-4673460.post@n4.nabble.com> Message-ID: Great ! Thank you Bern ! Bon souvenir de Paris Ren? Le 9 d?c. 2013 ? 21:22, BNig a ?crit : > I was intrigued by the iOS7 pick wheel and tried to redo it in Livecode. It > is not the true thing but as close as I could get. It is transparent, text > is curved inwards or outwards, fontsize changes etc. > It is pure livecode and works on desktop and mobile devices. Thanks go to > Dixie and especially Ender for testing on mobile devices. > > Download it here > > http://berndniggemann.on-rev.com/pickwheel7/wheel7_0_0_6.livecode.zip > > Free for non-commercial use. Code is open. > I would be interested in performance and possible bugs. So please do give > some feedback if you feel so inclined. Either on the use-list or via email. > > Kind regards > Bernd > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-pick-wheel-iOS7-style-tp4673460.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From phil.hudson at iname.com Tue Dec 10 04:15:02 2013 From: phil.hudson at iname.com (Philip Hudson) Date: Tue, 10 Dec 2013 09:15:02 +0000 Subject: [OT] Free Office suite for Linux and Windows In-Reply-To: <52A611FF.90607@fourthworld.com> References: <52A60AF8.3030204@gmail.com> <52A611FF.90607@fourthworld.com> Message-ID: This is a very old discussion. We can and should use 'libre' and 'gratis' instead if/when it's appropriate. On 9 December 2013 18:54, Richard Gaskin wrote: > Richmond wrote: > >> I am no "purer" than the next man if we're talking about Richard >> Stallman's >> hijacking of the word 'Free' so it means 'Free' as resemanticised by >> Richard Stallman. >> > > I wouldn't call it "hijacking" as much as just one of the many inherent > ambiguities in English. > > The first several definitions here uses "free" in the sense Stallman most > frequently uses it: > > > That in addition to "libre" the word "fee" also refers to "gratis" is not > of Stallman's making. > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > Follow me on Twitter: http://twitter.com/FourthWorldSys > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Phil Hudson http://hudson-it.no-ip.biz @UWascalWabbit PGP/GnuPG ID: 0x887DCA63 From ben at runrev.com Tue Dec 10 05:27:51 2013 From: ben at runrev.com (Benjamin Beaumont) Date: Tue, 10 Dec 2013 10:27:51 +0000 Subject: New livecode release notes page In-Reply-To: <51530C56-EF5F-4241-8A45-B42DA8A9BC30@sweattechnologies.com> References: <54D94E82-1F1D-4DA7-9923-30566974038A@sweattechnologies.com> <52A3B1D4.3090902@fourthworld.com> <2aefb848-bdaf-4cb0-95e2-4cc26b8ffefc@email.android.com> <97403216-B96B-4837-A4EE-FC041AE07293@sweattechnologies.com> <52A4CAD5.1040305@hyperactivesw.com> <701734501735.20131208125700@ahsoftware.net> <0FB46EF0-637E-4BBE-B3DF-BA89542212D7@sweattechnologies.com> <61749714096.20131208171032@ahsoftware.net> <51530C56-EF5F-4241-8A45-B42DA8A9BC30@sweattechnologies.com> Message-ID: Hi Monte, Great find. This is a great page. We'd be more than happy to host it directly as this seems like a very useful resource. Warm regards, Ben On 9 December 2013 01:49, Monte Goulding wrote: > > On 09/12/2013, at 12:10 PM, Mark Wieder wrote: > > > Oh, I hate consensus-building. > > Everyone should just do as I say. > > Fair enough ;-) > > I'm actually starting to wonder if this thing could be generally useful > for other projects to use. If it's helpful for us then... > > Anyway, what's the http download url for community?... thought I'd add a > link for each release. > > Cheers > > -- > M E R Goulding > Software development services > Bespoke application development for vertical markets > > mergExt - There's an external for that! > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- _____________________________________________ Benjamin Beaumont . RunRev Ltd LiveCode Product Manager mail : 25a Thistle Street Lane South West, Edinburgh, EH2 1EW email : ben at runrev.com company : +44(0) 845 219 89 23 fax : +44(0) 845 458 8487 web : www.runrev.com LiveCode - Programming made simple From ben at runrev.com Tue Dec 10 06:35:43 2013 From: ben at runrev.com (Benjamin Beaumont) Date: Tue, 10 Dec 2013 11:35:43 +0000 Subject: RELEASE: LiveCode 6.5.1 RC1 In-Reply-To: <451634990316.20131207091828@ahsoftware.net> References: <52A32F62.2080601@gmail.com> <451634990316.20131207091828@ahsoftware.net> Message-ID: Hi Richmond, Thanks for the email. 6.5.x releases will all be maintenance releases to the 6.5 cycle. 6.5.1 in particular contains a number of fixes and a 'new feature' that is to fix a bug in 6.5. Android users were unable to access all the pixels of a device with the changes made in 6.5. This is a bug and the only way to resolve it was to add the pixelscale property. In general, you'll see that maintenance cycles only contain fixes, but on occasions you'll see new features to fix issues. I hope this helps. Warm regards, Ben On 7 December 2013 17:18, Mark Wieder wrote: > Richmond- > > Saturday, December 7, 2013, 6:23:30 AM, you wrote: > > > OK, I have to ask this: > > > Why is the first release of 6.5.1 an RC release rather than a DP one? > > I think it's because 6.5.1 is a bug-fix release rather than new > features added that would then need a test cycle before release. The > one new added feature is a replacement for a buggy one in 6.5.0, and > could therefore also count as a bug fix. The idea, I think, is to get > the bug fixes out into a 6.5.1gm general release asap. > > -- > -Mark Wieder > ahsoftware at gmail.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- _____________________________________________ Benjamin Beaumont . RunRev Ltd LiveCode Product Manager mail : 25a Thistle Street Lane South West, Edinburgh, EH2 1EW email : ben at runrev.com company : +44(0) 845 219 89 23 fax : +44(0) 845 458 8487 web : www.runrev.com LiveCode - Programming made simple From monte at sweattechnologies.com Tue Dec 10 06:36:49 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 10 Dec 2013 22:36:49 +1100 Subject: New livecode release notes page In-Reply-To: References: <54D94E82-1F1D-4DA7-9923-30566974038A@sweattechnologies.com> <52A3B1D4.3090902@fourthworld.com> <2aefb848-bdaf-4cb0-95e2-4cc26b8ffefc@email.android.com> <97403216-B96B-4837-A4EE-FC041AE07293@sweattechnologies.com> <52A4CAD5.1040305@hyperactivesw.com> <701734501735.20131208125700@ahsoftware.net> <0FB46EF0-637E-4BBE-B3DF-BA89542212D7@sweattechnologies.com> <61749714096.20131208171032@ahsoftware.net> <51530C56-EF5F-4241-8A45-B42DA8A9BC30@sweattechnologies.com> Message-ID: On 10/12/2013, at 9:27 PM, Benjamin Beaumont wrote: > Great find. This is a great page. > > We'd be more than happy to host it directly as this seems like a very > useful resource. livecode.com would be the most logical site for someone to go wanting to find this info so that would be good. If you guys are involved then we can setup a service hook on github so every time you push the page would be updated. I've made the scripts as generic as possible so it can be re-used on other projects so what I'll probably do is put it up on github itself with some instructions. Basically it needs a repo mirror to play with... I'll shoot you an email when it's up. Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From admin at FlexibleLearning.com Tue Dec 10 08:51:04 2013 From: admin at FlexibleLearning.com (FlexibleLearning.com) Date: Tue, 10 Dec 2013 13:51:04 -0000 Subject: FieldFormatter now listed In-Reply-To: Message-ID: FieldFormatter is now available in store here along with screen shots and features... http://livecode.com/store/marketplace/fieldformatter/ Compatible with both Community and Commercial versions of LiveCode. How to automatically display: . Custom date and time . Decimal place precision . Different decimal and thousands separators . Percentages . Scientific notation . Accountancy notation . Duration in hours, minutes and seconds . Privatised text . Default text . Currency or any unit of measure . Value conversions . Negative format & color . SQL Julian dates 28 new propereties, comprehensive documentation, tips and lots of examples plus 'playground' stacks to investigate and modify. Enjoy! Hugh Senior FLCo From ambassador at fourthworld.com Tue Dec 10 09:04:20 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 10 Dec 2013 06:04:20 -0800 Subject: [OT] Free Office suite for Linux and Windows In-Reply-To: References: Message-ID: <52A71F64.5040308@fourthworld.com> Philip Hudson wrote: > This is a very old discussion. And yet here we are. :) Thanks, Richmond. > We can and should use 'libre' and 'gratis instead if/when it's appropriate. Agreed, though among laymen the usage of Latin is rare, and among professionals we know from the context that what's meant is "open source". When quoting Stallman it's hard to avoid using "free", and only Richmond presumes Stallman can ever be budged on that. :) -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Tue Dec 10 09:06:19 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 10 Dec 2013 06:06:19 -0800 Subject: New livecode release notes page In-Reply-To: References: Message-ID: <52A71FDB.3010204@fourthworld.com> Monte Goulding wrote: > livecode.com would be the most logical site for someone to go wanting > to find this info so that would be good. Agreed. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From mcgrath3 at mac.com Tue Dec 10 09:50:29 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Tue, 10 Dec 2013 09:50:29 -0500 Subject: Building an iOS app that takes pictures, first time always crashes In-Reply-To: References: Message-ID: Geoff, Don?t have time to check but I would look at the result. I think it returns ?source not available? if there is a problem with the camera. See if the stack crashes before this answer dialog and what the result returns. FWIW Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com On Dec 10, 2013, at 12:55 AM, Geoff Canyon wrote: > on takePhoto > if the environment is "mobile" then > mobilePickPhoto "camera?,300,300 answer the result > if the result is "cancel" then > exit takePhoto > end if > else From richmondmathewson at gmail.com Tue Dec 10 10:07:03 2013 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 10 Dec 2013 17:07:03 +0200 Subject: [OT] Free Office suite for Linux and Windows In-Reply-To: <52A71F64.5040308@fourthworld.com> References: <52A71F64.5040308@fourthworld.com> Message-ID: <52A72E17.2020409@gmail.com> On 10/12/13 16:04, Richard Gaskin wrote: > Philip Hudson wrote: >> This is a very old discussion. > > And yet here we are. :) Thanks, Richmond. > >> We can and should use 'libre' and 'gratis instead if/when it's >> appropriate. > > Agreed, though among laymen the usage of Latin is rare, and among > professionals we know from the context that what's meant is "open > source". > > When quoting Stallman it's hard to avoid using "free", and only > Richmond presumes Stallman can ever be budged on that. :) What Richard Stallman means by "Free" is not what most other people understand by "Free"; I know Stallman is a bit like Robespierre, unbudgeable (mind you, we know what happened to Robespierre: possibly the first example of a 'headless server'). Where I take issue with Stallman is not with his theory of how the world should be, and how copyright is, on the whole, counter-creative; but in that by using the word "free" in the way he does, people may be mislead into thinking he means "free" in the way it is normally used by us naive realists. Swapping a Latin or French word for the English "Free" does not solve that problem as, 'gratis' in Latin means the same as 'free' means in English. Richmond. From m.schonewille at economy-x-talk.com Tue Dec 10 10:21:31 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 10 Dec 2013 16:21:31 +0100 Subject: Very bumpy group scrolling on Android tablets Message-ID: <52A7317B.2080109@economy-x-talk.com> Hi, I'm having a problem with scrolling groups using the native scroller on Android devices (and possibly iOS devices). The group contains approximately 100 images and 100 buttons. The formattedWidth is approximately 2500 pixels. When I start scrolling the group horizontally, the first time I scroll it till the end is extremely bumpy. Every time, the Android tablet will warn me, saying that the app is frozen and asking me to force-quit or wait. Once I have managed to scroll till the end one time, everything works perfectly smoothly. When I leave the card and come back to it, it all starts from the beginning again. I have to scroll till the end to obtain smooth scrolling again. I have added a handler that scrolls the group till the end and back after the openCard handler has finished running and I wait 50 millisecs with messages before I set the hScroll of the group to 0 again. I have tried every possible combination of layermodes, changing the layermodes of buttons, images and the group (9 different combinations). Nothing fixes the problem. Does anyone else have this bumpy experience with scrolling groups? Is there a solution? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi Fill out this survey please http://livecodebeginner.economy-x-talk.com/survey/ From ambassador at fourthworld.com Tue Dec 10 10:55:11 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 10 Dec 2013 07:55:11 -0800 Subject: [OT] Free Office suite for Linux and Windows In-Reply-To: <52A72E17.2020409@gmail.com> References: <52A72E17.2020409@gmail.com> Message-ID: <52A7395F.2020000@fourthworld.com> Richmond wrote: > Where I take issue with Stallman is not with his theory of how the world > should be, and how copyright is, on the whole, > counter-creative; but in that by using the word "free" in the way he > does, people may be mislead into thinking he means "free" > in the way it is normally used by us naive realists. Except those who read dictionaries like this one, where the first several definitions of "free" relate to "freedom", and you have to scroll down to the middle of the page to find a 9th definition that discusses cost: It's only a capitalist preoccupation that reduces everything to price. But really, none of this matters much, nor is it likely to change. Anyone listening to Stallman knows what he means, many don't listen to him at all, and most lay people don't even know who he is, even though most people benefit from his work given the ubiquity of GNU Linux on most of the systems they use when they browse the Web, trade stocks, use a wifi router, and hundreds of other such cases every day. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From richmondmathewson at gmail.com Tue Dec 10 10:59:33 2013 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 10 Dec 2013 17:59:33 +0200 Subject: [OT] Free Office suite for Linux and Windows In-Reply-To: <52A7395F.2020000@fourthworld.com> References: <52A72E17.2020409@gmail.com> <52A7395F.2020000@fourthworld.com> Message-ID: <52A73A65.5060609@gmail.com> On 10/12/13 17:55, Richard Gaskin wrote: > Richmond wrote: >> Where I take issue with Stallman is not with his theory of how the world >> should be, and how copyright is, on the whole, >> counter-creative; but in that by using the word "free" in the way he >> does, people may be mislead into thinking he means "free" >> in the way it is normally used by us naive realists. > > Except those who read dictionaries like this one, where the first > several definitions of "free" relate to "freedom", and you have to > scroll down to the middle of the page to find a 9th definition that > discusses cost: > > > It's only a capitalist preoccupation that reduces everything to price. > > But really, none of this matters much, nor is it likely to change. > Anyone listening to Stallman knows what he means, many don't listen to > him at all, The main trouble is that the man comes across as a "prophet thundering in the wilderness"; and that can put a lot of people off what is, au fond, a good idea. > and most lay people don't even know who he is, even though most people > benefit from his work given the ubiquity of GNU Linux on most of the > systems they use when they browse the Web, trade stocks, use a wifi > router, and hundreds of other such cases every day. I cannot help wondering why the GNU part of "GNU Linux" is there as GNU is an endlessly delayed project that never seems to come to fruition. Stallman rants on, but Linus Thorvalds did the most important part of the work. Richmond. > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > Follow me on Twitter: http://twitter.com/FourthWorldSys > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Tue Dec 10 11:03:26 2013 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 10 Dec 2013 18:03:26 +0200 Subject: [OT] Free Office suite for Linux and Windows In-Reply-To: <52A7395F.2020000@fourthworld.com> References: <52A72E17.2020409@gmail.com> <52A7395F.2020000@fourthworld.com> Message-ID: <52A73B4E.2060109@gmail.com> On 10/12/13 17:55, Richard Gaskin wrote: > Richmond wrote: >> Where I take issue with Stallman is not with his theory of how the world >> should be, and how copyright is, on the whole, >> counter-creative; but in that by using the word "free" in the way he >> does, people may be mislead into thinking he means "free" >> in the way it is normally used by us naive realists. > > Except those who read dictionaries like this one, where the first > several definitions of "free" relate to "freedom", and you have to > scroll down to the middle of the page to find a 9th definition that > discusses cost: > > > It's only a capitalist preoccupation that reduces everything to price. It is not "only" a capitalistic preoccupation. All supposedly socialist systems that have existed have been preoccupied with value; not on the individual level because socialism pretends to despise individuals, but on a more macro level. Also, wherever you live, under whatever regime, if you don't manage to have some bread and cheese on the table at the end of the week most things will come down to price. Open Source is not ant-capitalistic; it is just selling services rather than goods. > > But really, none of this matters much, nor is it likely to change. > Anyone listening to Stallman knows what he means, many don't listen to > him at all, and most lay people don't even know who he is, even though > most people benefit from his work given the ubiquity of GNU Linux on > most of the systems they use when they browse the Web, trade stocks, > use a wifi router, and hundreds of other such cases every day. > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > Follow me on Twitter: http://twitter.com/FourthWorldSys > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From gcanyon at gmail.com Tue Dec 10 11:05:39 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Tue, 10 Dec 2013 10:05:39 -0600 Subject: Building an iOS app that takes pictures, first time always crashes In-Reply-To: References: Message-ID: thx On Tue, Dec 10, 2013 at 8:50 AM, Thomas McGrath III wrote: > Geoff, > > Don?t have time to check but I would look at the result. I think it > returns ?source not available? if there is a problem with the camera. See > if the stack crashes before this answer dialog and what the result returns. > > > FWIW > > Tom > > -- Tom McGrath III > http://lazyriver.on-rev.com > mcgrath3 at mac.com > > On Dec 10, 2013, at 12:55 AM, Geoff Canyon wrote: > > > on takePhoto > > if the environment is "mobile" then > > mobilePickPhoto "camera?,300,300 > answer the result > > > if the result is "cancel" then > > exit takePhoto > > end if > > else > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From toolbook at kestner.de Tue Dec 10 11:10:26 2013 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 10 Dec 2013 17:10:26 +0100 Subject: AW: Very bumpy group scrolling on Android tablets In-Reply-To: <52A7317B.2080109@economy-x-talk.com> References: <52A7317B.2080109@economy-x-talk.com> Message-ID: <009401cef5c2$56ee4740$04cad5c0$@de> Hi Mark, could it be related to the 32k limit of objects / groups, or the imageCacheLimit? See the thread "scrolling a very large image on iOS". Just a guess, Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von Mark Schonewille > Gesendet: Dienstag, 10. Dezember 2013 16:22 > An: How to use LiveCode > Betreff: Very bumpy group scrolling on Android tablets > > Hi, > > I'm having a problem with scrolling groups using the native scroller on > Android devices (and possibly iOS devices). The group contains > approximately 100 images and 100 buttons. The formattedWidth is > approximately 2500 pixels. > > When I start scrolling the group horizontally, the first time I scroll it > till the end is extremely bumpy. Every time, the Android tablet will warn > me, saying that the app is frozen and asking me to force-quit or wait. Once > I have managed to scroll till the end one time, everything works perfectly > smoothly. > > When I leave the card and come back to it, it all starts from the beginning > again. I have to scroll till the end to obtain smooth scrolling again. > > I have added a handler that scrolls the group till the end and back after > the openCard handler has finished running and I wait 50 millisecs with > messages before I set the hScroll of the group to 0 again. > > I have tried every possible combination of layermodes, changing the > layermodes of buttons, images and the group (9 different combinations). > Nothing fixes the problem. > > Does anyone else have this bumpy experience with scrolling groups? Is there > a solution? > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour > spaces. http://www.color-converter.com > > Buy my new book "Programming LiveCode for the Real Beginner" > http://qery.us/3fi > > Fill out this survey please > http://livecodebeginner.economy-x-talk.com/survey/ > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mwieder at ahsoftware.net Tue Dec 10 11:24:11 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 10 Dec 2013 08:24:11 -0800 Subject: New livecode release notes page In-Reply-To: References: <54D94E82-1F1D-4DA7-9923-30566974038A@sweattechnologies.com> <52A3B1D4.3090902@fourthworld.com> <2aefb848-bdaf-4cb0-95e2-4cc26b8ffefc@email.android.com> <97403216-B96B-4837-A4EE-FC041AE07293@sweattechnologies.com> <52A4CAD5.1040305@hyperactivesw.com> <701734501735.20131208125700@ahsoftware.net> <0FB46EF0-637E-4BBE-B3DF-BA89542212D7@sweattechnologies.com> <61749714096.20131208171032@ahsoftware.net> <51530C56-EF5F-4241-8A45-B42DA8A9BC30@sweattechnologies.com> Message-ID: <241890932562.20131210082411@ahsoftware.net> Ben- Tuesday, December 10, 2013, 2:27:51 AM, you wrote: > We'd be more than happy to host it directly as this seems like a very > useful resource. I think that would be the best of all possible outcomes. And especially if it includes the other release notes that Richard Gaskin et al have been collecting over time. -- -Mark Wieder ahsoftware at gmail.com From scott at tactilemedia.com Tue Dec 10 11:40:38 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 10 Dec 2013 08:40:38 -0800 Subject: Very bumpy group scrolling on Android tablets In-Reply-To: <52A7317B.2080109@economy-x-talk.com> References: <52A7317B.2080109@economy-x-talk.com> Message-ID: Hi Mark: Are your images already loaded in the group when the card opens? Are they referenced or imported? If they're referenced, maybe LC is taking time to pull in the image data during the first scroll (just a guess). Also, is your scrolling group a "top level" group, meaning that it is not nested inside another group? Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 12/10/13 7:21 AM, "Mark Schonewille" wrote: >Hi, > >I'm having a problem with scrolling groups using the native scroller on >Android devices (and possibly iOS devices). The group contains >approximately 100 images and 100 buttons. The formattedWidth is >approximately 2500 pixels. > >When I start scrolling the group horizontally, the first time I scroll >it till the end is extremely bumpy. Every time, the Android tablet will >warn me, saying that the app is frozen and asking me to force-quit or >wait. Once I have managed to scroll till the end one time, everything >works perfectly smoothly. > >When I leave the card and come back to it, it all starts from the >beginning again. I have to scroll till the end to obtain smooth >scrolling again. > >I have added a handler that scrolls the group till the end and back >after the openCard handler has finished running and I wait 50 millisecs >with messages before I set the hScroll of the group to 0 again. > >I have tried every possible combination of layermodes, changing the >layermodes of buttons, images and the group (9 different combinations). >Nothing fixes the problem. > >Does anyone else have this bumpy experience with scrolling groups? Is >there a solution? > >-- >Best regards, > >Mark Schonewille > >Economy-x-Talk Consulting and Software Engineering >Homepage: http://economy-x-talk.com >Twitter: http://twitter.com/xtalkprogrammer >KvK: 50277553 > >Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other >colour spaces. http://www.color-converter.com > >Buy my new book "Programming LiveCode for the Real Beginner" >http://qery.us/3fi > >Fill out this survey please >http://livecodebeginner.economy-x-talk.com/survey/ > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode > From wilhelm.forchheim at freenet.de Tue Dec 10 11:41:16 2013 From: wilhelm.forchheim at freenet.de (Ruediger Wilhelm) Date: Tue, 10 Dec 2013 17:41:16 +0100 Subject: Problem with decoding Array Message-ID: <001801cef5c6$a6576c40$f30644c0$@forchheim@freenet.de> As an LC greenhorn I am asking for advice. When I push the button LC quits with the message "Runtime Error ...." The button script contains: global gUsersArray on mouseUp open file $LOCALAPPDATA &"/Fit_Reit_Data/TeilnehmerDaten.txt" for read read from file $LOCALAPPDATA &"/Fit_Reit_Data/TeilnehmerDaten.txt" until end close file $LOCALAPPDATA &"/Fit_Reit_Data/TeilnehmerDaten.txt" put it into tUsersEncode put arrayDecode(tUsersEncode) into gUsersArray end mouseUp In debug mode I can see that tUsersEndcode contains the encoded string of the file TeinehmerDaten.txt which was written there from the stack script via on closeStack. When the button script is up to execute the line put arrayDecode(...)... LC quits. I am working with LC 6.5. Is this a bug or am I misunderstanding something? Thanks for any ideas. Ruediger ==================== Ruediger Wilhelm An der Holzbruecke 8 91301 Forchheim Tel.: 09191/797979 ==================== From phil.hudson at iname.com Tue Dec 10 11:43:57 2013 From: phil.hudson at iname.com (Philip Hudson) Date: Tue, 10 Dec 2013 16:43:57 +0000 Subject: [OT] Free Office suite for Linux and Windows In-Reply-To: <52A73A65.5060609@gmail.com> References: <52A72E17.2020409@gmail.com> <52A7395F.2020000@fourthworld.com> <52A73A65.5060609@gmail.com> Message-ID: On 10 December 2013 15:59, Richmond wrote: > I cannot help wondering why the GNU part of "GNU Linux" is there as GNU > is an endlessly delayed project that never seems to come to fruition. > GNU is not HURD. No GNU, no linux. You know, the compiler Linus used? And all the rest? -- Phil Hudson http://hudson-it.no-ip.biz @UWascalWabbit PGP/GnuPG ID: 0x887DCA63 From m.schonewille at economy-x-talk.com Tue Dec 10 11:51:28 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 10 Dec 2013 17:51:28 +0100 Subject: Problem with decoding Array In-Reply-To: <001801cef5c6$a6576c40$f30644c0$@forchheim@freenet.de> References: <001801cef5c6$a6576c40$f30644c0$@forchheim@freenet.de> Message-ID: <52A74690.1060807@economy-x-talk.com> Hi R?diger, You need to use "for binary read". -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi Fill out this survey please http://livecodebeginner.economy-x-talk.com/survey/ On 12/10/2013 17:41, Ruediger Wilhelm wrote: > As an LC greenhorn I am asking for advice. > > When I push the button LC quits with the message "Runtime Error ...." > The button script contains: > > global gUsersArray > on mouseUp > open file $LOCALAPPDATA &"/Fit_Reit_Data/TeilnehmerDaten.txt" for read > read from file $LOCALAPPDATA &"/Fit_Reit_Data/TeilnehmerDaten.txt" until > end > close file $LOCALAPPDATA &"/Fit_Reit_Data/TeilnehmerDaten.txt" > put it into tUsersEncode > put arrayDecode(tUsersEncode) into gUsersArray > end mouseUp > > In debug mode I can see that tUsersEndcode contains the > encoded string of the file TeinehmerDaten.txt which was > written there from the stack script via on closeStack. > When the button script is up to execute the line > put arrayDecode(...)... LC quits. > > I am working with LC 6.5. > Is this a bug or am I misunderstanding something? > Thanks for any ideas. > > Ruediger From phil.hudson at iname.com Tue Dec 10 12:08:36 2013 From: phil.hudson at iname.com (Philip Hudson) Date: Tue, 10 Dec 2013 17:08:36 +0000 Subject: [OT] Free Office suite for Linux and Windows In-Reply-To: <52A73B4E.2060109@gmail.com> References: <52A72E17.2020409@gmail.com> <52A7395F.2020000@fourthworld.com> <52A73B4E.2060109@gmail.com> Message-ID: On 10 December 2013 16:03, Richmond wrote: > socialism pretends to despise individuals, but on a more macro level. > Individualism (or rather solipsism), perhaps, not individuals. Ask for your money back from your political science prof. You didn't receive a privately funded education that you paid for entirely yourself? That's because you despise individuals then. Open Source is not ant-capitalistic > Hahahaha. No it is not. Not in any way, sense, manner or means. Its founders, "libertarians" (in the hijacked American sense, meaning narcissistic white male McCarthyite gun nuts) to a man, were quite clear about that. GNU/Linux is free software, not Open Source software. -- Phil Hudson http://hudson-it.no-ip.biz @UWascalWabbit PGP/GnuPG ID: 0x887DCA63 From wilhelm.forchheim at freenet.de Tue Dec 10 12:26:05 2013 From: wilhelm.forchheim at freenet.de (Ruediger Wilhelm) Date: Tue, 10 Dec 2013 18:26:05 +0100 Subject: Problem with decoding Array In-Reply-To: <52A74690.1060807@economy-x-talk.com> References: <001801cef5c6$a6576c40$f30644c0$@forchheim@freenet.de> <52A74690.1060807@economy-x-talk.com> Message-ID: <001c01cef5cc$e869bba0$b93d32e0$@forchheim@freenet.de> Hi Mark, thanks for your quick response! But how would I have to implement "for binary read"? Ruediger -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Mark Schonewille Sent: Dienstag, 10. Dezember 2013 17:51 To: How to use LiveCode Subject: Re: Problem with decoding Array Hi R?diger, You need to use "for binary read". -- Best regards, Mark Schonewille On 12/10/2013 17:41, Ruediger Wilhelm wrote: > As an LC greenhorn I am asking for advice. > > When I push the button LC quits with the message "Runtime Error ...." > The button script contains: > > global gUsersArray > on mouseUp > open file $LOCALAPPDATA &"/Fit_Reit_Data/TeilnehmerDaten.txt" for read > read from file $LOCALAPPDATA &"/Fit_Reit_Data/TeilnehmerDaten.txt" until end > close file $LOCALAPPDATA &"/Fit_Reit_Data/TeilnehmerDaten.txt" > put it into tUsersEncode > put arrayDecode(tUsersEncode) into gUsersArray > end mouseUp > > In debug mode I can see that tUsersEndcode contains the > encoded string of the file TeinehmerDaten.txt which was > written there from the stack script via on closeStack. > When the button script is up to execute the line > put arrayDecode(...)... LC quits. > > I am working with LC 6.5. > Is this a bug or am I misunderstanding something? > Thanks for any ideas. > > Ruediger _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Tue Dec 10 12:33:42 2013 From: klaus at major-k.de (Klaus major-k) Date: Tue, 10 Dec 2013 18:33:42 +0100 Subject: Problem with decoding Array In-Reply-To: <001c01cef5cc$e869bba0$b93d32e0$@forchheim@freenet.de> References: <001801cef5c6$a6576c40$f30644c0$@forchheim@freenet.de> <52A74690.1060807@economy-x-talk.com> <001c01cef5cc$e869bba0$b93d32e0$@forchheim@freenet.de> Message-ID: <01EDDB46-5F31-4671-9E77-FFFD9C849AB8@major-k.de> Hi Ruediger, Am 10.12.2013 um 18:26 schrieb Ruediger Wilhelm : > Hi Mark, > thanks for your quick response! > > But how would I have to implement "for binary read"? ... open file $LOCALAPPDATA &"/Fit_Reit_Data/TeilnehmerDaten.txt" for BINARY read ## 8-) ... > Ruediger Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From gcanyon at gmail.com Tue Dec 10 12:33:31 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Tue, 10 Dec 2013 11:33:31 -0600 Subject: Problem with decoding Array In-Reply-To: <52a74ff2.c457c20a.2ae1.3dd1SMTPIN_ADDED_BROKEN@mx.google.com> References: <52A74690.1060807@economy-x-talk.com> <52a74ff2.c457c20a.2ae1.3dd1SMTPIN_ADDED_BROKEN@mx.google.com> Message-ID: open file $LOCALAPPDATA &"/Fit_Reit_Data/TeilnehmerDaten.txt" for *binary*read On Tue, Dec 10, 2013 at 11:26 AM, Ruediger Wilhelm < wilhelm.forchheim at freenet.de> wrote: > Hi Mark, > thanks for your quick response! > > But how would I have to implement "for binary read"? > > Ruediger > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On > Behalf > Of Mark Schonewille > Sent: Dienstag, 10. Dezember 2013 17:51 > To: How to use LiveCode > Subject: Re: Problem with decoding Array > > Hi R?diger, > > You need to use "for binary read". > > -- > Best regards, > > Mark Schonewille > > > On 12/10/2013 17:41, Ruediger Wilhelm wrote: > > As an LC greenhorn I am asking for advice. > > > > When I push the button LC quits with the message "Runtime Error ...." > > The button script contains: > > > > global gUsersArray > > on mouseUp > > open file $LOCALAPPDATA &"/Fit_Reit_Data/TeilnehmerDaten.txt" for > read > > read from file $LOCALAPPDATA &"/Fit_Reit_Data/TeilnehmerDaten.txt" > until end > > close file $LOCALAPPDATA &"/Fit_Reit_Data/TeilnehmerDaten.txt" > > put it into tUsersEncode > > put arrayDecode(tUsersEncode) into gUsersArray > > end mouseUp > > > > In debug mode I can see that tUsersEndcode contains the > > encoded string of the file TeinehmerDaten.txt which was > > written there from the stack script via on closeStack. > > When the button script is up to execute the line > > put arrayDecode(...)... LC quits. > > > > I am working with LC 6.5. > > Is this a bug or am I misunderstanding something? > > Thanks for any ideas. > > > > Ruediger > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From m.schonewille at economy-x-talk.com Tue Dec 10 12:36:26 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 10 Dec 2013 18:36:26 +0100 Subject: Problem with decoding Array In-Reply-To: <001c01cef5cc$e869bba0$b93d32e0$@forchheim@freenet.de> References: <001801cef5c6$a6576c40$f30644c0$@forchheim@freenet.de> <52A74690.1060807@economy-x-talk.com> <001c01cef5cc$e869bba0$b93d32e0$@forchheim@freenet.de> Message-ID: <52A7511A.5060302@economy-x-talk.com> Hi R?diger, open file $LOCALAPPDATA &"/Fit_Reit_Data/TeilnehmerDaten.txt" for binary read and obviously also open file $LOCALAPPDATA &"/Fit_Reit_Data/TeilnehmerDaten.txt" for binary write when you are going to store the data. Also, I think that "read... until end" should be "read... until EOF". -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi Fill out this survey please http://livecodebeginner.economy-x-talk.com/survey/ On 12/10/2013 18:26, Ruediger Wilhelm wrote: > Hi Mark, > thanks for your quick response! > > But how would I have to implement "for binary read"? > > Ruediger > From gcanyon at gmail.com Tue Dec 10 12:37:43 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Tue, 10 Dec 2013 11:37:43 -0600 Subject: Problem with decoding Array In-Reply-To: <01EDDB46-5F31-4671-9E77-FFFD9C849AB8@major-k.de> References: <52A74690.1060807@economy-x-talk.com> <01EDDB46-5F31-4671-9E77-FFFD9C849AB8@major-k.de> Message-ID: Note that since you are reading the whole thing at once, it would be easier and more concise to use: put URL ("binfile:" & $LOCALAPPDATA &"/Fit_Reit_Data/TeilnehmerDaten.txt") into tUsersEncode Or even: put arrayDecode(URL ("binfile:" & $LOCALAPPDATA &"/Fit_Reit_Data/TeilnehmerDaten.txt")) into gUsersArray On Tue, Dec 10, 2013 at 11:33 AM, Klaus major-k wrote: > Hi Ruediger, > > Am 10.12.2013 um 18:26 schrieb Ruediger Wilhelm < > wilhelm.forchheim at freenet.de>: > > > Hi Mark, > > thanks for your quick response! > > > > But how would I have to implement "for binary read"? > ... > open file $LOCALAPPDATA &"/Fit_Reit_Data/TeilnehmerDaten.txt" for BINARY > read > ## 8-) > ... > > > Ruediger > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From wilhelm.forchheim at freenet.de Tue Dec 10 12:49:43 2013 From: wilhelm.forchheim at freenet.de (Ruediger Wilhelm) Date: Tue, 10 Dec 2013 18:49:43 +0100 Subject: Problem with decoding Array In-Reply-To: <52A7511A.5060302@economy-x-talk.com> References: <001801cef5c6$a6576c40$f30644c0$@forchheim@freenet.de> <52A74690.1060807@economy-x-talk.com> <001c01cef5cc$e869bba0$b93d32e0$@forchheim@freenet.de> <52A7511A.5060302@economy-x-talk.com> Message-ID: <002001cef5d0$359f5440$a0ddfcc0$@forchheim@freenet.de> Thank you so much Mark, Klaus and Geoff ! I had been puzzling on that problem for hours before I dared asking. Best regards Ruediger From ambassador at fourthworld.com Tue Dec 10 12:56:35 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 10 Dec 2013 09:56:35 -0800 Subject: [OT] Free Office suite for Linux and Windows In-Reply-To: References: Message-ID: <52A755D3.6090205@fourthworld.com> Philip Hudson wrote: > Open Source is not ant-capitalistic I support that view, and would cite my one dinner with Richard Stallman as my source. While rms has a reputation for strongly worded opinions, I've never heard him speak out against people making money. On the contrary, his preoccupation seems to more focused on treating the world as he treats his friends, at least with regard to sharing things that pose no loss to their originator, like software which can easily be copied without disturbing the original. The way he talks of his friends is with such admiration and warmth that it's almost charming. Given how much he values his friends, it then becomes easy to see how his views endeavor to promote the sort of sharing friends commonly do with friends. For many of us, that sort of open sharing doesn't always work as a business model, and in some cases may even disincentivise quality and feature completeness if support and custom development are the only ways the project is made viable. But for projects where it can be a good choice, it is indeed nice to be able to share stuff as one would share with friends. I'm so looking forward to the next SoCal Linux Expo coming up in February, where for the first time I'll be able to freely share my favorite scripting language with all of my friends there. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From richmondmathewson at gmail.com Tue Dec 10 13:07:40 2013 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 10 Dec 2013 20:07:40 +0200 Subject: [OT] Free Office suite for Linux and Windows In-Reply-To: References: <52A72E17.2020409@gmail.com> <52A7395F.2020000@fourthworld.com> <52A73A65.5060609@gmail.com> Message-ID: <52A7586C.9060008@gmail.com> On 10/12/13 18:43, Philip Hudson wrote: > On 10 December 2013 15:59, Richmond wrote: > >> I cannot help wondering why the GNU part of "GNU Linux" is there as GNU >> is an endlessly delayed project that never seems to come to fruition. >> > GNU is not HURD. No GNU, no linux. You know, the compiler Linus used? And > all the rest? > Right, I stand corrected. I did, indeed confuce GNU with HURD. Richmond. From endernafi at gmail.com Tue Dec 10 13:38:40 2013 From: endernafi at gmail.com (Ender Nafi Elekcioglu) Date: Tue, 10 Dec 2013 20:38:40 +0200 Subject: Very bumpy group scrolling on Android tablets In-Reply-To: <52A7317B.2080109@economy-x-talk.com> References: <52A7317B.2080109@economy-x-talk.com> Message-ID: Exactly same thing, on iOS 7 {all devices} and iOS 6 {iPod Touch 4}? 3 top level groups on 3 different cards, layerMode?s are ?scrolling?;? 1 horizontal scrolling, 20 ~ 40 {random assign on every launch} referenced images; 2 vertical scrolling, 122 referenced images. But I don?t remember same behavior prior LiveCode 6.1 and 6.5; maybe there was but I don?t remember. ~ Ender Nafi On December 10, 2013 at 17:21:57, Mark Schonewille (m.schonewille at economy-x-talk.com) wrote: Hi, I'm having a problem with scrolling groups using the native scroller on Android devices (and possibly iOS devices). The group contains approximately 100 images and 100 buttons. The formattedWidth is approximately 2500 pixels. When I start scrolling the group horizontally, the first time I scroll it till the end is extremely bumpy. Every time, the Android tablet will warn me, saying that the app is frozen and asking me to force-quit or wait. Once I have managed to scroll till the end one time, everything works perfectly smoothly. When I leave the card and come back to it, it all starts from the beginning again. I have to scroll till the end to obtain smooth scrolling again. I have added a handler that scrolls the group till the end and back after the openCard handler has finished running and I wait 50 millisecs with messages before I set the hScroll of the group to 0 again. I have tried every possible combination of layermodes, changing the layermodes of buttons, images and the group (9 different combinations). Nothing fixes the problem. Does anyone else have this bumpy experience with scrolling groups? Is there a solution? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi Fill out this survey please http://livecodebeginner.economy-x-talk.com/survey/ _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Tue Dec 10 13:46:08 2013 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 10 Dec 2013 20:46:08 +0200 Subject: [OT] Free Office suite for Linux and Windows In-Reply-To: References: <52A72E17.2020409@gmail.com> <52A7395F.2020000@fourthworld.com> <52A73B4E.2060109@gmail.com> Message-ID: <52A76170.9010905@gmail.com> On 10/12/13 19:08, Philip Hudson wrote: > On 10 December 2013 16:03, Richmond wrote: > >> socialism pretends to despise individuals, but on a more macro level. >> > Individualism (or rather solipsism), perhaps, not individuals. Ask for your > money back from your political science prof. You didn't receive a privately > funded education that you paid for entirely yourself? That's because you > despise individuals then. I did not attend any political science lectures. The main reason for this is that when I had the chance, in 1983, the Coal Miners were on strike round Durham, and I was busy fighting the fact that the University had a closed shop so all students had to belong to the National Union of Students, and money my parents had earned and paid for my education was being siphoned off to pay for scum such as Mick McGahey and Arthur Scargill. All the political science lecturers were supporting these people, either because they were socialists who thought it a fine thing to finance political parasites, or because they were being intimidated by the striking miners wandering round Durham with wooden staves in their hands. What I did do was move to a supposedly ex-Commie country in 1990 and found out that as well as all the propaganda crap about people being equal and so forth, that, like all totalitarian states (whatever their colour) it didn't give "a monkey's" for individuals. Now, I work for my pay and get paid for my work. No work; no pay. While under Communism those with the 'right' sort of connexions sat around on their comfy bottoms do nothing at all and getting a lot more in terms of material gain than the poor folk actually doing any sort of work. If I am anything, politically, I would describe myself as a meritocratist. I have never heard about a political system that does not have an interest in money; Oh, except George Orwell's "1984", and I don't see anyone exactly rushing to embrace a world like that. > > Open Source is not ant-capitalistic > Hahahaha. No it is not. Not in any way, sense, manner or means. Its > founders, "libertarians" (in the hijacked American sense, meaning > narcissistic white male McCarthyite gun nuts) to a man, were quite clear > about that. Funnily enough, one of my heros (is it still acceptable to have heros?) was a white male gun nut; Charlton Heston: the reason I think of him as one of my heros is 3-fold: 1. Was the first white male to march with Martin Luther King. 2. President of the American Cult Awareness Network until it got suborned by the scientologists. 3. That line at the end of 'Planet of the Apes' . . . this reason, of course, being the most important. I am white and male, but most definitely not a gun nut. My best friend is black, male and spends an awful lot of his time shooting wild boar (in India and Australia). My best friend is just about as right-wing as Genghis Khan. "Libertarian" is a word that doesn't really seem to have much substance if it is examined closely. What is does seem to mean to people who call themselves libertarian is "I can do what I want and sucks to you"; not a terribly useful or constructive way of looking at the world. > > GNU/Linux is free software, not Open Source software. Anybody who tries to tell me that Open Source software is anti-capitalistic will have me pointing directly at Runtime Revolution: crafty capitalistic types to a man (err, sorry Heather and Co): 1. They launched their Open Source Initiative via Kickstarter, so they collected quite a lot of money to spend on the OSS version of Livecode rather than direct profits from their closed version towards it. 1.1. I sent the Kickstarter thing some money, not out of "pure, unadulterated love", but hoping I would get something to my benefit from it: and I did; as a result I was able to teach a course to kids in the summer that allowed me to recoup, almost exactly, my investment in the OSS version of Livecode. This is where I pause to listen for a slightly tenuous cheer from all of you out "there" . . . :) 2. They were entirely up-front about their motivation: to encourage types like you and me to fiddle around with the code and improve it so they could plough it back into the closed version. And I take my hat off to them; so far they seem to have made a good job of things. > Now, I started this posting merely as a way of pointing out that the Softmaker Office people were offering a free Office suite that didn't slurp down the RAM like an alcoholic on a Saturday night binge. Why, any time anybody uses the word 'Free' in computer circles all sorts of people need to jump on it and say "it's not Free" (meaning "it's not 'Free' qua R. Stallman's definition of 'Free'") I do not know. The office suite offered by Softmaker is now running on all my crappy old Pentiums in my school at about 4 times the speed LibreOffice was; and whatever 'Free' means; it didn't cost me anything more than letting those awful capitalistic pigs (Softmaker Office) get their filthy mitts on my e-mail address (which they already had, otherwise they would have been unable to alert me to their very kind offer) and the 12 minutes of Internet time it cost me to download the DEB file. Good enough for me. Richmond. From MikeKerner at roadrunner.com Tue Dec 10 14:32:59 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 10 Dec 2013 14:32:59 -0500 Subject: Building an iOS app that takes pictures, first time always crashes In-Reply-To: References: Message-ID: As in that was it? Did you get it fixed? I'm about to add photos to one of my apps. On Tue, Dec 10, 2013 at 11:05 AM, Geoff Canyon wrote: > thx > > > On Tue, Dec 10, 2013 at 8:50 AM, Thomas McGrath III >wrote: > > > Geoff, > > > > Don?t have time to check but I would look at the result. I think it > > returns ?source not available? if there is a problem with the camera. See > > if the stack crashes before this answer dialog and what the result > returns. > > > > > > FWIW > > > > Tom > > > > -- Tom McGrath III > > http://lazyriver.on-rev.com > > mcgrath3 at mac.com > > > > On Dec 10, 2013, at 12:55 AM, Geoff Canyon wrote: > > > > > on takePhoto > > > if the environment is "mobile" then > > > mobilePickPhoto "camera?,300,300 > > answer the result > > > > > if the result is "cancel" then > > > exit takePhoto > > > end if > > > else > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From phil.hudson at iname.com Tue Dec 10 14:55:56 2013 From: phil.hudson at iname.com (Philip Hudson) Date: Tue, 10 Dec 2013 19:55:56 +0000 Subject: [OT] Free Office suite for Linux and Windows In-Reply-To: <52A76170.9010905@gmail.com> References: <52A72E17.2020409@gmail.com> <52A7395F.2020000@fourthworld.com> <52A73B4E.2060109@gmail.com> <52A76170.9010905@gmail.com> Message-ID: On 10 December 2013 18:46, Richmond wrote: > While under Communism those with the 'right' sort of connexions sat around > on their > comfy bottoms do nothing at all and getting a lot more in terms of > material gain than > the poor folk actually doing any sort of work. > Different from UK capitalism, then, or rather, identical, except for the scale of the rewards. -- Phil Hudson http://hudson-it.no-ip.biz @UWascalWabbit PGP/GnuPG ID: 0x887DCA63 From richmondmathewson at gmail.com Tue Dec 10 15:05:50 2013 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 10 Dec 2013 22:05:50 +0200 Subject: [OT] Free Office suite for Linux and Windows In-Reply-To: References: <52A72E17.2020409@gmail.com> <52A7395F.2020000@fourthworld.com> <52A73B4E.2060109@gmail.com> <52A76170.9010905@gmail.com> Message-ID: <52A7741E.8000404@gmail.com> On 10/12/13 21:55, Philip Hudson wrote: > On 10 December 2013 18:46, Richmond wrote: > >> While under Communism those with the 'right' sort of connexions sat around >> on their >> comfy bottoms do nothing at all and getting a lot more in terms of >> material gain than >> the poor folk actually doing any sort of work. >> > Different from UK capitalism, then, or rather, identical, except for the > scale of the rewards. > Quite true; one of the many reasons I don't like in the United Whiggery any more. Richmond. From phil.hudson at iname.com Tue Dec 10 15:36:21 2013 From: phil.hudson at iname.com (Philip Hudson) Date: Tue, 10 Dec 2013 20:36:21 +0000 Subject: [OT] Free Office suite for Linux and Windows In-Reply-To: <52A76170.9010905@gmail.com> References: <52A72E17.2020409@gmail.com> <52A7395F.2020000@fourthworld.com> <52A73B4E.2060109@gmail.com> <52A76170.9010905@gmail.com> Message-ID: On 10 December 2013 18:46, Richmond wrote: > money my parents had earned and paid for my education was being siphoned > off to > pay for scum such as Mick McGahey and Arthur Scargill. > How? -- Phil Hudson http://hudson-it.no-ip.biz @UWascalWabbit PGP/GnuPG ID: 0x887DCA63 From richmondmathewson at gmail.com Tue Dec 10 15:39:41 2013 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 10 Dec 2013 22:39:41 +0200 Subject: [OT] Free Office suite for Linux and Windows In-Reply-To: References: <52A72E17.2020409@gmail.com> <52A7395F.2020000@fourthworld.com> <52A73B4E.2060109@gmail.com> <52A76170.9010905@gmail.com> Message-ID: <52A77C0D.6040304@gmail.com> On 10/12/13 22:36, Philip Hudson wrote: > On 10 December 2013 18:46, Richmond wrote: > >> money my parents had earned and paid for my education was being siphoned >> off to >> pay for scum such as Mick McGahey and Arthur Scargill. >> > How? > Part of the fees we paid to the University of Durham were sequestrated to pay for our compulsory membership of the NUS; and they sent money to the National Union of Mineworkers. I was never very keen on Margaret Thatcher; but she was right about those 2. Richmond. From CFORD at mailbox.sc.edu Tue Dec 10 16:03:19 2013 From: CFORD at mailbox.sc.edu (FORD JR., CURT) Date: Tue, 10 Dec 2013 21:03:19 +0000 Subject: sorting a column in a dataGrid by dateTime Message-ID: <4AC93F8FE7AA27449837C912ED6305211B9C678F@CAE145EMBP04.ds.sc.edu> Thanks, Richard & Alex - sometimes I get stuck because I don't expect how simple LiveCode can make something. So experimenting with a field, this works fine: on mouseUp put fld "source" into tSource sort tSource dateTime put tSource into fld "result" end mouseUp Now - is there a way to adapt that for a data grid? Looking at http://lessons.runrev.com/s/lessons/m/datagrid/l/7330-how-do-i-customize-column-sorting I tried putting this in the script for the data grid: on SortDataGridColumn pColumn switch pColumn case "Time" sort pColumn dateTime break default pass SortDataGridColumn end switch end SortDataGridColumn ..but nothing seems to change - is there a step I'm missing? Does the column need to get reloaded somehow? The lines in the column have the abbrev date concatenated with the long time, for example: Wed, Nov 13, 2013 8:19:15 PM Thanks again for any help - Curt From janschenkel at yahoo.com Tue Dec 10 16:09:33 2013 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue, 10 Dec 2013 13:09:33 -0800 (PST) Subject: How do I find the rgb values for colors defined by their name: e.g. blue, green, yellow etc. In-Reply-To: <52A66CA0.2020805@fourthworld.com> Message-ID: <1386709773.81457.YahooMailBasic@web141105.mail.bf1.yahoo.com> Hi Richard et al, There's an even faster method, based on the fact that the graphic effects always convert colour names to rob triplets. See: Here's a script to compare the average speed of the colorOverlay["color"] method versus the effective backPixel method: ## on mouseUp local tColorName, tColorRGB1, tColorRGB2, tStart, tTime1, tTime2 repeat for each line tColorName in the colorNames put the milliseconds into tStart set the colorOverlay["color"] of the templateGraphic to tColorName put the colorOverlay["color"] of the templateGraphic into tColorRGB1 put the milliseconds - tStart & comma after tTime1 put the milliseconds into tStart set the backgroundColor of the templateGraphic to tColorName set the backgroundPixel of the templateGraphic to the effective backgroundPixel of the templateGraphic put the backgroundColor of the templateGraphic into tColorRGB2 put the milliseconds - tStart & comma after tTime2 end repeat delete char -1 of tTime1 delete char -1 of tTime2 -- answer "colorOverlay[color]" && average(tTime1) & return & \ "backgroundPixel" && average(tTime2) end mouseUp ## On my machine, the output was colorOverlay[color] 0.001812 backgroundPixel 0.005435 Incidentally, this is the method I will include in the next revision of Quartam Color Library. That is a free/open source library, available under the commercial-friendly LGPL license. See: Cheers, Jan Schenkel. ===== Quartam Reports & PDF Library for LiveCode www.quartam.com ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) -------------------------------------------- On Mon, 12/9/13, Richard Gaskin wrote: Subject: Re: How do I find the rgb values for colors defined by their name: e.g. blue, green, yellow etc. To: use-livecode at lists.runrev.com Date: Monday, December 9, 2013, 5:21 PM Peter Haworth wrote: > Hi Jim, > Sent this earlier but it didn't make it for some reason.? This is a > function that some kind person on the list gave me a while back: > > *function* RGBFromColorName theColor > *???if* theColor is not a color *then* *return* "Error: not a color" > >? ? *create* invisible button > >? ? *if* the result is not empty *then* *return* "Error" > >? ? *set* the backgroundColor of last button to theColor > >? ? *set* the backgroundPixel of last button to the backgroundPixel of last > button > >? ? *get* the backgroundColor of last button > >? ? *delete* last button > >? ? *return* it > >? ? *end* RGBFromColorName For greater robustness and a modest performance boost you could use the templateButton rather than creating a new physical button. -- ? Richard Gaskin ? Fourth World ? LiveCode training and consulting: http://www.fourthworld.com ? Webzine for LiveCode developers: http://www.LiveCodeJournal.com ? Follow me on Twitter:? http://twitter.com/FourthWorldSys _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From phil.hudson at iname.com Tue Dec 10 16:10:43 2013 From: phil.hudson at iname.com (Philip Hudson) Date: Tue, 10 Dec 2013 21:10:43 +0000 Subject: [OT] Free Office suite for Linux and Windows In-Reply-To: <52A76170.9010905@gmail.com> References: <52A72E17.2020409@gmail.com> <52A7395F.2020000@fourthworld.com> <52A73B4E.2060109@gmail.com> <52A76170.9010905@gmail.com> Message-ID: On 10 December 2013 18:46, Richmond wrote: > >> GNU/Linux is free software, not Open Source software. >> > > Anybody who tries to tell me that Open Source software is > anti-capitalistic will have me pointing directly at > Runtime Revolution: crafty capitalistic types to a man (err, sorry Heather > and Co): > You are missing my point. GNU/Linux is free software, not so-called "Open Source" software. So is LiveCode (which I think is RunRev's preferred branding now), since they decided to go with the GPL. "Open Source" is a project of "libertarians" who value only the development process, not the freedoms, of free software (or Free Software, if we must). I have also had occasion to contact RunRev and to thank and praise them for making a viable and sustainable business out of our beloved HyperCard. I like to think that in my own small way, by taking a reasoned and reasonable approach and respecting their achievements and integrity and interest, but stating clearly my own unwillingness to risk depending on non-free software, I may have helped to influence them in the right direction. (They gave me a straight but qualified "No" at the time). Unlike you, I do not equate for-profit business with capitalism; they are not the same thing at all. AFAICT as an outsider who only lurks on the list, everyone who profits from LiveCode has produced at least *something* of value, and (more or less) those who profit most have produced most; therefore they are not capitalists. This is not splitting hairs. Capitalism is a word with a meaning, and RunRev is not it. I also notice that they have felt able and willing to allow others to direct them in the use of their profits. Nope, not capitalists. Not even close. Nor you, I'm afraid, as a *donor* of capital, however little, with no shares to show for your money in return. Good man! -- Phil Hudson http://hudson-it.no-ip.biz @UWascalWabbit PGP/GnuPG ID: 0x887DCA63 From gcanyon at gmail.com Tue Dec 10 16:18:49 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Tue, 10 Dec 2013 15:18:49 -0600 Subject: Building an iOS app that takes pictures, first time always crashes In-Reply-To: References: Message-ID: I'm not at my dev machine. I'll check tonight and reply then. On Tue, Dec 10, 2013 at 1:32 PM, Mike Kerner wrote: > As in that was it? Did you get it fixed? I'm about to add photos to one > of my apps. > > > On Tue, Dec 10, 2013 at 11:05 AM, Geoff Canyon wrote: > > > thx > > > > > > On Tue, Dec 10, 2013 at 8:50 AM, Thomas McGrath III > >wrote: > > > > > Geoff, > > > > > > Don?t have time to check but I would look at the result. I think it > > > returns ?source not available? if there is a problem with the camera. > See > > > if the stack crashes before this answer dialog and what the result > > returns. > > > > > > > > > FWIW > > > > > > Tom > > > > > > -- Tom McGrath III > > > http://lazyriver.on-rev.com > > > mcgrath3 at mac.com > > > > > > On Dec 10, 2013, at 12:55 AM, Geoff Canyon wrote: > > > > > > > on takePhoto > > > > if the environment is "mobile" then > > > > mobilePickPhoto "camera?,300,300 > > > answer the result > > > > > > > if the result is "cancel" then > > > > exit takePhoto > > > > end if > > > > else > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Tue Dec 10 16:37:29 2013 From: pete at lcsql.com (Peter Haworth) Date: Tue, 10 Dec 2013 13:37:29 -0800 Subject: sorting a column in a dataGrid by dateTime In-Reply-To: <4AC93F8FE7AA27449837C912ED6305211B9C678F@CAE145EMBP04.ds.sc.edu> References: <4AC93F8FE7AA27449837C912ED6305211B9C678F@CAE145EMBP04.ds.sc.edu> Message-ID: Hi Curt, I don't think you need any code to do the sort in a datagrid. In the Inspector for the datagrid, go to the columns tab, select the column that needs to be sorted by date, then down at the bottom select "datetime" from the "Type" menu. When the user clicks on the date column, it should sort correctly. Pete lcSQL Software On Tue, Dec 10, 2013 at 1:03 PM, FORD JR., CURT wrote: > Thanks, Richard & Alex - sometimes I get stuck because I don't expect how > simple LiveCode can make something. So experimenting with a field, this > works fine: > > > on mouseUp > > put fld "source" into tSource > > sort tSource dateTime > > put tSource into fld "result" > > end mouseUp > > Now - is there a way to adapt that for a data grid? > > Looking at > http://lessons.runrev.com/s/lessons/m/datagrid/l/7330-how-do-i-customize-column-sorting I tried putting this in the script for the data grid: > > > on SortDataGridColumn pColumn > > > > switch pColumn > > case "Time" > > sort pColumn dateTime > > break > > > > default > > pass SortDataGridColumn > > > > end switch > > > > end SortDataGridColumn > > > ..but nothing seems to change - is there a step I'm missing? Does the > column need to get reloaded somehow? > > > The lines in the column have the abbrev date concatenated with the long > time, for example: Wed, Nov 13, 2013 8:19:15 PM > > > Thanks again for any help - > > > Curt > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Tue Dec 10 16:42:22 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 10 Dec 2013 15:42:22 -0600 Subject: How do I find the rgb values for colors defined by their name: e.g. blue, green, yellow etc. In-Reply-To: <1386709773.81457.YahooMailBasic@web141105.mail.bf1.yahoo.com> References: <1386709773.81457.YahooMailBasic@web141105.mail.bf1.yahoo.com> Message-ID: <52A78ABE.5030405@hyperactivesw.com> On 12/10/13 3:09 PM, Jan Schenkel wrote: > > There's an even faster method, based on the fact that the graphic effects always convert colour names to rob triplets. > See: > > Here's a script to compare the average speed of the colorOverlay["color"] method versus the effective backPixel method: > ## > on mouseUp > local tColorName, tColorRGB1, tColorRGB2, tStart, tTime1, tTime2 > repeat for each line tColorName in the colorNames > put the milliseconds into tStart > set the colorOverlay["color"] of the templateGraphic to tColorName > put the colorOverlay["color"] of the templateGraphic into tColorRGB1 > put the milliseconds - tStart & comma after tTime1 > put the milliseconds into tStart > set the backgroundColor of the templateGraphic to tColorName > set the backgroundPixel of the templateGraphic to the effective backgroundPixel of the templateGraphic > put the backgroundColor of the templateGraphic into tColorRGB2 > put the milliseconds - tStart & comma after tTime2 > end repeat > delete char -1 of tTime1 > delete char -1 of tTime2 > -- > answer "colorOverlay[color]" && average(tTime1) & return & \ > "backgroundPixel" && average(tTime2) > end mouseUp > ## These are great scripts, they're going into my scrapbook. The original question though was how to convert an RGB value to the nearest colorname. I don't think you can. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From CFORD at mailbox.sc.edu Tue Dec 10 16:58:55 2013 From: CFORD at mailbox.sc.edu (FORD JR., CURT) Date: Tue, 10 Dec 2013 21:58:55 +0000 Subject: sorting a column in a dataGrid by dateTime Message-ID: <4AC93F8FE7AA27449837C912ED6305211B9C72D0@CAE145EMBP04.ds.sc.edu> [palm smacks forehead] Again, so much simpler than I'd realized. Thanks Pete! Hi Curt, I don't think you need any code to do the sort in a datagrid. In the Inspector for the datagrid, go to the columns tab, select the column that needs to be sorted by date, then down at the bottom select "datetime" from the "Type" menu. When the user clicks on the date column, it should sort correctly. Pete lcSQL Software > From m.schonewille at economy-x-talk.com Tue Dec 10 17:16:10 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 10 Dec 2013 23:16:10 +0100 Subject: [OT] Last chance to order Programming LiveCode for the Real Beginner this year! Message-ID: <52A792AA.4000309@economy-x-talk.com> Hi everyone, I promise I'll stop being spammy for the rest of the year after sending this message. I just don't want you to miss out on the last opportunity to order my book "Programming LiveCode for the Real Beginner". Today and tomorrow (Tuesday and Wednesday) are the last days when you can order my book an still get it shortly after the winter holidays. Orders received on Thursday or later will be put on a waiting list. Order it at http://qery.us/3fi Please, don't forget to do the survey http://livecodebeginner.economy-x-talk.com/survey/ when you receive the book. More information is available at http://blog.economy-x-talk.com -- 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 From livfoss at mac.com Tue Dec 10 17:16:15 2013 From: livfoss at mac.com (Graham Samuel) Date: Tue, 10 Dec 2013 23:16:15 +0100 Subject: Puzzling about 'the focusedObject' Message-ID: <50DAEDE4-52A6-4E31-92E1-DAEE7DE5804D@mac.com> I'm trying to find out which field (if any) in a set of stacks has the focus (if the object with the focus is not a field I have other actions to perform which are not relevant to this issue). There is a main stack with one card and some fields; and a set of palettes. Some of these palettes have fields. The following script fragment works if the field with the focus is in the main stack: if the focusedObject contains "field" then select the text of the focusedObject [...] This seems a nice, robust idea. But if I open a palette and see a flashing cursor in a field, that bit of code doesn't work because 'the focusedObject' refers to the last field to have the focus in the card in the mainstack. So, either I've misunderstood the idea of 'the focusedObject' or it doesn't work for palettes. The second conclusion would be odd, since 'copy', 'paste' and 'cut' all work for fields in palettes, without the need to script anything apart from the single command, so the engine certainly knows that the focus is in a field in a palette. How do these commands know where they are supposed to do the cutting or whatever and yet I don't? I can't think of a way of looking this up in the documentation, so I am stuck. By the way this is just to implement a very simple 'select all' menu item. TIA Graham From pete at lcsql.com Tue Dec 10 17:24:03 2013 From: pete at lcsql.com (Peter Haworth) Date: Tue, 10 Dec 2013 14:24:03 -0800 Subject: How do I find the rgb values for colors defined by their name: e.g. blue, green, yellow etc. In-Reply-To: <1386709773.81457.YahooMailBasic@web141105.mail.bf1.yahoo.com> References: <52A66CA0.2020805@fourthworld.com> <1386709773.81457.YahooMailBasic@web141105.mail.bf1.yahoo.com> Message-ID: Thanks Jan, I will convert to using that method. Pete lcSQL Software On Tue, Dec 10, 2013 at 1:09 PM, Jan Schenkel wrote: > Hi Richard et al, > > There's an even faster method, based on the fact that the graphic effects > always convert colour names to rob triplets. > See: > > Here's a script to compare the average speed of the colorOverlay["color"] > method versus the effective backPixel method: > ## > on mouseUp > local tColorName, tColorRGB1, tColorRGB2, tStart, tTime1, tTime2 > repeat for each line tColorName in the colorNames > put the milliseconds into tStart > set the colorOverlay["color"] of the templateGraphic to tColorName > put the colorOverlay["color"] of the templateGraphic into tColorRGB1 > put the milliseconds - tStart & comma after tTime1 > put the milliseconds into tStart > set the backgroundColor of the templateGraphic to tColorName > set the backgroundPixel of the templateGraphic to the effective > backgroundPixel of the templateGraphic > put the backgroundColor of the templateGraphic into tColorRGB2 > put the milliseconds - tStart & comma after tTime2 > end repeat > delete char -1 of tTime1 > delete char -1 of tTime2 > -- > answer "colorOverlay[color]" && average(tTime1) & return & \ > "backgroundPixel" && average(tTime2) > end mouseUp > ## > > On my machine, the output was > colorOverlay[color] 0.001812 > backgroundPixel 0.005435 > > Incidentally, this is the method I will include in the next revision of > Quartam Color Library. > That is a free/open source library, available under the > commercial-friendly LGPL license. > See: > > Cheers, > > Jan Schenkel. > > ===== > Quartam Reports & PDF Library for LiveCode > www.quartam.com > > ===== > "As we grow older, we grow both wiser and more foolish at the same time." > (La Rochefoucauld) > > -------------------------------------------- > On Mon, 12/9/13, Richard Gaskin wrote: > > Subject: Re: How do I find the rgb values for colors defined by their > name: e.g. blue, green, yellow etc. > To: use-livecode at lists.runrev.com > Date: Monday, December 9, 2013, 5:21 PM > > Peter Haworth wrote: > > > Hi Jim, > > Sent this earlier but it didn't make it for some > reason. This is a > > function that some kind person on the list gave me a > while back: > > > > *function* RGBFromColorName theColor > > * if* theColor is not a color *then* > *return* "Error: not a color" > > > > *create* invisible button > > > > *if* the result is not empty *then* > *return* "Error" > > > > *set* the backgroundColor of last button > to theColor > > > > *set* the backgroundPixel of last button > to the backgroundPixel of last > > button > > > > *get* the backgroundColor of last button > > > > *delete* last button > > > > *return* it > > > > *end* RGBFromColorName > > For greater robustness and a modest performance boost you > could use the > templateButton rather than creating a new physical button. > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > Follow me on Twitter: http://twitter.com/FourthWorldSys > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Tue Dec 10 17:25:46 2013 From: pete at lcsql.com (Peter Haworth) Date: Tue, 10 Dec 2013 14:25:46 -0800 Subject: How do I find the rgb values for colors defined by their name: e.g. blue, green, yellow etc. In-Reply-To: <52A78ABE.5030405@hyperactivesw.com> References: <1386709773.81457.YahooMailBasic@web141105.mail.bf1.yahoo.com> <52A78ABE.5030405@hyperactivesw.com> Message-ID: Whoops, really? I read it the other way round. Which was it Jim? Pete lcSQL Software On Tue, Dec 10, 2013 at 1:42 PM, J. Landman Gay wrote: > On 12/10/13 3:09 PM, Jan Schenkel wrote: > >> >> There's an even faster method, based on the fact that the graphic effects >> always convert colour names to rob triplets. >> See: >> >> Here's a script to compare the average speed of the colorOverlay["color"] >> method versus the effective backPixel method: >> ## >> on mouseUp >> local tColorName, tColorRGB1, tColorRGB2, tStart, tTime1, tTime2 >> repeat for each line tColorName in the colorNames >> put the milliseconds into tStart >> set the colorOverlay["color"] of the templateGraphic to tColorName >> put the colorOverlay["color"] of the templateGraphic into >> tColorRGB1 >> put the milliseconds - tStart & comma after tTime1 >> put the milliseconds into tStart >> set the backgroundColor of the templateGraphic to tColorName >> set the backgroundPixel of the templateGraphic to the effective >> backgroundPixel of the templateGraphic >> put the backgroundColor of the templateGraphic into tColorRGB2 >> put the milliseconds - tStart & comma after tTime2 >> end repeat >> delete char -1 of tTime1 >> delete char -1 of tTime2 >> -- >> answer "colorOverlay[color]" && average(tTime1) & return & \ >> "backgroundPixel" && average(tTime2) >> end mouseUp >> ## >> > > These are great scripts, they're going into my scrapbook. > > The original question though was how to convert an RGB value to the > nearest colorname. I don't think you can. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From capellan2000 at gmail.com Tue Dec 10 17:41:35 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Tue, 10 Dec 2013 14:41:35 -0800 (PST) Subject: How do I find the rgb values for colors defined by their name: e.g. blue, green, yellow etc. In-Reply-To: References: Message-ID: <1386715295258-4673547.post@n4.nabble.com> Hi Jim, Jim Hurley-2 wrote > The subject says it all. Could you use a lookup list? :D http://web.njit.edu/~kevin/rgb.txt.html Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/How-do-I-find-the-rgb-values-for-colors-defined-by-their-name-e-g-blue-green-yellow-etc-tp4673481p4673547.html Sent from the Revolution - User mailing list archive at Nabble.com. From pete at lcsql.com Tue Dec 10 17:44:17 2013 From: pete at lcsql.com (Peter Haworth) Date: Tue, 10 Dec 2013 14:44:17 -0800 Subject: How do I find the rgb values for colors defined by their name: e.g. blue, green, yellow etc. In-Reply-To: <52A78ABE.5030405@hyperactivesw.com> References: <1386709773.81457.YahooMailBasic@web141105.mail.bf1.yahoo.com> <52A78ABE.5030405@hyperactivesw.com> Message-ID: Whoops, really? I read it the other way round. Which was it Jim? Pete lcSQL Software On Tue, Dec 10, 2013 at 1:42 PM, J. Landman Gay wrote: > On 12/10/13 3:09 PM, Jan Schenkel wrote: > >> >> There's an even faster method, based on the fact that the graphic effects >> always convert colour names to rob triplets. >> See: >> >> Here's a script to compare the average speed of the colorOverlay["color"] >> method versus the effective backPixel method: >> ## >> on mouseUp >> local tColorName, tColorRGB1, tColorRGB2, tStart, tTime1, tTime2 >> repeat for each line tColorName in the colorNames >> put the milliseconds into tStart >> set the colorOverlay["color"] of the templateGraphic to tColorName >> put the colorOverlay["color"] of the templateGraphic into >> tColorRGB1 >> put the milliseconds - tStart & comma after tTime1 >> put the milliseconds into tStart >> set the backgroundColor of the templateGraphic to tColorName >> set the backgroundPixel of the templateGraphic to the effective >> backgroundPixel of the templateGraphic >> put the backgroundColor of the templateGraphic into tColorRGB2 >> put the milliseconds - tStart & comma after tTime2 >> end repeat >> delete char -1 of tTime1 >> delete char -1 of tTime2 >> -- >> answer "colorOverlay[color]" && average(tTime1) & return & \ >> "backgroundPixel" && average(tTime2) >> end mouseUp >> ## >> > > These are great scripts, they're going into my scrapbook. > > The original question though was how to convert an RGB value to the > nearest colorname. I don't think you can. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From stephenREVOLUTION2 at barncard.com Tue Dec 10 18:33:27 2013 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Tue, 10 Dec 2013 15:33:27 -0800 Subject: How do I find the rgb values for colors defined by their name: e.g. blue, green, yellow etc. In-Reply-To: <52A78ABE.5030405@hyperactivesw.com> References: <1386709773.81457.YahooMailBasic@web141105.mail.bf1.yahoo.com> <52A78ABE.5030405@hyperactivesw.com> Message-ID: On Tue, Dec 10, 2013 at 1:42 PM, J. Landman Gay wrote: > The original question though was how to convert an RGB value to the > nearest colorname. I don't think you can. ?sure you can. But a human needs to be involved in the substitution. Create a list with all the standard color names converted to RGB values- put the name, a comma and the triplet on each line.? then do a search to find a matching triplet if found, display the name. If not, present an answer color dialog showing the un-named color, allowing the substitution of a near neighbor. *--* *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* From mats.wilstrand at tapirsoft.com Tue Dec 10 19:04:35 2013 From: mats.wilstrand at tapirsoft.com (Mats Wilstrand) Date: Wed, 11 Dec 2013 01:04:35 +0100 Subject: [ANN] rIDE 2.4 Message-ID: Dear All! Here comes version 2.4 of rIDE! The Property Inspector has been heavily updated and is now rather advanced. It now handles multi-level customProperties and customPropertySets which can be inspected and edited freely. Fill- and strokeGradients are now integrated for inspection and editing. The editing handles of the gradients can be dragged even outside the window boundaries by dragging the "cross-arrows" in the Inspector. The Property Inspector treats native and custom controls in the same way. A color property of for example a button gets a clickable "Color Chooser to the right of the value field. Both the property name and value are analyzed to display proper controls for editing. The Inspector does the same with a custom Control. Try selecting a custom control, for example a Data Grid, and then choose "Custom" from the Combo box at the top of the Inspector. Or you could try building your own custom control, add some custom properties to it and inspect and edit. Here you can experiment with the property names and values to see the effect in the Inspector. Choosing a property name ending with for example "color" will have the Inspector display the same color editing controls for your custom control as if it was a native. You're probably guessing by now that these features aims at a streamlined and consistent mechanism for creating, editing and inspecting controls. And you're right! Next version of rIDE will get new and integrated tools for creating, editing and inspecting native as well as custom controls. Enjoy this rIDE! Download: http://tapirsoft.on-rev.com/ride/ With my best regards, Mats From dunbarx at aol.com Tue Dec 10 19:20:09 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Tue, 10 Dec 2013 19:20:09 -0500 (EST) Subject: Puzzling about 'the focusedObject' In-Reply-To: <50DAEDE4-52A6-4E31-92E1-DAEE7DE5804D@mac.com> References: <50DAEDE4-52A6-4E31-92E1-DAEE7DE5804D@mac.com> Message-ID: <8D0C41DE2B166C3-1534-444E@webmail-vm037.sysops.aol.com> Graham. Seems counterintuitive to me; I will play around a bit. But it could be standard behavior. But at least you can rewrite your handler to include a test of the owner of the field. If it is a card or group in the mainstack, then do this. Else do that. Craig Newman -----Original Message----- From: Graham Samuel To: How to use LiveCode Sent: Tue, Dec 10, 2013 5:16 pm Subject: Puzzling about 'the focusedObject' I'm trying to find out which field (if any) in a set of stacks has the focus (if the object with the focus is not a field I have other actions to perform which are not relevant to this issue). There is a main stack with one card and some fields; and a set of palettes. Some of these palettes have fields. The following script fragment works if the field with the focus is in the main stack: if the focusedObject contains "field" then select the text of the focusedObject [...] This seems a nice, robust idea. But if I open a palette and see a flashing cursor in a field, that bit of code doesn't work because 'the focusedObject' refers to the last field to have the focus in the card in the mainstack. So, either I've misunderstood the idea of 'the focusedObject' or it doesn't work for palettes. The second conclusion would be odd, since 'copy', 'paste' and 'cut' all work for fields in palettes, without the need to script anything apart from the single command, so the engine certainly knows that the focus is in a field in a palette. How do these commands know where they are supposed to do the cutting or whatever and yet I don't? I can't think of a way of looking this up in the documentation, so I am stuck. By the way this is just to implement a very simple 'select all' menu item. TIA Graham _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From revdev at pdslabs.net Tue Dec 10 19:56:11 2013 From: revdev at pdslabs.net (Phil Davis) Date: Tue, 10 Dec 2013 16:56:11 -0800 Subject: [OT] Last chance to order Programming LiveCode for the Real Beginner this year! In-Reply-To: <52A792AA.4000309@economy-x-talk.com> References: <52A792AA.4000309@economy-x-talk.com> Message-ID: <52A7B82B.1080103@pdslabs.net> Mark, I'm using your book with a 15-year old homeschool "real beginner" here in the Portland, Oregon area and he loves it. He is doing all your exercises, and every time we get together I can tell he is growing in his grasp of LiveCode. Thanks for the work you put into this publication. Phil Davis On 12/10/13, 2:16 PM, Mark Schonewille wrote: > Hi everyone, > > I promise I'll stop being spammy for the rest of the year after > sending this message. I just don't want you to miss out on the last > opportunity to order my book "Programming LiveCode for the Real > Beginner". > > Today and tomorrow (Tuesday and Wednesday) are the last days when you > can order my book an still get it shortly after the winter holidays. > Orders received on Thursday or later will be put on a waiting list. > > Order it at http://qery.us/3fi > > Please, don't forget to do the survey > http://livecodebeginner.economy-x-talk.com/survey/ > when you receive the book. > > More information is available at > http://blog.economy-x-talk.com > > -- > 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 > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Phil Davis From capellan2000 at gmail.com Tue Dec 10 20:06:35 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Tue, 10 Dec 2013 17:06:35 -0800 (PST) Subject: How do I find the rgb values for colors defined by their name: e.g. blue, green, yellow etc. In-Reply-To: References: <4704F0AE-716D-46FA-853E-949818C13FC6@byu.edu> <52A66CA0.2020805@fourthworld.com> <1386709773.81457.YahooMailBasic@web141105.mail.bf1.yahoo.com> <52A78ABE.5030405@hyperactivesw.com> Message-ID: <1386723995043-4673553.post@n4.nabble.com> Stephen Barncard-4 wrote > ?sure you can. But a human needs to be involved in the substitution. > Create a list with all the standard color names converted to RGB values- > put the name, a comma and the triplet on each line.? > > then do a search to find a matching triplet > > if found, display the name. If not, present an answer color dialog showing > the un-named color, allowing the substitution of a near neighbor. Actually, as RGB colors are just numbers, it should possible to create a pattern matching function to look up for the nearest color in the Named colors list... :) If I do not have this headache, I will be testing this idea just for fun... :o Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/How-do-I-find-the-rgb-values-for-colors-defined-by-their-name-e-g-blue-green-yellow-etc-tp4673481p4673553.html Sent from the Revolution - User mailing list archive at Nabble.com. From jacque at hyperactivesw.com Tue Dec 10 20:12:50 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 10 Dec 2013 19:12:50 -0600 Subject: Puzzling about 'the focusedObject' In-Reply-To: <50DAEDE4-52A6-4E31-92E1-DAEE7DE5804D@mac.com> References: <50DAEDE4-52A6-4E31-92E1-DAEE7DE5804D@mac.com> Message-ID: <52A7BC12.3050602@hyperactivesw.com> On 12/10/13 4:16 PM, Graham Samuel wrote: > if the focusedObject contains "field" then select the text of the > focusedObject [...] > > This seems a nice, robust idea. But if I open a palette and see a > flashing cursor in a field, that bit of code doesn't work because > 'the focusedObject' refers to the last field to have the focus in the > card in the mainstack. I always use "the selectedfield". My "select all" menu item has a very short bit of script: if the selectedfield <> empty then select the text of the selectedfield -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jhurley0305 at sbcglobal.net Tue Dec 10 21:44:35 2013 From: jhurley0305 at sbcglobal.net (James Hurley) Date: Tue, 10 Dec 2013 18:44:35 -0800 Subject: How do I find the rgb values for colors defined by their name: e.g. blue, green, yellow etc. In-Reply-To: References: Message-ID: <56964388-915C-4272-AB60-681A058F5AB2@sbcglobal.net> Thanks Pete (and Walt and Richard), That is perfect. Very imaginative. (*But* *why* *all* *the* *asterisks?) (Replace ?*? with space in ?..) And about that Template Button, Riichard. I speak only Pigeon LC. Jim > Message: 11 > Date: Mon, 9 Dec 2013 16:17:33 -0800 > From: Peter Haworth > To: How to use LiveCode > Subject: Re: How do I find the rgb values for colors defined by their > name: e.g. blue, green, yellow etc. > Message-ID: > > Content-Type: text/plain; charset=ISO-8859-1 > > I'll try that again with better formatting: > > *function* RGBFromColorName theColor > *if* theColor is not a color *then* *return* "Error: not a color" > *create* invisible button > *if* the result is not empty *then* *return* "Error" > *set* the backgroundColor of last button to theColor > *set* the backgroundPixel of last button to the backgroundPixel of last > button > *get* the backgroundColor of last button > *delete* last button > *return* it > *end* RGBFromColorName > > Pete > lcSQL Software > > From pete at lcsql.com Tue Dec 10 23:27:18 2013 From: pete at lcsql.com (Peter Haworth) Date: Tue, 10 Dec 2013 20:27:18 -0800 Subject: How do I find the rgb values for colors defined by their name: e.g. blue, green, yellow etc. In-Reply-To: <56964388-915C-4272-AB60-681A058F5AB2@sbcglobal.net> References: <56964388-915C-4272-AB60-681A058F5AB2@sbcglobal.net> Message-ID: The asterisks seem to happen when I copy and paste from LC to my mail system (gmail). They don't show up in the message when I send it but somehow insinuate themselves somewhere out there in the great unknown cloud. Maybe the NSA put them there, who knows. Pete lcSQL Software On Tue, Dec 10, 2013 at 6:44 PM, James Hurley wrote: > Thanks Pete (and Walt and Richard), > > That is perfect. Very imaginative. (*But* *why* *all* *the* *asterisks?) > > (Replace ?*? with space in ?..) > > And about that Template Button, Riichard. I speak only Pigeon LC. > > Jim > > > > > Message: 11 > > Date: Mon, 9 Dec 2013 16:17:33 -0800 > > From: Peter Haworth > > To: How to use LiveCode > > Subject: Re: How do I find the rgb values for colors defined by their > > name: e.g. blue, green, yellow etc. > > Message-ID: > > < > CAGDT7eO20g9REdf+JzXC4qn_YceC58CHrVNG9Y_adkwRMaQkPA at mail.gmail.com> > > Content-Type: text/plain; charset=ISO-8859-1 > > > > I'll try that again with better formatting: > > > > *function* RGBFromColorName theColor > > *if* theColor is not a color *then* *return* "Error: not a color" > > *create* invisible button > > *if* the result is not empty *then* *return* "Error" > > *set* the backgroundColor of last button to theColor > > *set* the backgroundPixel of last button to the backgroundPixel of last > > button > > *get* the backgroundColor of last button > > *delete* last button > > *return* it > > *end* RGBFromColorName > > > > Pete > > lcSQL Software > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From endernafi at gmail.com Tue Dec 10 23:55:21 2013 From: endernafi at gmail.com (Ender Nafi Elekcioglu) Date: Wed, 11 Dec 2013 06:55:21 +0200 Subject: Wrap the Label of Button Message-ID: A square-ish button has enough room for a label which is longer than the width of the button, but the label's still get cropped. Is there anyway to wrap the label of a button? If not, is "putting a *dontWrap* option for the button controls, too" worth to offer as a feature request? Thanks, ~ Ender Nafi From scott at tactilemedia.com Wed Dec 11 00:13:40 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 10 Dec 2013 21:13:40 -0800 Subject: Wrap the Label of Button In-Reply-To: References: Message-ID: You can do this via script: set label of btn 1 to "hello" & cr & "world" Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 12/10/13 8:55 PM, "Ender Nafi Elekcioglu" wrote: >A square-ish button has enough room for a label which is longer than the >width of the button, >but the label's still get cropped. > >Is there anyway to wrap the label of a button? >If not, is "putting a *dontWrap* option for the button controls, too" >worth to offer as a feature request? > > >Thanks, > >~ Ender Nafi >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode > From endernafi at gmail.com Wed Dec 11 00:22:34 2013 From: endernafi at gmail.com (Ender Nafi Elekcioglu) Date: Wed, 11 Dec 2013 07:22:34 +0200 Subject: Wrap the Label of Button In-Reply-To: References: Message-ID: Ok, that was easy; even *too* easy :)) Using *cr* in a button label never occurred to me. Invisible borders of human mind: http://www.naute.com/puzzles/puzzle21.phtml Thanks, Scott? ~ Ender Nafi From gcanyon at gmail.com Wed Dec 11 01:11:57 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Wed, 11 Dec 2013 00:11:57 -0600 Subject: Building an iOS app that takes pictures, first time always crashes In-Reply-To: References: Message-ID: On Tue, Dec 10, 2013 at 8:50 AM, Thomas McGrath III wrote: > Don?t have time to check but I would look at the result. I think it > returns ?source not available? if there is a problem with the camera. See > if the stack crashes before this answer dialog and what the result returns. > So now the code reads: *on* takePhoto *if* the environment is "mobile" *then* mobilePickPhoto "camera",300,300 *answer* the result *if* the result is "cancel" *then* *exit* takePhoto *end* *if* *else* *answer* file "pick an image:" *import* paint from file it *end* *if* *...* Install the app, go to snap a photo, and before the dialog even displays, the app dies. Tried again, same thing. Interestingly, I had Focus at Willplaying music at the time, and *that* died at the same moment. Anyway, same drill: started the app a third time, switched to the front camera, took a selfie, and no problems. Switched back to the back camera, no problems. I quit the app -- double-tap home button and swipe it up, then open it again. Took a back photo, app died, and took out Focus at Will's audio again. Opened the app again, and tried the back camera again, no front camera. Second time it worked. Now I can't even replicate that: I quit the app, start it again, take a back photo, no problems. In all cases where the app gets to the answer statement, the answer dialog is empty. curiouser and curiouser From gerry.orkin at gmail.com Wed Dec 11 01:19:11 2013 From: gerry.orkin at gmail.com (Gerry Orkin) Date: Wed, 11 Dec 2013 17:19:11 +1100 Subject: Building an iOS app that takes pictures, first time always crashes In-Reply-To: References: Message-ID: <3DB7409A-7F2F-4CF7-ADE2-9A5559AD611B@gmail.com> Answer file isn't supported on iOS. Gerry On 11 Dec 2013, at 5:11 pm, Geoff Canyon wrote: > So now the code reads: > > *on* takePhoto > > *if* the environment is "mobile" *then* > > mobilePickPhoto "camera",300,300 > > *answer* the result > > *if* the result is "cancel" *then* > > *exit* takePhoto > > *end* *if* > > *else* > > *answer* file "pick an image:" > > *import* paint from file it > > *end* *if* > *...* From gcanyon at gmail.com Wed Dec 11 02:54:55 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Wed, 11 Dec 2013 01:54:55 -0600 Subject: Building an iOS app that takes pictures, first time always crashes In-Reply-To: <3DB7409A-7F2F-4CF7-ADE2-9A5559AD611B@gmail.com> References: <3DB7409A-7F2F-4CF7-ADE2-9A5559AD611B@gmail.com> Message-ID: On Wed, Dec 11, 2013 at 12:19 AM, Gerry Orkin wrote: > Answer file isn't supported on iOS that's in the else section, for when I'm testing the stack on my mac and just want to add an image. are you saying that just having that command there, without executing it, could cause a problem? From andre.bisseret at wanadoo.fr Wed Dec 11 03:21:44 2013 From: andre.bisseret at wanadoo.fr (=?iso-8859-1?Q?Andr=E9_Bisseret?=) Date: Wed, 11 Dec 2013 09:21:44 +0100 Subject: sorting a column in a dataGrid by dateTime In-Reply-To: <4AC93F8FE7AA27449837C912ED6305211B9C72D0@CAE145EMBP04.ds.sc.edu> References: <4AC93F8FE7AA27449837C912ED6305211B9C72D0@CAE145EMBP04.ds.sc.edu> Message-ID: <81AFBC05-6061-4DF6-A98C-D9ADBD5E18D0@wanadoo.fr> Bonjour Curt, If you would like to sort by script, here are some lines that could help : set the dgColumnSortType["Date"] of grp "dataGrid" to "dateTime" (or "system dateTime") set the dgColumnSortDirection["Date"] of grp "dataGrid" to "ascending" (or descending) dispatch "sortByColumn" to grp "dataGrid" with "Date" also: set the dgProp["sort by column"] of grp "dataGrid" to "Date" Best regards from Grenoble Andr? Le 10 d?c. 2013 ? 22:58, FORD JR., CURT a ?crit : > [palm smacks forehead] > > Again, so much simpler than I'd realized. Thanks Pete! > > > Hi Curt, > I don't think you need any code to do the sort in a datagrid. In the > Inspector for the datagrid, go to the columns tab, select the column that > needs to be sorted by date, then down at the bottom select "datetime" from > the "Type" menu. When the user clicks on the date column, it should sort > correctly. > > Pete > lcSQL Software > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From revdev at pdslabs.net Wed Dec 11 03:22:52 2013 From: revdev at pdslabs.net (Phil Davis) Date: Wed, 11 Dec 2013 00:22:52 -0800 Subject: Wrap the Label of Button In-Reply-To: References: Message-ID: <52A820DC.7070402@pdslabs.net> And if you're typing a multi-line label into the Property Inspector, you can use \n like this: first line\nof really long\nlabel When you hit enter, the IDE converts \n to CR. Phil On 12/10/13, 9:22 PM, Ender Nafi Elekcioglu wrote: > Ok, that was easy; even *too* easy :)) > Using *cr* in a button label never occurred to me. > Invisible borders of human mind: > http://www.naute.com/puzzles/puzzle21.phtml > > > Thanks, Scott? > > > ~ Ender Nafi > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Phil Davis From richmondmathewson at gmail.com Wed Dec 11 04:26:31 2013 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 11 Dec 2013 11:26:31 +0200 Subject: [ANN] rIDE 2.4 In-Reply-To: References: Message-ID: <52A82FC7.7080309@gmail.com> On 11/12/13 02:04, Mats Wilstrand wrote: > Dear All! > > Very Clever! Not convinced. Bookmarked your website. Will try this out 'proper;y' this weekend. Obviously a lot of hard work there. Bravo! Richmond. > > Here comes version 2.4 of rIDE! > > > > The Property Inspector has been heavily updated and is now rather advanced. > > It now handles multi-level customProperties and customPropertySets which > > can be inspected and edited freely. Fill- and strokeGradients are now > integrated > > for inspection and editing. The editing handles of the gradients can be > dragged > > even outside the window boundaries by dragging the "cross-arrows" in the > Inspector. > > > > The Property Inspector treats native and custom controls in the same way. A > color property > > of for example a button gets a clickable "Color Chooser to the right of the > value field. > > Both the property name and value are analyzed to display proper controls for > editing. > > The Inspector does the same with a custom Control. Try selecting a custom > control, > > for example a Data Grid, and then choose "Custom" from the Combo box at the > top of the > > Inspector. > > > > Or you could try building your own custom control, add some custom > properties to it and > > inspect and edit. Here you can experiment with the property names and values > to see the > > effect in the Inspector. Choosing a property name ending with for example > "color" will have > > the Inspector display the same color editing controls for your custom > control as if it was a native. > > > > You're probably guessing by now that these features aims at a streamlined > and consistent > > mechanism for creating, editing and inspecting controls. And you're right! > Next version > > of rIDE will get new and integrated tools for creating, editing and > inspecting native as well as > > custom controls. > > > > > > Enjoy this rIDE! > > Download: http://tapirsoft.on-rev.com/ride/ > > > > With my best regards, > > Mats > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From janschenkel at yahoo.com Wed Dec 11 04:56:53 2013 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed, 11 Dec 2013 01:56:53 -0800 (PST) Subject: How do I find the rgb values for colors defined by their name: e.g. blue, green, yellow etc. In-Reply-To: <1386709773.81457.YahooMailBasic@web141105.mail.bf1.yahoo.com> Message-ID: <1386755813.36830.YahooMailBasic@web141106.mail.bf1.yahoo.com> Hi all, I just came to the conclusion that my comparison method was incorrect, as everything was running so quickly that the milliseconds was too coarse-grained. So I made a new stack with one graphic and one button with script: ## constant kTestReruns = 10 on mouseUp -- 1. test with visible graphic control local tTest1Time1, tTest1Time2 show graphic 1 TestWithGraphicControl kTestReruns, tTest1Time1, tTest1Time2 -- 2. test with visible graphic control and locked screen local tTest2Time1, tTest2Time2 lock screen TestWithGraphicControl kTestReruns, tTest2Time1, tTest2Time2 unlock screen -- 3. test with invisible graphic control local tTest3Time1, tTest3Time2 hide graphic 1 TestWithGraphicControl kTestReruns, tTest3Time1, tTest3Time2 -- 4. test with templateGraphic local tTest4Time1, tTest4Time2 TestWithTemplateGraphic kTestReruns, tTest4Time1, tTest4Time2 -- put "Test" & tab & "overlayColor" & tab & "backgroundPixel" & return & \ "Visible" & tab & tTest1Time1 & tab & tTest1Time2 & return & \ "Vis+Lock" & tab & tTest2Time1 & tab & tTest2Time2 & return & \ "Invisible" & tab & tTest3Time1 & tab & tTest3Time2 & return & \ "Template" & tab & tTest4Time1 & tab & tTest4Time2 & return answer "Done" end mouseUp command TestWithGraphicControl pTestReruns, @rTime1, @rTime2 local tStart, tColorName, tColorRGB -- using colorOverlay put the milliseconds into tStart repeat pTestReruns times repeat for each line tColorName in the colorNames set the colorOverlay["color"] of graphic 1 to tColorName put the colorOverlay["color"] of graphic 1 into tColorRGB end repeat end repeat put the milliseconds - tStart into rTime1 -- using backgroundPixel put the milliseconds into tStart repeat pTestReruns times repeat for each line tColorName in the colorNames set the backgroundColor of graphic 1 to tColorName set the backgroundPixel of graphic 1 to the effective backgroundPixel of graphic 1 put the backgroundColor of graphic 1 into tColorRGB end repeat end repeat put the milliseconds - tStart into rTime2 end TestWithGraphicControl command TestWithTemplateGraphic pTestReruns, @rTime1, @rTime2 local tStart, tColorName, tColorRGB reset the templateGraphic -- using colorOverlay put the milliseconds into tStart repeat pTestReruns times repeat for each line tColorName in the colorNames set the colorOverlay["color"] of the templateGraphic to tColorName put the colorOverlay["color"] of the templateGraphic into tColorRGB end repeat end repeat put the milliseconds - tStart into rTime1 -- using backgroundPixel put the milliseconds into tStart repeat pTestReruns times repeat for each line tColorName in the colorNames set the backgroundColor of the templateGraphic to tColorName set the backgroundPixel of the templateGraphic to the effective backgroundPixel of the templateGraphic put the backgroundColor of the templateGraphic into tColorRGB end repeat end repeat put the milliseconds - tStart into rTime2 reset the templateGraphic end TestWithTemplateGraphic ## Here's the output on the machine I'm currently working on: ## Test overlayColor backgroundPixel Visible 4659 9616 Vis+Lock 24 36 Invisible 17 21 Template 14 17 ## Admittedly a small sample, but I'd say: - using a visible graphic control without locking the screen is the worst approach - using colorOverlay["color"] is faster than using backgroundPixel - using templateGraphic is faster than using a real graphic control (visible or not) HTH, Jan Schenkel. ===== Quartam Reports & PDF Library for LiveCode www.quartam.com ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) From gerry.orkin at gmail.com Wed Dec 11 05:08:14 2013 From: gerry.orkin at gmail.com (Gerry Orkin) Date: Wed, 11 Dec 2013 21:08:14 +1100 Subject: Building an iOS app that takes pictures, first time always crashes In-Reply-To: References: <3DB7409A-7F2F-4CF7-ADE2-9A5559AD611B@gmail.com> Message-ID: Whoops, sorry, so it is. I don't think it'll cause a problem if the line isn't executed in iOS :) Gerry On 11 Dec 2013, at 6:54 pm, Geoff Canyon wrote: > that's in the else section, for when I'm testing the stack on my mac and > just want to add an image. are you saying that just having that command > there, without executing it, could cause a problem? From gerry.orkin at gmail.com Wed Dec 11 05:27:03 2013 From: gerry.orkin at gmail.com (Gerry Orkin) Date: Wed, 11 Dec 2013 21:27:03 +1100 Subject: Building an iOS app that takes pictures, first time always crashes In-Reply-To: References: Message-ID: This works fine here. Can't imagine what your problem is... :( Gerry On 11 Dec 2013, at 5:11 pm, Geoff Canyon wrote: > curiouser and curiouser From livfoss at mac.com Wed Dec 11 06:03:06 2013 From: livfoss at mac.com (Graham Samuel) Date: Wed, 11 Dec 2013 12:03:06 +0100 Subject: Puzzling about 'the focusedObject' In-Reply-To: <52A7BC12.3050602@hyperactivesw.com> References: <50DAEDE4-52A6-4E31-92E1-DAEE7DE5804D@mac.com> <52A7BC12.3050602@hyperactivesw.com> Message-ID: <2B76E75A-CD85-4EC6-B447-D705D93FD8D6@mac.com> Thanks Jacque and Craig for your replies. One of the charms of being an LC developer in the European time zones is that you send your query to the list, go to bed, and find that Jacque has solved the problem while you sleep! Curiously enough I had started with 'the selectedField', but as my menu deals with non-Field objects as well, I switched to 'the selectedObject' as being more universal, as it were. That's when I found what appears to be an anomaly about palettes (I won't call it a bug in the engine as there may have been some intention there, but if I'm right it's a bug in the Dictionary). I now have to use a combination of the two properties to do what I want. [I serious point here, but probably needing a quite separate discussion, is the question of how such a topic as "who's got the focus" could and should be tackled in the LC documentation. In the existing User Guide, for example, there's a lot of stuff about text, chunk expressions etc, but AFAIKS this quite fundamental issue isn't discussed. There are lots of topics like that, I find - for example, another one is file handling, with the the two pretty much overlapping systems ('file' commands and URLs) and in particular what can go wrong. In the URL scheme, how do I know if my read or write has failed? Not much in the docs on that one... anyway this is as I said a digression, but as a topic it does deserve some discussion.] Thanks again Graham On 11 Dec 2013, at 02:12, J. Landman Gay wrote: > On 12/10/13 4:16 PM, Graham Samuel wrote: > >> if the focusedObject contains "field" then select the text of the >> focusedObject [...] >> >> This seems a nice, robust idea. But if I open a palette and see a >> flashing cursor in a field, that bit of code doesn't work because >> 'the focusedObject' refers to the last field to have the focus in the >> card in the mainstack. > > I always use "the selectedfield". My "select all" menu item has a very short bit of script: > > if the selectedfield <> empty then select the text of the selectedfield > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com Craig Newman wrote: > Seems counterintuitive to me; I will play around a bit. But it could be standard behavior. > > But at least you can rewrite your handler to include a test of the owner of the field. If it is a card or group in the mainstack, then do this. Else do that. From wilhelm.forchheim at freenet.de Wed Dec 11 06:04:10 2013 From: wilhelm.forchheim at freenet.de (Ruediger Wilhelm) Date: Wed, 11 Dec 2013 12:04:10 +0100 Subject: Problem with decoding Array SOLVED In-Reply-To: References: <52A74690.1060807@economy-x-talk.com> <01EDDB46-5F31-4671-9E77-FFFD9C849AB8@major-k.de> Message-ID: <000d01cef660$b8ff5e80$2afe1b80$@forchheim@freenet.de> Thank you Geoff again! This was really big help! Ruediger -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Geoff Canyon Sent: Dienstag, 10. Dezember 2013 18:38 To: How to use LiveCode Subject: Re: Problem with decoding Array Note that since you are reading the whole thing at once, it would be easier and more concise to use: put URL ("binfile:" & $LOCALAPPDATA &"/Fit_Reit_Data/TeilnehmerDaten.txt") into tUsersEncode Or even: put arrayDecode(URL ("binfile:" & $LOCALAPPDATA &"/Fit_Reit_Data/TeilnehmerDaten.txt")) into gUsersArray From m.schonewille at economy-x-talk.com Wed Dec 11 06:39:54 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 11 Dec 2013 12:39:54 +0100 Subject: Very bumpy group scrolling on Android tablets In-Reply-To: References: <52A7317B.2080109@economy-x-talk.com> Message-ID: <52A84F0A.4010701@economy-x-talk.com> Hi Ender Nafi, Tiemo and Scott, I have tried everything and have to conclude that it is a bug. I have tried to build an Android standalone with 5.5 but LiveCode 5.5 and earlier don't work with Android on Windows. I would report this as a bug, but I don't expect RunRev to release another 5.5 release just to fox this. They'd better the scrolling problem. Here's the bug report: http://quality.runrev.com/show_bug.cgi?id=11580 -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi Fill out this survey please http://livecodebeginner.economy-x-talk.com/survey/ On 12/10/2013 19:38, Ender Nafi Elekcioglu wrote: > Exactly same thing, on iOS 7 {all devices} and iOS 6 {iPod Touch 4}? > 3 top level groups on 3 different cards, layerMode?s are ?scrolling?; > 1 horizontal scrolling, 20 ~ 40 {random assign on every launch} referenced images; > 2 vertical scrolling, 122 referenced images. > > But I don?t remember same behavior prior LiveCode 6.1 and 6.5; maybe there was but I don?t remember. > > > > ~ Ender Nafi > From coiin at verizon.net Wed Dec 11 07:10:00 2013 From: coiin at verizon.net (Colin Holgate) Date: Wed, 11 Dec 2013 07:10:00 -0500 Subject: Building an iOS app that takes pictures, first time always crashes In-Reply-To: References: Message-ID: <1C7B71C6-8A48-43E0-B962-EDB9F90C132E@verizon.net> Does the caneling of the Answer dialog then give a new result, overwriting your initial result? On Dec 11, 2013, at 1:11 AM, Geoff Canyon wrote: > *answer* the result > > *if* the result is "cancel" *then* > > *exit* takePhoto > > *end* *if* From livfoss at mac.com Wed Dec 11 07:27:22 2013 From: livfoss at mac.com (Graham Samuel) Date: Wed, 11 Dec 2013 13:27:22 +0100 Subject: PC Symbol Font? Message-ID: <1C6B01D5-A8CF-4BA5-96DB-A4487A909F20@mac.com> I guess this is trivial, but as someone who works mostly on Macs, I don't know how to represent math symbols (especially pi) in a desktop PC app. Is there a built-in symbol font in Windows from XP on? How do I access it? It's annoying that this isn't really an issue for the Mac but it is for the PC. Of course I could just create a little graphic that looks like 'pi', or 'greater than or equals', or whatever, but this only works for static text really. Sorry to be dumb, but is anyone displaying these symbols in an LC app on a PC? TIA Graham From m.schonewille at economy-x-talk.com Wed Dec 11 07:31:26 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 11 Dec 2013 13:31:26 +0100 Subject: PC Symbol Font? In-Reply-To: <1C6B01D5-A8CF-4BA5-96DB-A4487A909F20@mac.com> References: <1C6B01D5-A8CF-4BA5-96DB-A4487A909F20@mac.com> Message-ID: <52A85B1E.2060609@economy-x-talk.com> Hi Graham, I have a Symbol font on my Windows PC. I think it was installed by default. The p is displayed as the Greek letter pi, just like on the Mac. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi Fill out this survey please http://livecodebeginner.economy-x-talk.com/survey/ On 12/11/2013 13:27, Graham Samuel wrote: > I guess this is trivial, but as someone who works mostly on Macs, I don't know how to represent math symbols (especially pi) in a desktop PC app. Is there a built-in symbol font in Windows from XP on? How do I access it? It's annoying that this isn't really an issue for the Mac but it is for the PC. Of course I could just create a little graphic that looks like 'pi', or 'greater than or equals', or whatever, but this only works for static text really. > > Sorry to be dumb, but is anyone displaying these symbols in an LC app on a PC? > > TIA > > Graham From m.schonewille at economy-x-talk.com Wed Dec 11 08:26:19 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 11 Dec 2013 14:26:19 +0100 Subject: [OT] Last chance to order Programming LiveCode for the Real Beginner this year! In-Reply-To: <52A7B82B.1080103@pdslabs.net> References: <52A792AA.4000309@economy-x-talk.com> <52A7B82B.1080103@pdslabs.net> Message-ID: <52A867FB.6090705@economy-x-talk.com> Thanks, Phil! It is really cool to know that people put my book to good use. This is exactly why I wrote 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 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi Fill out this survey please http://livecodebeginner.economy-x-talk.com/survey/ On 12/11/2013 01:56, Phil Davis wrote: > Mark, > > I'm using your book with a 15-year old homeschool "real beginner" here > in the Portland, Oregon area and he loves it. He is doing all your > exercises, and every time we get together I can tell he is growing in > his grasp of LiveCode. Thanks for the work you put into this publication. > > Phil Davis > From toolbook at kestner.de Wed Dec 11 08:57:05 2013 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Wed, 11 Dec 2013 14:57:05 +0100 Subject: OT: Windows settings for correct handling of diacritics? Message-ID: <00b001cef678$e049bb80$a0dd3280$@de> Hello, I have a customer, who is experiencing that my LC program on his Win Vista PC, SP2 transforms entered German umlaute (diacritics) into rubbish. The funny thing is, that most times, if he reenters a word with diacritics into a field, the second time it is entered correctly. Since this is the only customer, who is experiencing this behavior I am sure it has nothing to do with LC (beside perhaps of its problems with Unicode), but must be any setting or missing in Windows. It is a german PC with german windows, german keyboard setting, german format setting in the system settings and german regional setting for non Unicode-programs in the system settings. Has anybody of you German, French, Spanish or Brazil guys ever experienced such a phenomenon or knows of any other windows setting, what can cause such a behavior? Thanks for any hints Tiemo From gcanyon at gmail.com Wed Dec 11 09:41:45 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Wed, 11 Dec 2013 08:41:45 -0600 Subject: SOLVED (I think) Re: Building an iOS app that takes pictures, first time always crashes In-Reply-To: <1C7B71C6-8A48-43E0-B962-EDB9F90C132E@verizon.net> References: <1C7B71C6-8A48-43E0-B962-EDB9F90C132E@verizon.net> Message-ID: <812D25B5-FB74-4392-BF3B-8A9E3C07A051@gmail.com> I don't think I tried that, and I don't have that copy of the app on my iPhone anymore. But I do think I've solved it. I tried several things to slice the problem, but the key was that I wanted to see if the problem was the taking of the picture itself, or the post-processing I was doing. I was sizing the image to a 300x300 square and applying a circular mask. So I broke out that code into a new handler and called it with a delay of something like 15 ticks. Sure enough, the crash took a little longer to happen. So I changed it to 120 ticks, and so far, no crashes. No other code changed. So there's some sort of "wait a minute, the image isn't ready," aspect to the bug. And it's maybe some sort of initialization since once the problem goes away, it seems to be gone, unless I let the app sit for an hour or so. Sent from my iPhone > On Dec 11, 2013, at 6:10 AM, Colin Holgate wrote: > > Does the caneling of the Answer dialog then give a new result, overwriting your initial result? From palcibiades-first at yahoo.co.uk Wed Dec 11 09:49:59 2013 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Wed, 11 Dec 2013 06:49:59 -0800 (PST) Subject: [OT] Free Office suite for Linux and Windows In-Reply-To: <52A5663B.5060404@gmail.com> References: <52A5663B.5060404@gmail.com> Message-ID: <1386773399840-4673578.post@n4.nabble.com> Surely the question is: what is its native file format? The practical importance of Stallman's argument has to do with owning one's own documents and/or data, and not being at the mercy of a supplier who can orphan them by closing down the product. As happened to the late lamented Hypercard. But as significantly failed to happen with Open Office, which turned out not to be at the mercy of Oracle. Just as xfree86 failed to respond, got forked, and is now a distant memory. Same with Gnome, and the result has been Mate and Cinnamon. And apparently something called Consort. This is the path LC has chosen to tread, I think rightly, at the same time perilous and visionary. There is in their case just as in the Open Office case powerful forces now keeping them honest. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-Free-Office-suite-for-Linux-and-Windows-tp4673441p4673578.html Sent from the Revolution - User mailing list archive at Nabble.com. From roger.e.eller at sealedair.com Wed Dec 11 10:24:55 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Wed, 11 Dec 2013 10:24:55 -0500 Subject: Zoom a tablet-size app on a phone, then scroll? Message-ID: Now that we have fullScreenMode, I am thinking of possibly using the "noScale" option to simulate a zoom-in when the tablet-sized app is run on a phone. So, there would be a toggle back to "exactFit". My question is regarding scrolling. Many of my buttons/objects respond to touch and drag actions, so what would be the best way to scroll the entire app when "noScale" is the active mode, and not trigger object scripts? ~Roger From coiin at verizon.net Wed Dec 11 10:35:16 2013 From: coiin at verizon.net (Colin Holgate) Date: Wed, 11 Dec 2013 10:35:16 -0500 Subject: Zoom a tablet-size app on a phone, then scroll? In-Reply-To: References: Message-ID: Although it may occasionally be useful to switch full screen modes, you generally would not do that. And, I think exactFit will rarely be what you want. That aside, the general problem of being able to drag an area that has buttons in it can be solved by noting the target on mousedown, the target on mouseup, and how much time had past. If the mousedown target = the mouseup target, and the time is less than say 30 ticks, send a domouseup to that target. If it?s longer than 30 ticks, the user was mostly likely dragging. Or you could use a mousestilldown approach to set a global that says to ignore the next mouseup. From richmondmathewson at gmail.com Wed Dec 11 10:39:04 2013 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 11 Dec 2013 17:39:04 +0200 Subject: PC Symbol Font? In-Reply-To: <1C6B01D5-A8CF-4BA5-96DB-A4487A909F20@mac.com> References: <1C6B01D5-A8CF-4BA5-96DB-A4487A909F20@mac.com> Message-ID: <52A88718.6040506@gmail.com> On 11/12/13 14:27, Graham Samuel wrote: > I guess this is trivial, but as someone who works mostly on Macs, I don't know how to represent math symbols (especially pi) in a desktop PC app. Is there a built-in symbol font in Windows from XP on? How do I access it? It's annoying that this isn't really an issue for the Mac but it is for the PC. Of course I could just create a little graphic that looks like 'pi', or 'greater than or equals', or whatever, but this only works for static text really. > > Sorry to be dumb, but is anyone displaying these symbols in an LC app on a PC? Surely you should use the Unicode standard, then you will have no probs at all cross-platform: http://www.unicode.org/charts/ Richmond. > > TIA > > Graham > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From roger.e.eller at sealedair.com Wed Dec 11 10:45:08 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Wed, 11 Dec 2013 10:45:08 -0500 Subject: Zoom a tablet-size app on a phone, then scroll? In-Reply-To: References: Message-ID: Thanks Colin. I agree that exactFit will have very limited uses because of aspect ratio squishing. With the combination of timing and polling the target, I think you've given me a good starting point. ~Roger On Wed, Dec 11, 2013 at 10:35 AM, Colin Holgate wrote: > Although it may occasionally be useful to switch full screen modes, you > generally would not do that. And, I think exactFit will rarely be what you > want. > > That aside, the general problem of being able to drag an area that has > buttons in it can be solved by noting the target on mousedown, the target > on mouseup, and how much time had past. If the mousedown target = the > mouseup target, and the time is less than say 30 ticks, send a domouseup to > that target. If it?s longer than 30 ticks, the user was mostly likely > dragging. > > Or you could use a mousestilldown approach to set a global that says to > ignore the next mouseup. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From roger.e.eller at sealedair.com Wed Dec 11 11:32:09 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Wed, 11 Dec 2013 11:32:09 -0500 Subject: Zoom a tablet-size app on a phone, then scroll? In-Reply-To: References: Message-ID: So, if I put the entire app in a group, and I check that the target is the background image, would a drag scroll effect be accomplished by putting "grab me" into the group script? I think there would probably need to be a limit to prevent scrolling (or moving the group) beyond the viewport of the phones screen. Right? ~Roger On Wed, Dec 11, 2013 at 10:45 AM, Roger Eller wrote: > Thanks Colin. I agree that exactFit will have very limited uses because > of aspect ratio squishing. With the combination of timing and polling the > target, I think you've given me a good starting point. > > ~Roger > > > On Wed, Dec 11, 2013 at 10:35 AM, Colin Holgate wrote: > >> Although it may occasionally be useful to switch full screen modes, you >> generally would not do that. And, I think exactFit will rarely be what you >> want. >> >> That aside, the general problem of being able to drag an area that has >> buttons in it can be solved by noting the target on mousedown, the target >> on mouseup, and how much time had past. If the mousedown target = the >> mouseup target, and the time is less than say 30 ticks, send a domouseup to >> that target. If it?s longer than 30 ticks, the user was mostly likely >> dragging. >> >> Or you could use a mousestilldown approach to set a global that says to >> ignore the next mouseup. >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > From coiin at verizon.net Wed Dec 11 11:36:29 2013 From: coiin at verizon.net (Colin Holgate) Date: Wed, 11 Dec 2013 11:36:29 -0500 Subject: Zoom a tablet-size app on a phone, then scroll? In-Reply-To: References: Message-ID: <8CCAFE20-C7E8-4AAD-BD50-4857717F9BB0@verizon.net> Wouldn?t you want people to be able to drag the whole interface without having to be careful about starting their drag on a button? From roger.e.eller at sealedair.com Wed Dec 11 11:40:31 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Wed, 11 Dec 2013 11:40:31 -0500 Subject: Zoom a tablet-size app on a phone, then scroll? In-Reply-To: <8CCAFE20-C7E8-4AAD-BD50-4857717F9BB0@verizon.net> References: <8CCAFE20-C7E8-4AAD-BD50-4857717F9BB0@verizon.net> Message-ID: I'm thinking of either saying, drag the interface by dragging anywhere on the background, or possibly making that action a 2-finger operation, so they don't have to be so careful of where the touch starts. ~Roger On Wed, Dec 11, 2013 at 11:36 AM, Colin Holgate wrote: > Wouldn?t you want people to be able to drag the whole interface without > having to be careful about starting their drag on a button? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From francois.chaplais at mines-paristech.fr Wed Dec 11 11:40:39 2013 From: francois.chaplais at mines-paristech.fr (=?iso-8859-1?Q?Fran=E7ois_Chaplais?=) Date: Wed, 11 Dec 2013 17:40:39 +0100 Subject: Text editor question Message-ID: <294F5219-82A5-40D3-B5B2-C9FCD2AFDBCF@mines-paristech.fr> I would like to know is somebody has written a basic plain text editor in LC with multiple undo redo and can share it with the community. I know that almost everybody on the list can do it, but why reinvent the wheel? There does not seem to something like this on RevOnline. Best regards Fran?ois Chaplais MINES ParisTech Centre Automatique et syst?mes Ecole des Mines de Paris http://cas.ensmp.fr/~chaplais/en/ From coiin at verizon.net Wed Dec 11 11:48:31 2013 From: coiin at verizon.net (Colin Holgate) Date: Wed, 11 Dec 2013 11:48:31 -0500 Subject: Zoom a tablet-size app on a phone, then scroll? In-Reply-To: References: <8CCAFE20-C7E8-4AAD-BD50-4857717F9BB0@verizon.net> Message-ID: <02110C2C-F11A-4367-960A-CF7C3EC225E5@verizon.net> Then you?ll need to get into handling touch events, which if you have no other reason to might be worth not using. On Dec 11, 2013, at 11:40 AM, Roger Eller wrote: > >or possibly making that action a 2-finger operation, so > they don't have to be so careful of where the touch starts. From bobsneidar at iotecdigital.com Wed Dec 11 11:52:37 2013 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 11 Dec 2013 16:52:37 +0000 Subject: [OT] Free Office suite for Linux and Windows In-Reply-To: <1386773399840-4673578.post@n4.nabble.com> References: <52A5663B.5060404@gmail.com> <1386773399840-4673578.post@n4.nabble.com> Message-ID: Light side or dark side? And do we care? ;-) Bob Sneidar IT Technician Integrated Office Technology bobsneidar at iotecdigital.com 714-401-2407 On Dec 11, 2013, at 06:49 , Peter Alcibiades > wrote: This is the path LC has chosen to tread, I think rightly, at the same time perilous and visionary. There is in their case just as in the Open Office case powerful forces now keeping them honest. From bobsneidar at iotecdigital.com Wed Dec 11 11:53:38 2013 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 11 Dec 2013 16:53:38 +0000 Subject: [OT] Free Office suite for Linux and Windows In-Reply-To: References: <52A5663B.5060404@gmail.com> <1386773399840-4673578.post@n4.nabble.com> Message-ID: <2CE70864-01AA-4CE3-9C5A-C6D178F5E34A@iotecdigital.com> I mean "do we care which side", not "do we care about your post." LOL! Bob Sneidar IT Technician Integrated Office Technology bobsneidar at iotecdigital.com 714-401-2407 On Dec 11, 2013, at 08:52 , Bob Sneidar > wrote: Light side or dark side? And do we care? ;-) From skip at magicgate.com Wed Dec 11 13:12:28 2013 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Wed, 11 Dec 2013 13:12:28 -0500 Subject: Constrain image size to container Message-ID: I am pulling images from an online database but need the images to constrain to proportion and also stay within a certain size framework. I have no control over the size of the images I am pulling otherwise I would just re-size everything. I am currently using this to accomplish the image retrieval: set the filename of image "imagelink" to "http://www.mysite.com/imgch.jpg" Any help is greatly appreciated! From richmondmathewson at gmail.com Wed Dec 11 13:29:56 2013 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 11 Dec 2013 20:29:56 +0200 Subject: [OT] Free Office suite for Linux and Windows In-Reply-To: References: <52A5663B.5060404@gmail.com> <1386773399840-4673578.post@n4.nabble.com> Message-ID: <52A8AF24.5050903@gmail.com> On 11/12/13 18:52, Bob Sneidar wrote: > Light side or dark side? And do we care? ;-) Not really, as I cannot quite work out what is wrong with working for profit. And there is very little dark side and very little light side; and one hell of a lot of grey. Richmond. > > Bob Sneidar > IT Technician > Integrated Office Technology > bobsneidar at iotecdigital.com > 714-401-2407 > > > > On Dec 11, 2013, at 06:49 , Peter Alcibiades > wrote: > > This is the path LC has chosen to tread, I think rightly, at the same time > perilous and visionary. There is in their case just as in the Open Office > case powerful forces now keeping them honest. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From andrew at ctech.me Wed Dec 11 13:42:05 2013 From: andrew at ctech.me (Andrew Kluthe) Date: Wed, 11 Dec 2013 12:42:05 -0600 Subject: [ANN] rIDE 2.4 In-Reply-To: <52A82FC7.7080309@gmail.com> References: <52A82FC7.7080309@gmail.com> Message-ID: Just tried this out and wow is that helpful. thanks! On Wed, Dec 11, 2013 at 3:26 AM, Richmond wrote: > On 11/12/13 02:04, Mats Wilstrand wrote: > >> Dear All! >> >> >> > > Very Clever! > > Not convinced. > > Bookmarked your website. > > Will try this out 'proper;y' this weekend. > > Obviously a lot of hard work there. Bravo! > > Richmond. > > > >> Here comes version 2.4 of rIDE! >> >> >> The Property Inspector has been heavily updated and is now rather >> advanced. >> >> It now handles multi-level customProperties and customPropertySets which >> >> can be inspected and edited freely. Fill- and strokeGradients are now >> integrated >> >> for inspection and editing. The editing handles of the gradients can be >> dragged >> >> even outside the window boundaries by dragging the "cross-arrows" in the >> Inspector. >> >> >> The Property Inspector treats native and custom controls in the same way. >> A >> color property >> >> of for example a button gets a clickable "Color Chooser to the right of >> the >> value field. >> >> Both the property name and value are analyzed to display proper controls >> for >> editing. >> >> The Inspector does the same with a custom Control. Try selecting a custom >> control, >> >> for example a Data Grid, and then choose "Custom" from the Combo box at >> the >> top of the >> >> Inspector. >> >> >> Or you could try building your own custom control, add some custom >> properties to it and >> >> inspect and edit. Here you can experiment with the property names and >> values >> to see the >> >> effect in the Inspector. Choosing a property name ending with for example >> "color" will have >> >> the Inspector display the same color editing controls for your custom >> control as if it was a native. >> >> >> You're probably guessing by now that these features aims at a streamlined >> and consistent >> >> mechanism for creating, editing and inspecting controls. And you're right! >> Next version >> >> of rIDE will get new and integrated tools for creating, editing and >> inspecting native as well as >> >> custom controls. >> >> >> >> Enjoy this rIDE! >> >> Download: http://tapirsoft.on-rev.com/ride/ >> >> >> With my best regards, >> >> Mats >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Regards, Andrew Kluthe andrew at ctech.me From bernd.niggemann at uni-wh.de Wed Dec 11 14:26:46 2013 From: bernd.niggemann at uni-wh.de (BNig) Date: Wed, 11 Dec 2013 11:26:46 -0800 (PST) Subject: [ANN] rIDE 2.4 In-Reply-To: References: Message-ID: <1386790006461-4673593.post@n4.nabble.com> Hi Mats, thanks for posting the update of rIDE. I think it is a very clever way to inspect and change all aspects of a stack. In very small space without sacrificing overview. Everybody should at least have a look at this replacement for applicaton / project browser, properties inspector and toolbar. Thanks again for the huge amount of work and the well conceived result Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-rIDE-2-4-tp4673550p4673593.html Sent from the Revolution - User mailing list archive at Nabble.com. From livfoss at mac.com Wed Dec 11 14:36:28 2013 From: livfoss at mac.com (Graham Samuel) Date: Wed, 11 Dec 2013 20:36:28 +0100 Subject: PC Symbol Font? In-Reply-To: <52A88718.6040506@gmail.com> References: <1C6B01D5-A8CF-4BA5-96DB-A4487A909F20@mac.com> <52A88718.6040506@gmail.com> Message-ID: <258925E4-40C2-4DEC-A974-EAAA29B799F1@mac.com> Well, once I've mastered actually displaying Unicode characters in a LC field... time to read the latest release notes etc. Up to now my efforts have not worked (I tried to print a table of Unicode characters in a scrolling field). I would also want the use of Unicode to be completely transparent to the user. I suppose this must be the aim of the implementation anyway. But then it has to work on a PC with no tweaking of the underlying OS or downloading of fonts. Is this possible? Time to find something to explain it all... Graham On 11 Dec 2013, at 16:39, Richmond wrote: > On 11/12/13 14:27, Graham Samuel wrote: >> I guess this is trivial, but as someone who works mostly on Macs, I don't know how to represent math symbols (especially pi) in a desktop PC app. Is there a built-in symbol font in Windows from XP on? How do I access it? It's annoying that this isn't really an issue for the Mac but it is for the PC. Of course I could just create a little graphic that looks like 'pi', or 'greater than or equals', or whatever, but this only works for static text really. >> >> Sorry to be dumb, but is anyone displaying these symbols in an LC app on a PC? > > Surely you should use the Unicode standard, then you will have no probs at all cross-platform: > > http://www.unicode.org/charts/ > > Richmond. > From jiml at netrin.com Wed Dec 11 14:41:01 2013 From: jiml at netrin.com (Jim Lambert) Date: Wed, 11 Dec 2013 11:41:01 -0800 Subject: Building an iOS app that takes pictures, first time always crashes In-Reply-To: References: Message-ID: Perhaps a memory issue? Try hard quitting all other open apps. Jim Lambert From jacque at hyperactivesw.com Wed Dec 11 15:26:01 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 11 Dec 2013 14:26:01 -0600 Subject: PC Symbol Font? In-Reply-To: <258925E4-40C2-4DEC-A974-EAAA29B799F1@mac.com> References: <1C6B01D5-A8CF-4BA5-96DB-A4487A909F20@mac.com> <52A88718.6040506@gmail.com> <258925E4-40C2-4DEC-A974-EAAA29B799F1@mac.com> Message-ID: <52A8CA59.2080209@hyperactivesw.com> On 12/11/13 1:36 PM, Graham Samuel wrote: > Well, once I've mastered actually displaying Unicode characters in a > LC field... time to read the latest release notes etc. Up to now my > efforts have not worked (I tried to print a table of Unicode > characters in a scrolling field). I would also want the use of > Unicode to be completely transparent to the user. I suppose this must > be the aim of the implementation anyway. > > But then it has to work on a PC with no tweaking of the underlying OS > or downloading of fonts. Is this possible? > In cases like this, I sometimes use the htmlText. Pi has an html entity ("Π") and you can insert that and then set the text of the field to the htmltext you generate. It goes cross-platform successfully. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From stephenREVOLUTION2 at barncard.com Wed Dec 11 17:03:58 2013 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Wed, 11 Dec 2013 14:03:58 -0800 Subject: Text editor question In-Reply-To: <294F5219-82A5-40D3-B5B2-C9FCD2AFDBCF@mines-paristech.fr> References: <294F5219-82A5-40D3-B5B2-C9FCD2AFDBCF@mines-paristech.fr> Message-ID: On Wed, Dec 11, 2013 at 8:40 AM, Fran?ois Chaplais < francois.chaplais at mines-paristech.fr> wrote: > somebody has written a basic plain text editor in LC with multiple undo > redo ?Only a couple of people, through many years of sweat, toil and heartache, to create an alternative editor that was better than the one that comes in the IDE.? I think Richard Gaskin and Chipp Walters both had their own versions of editors that worked in conjunction with the Metacard IDE, but they were for their own use. There were attempts to use a plugin to launch an external editor application to edit scripts, but their use was so awkward as to hinder workflow. Almost all of the other editors have been created by Jerry Daniels and Marc Wieder (on debuggers) . The first was the experimental Constellation that I saw Jerry and a couple of others using at Recon 2. Through begging and pleading, I got Jerry to give me a copy. Eventually it became GLX2, the greatest editor project known to x-talks. It was wonderful, but evolved to be so complex with so many features it became unstable, and Jerry had incredible ideas built into it like macros, etc. but it still had to depend on the engine at the time, and cooperation of the current IDE. Jerry then started work on his revolutionary conceptual editor, which was far simpler and feature limited, but didn't crash, as it was a compiled application that ran outside of the running Revolution product and communicated using simple 'agents' that worked asynchronously between the IDE and the app ( eventually named RevZilla at the time) to gain access to scripts in stacks. Later named "Remo" it promised the simplicity and stability that the concept editor seem to have, and most of us that used GLX2 switched to it for a couple of years until changes in the engine made Remo inoperable and we had to move on. I just sighed and learned to love the built-in editor; it still doesn't facilitate a white character on black background in the editor without a lot of patching and it still doesn't match the furniture. But I can have multiple windows, the breadcrumbs are there. I'd love to disable the feature that closes the window after the second compile by hitting return, but those are my biggest complaints. So it's part of the IDE and system, and it doesn't crash and works well. I still hold the hope that the Livecode editor can take a step forward in the future that will put it on the par of the quality of the one that's in the IDE of Xcode. Or some 18 year old and a storeroom of Jolt cola turns out an amazing new IDE based editor with all the expected features that works perfectly with the engine. But I'd wait for the whole engine to be refactored first. Recently? Jerry Daniels has offered a new FREE simple editor for those that like the full screen - one page at a time view. It appears very stable and might be great for simple stack projects. Quite beautiful, really - a great UI job by Daniels and Mara. http://danielsmara.com/about-glass/ And GLX2 is now open source and more stable than it's ever been, thanks to keeper of the flame Marc Wieder, who also designed the debugger. And there's an undo feature, and I think he's got most of the bugs out. https://bitbucket.org/mwieder/glx2/downloads ?hth. sqb? *--* *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* From matthias_livecode_150811 at m-r-d.de Wed Dec 11 17:03:52 2013 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Wed, 11 Dec 2013 23:03:52 +0100 Subject: [OT] giving away my DataGrid Helper License from MegaBundle for free Message-ID: <74B127F0-60BF-43EE-9EAD-0BC1EDFF1525@m-r-d.de> Hi, i have here a DataGridHelper license from the MegaBundle which i would like to give away for free to the first who sends me an email to matthias (at) rebbe.tk Please do not send requests to this list. Regards, Matthias Rebbe From ray at linkit.com Wed Dec 11 17:13:42 2013 From: ray at linkit.com (Ray) Date: Wed, 11 Dec 2013 17:13:42 -0500 Subject: [OT] giving away my DataGrid Helper License from MegaBundle for free In-Reply-To: <74B127F0-60BF-43EE-9EAD-0BC1EDFF1525@m-r-d.de> References: <74B127F0-60BF-43EE-9EAD-0BC1EDFF1525@m-r-d.de> Message-ID: <52A8E396.9010007@LinkIt.Com> I'll take it! I use datagrid all the time. Let me know if I win. Thanks, Ray Horsley LinkIt! Software On 12/11/2013 5:03 PM, Matthias Rebbe wrote: > Hi, > > i have here a DataGridHelper license from the MegaBundle which i would like to give away for free to the first > who sends me an email to matthias (at) rebbe.tk > > Please do not send requests to this list. > > Regards, > > Matthias Rebbe > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Wed Dec 11 17:23:18 2013 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Wed, 11 Dec 2013 23:23:18 +0100 Subject: [OT] giving away my DataGrid Helper License from MegaBundle for free In-Reply-To: <74B127F0-60BF-43EE-9EAD-0BC1EDFF1525@m-r-d.de> References: <74B127F0-60BF-43EE-9EAD-0BC1EDFF1525@m-r-d.de> Message-ID: It?s gone ! Matthias Am 11.12.2013 um 23:03 schrieb Matthias Rebbe : > Hi, > > i have here a DataGridHelper license from the MegaBundle which i would like to give away for free to the first > who sends me an email to matthias (at) rebbe.tk > > Please do not send requests to this list. > > Regards, > > Matthias Rebbe > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From scott at tactilemedia.com Wed Dec 11 17:47:55 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 11 Dec 2013 14:47:55 -0800 Subject: Text editor question In-Reply-To: References: <294F5219-82A5-40D3-B5B2-C9FCD2AFDBCF@mines-paristech.fr> Message-ID: If the original post was referring to a *text* editor (not a LiveCode IDE type editor), there was a text editor announced a while back called FieldTrip. http://www.curryk.com/fieldtrip-preorder.html Not sure if a commercial product would be an option but there it is. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 12/11/13 2:03 PM, "stephen barncard" wrote: >On Wed, Dec 11, 2013 at 8:40 AM, Fran?ois Chaplais < >francois.chaplais at mines-paristech.fr> wrote: > >> somebody has written a basic plain text editor in LC with multiple undo >> redo > > >?Only a couple of people, through many years of sweat, toil and heartache, >to create an alternative editor that was better than the one that comes in >the IDE.? > >I think Richard Gaskin and Chipp Walters both had their own versions of >editors that worked in conjunction with the Metacard IDE, but they were >for >their own use. > >There were attempts to use a plugin to launch an external editor >application to edit scripts, but their use was so awkward as to hinder >workflow. > >Almost all of the other editors have been created by Jerry Daniels and >Marc >Wieder (on debuggers) . > >The first was the experimental Constellation that I saw Jerry and a couple >of others using at Recon 2. Through begging and pleading, I got Jerry to >give me a copy. > >Eventually it became GLX2, the greatest editor project known to x-talks. >It >was wonderful, but evolved to be so complex with so many features it >became >unstable, and Jerry had incredible ideas built into it like macros, etc. >but it still had to depend on the engine at the time, and cooperation of >the current IDE. > >Jerry then started work on his revolutionary conceptual editor, which was >far simpler and feature limited, but didn't crash, as it was a compiled >application that ran outside of the running Revolution product and >communicated using simple 'agents' that worked asynchronously between the >IDE and the app ( eventually named RevZilla at the time) to gain access to >scripts in stacks. Later named "Remo" it promised the simplicity and >stability that the concept editor seem to have, and most of us that used >GLX2 switched to it for a couple of years until changes in the engine made >Remo inoperable and we had to move on. > >I just sighed and learned to love the built-in editor; it still doesn't >facilitate a white character on black background in the editor without a >lot of patching and it still doesn't match the furniture. But I can have >multiple windows, the breadcrumbs are there. I'd love to disable the >feature that closes the window after the second compile by hitting return, >but those are my biggest complaints. > >So it's part of the IDE and system, and it doesn't crash and works well. I >still hold the hope that the Livecode editor can take a step forward in >the future that will put it on the par of the quality of the one that's in >the IDE of Xcode. Or some 18 year old and a storeroom of Jolt cola turns >out an amazing new IDE based editor with all the expected features that >works perfectly with the engine. > >But I'd wait for the whole engine to be refactored first. > >Recently? Jerry Daniels has offered a new FREE simple editor for those >that >like the full screen - one page at a time view. It appears very stable and >might be great for simple stack projects. Quite beautiful, really - a >great UI job by Daniels and Mara. > >http://danielsmara.com/about-glass/ > > >And GLX2 is now open source and more stable than it's ever been, thanks to >keeper of the flame Marc Wieder, who also designed the debugger. And >there's an undo feature, and I think he's got most of the bugs out. > >https://bitbucket.org/mwieder/glx2/downloads > >?hth. > >sqb? > > >*--* >*Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From endernafi at gmail.com Wed Dec 11 17:49:56 2013 From: endernafi at gmail.com (Ender Nafi Elekcioglu) Date: Thu, 12 Dec 2013 00:49:56 +0200 Subject: [Completely OT] This is how it all begins... Message-ID: Maybe it?s about time for the Three Laws of Asimov? http://io9.com/freakishly-realistic-telemarketing-robots-are-denying-t-1481050295 2060 may be too late :) http://upload.wikimedia.org/wikipedia/commons/1/1e/Estimations_of_Human_Brain_Emulation_Required_Performance.svg Cheers, ~ Ender Nafi From stephenREVOLUTION2 at barncard.com Wed Dec 11 18:31:49 2013 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Wed, 11 Dec 2013 15:31:49 -0800 Subject: Text editor question In-Reply-To: <294F5219-82A5-40D3-B5B2-C9FCD2AFDBCF@mines-paristech.fr> References: <294F5219-82A5-40D3-B5B2-C9FCD2AFDBCF@mines-paristech.fr> Message-ID: On Wed, Dec 11, 2013 at 8:40 AM, Fran?ois Chaplais < francois.chaplais at mines-paristech.fr> wrote: > somebody has written a basic plain text editor in LC with multiple undo > redo ?a special few have tried, through many years of sweat, toil and heartache, to create an alternative editor that was better than the one that comes in the IDE.? Almost all of these editors have been created by Jerry Daniels and Marc . The first was the experimental Constellation that I saw Jerry and a couple of others using at Recon 2. Through begging and pleading, I got Jerry to give me a copy. Eventually it became GLX2, the greatest editor project *--* *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* From gregory.lypny at videotron.ca Wed Dec 11 19:26:34 2013 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Wed, 11 Dec 2013 19:26:34 -0500 Subject: Understanding $_SESSION Message-ID: Hello everyone, Lame question: $_SESSION is only of helpful when used with cookies, right? Gregory From mats.wilstrand at tapirsoft.com Wed Dec 11 19:44:58 2013 From: mats.wilstrand at tapirsoft.com (Mats Wilstrand) Date: Thu, 12 Dec 2013 01:44:58 +0100 Subject: rIDE 2.4.2 Message-ID: Dear All! This is a maintenance release addressing issues when creating, editing and deleting customProperties and customPropertySets in the rIDE Property Inspector. Download from: http://tapirsoft.on-rev.com/ride Thanks to all who have reported issues and provided kind feedback! With my best regards, Mats From sc at sahores-conseil.com Wed Dec 11 21:47:13 2013 From: sc at sahores-conseil.com (Pierre Sahores) Date: Thu, 12 Dec 2013 03:47:13 +0100 Subject: Understanding $_SESSION In-Reply-To: References: Message-ID: <1093793B-A860-4E98-956C-2613B04A0981@sahores-conseil.com> Hi Gregory, Yes, it's only a technical subset of the cookie datastore thing. Le 12 d?c. 2013 ? 01:26, Gregory Lypny a ?crit : > Hello everyone, > > Lame question: $_SESSION is only of helpful when used with cookies, right? > > Gregory > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From mcgrath3 at mac.com Wed Dec 11 21:52:40 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Wed, 11 Dec 2013 21:52:40 -0500 Subject: Facebook Integration Message-ID: <7021B679-43BD-4AF6-9C4C-1B39207B19E4@mac.com> Dear Use List: We have the wonderful mergSocial extension from Monte for Facebook 'one way' integration on iOS, but I really need a solution that will ?get? information ?from' Facebook and also for Android use as well. I have already contributed previously to a social plugin that was never really completed. The tutorials on RunRev require Andre?s plugin which doesn?t work. So we don?t really have a solution that will work for two way integration with Facebook. Or for both iOS and Android use. It gets more confusing on iOS since Facbook is signed into at the OS level. Specifically I am interested in getting a list of the App?s End User's Facebook friends for use in my mobile app and then getting a random friend from that list of friends and then getting that friends profile picture. A lot of this relies on the Facebook API and is relatively easy to implement, but it starts getting confusing when the end users authentication is needed for the end user of the app (and not using my information) and then trying to get and keep updated the client_id and access_token for that end user of the app. All of the following works using the ?me? word and ?my? access_token BUT what we need and what I?m told is that ALL we need is for the access_token to be replaced with the ?end user? of the app?s access_token. That?s where the problem lies. To get a list of ?MY? friends: get ("https://graph.facebook.com/me/friends?access_token=LongAssIDGoesHereaaaaaaaaaaadsfsdlkfajasdlkfjklasdjflk") get url it put it into field 1 To get a random ?friend? and ID from the above query: set the itemDelimiter to "{" put field 1 into tField put "{" & quote & "data" & quote & ":[" into tPrefix if char 1 to 9 of tField is tPrefix then delete char 1 to 9 of tField put the number of items of field 1 into tLine put random(tLine) into tNum put item tNum of tField into tItem set the itemDelimiter to quote put item 4 of tItem into tName put item 8 of tItem into tID if last char of tName is quote then delete last char of tName if last char of tID is quote then delete last char of tID put tName & cr & tID into field 2 To get the profile picture of that random friend then any of these works: get ("https://graph.facebook.com/" & tID & "/picture?type=square?) get ("https://graph.facebook.com/" & tID & "/picture?type=small?) get ("https://graph.facebook.com/" & tID & "/picture?type=large?) get ("https://graph.facebook.com/" & tID & "/picture?width=400&height=400?) get url it put it into image 1 I have read all of the forum issues and have asked here on the use list before for any current solutions but it seems like no one is doing this?????? Any solutions? Is there an interest in two way/ multi platform integration with Facebook? If so is there a monetary interest as well? It is my understanding that this would require about 1K to have created into an easy to implement solution. So is it possible to raise the money to have this written? My app idea is really simple and I don?t plan on making much money (if any) on it but I really want to publish it. But it is no good without the friends of the current users profile pictures. I would be willing to contribute to this project and need to know if there is any others that would be interested in contributing to it as well? -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com From endernafi at gmail.com Wed Dec 11 22:07:04 2013 From: endernafi at gmail.com (Ender Nafi Elekcioglu) Date: Thu, 12 Dec 2013 05:07:04 +0200 Subject: Facebook Integration In-Reply-To: <7021B679-43BD-4AF6-9C4C-1B39207B19E4@mac.com> References: <7021B679-43BD-4AF6-9C4C-1B39207B19E4@mac.com> Message-ID: I would pay for a two-way, cross-platform Facebook extension for LiveCode? as long as it?s stable, reliable and most importantly the developer keeps updating it in accordance with the Facebook?s future API changes. ~ Ender Nafi From paulhibbert at mac.com Wed Dec 11 22:08:09 2013 From: paulhibbert at mac.com (Paul Hibbert) Date: Wed, 11 Dec 2013 19:08:09 -0800 Subject: Constrain image size to container In-Reply-To: References: Message-ID: <64F6F9C7-F95D-48EC-B60D-5557E79D0161@mac.com> Skip, I'm working on a small image utility right now, this is working for me, is it any use to you? on scaleImage pImage local tScale_W,tScale_H,tFactor ="1" ## Check for a valid image extension ## if char -4 to -1 of pImage is not among the items of ".jpg,.png,.gif" then exit scaleImage lock screen ## Clear any previous image reference & cache ## set the filename of image "imageViewer" to empty ## Load the new image ## set the filename of image "imageViewer" to pImage ## Calculate the scale factors ## - I'm using a resizeable graphic canvas but these values could be hard coded put (the width of grc "canvas")/(the width of image "imageViewer") into tScale_W put (the height of grc "canvas")/(the height of image "imageViewer") into tScale_H ## Decide whether to use width or height scale factors ## if tScale_W > tScale_H then -- It's a portrait image put tScale_H into tFactor else -- It's a landscape or square image put tScale_W into tFactor end if ## Comment out the next line to allow small images to enlarge to fit the "canvas" area put min(1,tFactor) into tFactor -- Limit enlargement to 100% -- e.g. Change 1 to 2 for max 200% enlargement ## Scale the image to fit ## set the width of image "imageViewer" to round((the width of image "imageViewer") * tFactor) set the height of image "imageViewer" to round((the height of image "imageViewer") * tFactor) ## Keep the image in the correct place on screen ## set the loc of image "imageViewer" to the loc of grc "canvas" unlock screen end scaleImage You may be able to delete line 10 [ set the filename of image "imageViewer" to empty ], but I found better consistency with using it. No restrictions on use! :?) Paul On 2013-12-11, at 10:12 AM, Magicgate Software - Skip Kimpel wrote: > I am pulling images from an online database but need the images to > constrain to proportion and also stay within a certain size framework. I > have no control over the size of the images I am pulling otherwise I would > just re-size everything. > > I am currently using this to accomplish the image retrieval: > set the filename of image "imagelink" to "http://www.mysite.com/imgch.jpg" > > Any help is greatly appreciated! > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From endernafi at gmail.com Wed Dec 11 22:20:11 2013 From: endernafi at gmail.com (Ender Nafi Elekcioglu) Date: Thu, 12 Dec 2013 05:20:11 +0200 Subject: Wrap the Label of Button In-Reply-To: <52A820DC.7070402@pdslabs.net> References: <52A820DC.7070402@pdslabs.net> Message-ID: I didn?t know that *\n* -> *cr* conversion, too; Thanks Phil :) Best, ~ Ender Nafi On December 11, 2013 at 10:23:04, Phil Davis (revdev at pdslabs.net) wrote: And if you're typing a multi-line label into the Property Inspector, you can use \n like this: first line\nof really long\nlabel When you hit enter, the IDE converts \n to CR. Phil On 12/10/13, 9:22 PM, Ender Nafi Elekcioglu wrote: > Ok, that was easy; even *too* easy :)) > Using *cr* in a button label never occurred to me. > Invisible borders of human mind: > http://www.naute.com/puzzles/puzzle21.phtml > > > Thanks, Scott? > > > ~ Ender Nafi > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Phil Davis _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Wed Dec 11 23:58:00 2013 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 12 Dec 2013 04:58:00 +0000 Subject: [OT] Free Office suite for Linux and Windows In-Reply-To: <52A8AF24.5050903@gmail.com> References: <52A5663B.5060404@gmail.com> <1386773399840-4673578.post@n4.nabble.com> <52A8AF24.5050903@gmail.com> Message-ID: <604AF198-CD2A-4668-9916-EA7E3A0F60C4@iotecdigital.com> I was making a star wars joke. Bob Sneidar IT Technician Integrated Office Technology bobsneidar at iotecdigital.com 714-401-2407 On Dec 11, 2013, at 10:29 , Richmond > wrote: On 11/12/13 18:52, Bob Sneidar wrote: Light side or dark side? And do we care? ;-) Not really, as I cannot quite work out what is wrong with working for profit. And there is very little dark side and very little light side; and one hell of a lot of grey. Richmond. From bobsneidar at iotecdigital.com Thu Dec 12 00:01:21 2013 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 12 Dec 2013 05:01:21 +0000 Subject: How do I find the rgb values for colors defined by their name:e.g. blue, green, yellow etc. - Found word(s) list error in the Text body In-Reply-To: References: <56964388-915C-4272-AB60-681A058F5AB2@sbcglobal.net> Message-ID: <2ECB53C5-486A-44E3-9915-279C526EA477@iotecdigital.com> OH! I thought that people were putting them in there to prevent some Livecode server along the way from interpreting them as real code!! LOL! Bob Sneidar IT Technician Integrated Office Technology bobsneidar at iotecdigital.com 714-401-2407 On Dec 10, 2013, at 20:27 , Peter Haworth > wrote: The asterisks seem to happen when I copy and paste from LC to my mail system (gmail). They don't show up in the message when I send it but somehow insinuate themselves somewhere out there in the great unknown cloud. Maybe the NSA put them there, who knows. Pete lcSQL Software > From dochawk at gmail.com Thu Dec 12 00:44:23 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Wed, 11 Dec 2013 21:44:23 -0800 Subject: [OT] Free Office suite for Linux and Windows In-Reply-To: <52A7395F.2020000@fourthworld.com> References: <52A72E17.2020409@gmail.com> <52A7395F.2020000@fourthworld.com> Message-ID: On Tue, Dec 10, 2013 at 7:55 AM, Richard Gaskin wrote: > But really, none of this matters much, nor is it likely to change. Anyone > listening to Stallman knows what he means, many don't listen to him at all, > and most lay people don't even know who he is, even though most people > benefit from his work given the ubiquity of GNU Linux on most of the systems > they use when they browse the Web, trade stocks, use a wifi router, and > hundreds of other such cases every day. AFAIK, the only "GNU/Linux" out there is Debian, and some of it's derivatives. "Linux" is used in two senses: the kernel, and the collection of that kernel, perl, X, the BSD/Gnu utilities, and a gaggle of other things. Oh, and there's RMS, who thinks it refers to the kernel and the BSD/Gnu utilities (which would be a useless thing to install without the others . . .) open source is definitely not anti-capitalistic, if you google my name and "economics of open source software" you will find various pre-publication versios of my paper which is the seminal work explaining exactly when free open source licenses, such as X/BSD are consistent with the profit motive (e.g,, Darwin and Apache), and when viral licenses are consistent (e.g, netscape and openOffice). Nothing inherently pro- or anti- capitalistic involved (and, as a practical matter, it's really free markets, not capitalistic, that's in play here. Either is possible without the other [free markets without capitalism in the former Yugoslavia, capitalism without free markets under fascism in it's various flavors.]) Oh, and for those interested in such things, the current development version of FreeBSD (and the next release) are completely free of GPL and similar licenses . . . (yes, not even gcc, although it can still compile it all . . .) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Thu Dec 12 00:45:55 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Wed, 11 Dec 2013 21:45:55 -0800 Subject: [OT] Free Office suite for Linux and Windows In-Reply-To: <52A7586C.9060008@gmail.com> References: <52A72E17.2020409@gmail.com> <52A7395F.2020000@fourthworld.com> <52A73A65.5060609@gmail.com> <52A7586C.9060008@gmail.com> Message-ID: On Tue, Dec 10, 2013 at 10:07 AM, Richmond wrote: > > Right, I stand corrected. I did, indeed confuce GNU with HURD. Gosh, that was silly. There *is* GNU software that people actually use :) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Thu Dec 12 00:49:58 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Wed, 11 Dec 2013 21:49:58 -0800 Subject: [OT] Free Office suite for Linux and Windows In-Reply-To: <604AF198-CD2A-4668-9916-EA7E3A0F60C4@iotecdigital.com> References: <52A5663B.5060404@gmail.com> <1386773399840-4673578.post@n4.nabble.com> <52A8AF24.5050903@gmail.com> <604AF198-CD2A-4668-9916-EA7E3A0F60C4@iotecdigital.com> Message-ID: On Wed, Dec 11, 2013 at 8:58 PM, Bob Sneidar wrote: > I was making a star wars joke. Duct tape is like the force . . . it has a light side, and a dark side, and it hold's the universe together . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From mwieder at ahsoftware.net Thu Dec 12 01:17:09 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 11 Dec 2013 22:17:09 -0800 Subject: [OT] Free Office suite for Linux and Windows In-Reply-To: References: <52A5663B.5060404@gmail.com> <1386773399840-4673578.post@n4.nabble.com> <52A8AF24.5050903@gmail.com> <604AF198-CD2A-4668-9916-EA7E3A0F60C4@iotecdigital.com> Message-ID: <1922027310386.20131211221709@ahsoftware.net> > Duct tape is like the force . . . it has a light side, and a dark > side, and it hold's the universe together . . . But there's something just so *wrong* about "use the duct tape, Luke" -- -Mark Wieder ahsoftware at gmail.com From richmondmathewson at gmail.com Thu Dec 12 02:27:32 2013 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 12 Dec 2013 09:27:32 +0200 Subject: [OT] Free Office suite for Linux and Windows In-Reply-To: <604AF198-CD2A-4668-9916-EA7E3A0F60C4@iotecdigital.com> References: <52A5663B.5060404@gmail.com> <1386773399840-4673578.post@n4.nabble.com> <52A8AF24.5050903@gmail.com> <604AF198-CD2A-4668-9916-EA7E3A0F60C4@iotecdigital.com> Message-ID: <52A96564.1050201@gmail.com> On 12/12/13 06:58, Bob Sneidar wrote: > I was making a star wars joke. I was just too old when the first 3 star wars films came out to like them. However I would like to recommend "Barry Trotter and the Shameless Parody" as good toilet-time reading. Richmond. > > Bob Sneidar > IT Technician > Integrated Office Technology > bobsneidar at iotecdigital.com > 714-401-2407 > > > > On Dec 11, 2013, at 10:29 , Richmond > wrote: > > On 11/12/13 18:52, Bob Sneidar wrote: > Light side or dark side? And do we care? ;-) > > Not really, as I cannot quite work out what is wrong with working for profit. > > And there is very little dark side and very little light side; and one hell of a lot of grey. > > Richmond. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Thu Dec 12 02:29:13 2013 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 12 Dec 2013 09:29:13 +0200 Subject: [OT] Free Office suite for Linux and Windows In-Reply-To: References: <52A72E17.2020409@gmail.com> <52A7395F.2020000@fourthworld.com> <52A73A65.5060609@gmail.com> <52A7586C.9060008@gmail.com> Message-ID: <52A965C9.8010005@gmail.com> On 12/12/13 07:45, Dr. Hawkins wrote: > On Tue, Dec 10, 2013 at 10:07 AM, Richmond wrote: >> Right, I stand corrected. I did, indeed confuce GNU with HURD. > Gosh, that was silly. There *is* GNU software that people actually use :) > > I am really quite good at being silly: hence at 51 my creativity level is like that of a 13 year old :/ Richmond. From richmondmathewson at gmail.com Thu Dec 12 02:30:02 2013 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 12 Dec 2013 09:30:02 +0200 Subject: [OT] Free Office suite for Linux and Windows In-Reply-To: References: <52A5663B.5060404@gmail.com> <1386773399840-4673578.post@n4.nabble.com> <52A8AF24.5050903@gmail.com> <604AF198-CD2A-4668-9916-EA7E3A0F60C4@iotecdigital.com> Message-ID: <52A965FA.6060108@gmail.com> On 12/12/13 07:49, Dr. Hawkins wrote: > On Wed, Dec 11, 2013 at 8:58 PM, Bob Sneidar > wrote: >> I was making a star wars joke. > Duct tape is like the force . . . it has a light side, and a dark > side, and it hold's the universe together . . . > > That apostrophe was a bit . . . Nyah. nyah, nyah; got you back :) From richmondmathewson at gmail.com Thu Dec 12 02:31:02 2013 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 12 Dec 2013 09:31:02 +0200 Subject: [OT] Free Office suite for Linux and Windows In-Reply-To: <1922027310386.20131211221709@ahsoftware.net> References: <52A5663B.5060404@gmail.com> <1386773399840-4673578.post@n4.nabble.com> <52A8AF24.5050903@gmail.com> <604AF198-CD2A-4668-9916-EA7E3A0F60C4@iotecdigital.com> <1922027310386.20131211221709@ahsoftware.net> Message-ID: <52A96636.2090101@gmail.com> On 12/12/13 08:17, Mark Wieder wrote: >> Duct tape is like the force . . . it has a light side, and a dark >> side, and it hold's the universe together . . . > But there's something just so *wrong* about "use the duct tape, Luke" > Try it on the end of your light-saber as a preventitive. From gerry.orkin at gmail.com Thu Dec 12 02:33:42 2013 From: gerry.orkin at gmail.com (Gerry Orkin) Date: Thu, 12 Dec 2013 18:33:42 +1100 Subject: iOS provisioning files...how to remove? Message-ID: Hi all The pop up menu in the standalone settings window for iOS shows multiple versions of my provisioning profiles. It seems each time I add a device to the profile and then install the updated profile it's added to the list...so I have multiple items with the same name showing up. Any ideas on how to fix this issue? Gerry From neil at runrev.com Thu Dec 12 04:33:53 2013 From: neil at runrev.com (Neil Roger) Date: Thu, 12 Dec 2013 09:33:53 +0000 Subject: iOS provisioning files...how to remove? In-Reply-To: References: Message-ID: <52A98301.7050703@runrev.com> Hi Gerry, Pre-Xcode 5 it used to be relatively simple to remove provisioning profiles from within Xcode. Now I use apps "iPhone Configuration utility". Although the name might be missleading, it allows you to delete any duplicate provision profiles installed on your system. http://support.apple.com/downloads/#iphone configuration utility I hope this helps, Kind Regards Neil Roger -- RunRev Support Team ~ http://www.runrev.com LiveCode ? Realize fast, compile-free coding -- On 12/12/2013 07:33, Gerry Orkin wrote: > Hi all > > The pop up menu in the standalone settings window for iOS shows multiple versions of my provisioning profiles. It seems each time I add a device to the profile and then install the updated profile it's added to the list...so I have multiple items with the same name showing up. > > Any ideas on how to fix this issue? > > Gerry > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From gerry.orkin at gmail.com Thu Dec 12 05:51:15 2013 From: gerry.orkin at gmail.com (Gerry Orkin) Date: Thu, 12 Dec 2013 21:51:15 +1100 Subject: iOS provisioning files...how to remove? In-Reply-To: <52A98301.7050703@runrev.com> References: <52A98301.7050703@runrev.com> Message-ID: <0FED6662-E6D6-4345-B0D7-7CE2437709B9@gmail.com> Perfect, yes :) Gerry On 12 Dec 2013, at 8:33 pm, Neil Roger wrote: > I hope this helps, From gregory.lypny at videotron.ca Thu Dec 12 07:45:58 2013 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Thu, 12 Dec 2013 07:45:58 -0500 Subject: Understanding $_SESSION In-Reply-To: References: Message-ID: Hi Pierre, Thanks. You saved me a lot of time having to learn about something (cookies), which I am trying to avoid in my new site. Gregory On Thu, Dec 12, 2013, at 6:00 AM, Pierre Sahores wrote: > Hi Gregory, > > Yes, it's only a technical subset of the cookie datastore thing. From livfoss at mac.com Thu Dec 12 07:50:55 2013 From: livfoss at mac.com (Graham Samuel) Date: Thu, 12 Dec 2013 13:50:55 +0100 Subject: PC Symbol Font? In-Reply-To: <52A8CA59.2080209@hyperactivesw.com> References: <1C6B01D5-A8CF-4BA5-96DB-A4487A909F20@mac.com> <52A88718.6040506@gmail.com> <258925E4-40C2-4DEC-A974-EAAA29B799F1@mac.com> <52A8CA59.2080209@hyperactivesw.com> Message-ID: <4D8295A8-0BB1-4B69-84BD-3E9336DD2D30@mac.com> Amazing Jacque - you rescued me twice in 24 hours! Thanks very much Graham On 11 Dec 2013, at 21:26, J. Landman Gay wrote: > On 12/11/13 1:36 PM, Graham Samuel wrote: >> Well, once I've mastered actually displaying Unicode characters in a >> LC field... time to read the latest release notes etc. Up to now my >> efforts have not worked (I tried to print a table of Unicode >> characters in a scrolling field). I would also want the use of >> Unicode to be completely transparent to the user. I suppose this must >> be the aim of the implementation anyway. >> >> But then it has to work on a PC with no tweaking of the underlying OS >> or downloading of fonts. Is this possible? >> > > In cases like this, I sometimes use the htmlText. Pi has an html entity ("Π") and you can insert that and then set the text of the field to the htmltext you generate. It goes cross-platform successfully. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com From jhurley0305 at sbcglobal.net Thu Dec 12 10:50:02 2013 From: jhurley0305 at sbcglobal.net (James Hurley) Date: Thu, 12 Dec 2013 07:50:02 -0800 Subject: How do I find the rgb values for colors defined by their name:e.g. blue, green, yellow etc. - Found word(s) list error in the Text body In-Reply-To: References: Message-ID: <9BD63F7E-1BD0-4C42-8A5A-9ACE6B8C3CCA@sbcglobal.net> > > On Dec 10, 2013, at 20:27 , Peter Haworth > wrote: > > The asterisks seem to happen when I copy and paste from LC to my mail > system (gmail). They don't show up in the message when I send it but > somehow insinuate themselves somewhere out there in the great unknown > cloud. Maybe the NSA put them there, who knows. > > Pete > lcSQL Software > > That?s funny. Your wrote in response to my post (below.) But note in my text all my quotation marks were replaced with question marks?see text that begins with Replace? Actually I would be proud if NSA thinks enough of us to monitor our list. Jim Hurley > Message: 1 > Date: Tue, 10 Dec 2013 18:44:35 -0800 > From: James Hurley > To: use-livecode at lists.runrev.com > Subject: Re: How do I find the rgb values for colors defined by their > name: e.g. blue, green, yellow etc. > Message-ID: <56964388-915C-4272-AB60-681A058F5AB2 at sbcglobal.net> > Content-Type: text/plain; charset=windows-1252 > > Thanks Pete (and Walt and Richard), > > That is perfect. Very imaginative. (*But* *why* *all* *the* *asterisks?) > > (Replace ?*? with space in ?..) > > And about that Template Button, Riichard. I speak only Pigeon LC. > > J From jhurley0305 at sbcglobal.net Thu Dec 12 10:53:27 2013 From: jhurley0305 at sbcglobal.net (James Hurley) Date: Thu, 12 Dec 2013 07:53:27 -0800 Subject: Scripting for the zip code In-Reply-To: References: Message-ID: Is there a way to *script* for the zip code given Street address City State It used to be possible using the USPS web site, it was even possible to get the nine digit zip, but no longer. But for now, all I need is the 5 digit zip. Thanks, Jim Hurley From dunbarx at aol.com Thu Dec 12 11:00:03 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Thu, 12 Dec 2013 11:00:03 -0500 (EST) Subject: Scripting for the zip code In-Reply-To: References: Message-ID: <8D0C56A5958A52C-2594-1808@webmail-m236.sysops.aol.com> James. There are free zip code databases you can embed in your stack: http://federalgovernmentzipcodes.us/ Do these change often? That would be an issue, I guess. But what happened to the web site? Craig -----Original Message----- From: James Hurley To: use-livecode Sent: Thu, Dec 12, 2013 10:53 am Subject: Scripting for the zip code Is there a way to *script* for the zip code given Street address City State It used to be possible using the USPS web site, it was even possible to get the nine digit zip, but no longer. But for now, all I need is the 5 digit zip. Thanks, Jim Hurley _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From sc at sahores-conseil.com Thu Dec 12 11:25:54 2013 From: sc at sahores-conseil.com (Pierre Sahores) Date: Thu, 12 Dec 2013 17:25:54 +0100 Subject: Understanding $_SESSION In-Reply-To: References: Message-ID: <7C3A329A-C8BD-4D27-8D0F-3CDAE7E18185@sahores-conseil.com> Gregory, In this case, the simplest way to go is to combine tags + SQL storage of the state of those each time a new page is served to the user? Pierre Le 12 d?c. 2013 ? 13:45, Gregory Lypny a ?crit : > Hi Pierre, > > Thanks. You saved me a lot of time having to learn about something (cookies), which I am trying to avoid in my new site. > > Gregory > > > On Thu, Dec 12, 2013, at 6:00 AM, Pierre Sahores wrote: > >> Hi Gregory, >> >> Yes, it's only a technical subset of the cookie datastore thing. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From jacque at hyperactivesw.com Thu Dec 12 12:43:48 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 12 Dec 2013 11:43:48 -0600 Subject: PC Symbol Font? In-Reply-To: <4D8295A8-0BB1-4B69-84BD-3E9336DD2D30@mac.com> References: <1C6B01D5-A8CF-4BA5-96DB-A4487A909F20@mac.com> <52A88718.6040506@gmail.com> <258925E4-40C2-4DEC-A974-EAAA29B799F1@mac.com> <52A8CA59.2080209@hyperactivesw.com> <4D8295A8-0BB1-4B69-84BD-3E9336DD2D30@mac.com> Message-ID: <52A9F5D4.3000206@hyperactivesw.com> On 12/12/13 6:50 AM, Graham Samuel wrote: > Amazing Jacque - you rescued me twice in 24 hours! My cape came back from the cleaners. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From WSUMNER at dom.wustl.edu Thu Dec 12 12:57:13 2013 From: WSUMNER at dom.wustl.edu (Sumner, Walt) Date: Thu, 12 Dec 2013 17:57:13 +0000 Subject: Lost pdf printing Message-ID: <411BD0865C7F7446890718EBDF2BDCAD09EB59@DOMEX04.DOM.wustl.edu> Hi, folks, I have a stack that opens printing to a pdf file, and goes through a bunch of calculations to print 8 cards per page. When the stack is left idle for a while it can "forget" that it is supposed to print to a pdf. Global variables indicating the pdf file name and other print settings remain intact. If I resume using the stack after it forgets that it is printing to a pdf, every print instruction gets sent to the local printer, wasting a fantastic amount of paper while failing to record all of the screen shots in a pdf. How can I check to see whether LiveCode remembers that it is printing to a pdf? I can easily close and reopen printing if I can just determine whether print commands are being sent to the printer or a pdf generator. Thanks, Walt Sumner From skip at magicgate.com Thu Dec 12 13:00:40 2013 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Thu, 12 Dec 2013 13:00:40 -0500 Subject: Navigating through SQL Data Message-ID: What is the best way to navigate through records retrieved through this method: put revDataFromQuery(tab,return,tResult,tSQL) into tRecords I am using arrow buttons for first, last, next and previous. Need to figure out the code for those buttons..... Thanks in advance! From richmondmathewson at gmail.com Thu Dec 12 13:24:56 2013 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 12 Dec 2013 20:24:56 +0200 Subject: Up, Down and Sideways Message-ID: <52A9FF78.5070907@gmail.com> I'm having the sort of fun I seem to have just about once a year: mucking around with modifier keys . . . but, am trying to have even more fun than last year like this: on mouseUp --1 if shiftKey() is up and altKey() is up then put "shUP-altUP" into fld "CRAP" end if --2 if shiftKey() is down and altKey() is up then put "shDN-altUP" into fld "CRAP" end if --3 if shiftKey() is up and altKey() is down then put "shUP-altDN" into fld "CRAP" end if end mouseUp and wondering, quite desperately in fact as quite as it rides on this, why IF loop #3 doesn't work if one exchanges '=' for 'is' it makes no difference. the Documentation states that: the altKey altKey() "Returns the state of the Alt key." and that just doesn't seem to be happening [Linux]. Richmond. From scott at tactilemedia.com Thu Dec 12 13:32:06 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 12 Dec 2013 10:32:06 -0800 Subject: Scripting for the zip code In-Reply-To: References: Message-ID: Hi Jim: You can try the following functions if you're looking up a single US address (watch line wrapping). Pass the street/city/state info to the first function as separate arguments. function getZip pStreet, pCity, pState put "http://maps.googleapis.com/maps/api/geocode/json?address=" into baseURL put "&sensor=false" into URLsuffix -- put cleanString(pStreet) into streetData put streetData & comma into theStreet replace space with "+" in theStreet -- put cleanString(pCity) into cityData put cityData & comma into theCity replace space with "+" in theCity -- put cleanString(pState) into stateData put stateData into theState replace space with "+" in theState -- -- GET GEO DATA put baseURL & theStreet & "+" & theCity & "+" & theState & URLsuffix into geoURL put url geoURL into theGeoData if "ZERO_RESULTS" is in theGeoData then return "No geocode data found." -- -- RETRIEVE ZIP CODE put line lineOffset("formatted_address",theGeoData) of theGeoData into temp return word 2 of item -2 of temp end getZip function cleanString pString replace "." with empty in pString replace "," with empty in pString if char -1 of pString is space then delete char -1 of pString return pString end cleanString Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 12/12/13 7:53 AM, "James Hurley" wrote: >Is there a way to *script* for the zip code given > >Street address >City >State > >It used to be possible using the USPS web site, it was even possible to >get the nine digit zip, but no longer. > >But for now, all I need is the 5 digit zip. > >Thanks, > >Jim Hurley >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode > From ambassador at fourthworld.com Thu Dec 12 13:32:17 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 12 Dec 2013 10:32:17 -0800 Subject: Up, Down and Sideways In-Reply-To: <52A9FF78.5070907@gmail.com> References: <52A9FF78.5070907@gmail.com> Message-ID: <52AA0131.3010207@fourthworld.com> Richmond wrote: > the Documentation states that: > > the altKey > altKey() > > "Returns the state of the Alt key." > > and that just doesn't seem to be happening [Linux]. Many Linux window managers are (unnecessarily, IMNSHO) greedy with the Option/Alt key, using it to move windows and therefore not passing its state to the app. Yeah, annoying as all get out. I'd love to have a beer or twelve with the Gnome folks who decided that was a smart thing to do. I imagine that decision was made in a smoke house in Amsterdam, under the influence of some exotic hash too powerful for reason to survive. It may be possible to turn that off in the keybidings or CompizConfig or whatever else may be relevant in your distro. But if you're making an app for others to use it's probably best to just design around dependency on the Alt/Option key altogether, since 80% of computer users never change any defaults. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From richmondmathewson at gmail.com Thu Dec 12 13:47:56 2013 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 12 Dec 2013 20:47:56 +0200 Subject: Up, Down and Sideways In-Reply-To: <52AA0131.3010207@fourthworld.com> References: <52A9FF78.5070907@gmail.com> <52AA0131.3010207@fourthworld.com> Message-ID: <52AA04DC.3080105@gmail.com> On 12/12/13 20:32, Richard Gaskin wrote: > Richmond wrote: >> the Documentation states that: >> >> the altKey >> altKey() >> >> "Returns the state of the Alt key." >> >> and that just doesn't seem to be happening [Linux]. > > Many Linux window managers are (unnecessarily, IMNSHO) greedy with the > Option/Alt key, using it to move windows and therefore not passing its > state to the app. > > Yeah, annoying as all get out. I'd love to have a beer or twelve with > the Gnome folks who decided that was a smart thing to do. I imagine > that decision was made in a smoke house in Amsterdam, under the > influence of some exotic hash too powerful for reason to survive. Umm . . . certainly seems that way. I am currently working on a project for some Professors who are having a problem with Old Church Slavonic (come to think of things, Old Church Slavonic is fairly problematic in its own right). Anyhow . . . each letter of the OCS alphabet has to exist in 3 states: Upper Case Lower Case and Combining [if you have a problem understanding what 'combining' means; don't worry - but it has nothing whatsoever to do with Adge Cutler and the Wurzels: http://www.youtube.com/watch?v=btEpF334Rtc ]. Therefore I need to lever 2 modifier keys (in an ideal world, ha, ha, those would be the SHIFT and ALT keys) on Windows, Macintosh and Linux. Richmond. > > It may be possible to turn that off in the keybidings or CompizConfig > or whatever else may be relevant in your distro. But if you're making > an app for others to use it's probably best to just design around > dependency on the Alt/Option key altogether, since 80% of computer > users never change any defaults. > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > Follow me on Twitter: http://twitter.com/FourthWorldSys > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Thu Dec 12 14:05:57 2013 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 12 Dec 2013 21:05:57 +0200 Subject: Up, Down and Sideways In-Reply-To: <52AA0131.3010207@fourthworld.com> References: <52A9FF78.5070907@gmail.com> <52AA0131.3010207@fourthworld.com> Message-ID: <52AA0915.605@gmail.com> Obviously the Documentation needs to be changed: currently it states that altKey WILL detect the state of the Alt Key in Linux. Richmond. From pete at lcsql.com Thu Dec 12 14:08:19 2013 From: pete at lcsql.com (Peter Haworth) Date: Thu, 12 Dec 2013 11:08:19 -0800 Subject: Navigating through SQL Data In-Reply-To: References: Message-ID: Hi Skip, You might want to think about using revQueryDatabase to create a database cursor. The processing for your buttons then becomes: First: revMoveToFirstRecord Prev: revMoveToPreviousRecord Next: revMoveToNextRecord Last: revMoveToLastRecord It's a bit more longwinded to display the data from your query because you have to use revDatabaseColumnNamed to get each column from the current record in the cursor. Also watch out for the fact that the cursor is zero-indexed not 1. If you stick with revDataFromQuery, you would need to keep the current line number of tRecords somewhere (say tLinenum), then: First: put 1 into tLinenum Prev: if tLinenum> 1 then subtract 1 from tLineNum Next: if tLinenum < the number of lines in tRecords then add 1 to tLineNum Last: put the number of lines in tRecords into tLinenum Then use "line tLinenum of tRecords" to get your data. You can also disable/enable the buttons depedning on where you are in tRecords, for example, you'd disable Prev if you're at record #1 so you don't need the check in the Prev button for tLineNum>1. Pete lcSQL Software On Thu, Dec 12, 2013 at 10:00 AM, Magicgate Software - Skip Kimpel < skip at magicgate.com> wrote: > What is the best way to navigate through records retrieved through this > method: > put revDataFromQuery(tab,return,tResult,tSQL) into tRecords > > I am using arrow buttons for first, last, next and previous. Need to > figure out the code for those buttons..... > > Thanks in advance! > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Thu Dec 12 14:19:48 2013 From: pete at lcsql.com (Peter Haworth) Date: Thu, 12 Dec 2013 11:19:48 -0800 Subject: Navigating through SQL Data In-Reply-To: References: Message-ID: One other thought. If you have a large number of records to navigate through, a scrollbar with min set to 1 and max set to the number of records is a great help to navigation. The use can use the scrollbar to get somewhere close to where they want to be using the scrollbar (you adjust tLinenum or use revMoveToRecordNumber using the thumbpos) then use the first/prev/next/last buttons to home in. Pete lcSQL Software On Thu, Dec 12, 2013 at 10:00 AM, Magicgate Software - Skip Kimpel < skip at magicgate.com> wrote: > What is the best way to navigate through records retrieved through this > method: > put revDataFromQuery(tab,return,tResult,tSQL) into tRecords > > I am using arrow buttons for first, last, next and previous. Need to > figure out the code for those buttons..... > > Thanks in advance! > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From skip at magicgate.com Thu Dec 12 14:22:53 2013 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Thu, 12 Dec 2013 14:22:53 -0500 Subject: Navigating through SQL Data In-Reply-To: References: Message-ID: Thanks Pete! I appreciate the input on this.... wasn't quite sure which way to go on this. SKIP On Thu, Dec 12, 2013 at 2:08 PM, Peter Haworth wrote: > Hi Skip, > You might want to think about using revQueryDatabase to create a database > cursor. The processing for your buttons then becomes: > > First: revMoveToFirstRecord > Prev: revMoveToPreviousRecord > Next: revMoveToNextRecord > Last: revMoveToLastRecord > > It's a bit more longwinded to display the data from your query because you > have to use revDatabaseColumnNamed to get each column from the current > record in the cursor. Also watch out for the fact that the cursor is > zero-indexed not 1. > > If you stick with revDataFromQuery, you would need to keep the current line > number of tRecords somewhere (say tLinenum), then: > > First: put 1 into tLinenum > Prev: if tLinenum> 1 then subtract 1 from tLineNum > Next: if tLinenum < the number of lines in tRecords then add 1 to tLineNum > Last: put the number of lines in tRecords into tLinenum > > Then use "line tLinenum of tRecords" to get your data. You can also > disable/enable the buttons depedning on where you are in tRecords, for > example, you'd disable Prev if you're at record #1 so you don't need the > check in the Prev button for tLineNum>1. > > Pete > lcSQL Software > > > On Thu, Dec 12, 2013 at 10:00 AM, Magicgate Software - Skip Kimpel < > skip at magicgate.com> wrote: > > > What is the best way to navigate through records retrieved through this > > method: > > put revDataFromQuery(tab,return,tResult,tSQL) into tRecords > > > > I am using arrow buttons for first, last, next and previous. Need to > > figure out the code for those buttons..... > > > > Thanks in advance! > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ambassador at fourthworld.com Thu Dec 12 14:45:18 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 12 Dec 2013 11:45:18 -0800 Subject: Up, Down and Sideways In-Reply-To: <52AA0915.605@gmail.com> References: <52AA0915.605@gmail.com> Message-ID: <52AA124E.6050407@fourthworld.com> Richmond wrote: > Obviously the Documentation needs to be changed: > > currently it states that altKey WILL detect the state of the Alt Key in > Linux. It does. It's Gnome (IIRC), rather than Linux, that traps the Alt key, and not even all Gnome-based distros do, nor all configs. It depends on the key bindings in place, which can potentially override any key. Or none at all. You're welcome to add a note in the User Comments section of that Dictionary entry. And of course if you feel strongly about it you can file a request to have that elevated into the Dictionary proper, though to do that I'd suggest finding an authoritative source outlining the specific use-cases where it may apply. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From richmondmathewson at gmail.com Thu Dec 12 14:49:34 2013 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 12 Dec 2013 21:49:34 +0200 Subject: Up, Down and Sideways In-Reply-To: <52AA124E.6050407@fourthworld.com> References: <52AA0915.605@gmail.com> <52AA124E.6050407@fourthworld.com> Message-ID: <52AA134E.3080103@gmail.com> On 12/12/13 21:45, Richard Gaskin wrote: > Richmond wrote: > >> Obviously the Documentation needs to be changed: >> >> currently it states that altKey WILL detect the state of the Alt Key in >> Linux. > > It does. It's Gnome (IIRC), rather than Linux, that traps the Alt > key, and not even all Gnome-based distros do, nor all configs. It > depends on the key bindings in place, which can potentially override > any key. Or none at all. Funny (the remark about GNOME); I'm having this problem on UbuntuStudio 13.10 which uses XFCE, not GNOME. > > You're welcome to add a note in the User Comments section of that > Dictionary entry. > > And of course if you feel strongly about it you can file a request to > have that elevated into the Dictionary proper, though to do that I'd > suggest finding an authoritative source outlining the specific > use-cases where it may apply. > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > Follow me on Twitter: http://twitter.com/FourthWorldSys > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From gregory.lypny at videotron.ca Thu Dec 12 15:03:19 2013 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Thu, 12 Dec 2013 15:03:19 -0500 Subject: LiveCode Server - Passing Information From Web Page to Web Page Message-ID: <58B9FFED-9037-4737-A3A6-DFC80A6042A2@videotron.ca> Hello everyone, I want to track my students as they navigate from page to page on my website so that I can fill the pages with content that is appropriate for each one and so that they need not reenter a student ID and password every time they submit a form (quizzes, assignment uploads, etc.). It was suggested that I avoid using cookies, and instead, create unique session IDs that would be stored on the server in a text file associated with their student ID. No problem creating the session IDs and storing them, but I am at a loss as how I can pass them from page to page. If I place a hidden form field on each page, I can have the value of the field set to the session ID, and that will work fine if the page has an actual form with a submit button that students are intended to use. But if the page is one where there is nothing for the student to submit themselves, I don?t know how to pass along the value of the hidden field. I would like it passed along whenever a student clicks a link to go to another page. Any tips would be much appreciated, Gregory From ambassador at fourthworld.com Thu Dec 12 15:31:04 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 12 Dec 2013 12:31:04 -0800 Subject: Up, Down and Sideways In-Reply-To: <52AA134E.3080103@gmail.com> References: <52AA134E.3080103@gmail.com> Message-ID: <52AA1D08.9020600@fourthworld.com> Richmond wrote: > On 12/12/13 21:45, Richard Gaskin wrote: >> Richmond wrote: >> >>> Obviously the Documentation needs to be changed: >>> >>> currently it states that altKey WILL detect the state of the Alt Key in >>> Linux. >> >> It does. It's Gnome (IIRC), rather than Linux, that traps the Alt >> key, and not even all Gnome-based distros do, nor all configs. It >> depends on the key bindings in place, which can potentially override >> any key. Or none at all. > > Funny (the remark about GNOME); I'm having this problem on UbuntuStudio > 13.10 which uses XFCE, not GNOME. And that's why we need an authoritative source. I've never looked into it deeply enough to find which component is handling the Alt keys. But if it's not Gnome, it may be something lower (though almost certainly not the kernel), or something higher (possible Ubuntu's keybindings interface, which I had thought were inherited from Gnome, but may be part of what they get from Debian). -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From ambassador at fourthworld.com Thu Dec 12 15:33:08 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 12 Dec 2013 12:33:08 -0800 Subject: LiveCode Server - Passing Information From Web Page to Web Page In-Reply-To: <58B9FFED-9037-4737-A3A6-DFC80A6042A2@videotron.ca> References: <58B9FFED-9037-4737-A3A6-DFC80A6042A2@videotron.ca> Message-ID: <52AA1D84.7000708@fourthworld.com> Gregory Lypny wrote: > I want to track my students as they navigate from page to page on > my website so that I can fill the pages with content that is > appropriate for each one and so that they need not reenter a student > ID and password every time they submit a form (quizzes, assignment > uploads, etc.). It was suggested that I avoid using cookies, and > instead, create unique session IDs that would be stored on the server > in a text file associated with their student ID. No problem creating > the session IDs and storing them, but I am at a loss as how I can > pass them from page to page. If I place a hidden form field on each > page, I can have the value of the field set to the session ID, and > that will work fine if the page has an actual form with a submit > button that students are intended to use. But if the page is one > where there is nothing for the student to submit themselves, I don?t > know how to pass along the value of the hidden field. I would like it > passed along whenever a student clicks a link to go to another page. Sounds like a good fit for cookies. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From andrew at ctech.me Thu Dec 12 15:41:25 2013 From: andrew at ctech.me (Andrew Kluthe) Date: Thu, 12 Dec 2013 14:41:25 -0600 Subject: LiveCode Server - Passing Information From Web Page to Web Page In-Reply-To: <52AA1D84.7000708@fourthworld.com> References: <58B9FFED-9037-4737-A3A6-DFC80A6042A2@videotron.ca> <52AA1D84.7000708@fourthworld.com> Message-ID: store some additional info about the client connecting to associate with the session ids? ip address, a hash of the ipaddress and the user agent, something similar? On Thu, Dec 12, 2013 at 2:33 PM, Richard Gaskin wrote: > Gregory Lypny wrote: > > > I want to track my students as they navigate from page to page on > > my website so that I can fill the pages with content that is > > appropriate for each one and so that they need not reenter a student > > ID and password every time they submit a form (quizzes, assignment > > uploads, etc.). It was suggested that I avoid using cookies, and > > instead, create unique session IDs that would be stored on the server > > in a text file associated with their student ID. No problem creating > > the session IDs and storing them, but I am at a loss as how I can > > pass them from page to page. If I place a hidden form field on each > > page, I can have the value of the field set to the session ID, and > > that will work fine if the page has an actual form with a submit > > button that students are intended to use. But if the page is one > > where there is nothing for the student to submit themselves, I don?t > > know how to pass along the value of the hidden field. I would like it > > passed along whenever a student clicks a link to go to another page. > > Sounds like a good fit for cookies. > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > Follow me on Twitter: http://twitter.com/FourthWorldSys > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Regards, Andrew Kluthe andrew at ctech.me From bonnmike at gmail.com Thu Dec 12 16:17:47 2013 From: bonnmike at gmail.com (Mike Bonner) Date: Thu, 12 Dec 2013 14:17:47 -0700 Subject: LiveCode Server - Passing Information From Web Page to Web Page In-Reply-To: References: <58B9FFED-9037-4737-A3A6-DFC80A6042A2@videotron.ca> <52AA1D84.7000708@fourthworld.com> Message-ID: There is a simple example of session control in this thread. http://forums.runrev.com/viewtopic.php?f=15&t=10787&p=50056&hilit=session#p50034 Pretty easy to carry information forward from page to page. Be aware, there was a version of lc server (community) that had problems with externals loading which caused sessions to stop working. I forget which version it was, but think the newest, and oldest version of lc server is working now. (not positive, haven't messed with things in a while) On Thu, Dec 12, 2013 at 1:41 PM, Andrew Kluthe wrote: > store some additional info about the client connecting to associate with > the session ids? > > ip address, a hash of the ipaddress and the user agent, something similar? > > > On Thu, Dec 12, 2013 at 2:33 PM, Richard Gaskin > wrote: > > > Gregory Lypny wrote: > > > > > I want to track my students as they navigate from page to page on > > > my website so that I can fill the pages with content that is > > > appropriate for each one and so that they need not reenter a student > > > ID and password every time they submit a form (quizzes, assignment > > > uploads, etc.). It was suggested that I avoid using cookies, and > > > instead, create unique session IDs that would be stored on the server > > > in a text file associated with their student ID. No problem creating > > > the session IDs and storing them, but I am at a loss as how I can > > > pass them from page to page. If I place a hidden form field on each > > > page, I can have the value of the field set to the session ID, and > > > that will work fine if the page has an actual form with a submit > > > button that students are intended to use. But if the page is one > > > where there is nothing for the student to submit themselves, I don?t > > > know how to pass along the value of the hidden field. I would like it > > > passed along whenever a student clicks a link to go to another page. > > > > Sounds like a good fit for cookies. > > > > -- > > Richard Gaskin > > Fourth World > > LiveCode training and consulting: http://www.fourthworld.com > > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > > Follow me on Twitter: http://twitter.com/FourthWorldSys > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > -- > Regards, > > Andrew Kluthe > andrew at ctech.me > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From scott at tactilemedia.com Thu Dec 12 16:48:44 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 12 Dec 2013 13:48:44 -0800 Subject: LiveCode Server - Passing Information From Web Page to Web Page In-Reply-To: <52AA1D84.7000708@fourthworld.com> References: <58B9FFED-9037-4737-A3A6-DFC80A6042A2@videotron.ca> <52AA1D84.7000708@fourthworld.com> Message-ID: On 12/12/13 12:33 PM, "Richard Gaskin" wrote: >Gregory Lypny wrote: > >> I want to track my students as they navigate from page to page on >> my website so that I can fill the pages with content that is >> appropriate for each one and so that they need not reenter a student >> ID and password every time they submit a form (quizzes, assignment >> uploads, etc.). It was suggested that I avoid using cookies, and >> instead, create unique session IDs that would be stored on the server >> in a text file associated with their student ID. No problem creating >> the session IDs and storing them, but I am at a loss as how I can >> pass them from page to page. If I place a hidden form field on each >> page, I can have the value of the field set to the session ID, and >> that will work fine if the page has an actual form with a submit >> button that students are intended to use. But if the page is one >> where there is nothing for the student to submit themselves, I don?t >> know how to pass along the value of the hidden field. I would like it >> passed along whenever a student clicks a link to go to another page. > >Sounds like a good fit for cookies. Or frames. Place the login form in the upper frame, keep all content in the lower frame. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design From MikeKerner at roadrunner.com Thu Dec 12 17:09:14 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 12 Dec 2013 17:09:14 -0500 Subject: Navigating through SQL Data In-Reply-To: References: Message-ID: Also don't forget that if you get all the data at once, e.g. via revDataFromQuery, if you have a null last item, LC will pretend it isn't there b/c LC treats trailing commas like they aren't there. See "All items are significant, including the last one", and perhaps I have another convert to addressing this behavior. On Thu, Dec 12, 2013 at 2:22 PM, Magicgate Software - Skip Kimpel < skip at magicgate.com> wrote: > Thanks Pete! I appreciate the input on this.... wasn't quite sure which > way to go on this. > > SKIP > > > On Thu, Dec 12, 2013 at 2:08 PM, Peter Haworth wrote: > > > Hi Skip, > > You might want to think about using revQueryDatabase to create a database > > cursor. The processing for your buttons then becomes: > > > > First: revMoveToFirstRecord > > Prev: revMoveToPreviousRecord > > Next: revMoveToNextRecord > > Last: revMoveToLastRecord > > > > It's a bit more longwinded to display the data from your query because > you > > have to use revDatabaseColumnNamed to get each column from the current > > record in the cursor. Also watch out for the fact that the cursor is > > zero-indexed not 1. > > > > If you stick with revDataFromQuery, you would need to keep the current > line > > number of tRecords somewhere (say tLinenum), then: > > > > First: put 1 into tLinenum > > Prev: if tLinenum> 1 then subtract 1 from tLineNum > > Next: if tLinenum < the number of lines in tRecords then add 1 to > tLineNum > > Last: put the number of lines in tRecords into tLinenum > > > > Then use "line tLinenum of tRecords" to get your data. You can also > > disable/enable the buttons depedning on where you are in tRecords, for > > example, you'd disable Prev if you're at record #1 so you don't need the > > check in the Prev button for tLineNum>1. > > > > Pete > > lcSQL Software > > > > > > On Thu, Dec 12, 2013 at 10:00 AM, Magicgate Software - Skip Kimpel < > > skip at magicgate.com> wrote: > > > > > What is the best way to navigate through records retrieved through this > > > method: > > > put revDataFromQuery(tab,return,tResult,tSQL) into tRecords > > > > > > I am using arrow buttons for first, last, next and previous. Need to > > > figure out the code for those buttons..... > > > > > > Thanks in advance! > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From livfoss at mac.com Thu Dec 12 17:30:30 2013 From: livfoss at mac.com (Graham Samuel) Date: Thu, 12 Dec 2013 23:30:30 +0100 Subject: Playing a sound Message-ID: After all these years, this is another very naive question, but if I create a player object which points to a sound file say 30 seconds long, and execute start player "myVoiceRecording" the player does start, but it stops again after a second or two. I can't find anything in the usual sources to explain how to let the thing simply run until the end, as one can by clicking on the controller if it was showing (it isn't). I think maybe it's because the script runs on after I start the controller and eventually switches cards, which apparently (not documented AFAIKS) stops the sound. But since wait until the sound is done doesn't seem to apply to player objects, what am I supposed to do? Do I have to work out the duration of the sound and put in a 'wait' of that length - I suppose it would work, but it seems very clunky. Sorry to be dumb. TIA Graham From terry.judd at unimelb.edu.au Thu Dec 12 17:52:41 2013 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Thu, 12 Dec 2013 22:52:41 +0000 Subject: Resizing a group to clip an object symetrically Message-ID: <8B9D90D8-E708-4D09-8482-4AC6619F60BE@unimelb.edu.au> I have a group that contains a single round graphic object. The group is narrower than the graphic so that only a segment of the disc is displayed. I now want to animate a reduction in the height of the group so that the disc is clipped symetrically at the top and the bottom. Setting the height or the rect of the group doesn't seem to work as the group only gets resized from the bottom. What am I missing? Terry... Dr Terry Judd Senior Lecturer in Medical Education Medical Education Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne From pete at lcsql.com Thu Dec 12 17:57:35 2013 From: pete at lcsql.com (Peter Haworth) Date: Thu, 12 Dec 2013 14:57:35 -0800 Subject: Navigating through SQL Data In-Reply-To: References: Message-ID: Hah, yes, forgot about that one! Pete lcSQL Software On Thu, Dec 12, 2013 at 2:09 PM, Mike Kerner wrote: > Also don't forget that if you get all the data at once, e.g. via > revDataFromQuery, if you have a null last item, LC will pretend it isn't > there b/c LC treats trailing commas like they aren't there. > > See "All items are significant, including the last one", and perhaps I have > another convert to addressing this behavior. > > > On Thu, Dec 12, 2013 at 2:22 PM, Magicgate Software - Skip Kimpel < > skip at magicgate.com> wrote: > > > Thanks Pete! I appreciate the input on this.... wasn't quite sure which > > way to go on this. > > > > SKIP > > > > > > On Thu, Dec 12, 2013 at 2:08 PM, Peter Haworth wrote: > > > > > Hi Skip, > > > You might want to think about using revQueryDatabase to create a > database > > > cursor. The processing for your buttons then becomes: > > > > > > First: revMoveToFirstRecord > > > Prev: revMoveToPreviousRecord > > > Next: revMoveToNextRecord > > > Last: revMoveToLastRecord > > > > > > It's a bit more longwinded to display the data from your query because > > you > > > have to use revDatabaseColumnNamed to get each column from the current > > > record in the cursor. Also watch out for the fact that the cursor is > > > zero-indexed not 1. > > > > > > If you stick with revDataFromQuery, you would need to keep the current > > line > > > number of tRecords somewhere (say tLinenum), then: > > > > > > First: put 1 into tLinenum > > > Prev: if tLinenum> 1 then subtract 1 from tLineNum > > > Next: if tLinenum < the number of lines in tRecords then add 1 to > > tLineNum > > > Last: put the number of lines in tRecords into tLinenum > > > > > > Then use "line tLinenum of tRecords" to get your data. You can also > > > disable/enable the buttons depedning on where you are in tRecords, for > > > example, you'd disable Prev if you're at record #1 so you don't need > the > > > check in the Prev button for tLineNum>1. > > > > > > Pete > > > lcSQL Software > > > > > > > > > On Thu, Dec 12, 2013 at 10:00 AM, Magicgate Software - Skip Kimpel < > > > skip at magicgate.com> wrote: > > > > > > > What is the best way to navigate through records retrieved through > this > > > > method: > > > > put revDataFromQuery(tab,return,tResult,tSQL) into tRecords > > > > > > > > I am using arrow buttons for first, last, next and previous. Need to > > > > figure out the code for those buttons..... > > > > > > > > Thanks in advance! > > > > _______________________________________________ > > > > use-livecode mailing list > > > > use-livecode at lists.runrev.com > > > > Please visit this url to subscribe, unsubscribe and manage your > > > > subscription preferences: > > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From john at splash21.com Thu Dec 12 18:13:29 2013 From: john at splash21.com (John Craig) Date: Thu, 12 Dec 2013 23:13:29 +0000 Subject: Resizing a group to clip an object symetrically In-Reply-To: <8B9D90D8-E708-4D09-8482-4AC6619F60BE@unimelb.edu.au> References: <8B9D90D8-E708-4D09-8482-4AC6619F60BE@unimelb.edu.au> Message-ID: <52AA4319.5030503@splash21.com> Some ideas; on mouseUp local tGroupLocation, tGraphicLocation put the loc of group "Clip" into tGroupLocation put the loc of graphic "Oval" into tGraphicLocation set the lockLoc of group "Clip" to true repeat 10 lock screen set the height of group "Clip" to the height of group "Clip" - 5 set the loc of group "Clip" to tGroupLocation set the loc of graphic "Oval" to tGraphicLocation unlock screen wait for 10 millisecs end repeat end mouseUp :) On 12/12/2013 22:52, Terry Judd wrote: > I have a group that contains a single round graphic object. The group is narrower than the graphic so that only a segment of the disc is displayed. I now want to animate a reduction in the height of the group so that the disc is clipped symetrically at the top and the bottom. Setting the height or the rect of the group doesn't seem to work as the group only gets resized from the bottom. What am I missing? > > Terry... > > Dr Terry Judd > Senior Lecturer in Medical Education > Medical Education Unit > Faculty of Medicine, Dentistry & Health Sciences > The University of Melbourne > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From scott at tactilemedia.com Thu Dec 12 18:53:22 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 12 Dec 2013 15:53:22 -0800 Subject: Resizing a group to clip an object symetrically In-Reply-To: <8B9D90D8-E708-4D09-8482-4AC6619F60BE@unimelb.edu.au> References: <8B9D90D8-E708-4D09-8482-4AC6619F60BE@unimelb.edu.au> Message-ID: Hi Terry: This works if the group is locked and requires grabbing the loc of the oval. command cropGraphic pPercent put height of grc "oval" div 2 into H put loc of grc "oval" into theLoc put item 2 of theLoc into Y put rect of grp 1 into theRect put Y - (pPercent/100)*H into item 2 of theRect put Y + (pPercent/100)*H into item 4 of theRect set rect of grp 1 to theRect set loc of grc 1 to theLoc end cropGraphic Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 12/12/13 2:52 PM, "Terry Judd" wrote: >I have a group that contains a single round graphic object. The group is >narrower than the graphic so that only a segment of the disc is >displayed. I now want to animate a reduction in the height of the group >so that the disc is clipped symetrically at the top and the bottom. >Setting the height or the rect of the group doesn't seem to work as the >group only gets resized from the bottom. What am I missing? > >Terry... > >Dr Terry Judd >Senior Lecturer in Medical Education >Medical Education Unit >Faculty of Medicine, Dentistry & Health Sciences >The University of Melbourne > > > > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode > From warren at warrensweb.us Thu Dec 12 18:57:17 2013 From: warren at warrensweb.us (Warren Samples) Date: Thu, 12 Dec 2013 17:57:17 -0600 Subject: Up, Down and Sideways In-Reply-To: <52AA1D08.9020600@fourthworld.com> References: <52AA134E.3080103@gmail.com> <52AA1D08.9020600@fourthworld.com> Message-ID: <52AA4D5D.2090302@warrensweb.us> On 12/12/2013 02:31 PM, Richard Gaskin wrote: > And that's why we need an authoritative source. I've never looked into > it deeply enough to find which component is handling the Alt keys. But > if it's not Gnome, it may be something lower (though almost certainly > not the kernel), or something higher (possible Ubuntu's keybindings > interface, which I had thought were inherited from Gnome, but may be > part of what they get from Debian). These seem to be common shortcuts under Linux. I use them under KDE. I like alt+drag to resize in particular, and note that the only way I can grab and move the LiveCode tools palette is using alt. It may not be on by default in all distros. I can turn it on and off as well as change the modifier key. I have seen references in forum posts which indicated that at least some KDE users who had never used these shortcuts had to turn them on. When I change the modifier key for window resizing and moving to "Meta" (option), Richmond's script runs as expected. LiveCode works as stated, so long as the OS isn't hijacking the signal for its own purposes further up the hierarchy. Conflicts in creating shortcuts are always a possibility and require a little caution, and it's good to make people aware of the high probability that "alt+mouseX" will be unavailable to LiveCode under Linux, but I think it's not quite right to suggest it's broken. Warren From terry.judd at unimelb.edu.au Thu Dec 12 19:09:16 2013 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Fri, 13 Dec 2013 00:09:16 +0000 Subject: Resizing a group to clip an object symetrically In-Reply-To: <52AA4319.5030503@splash21.com> References: <8B9D90D8-E708-4D09-8482-4AC6619F60BE@unimelb.edu.au> <52AA4319.5030503@splash21.com> Message-ID: <9C3C6FE4-89C2-4422-BD11-FAC3CB8C52D6@unimelb.edu.au> Thanks John, that's just what I needed. It should have occurred to me to set the loc of the graphic as well. Terry... On 13/12/2013, at 10:13 AM, John Craig wrote: > Some ideas; > > on mouseUp > local tGroupLocation, tGraphicLocation > put the loc of group "Clip" into tGroupLocation > put the loc of graphic "Oval" into tGraphicLocation > set the lockLoc of group "Clip" to true > repeat 10 > lock screen > set the height of group "Clip" to the height of group "Clip" - 5 > set the loc of group "Clip" to tGroupLocation > set the loc of graphic "Oval" to tGraphicLocation > unlock screen > wait for 10 millisecs > end repeat > end mouseUp > > > :) > > > On 12/12/2013 22:52, Terry Judd wrote: >> I have a group that contains a single round graphic object. The group is narrower than the graphic so that only a segment of the disc is displayed. I now want to animate a reduction in the height of the group so that the disc is clipped symetrically at the top and the bottom. Setting the height or the rect of the group doesn't seem to work as the group only gets resized from the bottom. What am I missing? >> >> Terry... >> >> Dr Terry Judd >> Senior Lecturer in Medical Education >> Medical Education Unit >> Faculty of Medicine, Dentistry & Health Sciences >> The University of Melbourne >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > Dr Terry Judd Senior Lecturer in Medical Education Medical Education Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne From terry.judd at unimelb.edu.au Thu Dec 12 19:14:13 2013 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Fri, 13 Dec 2013 00:14:13 +0000 Subject: Resizing a group to clip an object symetrically In-Reply-To: References: <8B9D90D8-E708-4D09-8482-4AC6619F60BE@unimelb.edu.au> Message-ID: <7A8942D2-7E75-4A4F-90FF-5D2A8658B843@unimelb.edu.au> Thanks Scott - as with John's solution I hadn't twigged that I needed to set the loc of the graphic after resizing the group. Cheers, Terry... On 13/12/2013, at 10:53 AM, Scott Rossi wrote: > Hi Terry: > > This works if the group is locked and requires grabbing the loc of the > oval. > > command cropGraphic pPercent > put height of grc "oval" div 2 into H > put loc of grc "oval" into theLoc > put item 2 of theLoc into Y > put rect of grp 1 into theRect > put Y - (pPercent/100)*H into item 2 of theRect > put Y + (pPercent/100)*H into item 4 of theRect > set rect of grp 1 to theRect > set loc of grc 1 to theLoc > end cropGraphic > > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 12/12/13 2:52 PM, "Terry Judd" wrote: > >> I have a group that contains a single round graphic object. The group is >> narrower than the graphic so that only a segment of the disc is >> displayed. I now want to animate a reduction in the height of the group >> so that the disc is clipped symetrically at the top and the bottom. >> Setting the height or the rect of the group doesn't seem to work as the >> group only gets resized from the bottom. What am I missing? >> >> Terry... >> >> Dr Terry Judd >> Senior Lecturer in Medical Education >> Medical Education Unit >> Faculty of Medicine, Dentistry & Health Sciences >> The University of Melbourne >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > Dr Terry Judd Senior Lecturer in Medical Education Medical Education Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne From jhurley0305 at sbcglobal.net Thu Dec 12 20:02:16 2013 From: jhurley0305 at sbcglobal.net (James Hurley) Date: Thu, 12 Dec 2013 17:02:16 -0800 Subject: Scripting for the zip code In-Reply-To: References: Message-ID: <71D7B1E3-3E7A-4620-A290-9893ED7FD185@sbcglobal.net> Wonderful Scott. And very robust. Not too fussy about leaving out the suffixes, Rd, Ave, Court, etc. And it runs reasonable quickly for a short sequence of requests. Thanks, Jim > Message: 11 > Date: Thu, 12 Dec 2013 10:32:06 -0800 > From: Scott Rossi > To: LiveCode Mail List > Subject: Re: Scripting for the zip code > Message-ID: > Content-Type: text/plain; charset="US-ASCII" > > Hi Jim: > > You can try the following functions if you're looking up a single US > address (watch line wrapping). Pass the street/city/state info to the > first function as separate arguments. > > function getZip pStreet, pCity, pState > put "http://maps.googleapis.com/maps/api/geocode/json?address=" into > baseURL > put "&sensor=false" into URLsuffix > -- > put cleanString(pStreet) into streetData > put streetData & comma into theStreet > replace space with "+" in theStreet > -- > put cleanString(pCity) into cityData > put cityData & comma into theCity > replace space with "+" in theCity > -- > put cleanString(pState) into stateData > put stateData into theState > replace space with "+" in theState > -- > -- GET GEO DATA > put baseURL & theStreet & "+" & theCity & "+" & theState & URLsuffix > into geoURL > put url geoURL into theGeoData > if "ZERO_RESULTS" is in theGeoData then return "No geocode data found." > -- > -- RETRIEVE ZIP CODE > put line lineOffset("formatted_address",theGeoData) of theGeoData into > temp > return word 2 of item -2 of temp > end getZip > > > function cleanString pString > replace "." with empty in pString > replace "," with empty in pString > if char -1 of pString is space then delete char -1 of pString > return pString > end cleanString > > > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > From richmondmathewson at gmail.com Fri Dec 13 00:32:46 2013 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 13 Dec 2013 07:32:46 +0200 Subject: Up, Down and Sideways In-Reply-To: <52AA4D5D.2090302@warrensweb.us> References: <52AA134E.3080103@gmail.com> <52AA1D08.9020600@fourthworld.com> <52AA4D5D.2090302@warrensweb.us> Message-ID: <52AA9BFE.6060602@gmail.com> On 13/12/13 01:57, Warren Samples wrote: > On 12/12/2013 02:31 PM, Richard Gaskin wrote: >> And that's why we need an authoritative source. I've never looked into >> it deeply enough to find which component is handling the Alt keys. But >> if it's not Gnome, it may be something lower (though almost certainly >> not the kernel), or something higher (possible Ubuntu's keybindings >> interface, which I had thought were inherited from Gnome, but may be >> part of what they get from Debian). > > > These seem to be common shortcuts under Linux. I use them under KDE. I > like alt+drag to resize in particular, and note that the only way I > can grab and move the LiveCode tools palette is using alt. It may not > be on by default in all distros. I can turn it on and off as well as > change the modifier key. I have seen references in forum posts which > indicated that at least some KDE users who had never used these > shortcuts had to turn them on. > > When I change the modifier key for window resizing and moving to > "Meta" (option), Richmond's script runs as expected. LiveCode works as > stated, so long as the OS isn't hijacking the signal for its own > purposes further up the hierarchy. > > Conflicts in creating shortcuts are always a possibility and require a > little caution, and it's good to make people aware of the high > probability that "alt+mouseX" will be unavailable to LiveCode under > Linux, but I think it's not quite right to suggest it's broken. > > Warren > That's a good point, but the problem I have is that I am putting a program together for use by Professors of Old Church Slavonic who have computers running Mac, Win and Linux and know nothing at all about how to muck about the mod. keys on their machines. Therefore my standalone should "just work" when it ends up on some Prof's machine, regardless of what system s/he is running. AND, the mod. keys used should be the same ones regardless of OS as well. Richmond. From toolbook at kestner.de Fri Dec 13 04:30:49 2013 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 13 Dec 2013 10:30:49 +0100 Subject: How to bring the script editor window in front? Message-ID: <001501cef7e6$03268d40$0973a7c0$@de> Hello, using LC 6.0 on Win7 I often have the issue, that I can't get the already open script editor window in front again, after it was once hidden (because of showing the desktop or other windows). No TAB-toggling or choosing the window from the task bar can't bring the editor in front /shown again, though it is open. It just stays invisible. Closing the stack completely and reopening it again is the only deal. This is not new to LC 6 or Win7, but it's just cumbrous. I know, here are very few people developing on Windows, but perhaps anybody has experienced the same and has found a trick to show the editor again in this situation without first closing all. Tiemo From mblivecode at harbourhosting.co.uk Fri Dec 13 05:18:42 2013 From: mblivecode at harbourhosting.co.uk (Martin Baxter) Date: Fri, 13 Dec 2013 10:18:42 +0000 Subject: Up, Down and Sideways In-Reply-To: <52AA9BFE.6060602@gmail.com> References: <52AA134E.3080103@gmail.com> <52AA1D08.9020600@fourthworld.com> <52AA4D5D.2090302@warrensweb.us> <52AA9BFE.6060602@gmail.com> Message-ID: <52AADF02.7020705@harbourhosting.co.uk> On 13/12/13 05:32, Richmond wrote: > On 13/12/13 01:57, Warren Samples wrote: >> On 12/12/2013 02:31 PM, Richard Gaskin wrote: >>> And that's why we need an authoritative source. I've never looked into >>> it deeply enough to find which component is handling the Alt keys. But >>> if it's not Gnome, it may be something lower (though almost certainly >>> not the kernel), or something higher (possible Ubuntu's keybindings >>> interface, which I had thought were inherited from Gnome, but may be >>> part of what they get from Debian). >> >> >> These seem to be common shortcuts under Linux. I use them under KDE. I >> like alt+drag to resize in particular, and note that the only way I >> can grab and move the LiveCode tools palette is using alt. It may not >> be on by default in all distros. I can turn it on and off as well as >> change the modifier key. I have seen references in forum posts which >> indicated that at least some KDE users who had never used these >> shortcuts had to turn them on. >> >> When I change the modifier key for window resizing and moving to >> "Meta" (option), Richmond's script runs as expected. LiveCode works as >> stated, so long as the OS isn't hijacking the signal for its own >> purposes further up the hierarchy. >> >> Conflicts in creating shortcuts are always a possibility and require a >> little caution, and it's good to make people aware of the high >> probability that "alt+mouseX" will be unavailable to LiveCode under >> Linux, but I think it's not quite right to suggest it's broken. >> >> Warren >> > > That's a good point, but the problem I have is that I am putting a > program together for use by Professors of Old Church Slavonic who have > computers running Mac, Win and Linux and know nothing at all about how > to muck about the mod. keys on their machines. > > Therefore my standalone should "just work" when it ends up on some > Prof's machine, regardless of > what system s/he is running. AND, the mod. keys used should be the same > ones regardless of OS as well. > > Richmond. > On my (elderly) Ubuntu, variant/high bit characters are typed using combinations of: Alt Gr shift Rather than alt + shift. And that is the stock configuration. You might perhaps be able to use the keysdown to detect these, but the returned keycodes may vary across systems I guess. Easier for left-handers anyway. Might be nice for linux users if livecode could detect the state of Alt Gr key. On my Ubuntu, the keysdown gives me: R Shift 65506 L Shift 65505 Alt [nothing] Alt Gr 65027 L Shift + Alt 65505,65511 R Shift + Alt Gr 65506,65312 I don't know if this helps you at all, but it seemed worth mentioning. I would expect that alt + shift should work for windows and mac though, so this issue is presumably Linux specific. Martin From richmondmathewson at gmail.com Fri Dec 13 05:42:24 2013 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 13 Dec 2013 12:42:24 +0200 Subject: Up, Down and Sideways In-Reply-To: <52AADF02.7020705@harbourhosting.co.uk> References: <52AA134E.3080103@gmail.com> <52AA1D08.9020600@fourthworld.com> <52AA4D5D.2090302@warrensweb.us> <52AA9BFE.6060602@gmail.com> <52AADF02.7020705@harbourhosting.co.uk> Message-ID: <52AAE490.4000901@gmail.com> On 13/12/13 12:18, Martin Baxter wrote: > On 13/12/13 05:32, Richmond wrote: >> On 13/12/13 01:57, Warren Samples wrote: >>> On 12/12/2013 02:31 PM, Richard Gaskin wrote: >>>> And that's why we need an authoritative source. I've never looked into >>>> it deeply enough to find which component is handling the Alt keys. But >>>> if it's not Gnome, it may be something lower (though almost certainly >>>> not the kernel), or something higher (possible Ubuntu's keybindings >>>> interface, which I had thought were inherited from Gnome, but may be >>>> part of what they get from Debian). >>> >>> These seem to be common shortcuts under Linux. I use them under KDE. I >>> like alt+drag to resize in particular, and note that the only way I >>> can grab and move the LiveCode tools palette is using alt. It may not >>> be on by default in all distros. I can turn it on and off as well as >>> change the modifier key. I have seen references in forum posts which >>> indicated that at least some KDE users who had never used these >>> shortcuts had to turn them on. >>> >>> When I change the modifier key for window resizing and moving to >>> "Meta" (option), Richmond's script runs as expected. LiveCode works as >>> stated, so long as the OS isn't hijacking the signal for its own >>> purposes further up the hierarchy. >>> >>> Conflicts in creating shortcuts are always a possibility and require a >>> little caution, and it's good to make people aware of the high >>> probability that "alt+mouseX" will be unavailable to LiveCode under >>> Linux, but I think it's not quite right to suggest it's broken. >>> >>> Warren >>> >> That's a good point, but the problem I have is that I am putting a >> program together for use by Professors of Old Church Slavonic who have >> computers running Mac, Win and Linux and know nothing at all about how >> to muck about the mod. keys on their machines. >> >> Therefore my standalone should "just work" when it ends up on some >> Prof's machine, regardless of >> what system s/he is running. AND, the mod. keys used should be the same >> ones regardless of OS as well. >> >> Richmond. >> > On my (elderly) Ubuntu, variant/high bit characters are typed using > combinations of: > > Alt Gr > shift > > Rather than alt + shift. And that is the stock configuration. You might > perhaps be able to use the keysdown to detect these, but the returned > keycodes may vary across systems I guess. > > Easier for left-handers anyway. > > Might be nice for linux users if livecode could detect the state of Alt > Gr key. > > On my Ubuntu, the keysdown gives me: > > R Shift 65506 > L Shift 65505 > Alt [nothing] > Alt Gr 65027 > L Shift + Alt 65505,65511 > R Shift + Alt Gr 65506,65312 > > I don't know if this helps you at all, but it seemed worth mentioning. > > I would expect that alt + shift should work for windows and mac though, > so this issue is presumably Linux specific. > > Martin > > That seems a helpful idea. However, I'm not sure what you mean by 'Alt Gr'. Richmond. From mblivecode at harbourhosting.co.uk Fri Dec 13 05:50:51 2013 From: mblivecode at harbourhosting.co.uk (Martin Baxter) Date: Fri, 13 Dec 2013 10:50:51 +0000 Subject: Up, Down and Sideways In-Reply-To: <52AAE490.4000901@gmail.com> References: <52AA134E.3080103@gmail.com> <52AA1D08.9020600@fourthworld.com> <52AA4D5D.2090302@warrensweb.us> <52AA9BFE.6060602@gmail.com> <52AADF02.7020705@harbourhosting.co.uk> <52AAE490.4000901@gmail.com> Message-ID: <52AAE68B.90502@harbourhosting.co.uk> On 13/12/13 10:42, Richmond wrote: > On 13/12/13 12:18, Martin Baxter wrote: >> On 13/12/13 05:32, Richmond wrote: >>> On 13/12/13 01:57, Warren Samples wrote: >>>> On 12/12/2013 02:31 PM, Richard Gaskin wrote: >>>>> And that's why we need an authoritative source. I've never looked >>>>> into >>>>> it deeply enough to find which component is handling the Alt keys. >>>>> But >>>>> if it's not Gnome, it may be something lower (though almost certainly >>>>> not the kernel), or something higher (possible Ubuntu's keybindings >>>>> interface, which I had thought were inherited from Gnome, but may be >>>>> part of what they get from Debian). >>>> >>>> These seem to be common shortcuts under Linux. I use them under KDE. I >>>> like alt+drag to resize in particular, and note that the only way I >>>> can grab and move the LiveCode tools palette is using alt. It may not >>>> be on by default in all distros. I can turn it on and off as well as >>>> change the modifier key. I have seen references in forum posts which >>>> indicated that at least some KDE users who had never used these >>>> shortcuts had to turn them on. >>>> >>>> When I change the modifier key for window resizing and moving to >>>> "Meta" (option), Richmond's script runs as expected. LiveCode works as >>>> stated, so long as the OS isn't hijacking the signal for its own >>>> purposes further up the hierarchy. >>>> >>>> Conflicts in creating shortcuts are always a possibility and require a >>>> little caution, and it's good to make people aware of the high >>>> probability that "alt+mouseX" will be unavailable to LiveCode under >>>> Linux, but I think it's not quite right to suggest it's broken. >>>> >>>> Warren >>>> >>> That's a good point, but the problem I have is that I am putting a >>> program together for use by Professors of Old Church Slavonic who have >>> computers running Mac, Win and Linux and know nothing at all about how >>> to muck about the mod. keys on their machines. >>> >>> Therefore my standalone should "just work" when it ends up on some >>> Prof's machine, regardless of >>> what system s/he is running. AND, the mod. keys used should be the same >>> ones regardless of OS as well. >>> >>> Richmond. >>> >> On my (elderly) Ubuntu, variant/high bit characters are typed using >> combinations of: >> >> Alt Gr >> shift >> >> Rather than alt + shift. And that is the stock configuration. You might >> perhaps be able to use the keysdown to detect these, but the returned >> keycodes may vary across systems I guess. >> >> Easier for left-handers anyway. >> >> Might be nice for linux users if livecode could detect the state of Alt >> Gr key. >> >> On my Ubuntu, the keysdown gives me: >> >> R Shift 65506 >> L Shift 65505 >> Alt [nothing] >> Alt Gr 65027 >> L Shift + Alt 65505,65511 >> R Shift + Alt Gr 65506,65312 >> >> I don't know if this helps you at all, but it seemed worth mentioning. >> >> I would expect that alt + shift should work for windows and mac though, >> so this issue is presumably Linux specific. >> >> Martin >> >> > > That seems a helpful idea. > > However, I'm not sure what you mean by 'Alt Gr'. > > Richmond. > The "other Alt key". It's found to the right of the space bar usually I believe. That's where it is on my MS keyboards anyway. Possibly some keyboards don't support it. I suspect it may be what livecode calls the extend key? Anyway. Martin From richmondmathewson at gmail.com Fri Dec 13 06:02:29 2013 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 13 Dec 2013 13:02:29 +0200 Subject: Up, Down and Sideways In-Reply-To: <52AAE490.4000901@gmail.com> References: <52AA134E.3080103@gmail.com> <52AA1D08.9020600@fourthworld.com> <52AA4D5D.2090302@warrensweb.us> <52AA9BFE.6060602@gmail.com> <52AADF02.7020705@harbourhosting.co.uk> <52AAE490.4000901@gmail.com> Message-ID: <52AAE945.40808@gmail.com> Well, Linux seems to have no problem with ctrlKey, so I am wondering about going for SHIFT and CTRL as my modifier keys . . . . . . However, I am well aware that on both Linux and Windows CTRL + some other key (e.g. CTRL + V) does something; what I am not sure is that if I am running these things inside a keyUp statement, such as this one: on rawkeyUp RUP switch case RUP= whatever the flipping rawkey number is for 'C' if ctrlKey() is down then do something jazzy else do something else jazzy end if break end switch end rawkeyUp the SWITCH condition will over-ride what the OS would normally do with CTRL + C (copy something). Richmond. From richmondmathewson at gmail.com Fri Dec 13 06:08:21 2013 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 13 Dec 2013 13:08:21 +0200 Subject: Up, Down and Sideways In-Reply-To: <52AAE68B.90502@harbourhosting.co.uk> References: <52AA134E.3080103@gmail.com> <52AA1D08.9020600@fourthworld.com> <52AA4D5D.2090302@warrensweb.us> <52AA9BFE.6060602@gmail.com> <52AADF02.7020705@harbourhosting.co.uk> <52AAE490.4000901@gmail.com> <52AAE68B.90502@harbourhosting.co.uk> Message-ID: <52AAEAA5.1000706@gmail.com> On 13/12/13 12:50, Martin Baxter wrote: > On 13/12/13 10:42, Richmond wrote: >> On 13/12/13 12:18, Martin Baxter wrote: >>> On 13/12/13 05:32, Richmond wrote: >>>> On 13/12/13 01:57, Warren Samples wrote: >>>>> On 12/12/2013 02:31 PM, Richard Gaskin wrote: >>>>>> And that's why we need an authoritative source. I've never looked >>>>>> into >>>>>> it deeply enough to find which component is handling the Alt keys. >>>>>> But >>>>>> if it's not Gnome, it may be something lower (though almost certainly >>>>>> not the kernel), or something higher (possible Ubuntu's keybindings >>>>>> interface, which I had thought were inherited from Gnome, but may be >>>>>> part of what they get from Debian). >>>>> These seem to be common shortcuts under Linux. I use them under KDE. I >>>>> like alt+drag to resize in particular, and note that the only way I >>>>> can grab and move the LiveCode tools palette is using alt. It may not >>>>> be on by default in all distros. I can turn it on and off as well as >>>>> change the modifier key. I have seen references in forum posts which >>>>> indicated that at least some KDE users who had never used these >>>>> shortcuts had to turn them on. >>>>> >>>>> When I change the modifier key for window resizing and moving to >>>>> "Meta" (option), Richmond's script runs as expected. LiveCode works as >>>>> stated, so long as the OS isn't hijacking the signal for its own >>>>> purposes further up the hierarchy. >>>>> >>>>> Conflicts in creating shortcuts are always a possibility and require a >>>>> little caution, and it's good to make people aware of the high >>>>> probability that "alt+mouseX" will be unavailable to LiveCode under >>>>> Linux, but I think it's not quite right to suggest it's broken. >>>>> >>>>> Warren >>>>> >>>> That's a good point, but the problem I have is that I am putting a >>>> program together for use by Professors of Old Church Slavonic who have >>>> computers running Mac, Win and Linux and know nothing at all about how >>>> to muck about the mod. keys on their machines. >>>> >>>> Therefore my standalone should "just work" when it ends up on some >>>> Prof's machine, regardless of >>>> what system s/he is running. AND, the mod. keys used should be the same >>>> ones regardless of OS as well. >>>> >>>> Richmond. >>>> >>> On my (elderly) Ubuntu, variant/high bit characters are typed using >>> combinations of: >>> >>> Alt Gr >>> shift >>> >>> Rather than alt + shift. And that is the stock configuration. You might >>> perhaps be able to use the keysdown to detect these, but the returned >>> keycodes may vary across systems I guess. >>> >>> Easier for left-handers anyway. >>> >>> Might be nice for linux users if livecode could detect the state of Alt >>> Gr key. >>> >>> On my Ubuntu, the keysdown gives me: >>> >>> R Shift 65506 >>> L Shift 65505 >>> Alt [nothing] >>> Alt Gr 65027 >>> L Shift + Alt 65505,65511 >>> R Shift + Alt Gr 65506,65312 >>> >>> I don't know if this helps you at all, but it seemed worth mentioning. >>> >>> I would expect that alt + shift should work for windows and mac though, >>> so this issue is presumably Linux specific. >>> >>> Martin >>> >>> >> That seems a helpful idea. >> >> However, I'm not sure what you mean by 'Alt Gr'. >> >> Richmond. >> > The "other Alt key". It's found to the right of the space bar usually I > believe. That's where it is on my MS keyboards anyway. Possibly some > keyboards don't support it. Aha, got it. Well, on the old Mac keyboard I have connected to a Linux box here at my school (lunch break), there's 2 ALT buttons, and on all the other ones I have except for the KEYNEEDS learner keyboards I have here for the 7-12 year old crowd. Mind you, typing with a mod key on the right, rather than the left, is a bit awkward, specially for right-handed folk. Most programs use mod keys on the left-hand side of the keyboard, and using the Alt Gr key may be a bit counter-intuitive. I thought about using the Caps-lock key, but then realised that with its locking mechanism that wouldn't really do. Richmond. > > I suspect it may be what livecode calls the extend key? > > Anyway. > > Martin > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Fri Dec 13 06:20:29 2013 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 13 Dec 2013 13:20:29 +0200 Subject: Up, Down and Sideways In-Reply-To: <52AAE68B.90502@harbourhosting.co.uk> References: <52AA134E.3080103@gmail.com> <52AA1D08.9020600@fourthworld.com> <52AA4D5D.2090302@warrensweb.us> <52AA9BFE.6060602@gmail.com> <52AADF02.7020705@harbourhosting.co.uk> <52AAE490.4000901@gmail.com> <52AAE68B.90502@harbourhosting.co.uk> Message-ID: <52AAED7D.7010005@gmail.com> On 13/12/13 12:50, Martin Baxter wrote: > On my Ubuntu, the keysdown gives me: > R Shift 65506 > L Shift 65505 > Alt [nothing] > Alt Gr 65027 > L Shift + Alt 65505,65511 > R Shift + Alt Gr 65506,65312 > I don't know if this helps you at all, but it seemed worth mentioning. > I would expect that alt + shift should work for windows and mac > though, so this issue is presumably Linux specific. Martin And just to show you what a minefield this is, here are my keyDowns on Ubuntu 12.04 GNOME 'Classic' with an Apple keyboard: Left SHIFT 65505 Right SHIFT 65506 Left CTRL 65507 Right CTRL 65508 Left ALT 65513 Right ALT 65027 Left CMD 65515 Apple Key Right CMD 65516 different to yours. Bl**dy unhelpful I'm afraid. Richmond. From mblivecode at harbourhosting.co.uk Fri Dec 13 06:54:08 2013 From: mblivecode at harbourhosting.co.uk (Martin Baxter) Date: Fri, 13 Dec 2013 11:54:08 +0000 Subject: Up, Down and Sideways In-Reply-To: <52AAED7D.7010005@gmail.com> References: <52AA134E.3080103@gmail.com> <52AA1D08.9020600@fourthworld.com> <52AA4D5D.2090302@warrensweb.us> <52AA9BFE.6060602@gmail.com> <52AADF02.7020705@harbourhosting.co.uk> <52AAE490.4000901@gmail.com> <52AAE68B.90502@harbourhosting.co.uk> <52AAED7D.7010005@gmail.com> Message-ID: <52AAF560.8020700@harbourhosting.co.uk> On 13/12/13 11:20, Richmond wrote: > On 13/12/13 12:50, Martin Baxter wrote: >> On my Ubuntu, the keysdown gives me: R Shift 65506 L Shift 65505 Alt >> [nothing] Alt Gr 65027 L Shift + Alt 65505,65511 R Shift + Alt Gr >> 65506,65312 I don't know if this helps you at all, but it seemed worth >> mentioning. I would expect that alt + shift should work for windows >> and mac though, so this issue is presumably Linux specific. Martin > > And just to show you what a minefield this is, here are my keyDowns on > Ubuntu 12.04 GNOME 'Classic' with an Apple keyboard: > > Left SHIFT 65505 > Right SHIFT 65506 > Left CTRL 65507 > Right CTRL 65508 > Left ALT 65513 > Right ALT 65027 > Left CMD 65515 Apple Key > Right CMD 65516 > > different to yours. > > Bl**dy unhelpful I'm afraid. > > Richmond. Not *very* different ;) Left SHIFT 65505 Right SHIFT 65506 Left CTRL 65507 Right CTRL 65508 Left ALT [nothing] (presumably because Gnome eats it first) Right ALT 65027 Left CMD 65515 (windows key) Right CMD 65312 (right windows key) It differs in that I get no code for left Alt, and the right command key gives a different code - BUT, note that I have reassigned the right windows (CMD) key as the "compose" key for my system. (used for typing characters with diacriticals and various other stuff). I agree AltGr is awkward for a right-hander, however I think it must be fairly standard use for this sort of purpose, so for you to use it so would not be eccentric. Note that in my testing AltGR alone produces 65027, but ALtGr + R Shift yields 65506,65312. 65312 being the same code as my compose key the right windows key or right CMD key You may like to see: https://en.wikipedia.org/wiki/AltGr_key Martin From alanstenhouse at hotmail.com Fri Dec 13 06:59:09 2013 From: alanstenhouse at hotmail.com (Alan Stenhouse) Date: Fri, 13 Dec 2013 12:59:09 +0100 Subject: mobile - list of images from library? Message-ID: Has anyone came up with a way of obtaining a list of images that are in an image library on mobile? Is it possible, or must the user copy them 1 by 1 to their own documents folder for processing? That's what I have now but it seems a PITA to have to do it like this... Thanks for any pointers! cheers Alan From richmondmathewson at gmail.com Fri Dec 13 10:26:49 2013 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 13 Dec 2013 17:26:49 +0200 Subject: PC Symbol Font? In-Reply-To: <258925E4-40C2-4DEC-A974-EAAA29B799F1@mac.com> References: <1C6B01D5-A8CF-4BA5-96DB-A4487A909F20@mac.com> <52A88718.6040506@gmail.com> <258925E4-40C2-4DEC-A974-EAAA29B799F1@mac.com> Message-ID: <52AB2739.4010605@gmail.com> On 11/12/13 21:36, Graham Samuel wrote: > Well, once I've mastered actually displaying Unicode characters in a LC field... Not as difficult as it seems. Even for those of us "stuck" pre what is meant to be coming in LC 7.0.0 :P All one needs is a print out of the Unicode table(s) for one's writing system of choice and a calculator that will convert Hex into Decimal [unless you are some sort of mental whizz who can do that yourself]. Then you can do something rather like this: put "I'm a little teapot short and stout" into fld "HOOHA" select after fld "HOOHA" set the use UnicodeText to true set the unicodeText of the selected to numToChar(XXXX) where 'XXXX' is the Unicode address of the symbol you wish to use converted into decimal. Richmond. From ABMCLAWH at mailbox.sc.edu Fri Dec 13 10:55:48 2013 From: ABMCLAWH at mailbox.sc.edu (MCLAWHORN, TONY) Date: Fri, 13 Dec 2013 15:55:48 +0000 Subject: Livecode socket communication through a FIREWALL? Message-ID: <52F4CD4098B27344A9CC4FA0329B88B233A9FE33@CAE145EMBP03.ds.sc.edu> Within a large university, I'm running a Livecode stack that is acting as the server using socket communication. A firewall is obviously in place. I have another Livecode stack at home that is acting as a client socket trying to connect to the server stack within the university at my office. It's not working as I kind of expected it wouldn't due to the firewall. So, is there any possible way to use Livecode socket communication through a firewall? Using the Livecode socket commands... write to socket and read from socket. Using it on Mac/PC desktops right now and everything works fine within the university. Thanks for any input. --- |> |? Tony McLawhorn |? Computer Support Manager |? Department of History |? University of South Carolina |? Columbia, SC 29208 |? TonyMac at sc.edu |? (803) 777-9125 From MikeKerner at roadrunner.com Fri Dec 13 10:58:21 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Fri, 13 Dec 2013 10:58:21 -0500 Subject: Livecode socket communication through a FIREWALL? In-Reply-To: <52F4CD4098B27344A9CC4FA0329B88B233A9FE33@CAE145EMBP03.ds.sc.edu> References: <52F4CD4098B27344A9CC4FA0329B88B233A9FE33@CAE145EMBP03.ds.sc.edu> Message-ID: You need to start by discussing this with the network admin because it will depend on how the policies are set up and administered. Firewalls will let some traffic through, but a) there might be some bad-user policy set up that will get you in trouble for exploiting it b) The network admins probably will have recommendations for what ports, services, etc. they are ok with. On Fri, Dec 13, 2013 at 10:55 AM, MCLAWHORN, TONY wrote: > Within a large university, I'm running a Livecode stack that is acting as > the server using socket communication. A firewall is obviously in place. > I have another Livecode stack at home that is acting as a client socket > trying to connect to the server stack within the university at my office. > It's not working as I kind of expected it wouldn't due to the firewall. > > So, is there any possible way to use Livecode socket communication through > a firewall? > > Using the Livecode socket commands... write to socket and read from > socket. Using it on Mac/PC desktops right now and everything works fine > within the university. > Thanks for any input. > > --- > |> > | Tony McLawhorn > | Computer Support Manager > | Department of History > | University of South Carolina > | Columbia, SC 29208 > | TonyMac at sc.edu > | (803) 777-9125 > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From mblivecode at harbourhosting.co.uk Fri Dec 13 11:22:45 2013 From: mblivecode at harbourhosting.co.uk (Martin Baxter) Date: Fri, 13 Dec 2013 16:22:45 +0000 Subject: Table Object? Message-ID: <52AB3455.4000104@harbourhosting.co.uk> I've been re-familiarising myself with Livecode after a longish hiatus and looking at the standalone settings realised that I had no idea what the "Table" script library is for. Maybe I once knew but... In the User Guide it states that it is for "Use of the table object" But that is the only mention of "Table Object" that I can find. AFAIK there's no such thing. I'm just curious, but can anybody enlighten me what that script library is for? Martin From devin_asay at byu.edu Fri Dec 13 11:35:23 2013 From: devin_asay at byu.edu (Devin Asay) Date: Fri, 13 Dec 2013 16:35:23 +0000 Subject: Table Object? In-Reply-To: <52AB3455.4000104@harbourhosting.co.uk> References: <52AB3455.4000104@harbourhosting.co.uk> Message-ID: <854864AF-5133-4F6C-8D9E-C7D97384FF5C@byu.edu> On Dec 13, 2013, at 9:22 AM, Martin Baxter wrote: > I've been re-familiarising myself with Livecode after a longish hiatus > and looking at the standalone settings realised that I had no idea what > the "Table" script library is for. Maybe I once knew but... > > In the User Guide it states that it is for "Use of the table object" > > But that is the only mention of "Table Object" that I can find. AFAIK > there's no such thing. > > I'm just curious, but can anybody enlighten me what that script library > is for? Would that be for the "basic table"-style field object? Devin Devin Asay Learn to code with LiveCode University http://university.livecode.com From vclement at gmail.com Fri Dec 13 11:52:09 2013 From: vclement at gmail.com (Vaughn Clement) Date: Fri, 13 Dec 2013 09:52:09 -0700 Subject: Table Object? In-Reply-To: <854864AF-5133-4F6C-8D9E-C7D97384FF5C@byu.edu> References: <52AB3455.4000104@harbourhosting.co.uk> <854864AF-5133-4F6C-8D9E-C7D97384FF5C@byu.edu> Message-ID: Hi Devin I sent in a bug report on the Basic Table field a few days ago. It is not allowing data entry in the IOS simulator. LC Support has confirmed this and are fixing it. Thank you Vaughn Clement Apps by Vaughn Clement (Support) *http://www.appsbyvaughnclement.com/tools/home-page/ * Skype: vaughn.clement https://secure.join.me/appsbyvclement FaceTime: vclement at gmail.com LogMeIn also avaialble Call on "ooVoo" at address: vaughnclement or 9282549062 Ph. 928-254-9062 Cloud Hosting Registration Web Site: https://my.oditech.com/cart.php?a=add&pid=41 On Fri, Dec 13, 2013 at 9:35 AM, Devin Asay wrote: > > On Dec 13, 2013, at 9:22 AM, Martin Baxter wrote: > > > I've been re-familiarising myself with Livecode after a longish hiatus > > and looking at the standalone settings realised that I had no idea what > > the "Table" script library is for. Maybe I once knew but... > > > > In the User Guide it states that it is for "Use of the table object" > > > > But that is the only mention of "Table Object" that I can find. AFAIK > > there's no such thing. > > > > I'm just curious, but can anybody enlighten me what that script library > > is for? > > > Would that be for the "basic table"-style field object? > > Devin > > Devin Asay > Learn to code with LiveCode University > http://university.livecode.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From livfoss at mac.com Fri Dec 13 11:53:11 2013 From: livfoss at mac.com (Graham Samuel) Date: Fri, 13 Dec 2013 17:53:11 +0100 Subject: PC Symbol Font? In-Reply-To: <52AB2739.4010605@gmail.com> References: <1C6B01D5-A8CF-4BA5-96DB-A4487A909F20@mac.com> <52A88718.6040506@gmail.com> <258925E4-40C2-4DEC-A974-EAAA29B799F1@mac.com> <52AB2739.4010605@gmail.com> Message-ID: <617EE005-9AFB-4A62-91AB-BC82AD655C82@mac.com> Thanks Richmond. I based my script on what you said (with a few tweaks) and got pi in the right place (as an example). The Unicode decimal code for this is 960 or 03C0 in Hex. So now I have two ways of doing it. Graham On 13 Dec 2013, at 16:26, Richmond wrote: > On 11/12/13 21:36, Graham Samuel wrote: >> Well, once I've mastered actually displaying Unicode characters in a LC field... > > Not as difficult as it seems. > > Even for those of us "stuck" pre what is meant to be coming in LC 7.0.0 :P > > All one needs is a print out of the Unicode table(s) for one's writing system of choice and a calculator that will convert Hex into Decimal > [unless you are some sort of mental whizz who can do that yourself]. > > Then you can do something rather like this: > > put "I'm a little teapot short and stout" into fld "HOOHA" > select after fld "HOOHA" > set the use UnicodeText to true > set the unicodeText of the selected to numToChar(XXXX) > > > where 'XXXX' is the Unicode address of the symbol you wish to use converted into decimal. > > Richmond. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pmbrig at gmail.com Fri Dec 13 12:11:53 2013 From: pmbrig at gmail.com (Peter M. Brigham) Date: Fri, 13 Dec 2013 12:11:53 -0500 Subject: How do I find the rgb values for colors defined by their name:e.g. blue, green, yellow etc. - Found word(s) list error in the Text body In-Reply-To: <2ECB53C5-486A-44E3-9915-279C526EA477@iotecdigital.com> References: <56964388-915C-4272-AB60-681A058F5AB2@sbcglobal.net> <2ECB53C5-486A-44E3-9915-279C526EA477@iotecdigital.com> Message-ID: Sounds as if gmail is seeing formatted text on the clipboard and trying to indicate a color when translating to plain text. Perhaps trying to copy plain text from LC would to the trick. I have a frontscript handler that allows me to set the clipboardata["text"] to the text of the selection with control-command-C instead of a straight copy (which copies the format along with the text). It's useful in a number of contexts, and it might work here. on commandKeyDown pKey switch pKey case "c" if the controlkey is down then -- (could use another modifier key for Windows) -- control-cmd-C copies plain text if the tool is not "browse tool" then pass commandKeyDown if the clipboard is not "text" then pass commandKeyDown if the selectedField is empty then pass commandKeyDown if the selectedtext is empty then pass commandKeyDown if the long name of the target contains "revNewScriptEditor" then pass commandKeyDown set the clipboardData["TEXT"] to the selectedtext else pass commandKeyDown end if break default pass commandKeyDown end switch end commandKeyDown -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Dec 12, 2013, at 12:01 AM, Bob Sneidar wrote: > OH! I thought that people were putting them in there to prevent some Livecode server along the way from interpreting them as real code!! LOL! > > Bob Sneidar > IT Technician > Integrated Office Technology > bobsneidar at iotecdigital.com > 714-401-2407 > > > > On Dec 10, 2013, at 20:27 , Peter Haworth > wrote: > > The asterisks seem to happen when I copy and paste from LC to my mail > system (gmail). They don't show up in the message when I send it but > somehow insinuate themselves somewhere out there in the great unknown > cloud. Maybe the NSA put them there, who knows. > > Pete > lcSQL Software > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mblivecode at harbourhosting.co.uk Fri Dec 13 12:32:01 2013 From: mblivecode at harbourhosting.co.uk (Martin Baxter) Date: Fri, 13 Dec 2013 17:32:01 +0000 Subject: Table Object? In-Reply-To: <854864AF-5133-4F6C-8D9E-C7D97384FF5C@byu.edu> References: <52AB3455.4000104@harbourhosting.co.uk> <854864AF-5133-4F6C-8D9E-C7D97384FF5C@byu.edu> Message-ID: <52AB4491.8010904@harbourhosting.co.uk> On 13/12/13 16:35, Devin Asay wrote: > > On Dec 13, 2013, at 9:22 AM, Martin Baxter wrote: > >> I've been re-familiarising myself with Livecode after a longish hiatus >> and looking at the standalone settings realised that I had no idea what >> the "Table" script library is for. Maybe I once knew but... >> >> In the User Guide it states that it is for "Use of the table object" >> >> But that is the only mention of "Table Object" that I can find. AFAIK >> there's no such thing. >> >> I'm just curious, but can anybody enlighten me what that script library >> is for? > > > Would that be for the "basic table"-style field object? > > Devin > Maybe. I thought it might have something to do with table fields, but I can't find any info saying what exactly. I wonder if it might enable the feature whereby the user can click on a "cell" in a table field and apparently edit it in place? That's all I can think of. I don't think I ever used that seriously, which might explain my ignorance. Table isn't mentioned under "library" in the dictionary. Martin From richmondmathewson at gmail.com Fri Dec 13 12:46:07 2013 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 13 Dec 2013 19:46:07 +0200 Subject: Table Object? In-Reply-To: <52AB4491.8010904@harbourhosting.co.uk> References: <52AB3455.4000104@harbourhosting.co.uk> <854864AF-5133-4F6C-8D9E-C7D97384FF5C@byu.edu> <52AB4491.8010904@harbourhosting.co.uk> Message-ID: <52AB47DF.1030806@gmail.com> On 13/12/13 19:32, Martin Baxter wrote: > On 13/12/13 16:35, Devin Asay wrote: >> On Dec 13, 2013, at 9:22 AM, Martin Baxter wrote: >> >>> I've been re-familiarising myself with Livecode after a longish hiatus >>> and looking at the standalone settings realised that I had no idea what >>> the "Table" script library is for. Maybe I once knew but... >>> >>> In the User Guide it states that it is for "Use of the table object" >>> >>> But that is the only mention of "Table Object" that I can find. AFAIK >>> there's no such thing. >>> >>> I'm just curious, but can anybody enlighten me what that script library >>> is for? >> >> Would that be for the "basic table"-style field object? >> >> Devin >> > Maybe. > > I thought it might have something to do with table fields, but I can't > find any info saying what exactly. I wonder if it might enable the > feature whereby the user can click on a "cell" in a table field and > apparently edit it in place? That's all I can think of. > > I don't think I ever used that seriously, which might explain my ignorance. > > Table isn't mentioned under "library" in the dictionary. > > Martin > > > The 'Table object' belongs to a class of objects sometimes called 'furniture'; this includes the following objects: 'Chair', 'Sideboard', 'Cupboard', 'Wardrobe' and 'Bed'. They can be treated rather like fields, except that they are containers for other objects rather than text or numbers; so one can use this sort of script: on mouseUp put chair "theBrokenOne" in cupboard "theOneUnderTheStairs" set the locked of cupboard "theOneUnderTheStairs" to true if motherInLawDoesntObject is true then do nothing else set the locked of cupboard "theOneUnderTheStairs" to false end if end mouseUp [ 'motherInLawDoesntObject' is a user defined script ] Really, all you programmers; where have you been? Richmond. From skip at magicgate.com Fri Dec 13 12:56:24 2013 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Fri, 13 Dec 2013 12:56:24 -0500 Subject: Raspberry Pi Message-ID: I am VERY excited to see the article in the new LC newsletter about Pi and LiveCode. I have been advocating for this for quite some time. I think we will see some amazing results come out of this advancement. Anybody else out there working with R-Pi and LC? SKIP From pmbrig at gmail.com Fri Dec 13 13:02:23 2013 From: pmbrig at gmail.com (Peter M. Brigham) Date: Fri, 13 Dec 2013 13:02:23 -0500 Subject: Scripting for the zip code In-Reply-To: References: Message-ID: On Dec 12, 2013, at 10:53 AM, James Hurley wrote: > Is there a way to *script* for the zip code given > > Street address > City > State > > It used to be possible using the USPS web site, it was even possible to get the nine digit zip, but no longer. > > But for now, all I need is the 5 digit zip. I struggled with this for a long while, unable to find a website that didn't use javascript to return the zip code. Here's what I settled on -- it requires an internet connection. In brief, I load a properly formatted query to google maps and then parse the html to extract the zip code. With a reasonable connection it takes less than half a second. Works most of the time, but I've found that very occasionally google maps returns the wrong zip code, unless my patients are mistaken about their own zip! If you are doing wholesale queries (hundreds) within a short period of time then google maps may shut you down, I don't know if they track such things to keep bots away. This seems to do fine for isolated queries. --------------- function getZip tAddr -- expects a standard line-delimited address, eg, -- 123 Main St. -- Boston, MA if word -1 of tAddr is a number then return word -1 of tAddr -- already have zip code put formatAddressForGoogle(tAddr) into tURL try put URL tURL into thePage catch tError setupicons answer "Problem fetching the Google Maps webpage!" as sheet exit getZip end try put offset("sxpo:",thePage) into ofs -- look for a string like ? sxpr:"MA",sxpo:"02135",sxcn:"US" ... put char ofs+6 to ofs+10 of thePage into tZip if ofs <> 0 and tZip is a number then return tZip else return "not a valid address" end if end getZip function formatAddressForGoogle tAddr -- used for the getZip handler put line 1 of tAddr into addr1 if char 1 of addr1 is not a number and word 1 of addr1 <> "One" then -- probably a company name, or some such delete line 1 of tAddr put line 1 of tAddr into addr1 end if if word 1 of addr1 = "One" then put "1" into word 1 of addr1 -- google expects '1' not the 'One' that some snootier places use -- the following is to handle things like '110 Main St. - Suite 200' -- delete those before sending address to google if " - " is in addr1 then -- n-dash delete char (offset(" - ",addr1)) to -1 of addr1 else if " ? " is in addr1 then -- option-dash delete char (offset(" ? ",addr1)) to -1 of addr1 else if " ? " is in addr1 then -- m-dash delete char (offset(" ? ",addr1)) to -1 of addr1 else if "#" is in addr1 then -- to handle apartment numbers -- delete those before sending address to google delete char (offset("#",addr1)) to -1 of addr1 end if put sr(addr1) into line 1 of tAddr replace cr with ", " in tAddr put "http://maps.google.com/maps?f=q&hl=en&geocode=&q=" into tURL replace space with "+" in tAddr replace "++" with "+" in tAddr put tAddr after tURL return tURL end formatAddressForGoogle function sr tString return word 1 to -1 of tString end sr ------------------- -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From richmondmathewson at gmail.com Fri Dec 13 13:03:04 2013 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 13 Dec 2013 20:03:04 +0200 Subject: Raspberry Pi In-Reply-To: References: Message-ID: <52AB4BD8.1020601@gmail.com> On 13/12/13 19:56, Magicgate Software - Skip Kimpel wrote: > I am VERY excited to see the article in the new LC newsletter about Pi and > LiveCode. I have been advocating for this for quite some time. I think we > will see some amazing results come out of this advancement. > > Anybody else out there working with R-Pi and LC? > > SKIP > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode Right now I'm trying to work out how to get a Rasp Pi emulator up and running. Richmond. From pete at lcsql.com Fri Dec 13 13:24:24 2013 From: pete at lcsql.com (Peter Haworth) Date: Fri, 13 Dec 2013 10:24:24 -0800 Subject: How do I find the rgb values for colors defined by their name:e.g. blue, green, yellow etc. - Found word(s) list error in the Text body In-Reply-To: References: <56964388-915C-4272-AB60-681A058F5AB2@sbcglobal.net> <2ECB53C5-486A-44E3-9915-279C526EA477@iotecdigital.com> Message-ID: Useful script, thanks Peter. The strange thing is that the asterisks don't appear in the email I send from my computer, only in the recipients email, plus the pasted text shows in black not the script editor colors. Pete lcSQL Software On Fri, Dec 13, 2013 at 9:11 AM, Peter M. Brigham wrote: > Sounds as if gmail is seeing formatted text on the clipboard and trying to > indicate a color when translating to plain text. Perhaps trying to copy > plain text from LC would to the trick. I have a frontscript handler that > allows me to set the clipboardata["text"] to the text of the selection with > control-command-C instead of a straight copy (which copies the format along > with the text). It's useful in a number of contexts, and it might work here. > > on commandKeyDown pKey > switch pKey > case "c" > if the controlkey is down then > -- (could use another modifier key for Windows) > -- control-cmd-C copies plain text > if the tool is not "browse tool" then pass commandKeyDown > if the clipboard is not "text" then pass commandKeyDown > if the selectedField is empty then pass commandKeyDown > if the selectedtext is empty then pass commandKeyDown > if the long name of the target contains "revNewScriptEditor" > then pass commandKeyDown > set the clipboardData["TEXT"] to the selectedtext > else > pass commandKeyDown > end if > break > default > pass commandKeyDown > end switch > end commandKeyDown > > -- Peter > > Peter M. Brigham > pmbrig at gmail.com > http://home.comcast.net/~pmbrig > > On Dec 12, 2013, at 12:01 AM, Bob Sneidar wrote: > > > OH! I thought that people were putting them in there to prevent some > Livecode server along the way from interpreting them as real code!! LOL! > > > > Bob Sneidar > > IT Technician > > Integrated Office Technology > > bobsneidar at iotecdigital.com > > 714-401-2407 > > > > > > > > On Dec 10, 2013, at 20:27 , Peter Haworth pete at lcsql.com>> wrote: > > > > The asterisks seem to happen when I copy and paste from LC to my mail > > system (gmail). They don't show up in the message when I send it but > > somehow insinuate themselves somewhere out there in the great unknown > > cloud. Maybe the NSA put them there, who knows. > > > > Pete > > lcSQL Software > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From vclement at gmail.com Fri Dec 13 13:26:51 2013 From: vclement at gmail.com (Vaughn Clement) Date: Fri, 13 Dec 2013 11:26:51 -0700 Subject: Table Object? In-Reply-To: <52AB47DF.1030806@gmail.com> References: <52AB3455.4000104@harbourhosting.co.uk> <854864AF-5133-4F6C-8D9E-C7D97384FF5C@byu.edu> <52AB4491.8010904@harbourhosting.co.uk> <52AB47DF.1030806@gmail.com> Message-ID: OK Richmond Now explain what you just said???? Furniture? The Basic Table field is a data entry multiline entry control. I was just commenting to Martin to be aware that it has a current issue. Thank you Vaughn Clement Apps by Vaughn Clement (Support) *http://www.appsbyvaughnclement.com/tools/home-page/ * Skype: vaughn.clement https://secure.join.me/appsbyvclement FaceTime: vclement at gmail.com LogMeIn also avaialble Call on "ooVoo" at address: vaughnclement or 9282549062 Ph. 928-254-9062 Cloud Hosting Registration Web Site: https://my.oditech.com/cart.php?a=add&pid=41 On Fri, Dec 13, 2013 at 10:46 AM, Richmond wrote: > On 13/12/13 19:32, Martin Baxter wrote: > >> On 13/12/13 16:35, Devin Asay wrote: >> >>> On Dec 13, 2013, at 9:22 AM, Martin Baxter wrote: >>> >>> I've been re-familiarising myself with Livecode after a longish hiatus >>>> and looking at the standalone settings realised that I had no idea what >>>> the "Table" script library is for. Maybe I once knew but... >>>> >>>> In the User Guide it states that it is for "Use of the table object" >>>> >>>> But that is the only mention of "Table Object" that I can find. AFAIK >>>> there's no such thing. >>>> >>>> I'm just curious, but can anybody enlighten me what that script library >>>> is for? >>>> >>> >>> Would that be for the "basic table"-style field object? >>> >>> Devin >>> >>> Maybe. >> >> I thought it might have something to do with table fields, but I can't >> find any info saying what exactly. I wonder if it might enable the >> feature whereby the user can click on a "cell" in a table field and >> apparently edit it in place? That's all I can think of. >> >> I don't think I ever used that seriously, which might explain my >> ignorance. >> >> Table isn't mentioned under "library" in the dictionary. >> >> Martin >> >> >> >> > The 'Table object' belongs to a class of objects sometimes called > 'furniture'; > this includes the following objects: 'Chair', 'Sideboard', 'Cupboard', > 'Wardrobe' and 'Bed'. > > They can be treated rather like fields, except that they are containers > for other objects rather than > text or numbers; so one can use this sort of script: > > on mouseUp > put chair "theBrokenOne" in cupboard "theOneUnderTheStairs" > set the locked of cupboard "theOneUnderTheStairs" to true > if motherInLawDoesntObject is true then > do nothing > else > set the locked of cupboard "theOneUnderTheStairs" to false > end if > end mouseUp > > [ 'motherInLawDoesntObject' is a user defined script ] > > Really, all you programmers; where have you been? > > Richmond. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From richmondmathewson at gmail.com Fri Dec 13 13:29:18 2013 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 13 Dec 2013 20:29:18 +0200 Subject: Table Object? In-Reply-To: References: <52AB3455.4000104@harbourhosting.co.uk> <854864AF-5133-4F6C-8D9E-C7D97384FF5C@byu.edu> <52AB4491.8010904@harbourhosting.co.uk> <52AB47DF.1030806@gmail.com> Message-ID: <52AB51FE.20006@gmail.com> On 13/12/13 20:26, Vaughn Clement wrote: > OK Richmond > > Now explain what you just said???? Furniture? Sense of humour? Joke? Leg-Pull? Richmond. > The Basic Table field is a data entry multiline entry control. > I was just commenting to Martin to be aware that it has a current issue. > > Thank you > > Vaughn Clement > > Apps by Vaughn Clement (Support) > *http://www.appsbyvaughnclement.com/tools/home-page/ > * > Skype: vaughn.clement > https://secure.join.me/appsbyvclement > FaceTime: vclement at gmail.com > LogMeIn also avaialble > Call on "ooVoo" at address: vaughnclement or 9282549062 > Ph. 928-254-9062 > Cloud Hosting Registration Web Site: > https://my.oditech.com/cart.php?a=add&pid=41 > > > On Fri, Dec 13, 2013 at 10:46 AM, Richmond wrote: > >> On 13/12/13 19:32, Martin Baxter wrote: >> >>> On 13/12/13 16:35, Devin Asay wrote: >>> >>>> On Dec 13, 2013, at 9:22 AM, Martin Baxter wrote: >>>> >>>> I've been re-familiarising myself with Livecode after a longish hiatus >>>>> and looking at the standalone settings realised that I had no idea what >>>>> the "Table" script library is for. Maybe I once knew but... >>>>> >>>>> In the User Guide it states that it is for "Use of the table object" >>>>> >>>>> But that is the only mention of "Table Object" that I can find. AFAIK >>>>> there's no such thing. >>>>> >>>>> I'm just curious, but can anybody enlighten me what that script library >>>>> is for? >>>>> >>>> Would that be for the "basic table"-style field object? >>>> >>>> Devin >>>> >>>> Maybe. >>> I thought it might have something to do with table fields, but I can't >>> find any info saying what exactly. I wonder if it might enable the >>> feature whereby the user can click on a "cell" in a table field and >>> apparently edit it in place? That's all I can think of. >>> >>> I don't think I ever used that seriously, which might explain my >>> ignorance. >>> >>> Table isn't mentioned under "library" in the dictionary. >>> >>> Martin >>> >>> >>> >>> >> The 'Table object' belongs to a class of objects sometimes called >> 'furniture'; >> this includes the following objects: 'Chair', 'Sideboard', 'Cupboard', >> 'Wardrobe' and 'Bed'. >> >> They can be treated rather like fields, except that they are containers >> for other objects rather than >> text or numbers; so one can use this sort of script: >> >> on mouseUp >> put chair "theBrokenOne" in cupboard "theOneUnderTheStairs" >> set the locked of cupboard "theOneUnderTheStairs" to true >> if motherInLawDoesntObject is true then >> do nothing >> else >> set the locked of cupboard "theOneUnderTheStairs" to false >> end if >> end mouseUp >> >> [ 'motherInLawDoesntObject' is a user defined script ] >> >> Really, all you programmers; where have you been? >> >> Richmond. >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From scott at tactilemedia.com Fri Dec 13 13:29:28 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 13 Dec 2013 10:29:28 -0800 Subject: Scripting for the zip code In-Reply-To: References: Message-ID: Google limits geocoding requests to 2500 per day. If you have a business/enterprise Google account, then you can do up to 100,000 or more. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 12/13/13 10:02 AM, "Peter M. Brigham" wrote: >If you are doing wholesale queries (hundreds) within a short period of >time then google maps may shut you down, I don't know if they track such >things to keep bots away. This seems to do fine for isolated queries. From harrison at all-auctions.com Fri Dec 13 13:43:14 2013 From: harrison at all-auctions.com (Rick Harrison) Date: Fri, 13 Dec 2013 13:43:14 -0500 Subject: Raspberry Pi In-Reply-To: References: Message-ID: <50D1B33A-CA15-47E8-B434-DBF7B69CEF75@all-auctions.com> Hi Skip, I will be working with LC and R-Pi sometime in January - February 2014. I?m excited too! Keep me posted! Rick On Dec 13, 2013, at 12:56 PM, Magicgate Software - Skip Kimpel wrote: > I am VERY excited to see the article in the new LC newsletter about Pi and > LiveCode. I have been advocating for this for quite some time. I think we > will see some amazing results come out of this advancement. > > Anybody else out there working with R-Pi and LC? > > SKIP > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From skip at magicgate.com Fri Dec 13 13:47:26 2013 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Fri, 13 Dec 2013 13:47:26 -0500 Subject: Raspberry Pi In-Reply-To: <50D1B33A-CA15-47E8-B434-DBF7B69CEF75@all-auctions.com> References: <50D1B33A-CA15-47E8-B434-DBF7B69CEF75@all-auctions.com> Message-ID: I have the opportunity to introduce this concept to thousands of children in South Florida if I can find some way to make this a solid working solution. Both products have the same goal of teaching programming to the world! SKIP On Fri, Dec 13, 2013 at 1:43 PM, Rick Harrison wrote: > Hi Skip, > > I will be working with LC and R-Pi sometime in January - February 2014. > > I?m excited too! > > Keep me posted! > > Rick > > On Dec 13, 2013, at 12:56 PM, Magicgate Software - Skip Kimpel < > skip at magicgate.com> wrote: > > > I am VERY excited to see the article in the new LC newsletter about Pi > and > > LiveCode. I have been advocating for this for quite some time. I think > we > > will see some amazing results come out of this advancement. > > > > Anybody else out there working with R-Pi and LC? > > > > SKIP > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Fri Dec 13 13:49:30 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 13 Dec 2013 12:49:30 -0600 Subject: How do I find the rgb values for colors defined by their name:e.g. blue, green, yellow etc. - Found word(s) list error in the Text body In-Reply-To: References: <56964388-915C-4272-AB60-681A058F5AB2@sbcglobal.net> <2ECB53C5-486A-44E3-9915-279C526EA477@iotecdigital.com> Message-ID: <52AB56BA.2020704@hyperactivesw.com> On 12/13/13 12:24 PM, Peter Haworth wrote: > Useful script, thanks Peter. The strange thing is that the asterisks don't > appear in the email I send from my computer, only in the recipients email, > plus the pasted text shows in black not the script editor colors. It isn't colors, it's some basic markup that at least some email clients use to indicate text styling. I suspect if if the list allowed html posts they'd display the same way you see them when you send it -- except for people like me who display all email as text-only for security reasons. In Thunderbird there is an option to always send emails in either text or html format, which can be set individually for each email address. For list emails, it can be set to "text only" and the problem goes away, the markup is discarded. I don't know which email client you're using but maybe it has a similar option. Thunderbird also has an item in the Edit menu "Paste without formatting". Pasting that way also removes the markup. If you aren't using Thunderbird, you could run the clipboard content through a text editor first and re-copy it from there. That would convert it to text-only. The disadvantage on your end is the additional work it requires. For us, it would allow us to copy scripts directly from your posts and also improve readability. You aren't the only one this happens to though, I've seen a few others. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Fri Dec 13 13:53:51 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 13 Dec 2013 12:53:51 -0600 Subject: Playing a sound In-Reply-To: References: Message-ID: <52AB57BF.3000804@hyperactivesw.com> On 12/12/13 4:30 PM, Graham Samuel wrote: > After all these years, this is another very naive question, but if I > create a player object which points to a sound file say 30 seconds > long, and execute > > start player "myVoiceRecording" > > the player does start, but it stops again after a second or two. I > can't find anything in the usual sources to explain how to let the > thing simply run until the end, as one can by clicking on the > controller if it was showing (it isn't). I think maybe it's because > the script runs on after I start the controller and eventually > switches cards, which apparently (not documented AFAIKS) stops the > sound. Actually it's a glitch in the player, I ran into it a while ago. I think it was Trevor who suggested I use "set the playrate of player x to 1" instead of "start player x". That fixed it. In my case I also had callbacks assigned to the player and setting the playrate didn't trigger those, so I had to use both: start player x -- sets up the callbacks set the playrate of player x to 1 -- plays the whole sound -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From vclement at gmail.com Fri Dec 13 13:54:17 2013 From: vclement at gmail.com (Vaughn Clement) Date: Fri, 13 Dec 2013 11:54:17 -0700 Subject: Table Object? In-Reply-To: <52AB51FE.20006@gmail.com> References: <52AB3455.4000104@harbourhosting.co.uk> <854864AF-5133-4F6C-8D9E-C7D97384FF5C@byu.edu> <52AB4491.8010904@harbourhosting.co.uk> <52AB47DF.1030806@gmail.com> <52AB51FE.20006@gmail.com> Message-ID: OH I didn't feel my leg being pulled? Thank you Vaughn Clement Apps by Vaughn Clement (Support) *http://www.appsbyvaughnclement.com/tools/home-page/ * Skype: vaughn.clement https://secure.join.me/appsbyvclement FaceTime: vclement at gmail.com LogMeIn also avaialble Call on "ooVoo" at address: vaughnclement or 9282549062 Ph. 928-254-9062 Cloud Hosting Registration Web Site: https://my.oditech.com/cart.php?a=add&pid=41 On Fri, Dec 13, 2013 at 11:29 AM, Richmond wrote: > On 13/12/13 20:26, Vaughn Clement wrote: > >> OK Richmond >> >> Now explain what you just said???? Furniture? >> > > Sense of humour? > > Joke? > > Leg-Pull? > > Richmond. > > The Basic Table field is a data entry multiline entry control. >> I was just commenting to Martin to be aware that it has a current issue. >> >> Thank you >> >> Vaughn Clement >> >> Apps by Vaughn Clement (Support) >> *http://www.appsbyvaughnclement.com/tools/home-page/ >> * >> >> Skype: vaughn.clement >> https://secure.join.me/appsbyvclement >> FaceTime: vclement at gmail.com >> LogMeIn also avaialble >> Call on "ooVoo" at address: vaughnclement or 9282549062 >> Ph. 928-254-9062 >> Cloud Hosting Registration Web Site: >> https://my.oditech.com/cart.php?a=add&pid=41 >> >> >> On Fri, Dec 13, 2013 at 10:46 AM, Richmond >> wrote: >> >> On 13/12/13 19:32, Martin Baxter wrote: >>> >>> On 13/12/13 16:35, Devin Asay wrote: >>>> >>>> On Dec 13, 2013, at 9:22 AM, Martin Baxter wrote: >>>>> >>>>> I've been re-familiarising myself with Livecode after a longish >>>>> hiatus >>>>> >>>>>> and looking at the standalone settings realised that I had no idea >>>>>> what >>>>>> the "Table" script library is for. Maybe I once knew but... >>>>>> >>>>>> In the User Guide it states that it is for "Use of the table object" >>>>>> >>>>>> But that is the only mention of "Table Object" that I can find. AFAIK >>>>>> there's no such thing. >>>>>> >>>>>> I'm just curious, but can anybody enlighten me what that script >>>>>> library >>>>>> is for? >>>>>> >>>>>> Would that be for the "basic table"-style field object? >>>>> >>>>> Devin >>>>> >>>>> Maybe. >>>>> >>>> I thought it might have something to do with table fields, but I can't >>>> find any info saying what exactly. I wonder if it might enable the >>>> feature whereby the user can click on a "cell" in a table field and >>>> apparently edit it in place? That's all I can think of. >>>> >>>> I don't think I ever used that seriously, which might explain my >>>> ignorance. >>>> >>>> Table isn't mentioned under "library" in the dictionary. >>>> >>>> Martin >>>> >>>> >>>> >>>> >>>> The 'Table object' belongs to a class of objects sometimes called >>> 'furniture'; >>> this includes the following objects: 'Chair', 'Sideboard', 'Cupboard', >>> 'Wardrobe' and 'Bed'. >>> >>> They can be treated rather like fields, except that they are containers >>> for other objects rather than >>> text or numbers; so one can use this sort of script: >>> >>> on mouseUp >>> put chair "theBrokenOne" in cupboard "theOneUnderTheStairs" >>> set the locked of cupboard "theOneUnderTheStairs" to true >>> if motherInLawDoesntObject is true then >>> do nothing >>> else >>> set the locked of cupboard "theOneUnderTheStairs" to false >>> end if >>> end mouseUp >>> >>> [ 'motherInLawDoesntObject' is a user defined script ] >>> >>> Really, all you programmers; where have you been? >>> >>> Richmond. >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From richmondmathewson at gmail.com Fri Dec 13 13:58:12 2013 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 13 Dec 2013 20:58:12 +0200 Subject: Table Object? In-Reply-To: References: <52AB3455.4000104@harbourhosting.co.uk> <854864AF-5133-4F6C-8D9E-C7D97384FF5C@byu.edu> <52AB4491.8010904@harbourhosting.co.uk> <52AB47DF.1030806@gmail.com> <52AB51FE.20006@gmail.com> Message-ID: <52AB58C4.1060309@gmail.com> On 13/12/13 20:54, Vaughn Clement wrote: > OH > > I didn't feel my leg being pulled? Fairly difficult over an internet connection! Virtual Leg-Pulling probably only works if your PC supports hardware virtualisation, and you have a LEG emulator installed [this is even more difficult than setting up an ARM emulator]. Richmond. > > Thank you > > Vaughn Clement > > Apps by Vaughn Clement (Support) > *http://www.appsbyvaughnclement.com/tools/home-page/ > * > Skype: vaughn.clement > https://secure.join.me/appsbyvclement > FaceTime: vclement at gmail.com > LogMeIn also avaialble > Call on "ooVoo" at address: vaughnclement or 9282549062 > Ph. 928-254-9062 > Cloud Hosting Registration Web Site: > https://my.oditech.com/cart.php?a=add&pid=41 > > > On Fri, Dec 13, 2013 at 11:29 AM, Richmond wrote: > >> On 13/12/13 20:26, Vaughn Clement wrote: >> >>> OK Richmond >>> >>> Now explain what you just said???? Furniture? >>> >> Sense of humour? >> >> Joke? >> >> Leg-Pull? >> >> Richmond. >> >> The Basic Table field is a data entry multiline entry control. >>> I was just commenting to Martin to be aware that it has a current issue. >>> >>> Thank you >>> >>> Vaughn Clement >>> >>> Apps by Vaughn Clement (Support) >>> *http://www.appsbyvaughnclement.com/tools/home-page/ >>> * >>> >>> Skype: vaughn.clement >>> https://secure.join.me/appsbyvclement >>> FaceTime: vclement at gmail.com >>> LogMeIn also avaialble >>> Call on "ooVoo" at address: vaughnclement or 9282549062 >>> Ph. 928-254-9062 >>> Cloud Hosting Registration Web Site: >>> https://my.oditech.com/cart.php?a=add&pid=41 >>> >>> >>> On Fri, Dec 13, 2013 at 10:46 AM, Richmond >>> wrote: >>> >>> On 13/12/13 19:32, Martin Baxter wrote: >>>> On 13/12/13 16:35, Devin Asay wrote: >>>>> On Dec 13, 2013, at 9:22 AM, Martin Baxter wrote: >>>>>> I've been re-familiarising myself with Livecode after a longish >>>>>> hiatus >>>>>> >>>>>>> and looking at the standalone settings realised that I had no idea >>>>>>> what >>>>>>> the "Table" script library is for. Maybe I once knew but... >>>>>>> >>>>>>> In the User Guide it states that it is for "Use of the table object" >>>>>>> >>>>>>> But that is the only mention of "Table Object" that I can find. AFAIK >>>>>>> there's no such thing. >>>>>>> >>>>>>> I'm just curious, but can anybody enlighten me what that script >>>>>>> library >>>>>>> is for? >>>>>>> >>>>>>> Would that be for the "basic table"-style field object? >>>>>> Devin >>>>>> >>>>>> Maybe. >>>>>> >>>>> I thought it might have something to do with table fields, but I can't >>>>> find any info saying what exactly. I wonder if it might enable the >>>>> feature whereby the user can click on a "cell" in a table field and >>>>> apparently edit it in place? That's all I can think of. >>>>> >>>>> I don't think I ever used that seriously, which might explain my >>>>> ignorance. >>>>> >>>>> Table isn't mentioned under "library" in the dictionary. >>>>> >>>>> Martin >>>>> >>>>> >>>>> >>>>> >>>>> The 'Table object' belongs to a class of objects sometimes called >>>> 'furniture'; >>>> this includes the following objects: 'Chair', 'Sideboard', 'Cupboard', >>>> 'Wardrobe' and 'Bed'. >>>> >>>> They can be treated rather like fields, except that they are containers >>>> for other objects rather than >>>> text or numbers; so one can use this sort of script: >>>> >>>> on mouseUp >>>> put chair "theBrokenOne" in cupboard "theOneUnderTheStairs" >>>> set the locked of cupboard "theOneUnderTheStairs" to true >>>> if motherInLawDoesntObject is true then >>>> do nothing >>>> else >>>> set the locked of cupboard "theOneUnderTheStairs" to false >>>> end if >>>> end mouseUp >>>> >>>> [ 'motherInLawDoesntObject' is a user defined script ] >>>> >>>> Really, all you programmers; where have you been? >>>> >>>> Richmond. >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Fri Dec 13 14:25:00 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 13 Dec 2013 13:25:00 -0600 Subject: Table Object? In-Reply-To: <52AB58C4.1060309@gmail.com> References: <52AB3455.4000104@harbourhosting.co.uk> <854864AF-5133-4F6C-8D9E-C7D97384FF5C@byu.edu> <52AB4491.8010904@harbourhosting.co.uk> <52AB47DF.1030806@gmail.com> <52AB51FE.20006@gmail.com> <52AB58C4.1060309@gmail.com> Message-ID: <52AB5F0C.2040803@hyperactivesw.com> On 12/13/13 12:58 PM, Richmond wrote: > On 13/12/13 20:54, Vaughn Clement wrote: >> OH >> >> I didn't feel my leg being pulled? > > Fairly difficult over an internet connection! > > Virtual Leg-Pulling probably only works if your PC supports hardware > virtualisation, > > and you have a LEG emulator installed [this is even more difficult than > setting up an ARM emulator]. It sounds like setting setting up a basic table would cost an arm and a leg. I will continue to use my milk crate furniture. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pmbrig at gmail.com Fri Dec 13 14:29:40 2013 From: pmbrig at gmail.com (Peter M. Brigham) Date: Fri, 13 Dec 2013 14:29:40 -0500 Subject: Lost pdf printing In-Reply-To: <411BD0865C7F7446890718EBDF2BDCAD09EB59@DOMEX04.DOM.wustl.edu> References: <411BD0865C7F7446890718EBDF2BDCAD09EB59@DOMEX04.DOM.wustl.edu> Message-ID: <3D8F4CAE-0813-46D5-BDC0-F426B48F9FBF@gmail.com> Try checking "the printeroutput". If the OS has reset it to default, it will come back as "device" -- ie, the current default printer for the system. If your LC settings remain in place, it will return the filepath of the pdf, I think. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Dec 12, 2013, at 12:57 PM, Sumner, Walt wrote: > Hi, folks, > > > > I have a stack that opens printing to a pdf file, and goes through a bunch of calculations to print 8 cards per page. When the stack is left idle for a while it can "forget" that it is supposed to print to a pdf. Global variables indicating the pdf file name and other print settings remain intact. If I resume using the stack after it forgets that it is printing to a pdf, every print instruction gets sent to the local printer, wasting a fantastic amount of paper while failing to record all of the screen shots in a pdf. > > > > How can I check to see whether LiveCode remembers that it is printing to a pdf? I can easily close and reopen printing if I can just determine whether print commands are being sent to the printer or a pdf generator. > > > > Thanks, > > Walt Sumner > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From fraser.gordon at runrev.com Fri Dec 13 14:46:45 2013 From: fraser.gordon at runrev.com (Fraser Gordon) Date: Fri, 13 Dec 2013 19:46:45 +0000 Subject: Raspberry Pi Message-ID: <52AB6425.7010107@runrev.com> Hi all, I'm glad to see the RPi build is being received so enthusiastically. It's a great wee device and LiveCode seems like such a great match for its goals. Nothing at all to do with the fact that I love tinkering ;) Richmond - I have some build instructions at https://github.com/runrevfraser/livecode/blob/feature-rpi/docs/RPi.md that cover setting up an emulator for the RPi. The notes are still extremely rough so I'll summarise the procedure here for you: 1. Get Qemu with ARM support 2. Download a RPi Linux distro SD-card image (e.g. Raspbian) 3. The normal RPi kernel isn't suitable for Qemu so get this: http://xecdesign.com/downloads/linux-qemu/kernel-qemu 4. Fire up Qemu with: qemu-system-arm -kernel $QEMU_KERNEL -cpu arm1176 -m 512M -M versatilepb \ -no-reboot -serial stdio -append "root=/dev/sda2" -hda $RASPIAN_IMG I can't say off the top of my head whether Raspbian has all of the libraries needed by LiveCode; some trial and error may be required. The emulation isn't exactly the hardware of the RPi but seems a reasonable enough match for everything to work. Something else worth noting is that the installation image only comes with the standalone files for Linux ARM; I didn't have time to roll everything together in time for the newsletter to come out. I'll try to track LiveCode releases fairly regularly but this is being done in between other things and may not always be up to date. Regards, Fraser |||| From pete at lcsql.com Fri Dec 13 14:51:03 2013 From: pete at lcsql.com (Peter Haworth) Date: Fri, 13 Dec 2013 11:51:03 -0800 Subject: How do I find the rgb values for colors defined by their name:e.g. blue, green, yellow etc. - Found word(s) list error in the Text body In-Reply-To: <52AB56BA.2020704@hyperactivesw.com> References: <56964388-915C-4272-AB60-681A058F5AB2@sbcglobal.net> <2ECB53C5-486A-44E3-9915-279C526EA477@iotecdigital.com> <52AB56BA.2020704@hyperactivesw.com> Message-ID: I use gMail and pretty sure that's the cause of the problem. I'l check to see if it has any of the options you mentioned but I don't remember seeing them. However, I do see a "Remove Formatting" option in the toolbar when sending a message, so here's a code snippet pasted in below with the remove formatting thing done to it, please let me know if this comes though OK. --CODE STARTS HERE put empty into tArray put x into tArray["PropertySequence"] put tGroupID into tArray["GroupID"] put tPropertyID into tArray["PropertyID"] --CODE ENDS HERE Pete lcSQL Software On Fri, Dec 13, 2013 at 10:49 AM, J. Landman Gay wrote: > On 12/13/13 12:24 PM, Peter Haworth wrote: > >> Useful script, thanks Peter. The strange thing is that the asterisks >> don't >> appear in the email I send from my computer, only in the recipients email, >> plus the pasted text shows in black not the script editor colors. >> > > It isn't colors, it's some basic markup that at least some email clients > use to indicate text styling. I suspect if if the list allowed html posts > they'd display the same way you see them when you send it -- except for > people like me who display all email as text-only for security reasons. > > In Thunderbird there is an option to always send emails in either text or > html format, which can be set individually for each email address. For list > emails, it can be set to "text only" and the problem goes away, the markup > is discarded. I don't know which email client you're using but maybe it has > a similar option. > > Thunderbird also has an item in the Edit menu "Paste without formatting". > Pasting that way also removes the markup. > > If you aren't using Thunderbird, you could run the clipboard content > through a text editor first and re-copy it from there. That would convert > it to text-only. The disadvantage on your end is the additional work it > requires. For us, it would allow us to copy scripts directly from your > posts and also improve readability. > > You aren't the only one this happens to though, I've seen a few others. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Fri Dec 13 14:54:43 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 13 Dec 2013 13:54:43 -0600 Subject: How do I find the rgb values for colors defined by their name:e.g. blue, green, yellow etc. - Found word(s) list error in the Text body In-Reply-To: References: <56964388-915C-4272-AB60-681A058F5AB2@sbcglobal.net> <2ECB53C5-486A-44E3-9915-279C526EA477@iotecdigital.com> <52AB56BA.2020704@hyperactivesw.com> Message-ID: <52AB6603.7070402@hyperactivesw.com> Yes it does! :) Use that please. On 12/13/13 1:51 PM, Peter Haworth wrote: > I use gMail and pretty sure that's the cause of the problem. I'l check to > see if it has any of the options you mentioned but I don't remember seeing > them. However, I do see a "Remove Formatting" option in the toolbar when > sending a message, so here's a code snippet pasted in below with the remove > formatting thing done to it, please let me know if this comes though OK. > > --CODE STARTS HERE > > put empty into tArray > > put x into tArray["PropertySequence"] > > put tGroupID into tArray["GroupID"] > > put tPropertyID into tArray["PropertyID"] > > --CODE ENDS HERE > > Pete > lcSQL Software > > > On Fri, Dec 13, 2013 at 10:49 AM, J. Landman Gay > wrote: > >> On 12/13/13 12:24 PM, Peter Haworth wrote: >> >>> Useful script, thanks Peter. The strange thing is that the asterisks >>> don't >>> appear in the email I send from my computer, only in the recipients email, >>> plus the pasted text shows in black not the script editor colors. >>> >> >> It isn't colors, it's some basic markup that at least some email clients >> use to indicate text styling. I suspect if if the list allowed html posts >> they'd display the same way you see them when you send it -- except for >> people like me who display all email as text-only for security reasons. >> >> In Thunderbird there is an option to always send emails in either text or >> html format, which can be set individually for each email address. For list >> emails, it can be set to "text only" and the problem goes away, the markup >> is discarded. I don't know which email client you're using but maybe it has >> a similar option. >> >> Thunderbird also has an item in the Edit menu "Paste without formatting". >> Pasting that way also removes the markup. >> >> If you aren't using Thunderbird, you could run the clipboard content >> through a text editor first and re-copy it from there. That would convert >> it to text-only. The disadvantage on your end is the additional work it >> requires. For us, it would allow us to copy scripts directly from your >> posts and also improve readability. >> >> You aren't the only one this happens to though, I've seen a few others. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From capellan2000 at gmail.com Fri Dec 13 15:13:05 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Fri, 13 Dec 2013 12:13:05 -0800 (PST) Subject: Backdrop under Ubuntu Linux Message-ID: <1386965585089-4673697.post@n4.nabble.com> Hi All, Just out of curiosity, Why the backdrop does not shows under Ubuntu Linux? I am using Lubuntu and there is no indication in the docs or the online dictionary that backdrop does not works under Ubuntu. Thanks in advance! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Backdrop-under-Ubuntu-Linux-tp4673697.html Sent from the Revolution - User mailing list archive at Nabble.com. From richmondmathewson at gmail.com Fri Dec 13 15:23:28 2013 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 13 Dec 2013 22:23:28 +0200 Subject: Backdrop under Ubuntu Linux In-Reply-To: <1386965585089-4673697.post@n4.nabble.com> References: <1386965585089-4673697.post@n4.nabble.com> Message-ID: <52AB6CC0.4010708@gmail.com> On 13/12/13 22:13, Alejandro Tejada wrote: > Hi All, > > Just out of curiosity, > > Why the backdrop does not shows > under Ubuntu Linux? > > I am using Lubuntu and there is no indication > in the docs or the online dictionary that > backdrop does not works under Ubuntu. > > Thanks in advance! > > Al > > Just tried it [Ubuntustudio 13.10] and, NO, it doesn't work, and, YES, the documentation says it does. That is the second time in as many days that the Documentation has been WRONG re Linux. Richmond. From pepetoo at cox.net Fri Dec 13 15:52:40 2013 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Fri, 13 Dec 2013 12:52:40 -0800 Subject: Some help please! architect Message-ID: <30E8D245-FD9B-4F71-BC38-00763C83FE3B@cox.net> Hi everyone! Merry Christmas to all. I've been away from LC for a very long time, concentrating on Architecture, but trying to use one of my stacks recently I encountered the "explicit variable" problem and I have forgotten how to resolve it. Here's a snippet of my code: on mouseup again if the hilite of btn "L/180" then put 180 into myDefl TIA, Joe Lewis Wilkins Architect, From palcibiades-first at yahoo.co.uk Fri Dec 13 15:52:41 2013 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Fri, 13 Dec 2013 12:52:41 -0800 (PST) Subject: Backdrop under Ubuntu Linux In-Reply-To: <1386965585089-4673697.post@n4.nabble.com> References: <1386965585089-4673697.post@n4.nabble.com> Message-ID: <1386967961227-4673699.post@n4.nabble.com> Have you tried installing another window manager, like fluxbox to see if it still happens? I think lubuntu is using lxde as the desktop which means openbox as the window manager. Be interesting to see if it happens with fluxbox. See if it happens with windowmaker. The other thing that might be interesting is if it happens with a totally different family, Fedora for instance. Peter -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Backdrop-under-Ubuntu-Linux-tp4673697p4673699.html Sent from the Revolution - User mailing list archive at Nabble.com. From jacque at hyperactivesw.com Fri Dec 13 15:57:14 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 13 Dec 2013 14:57:14 -0600 Subject: Zero byte music files Message-ID: <52AB74AA.3060505@hyperactivesw.com> If I try to load a player with a path to a file that doesn't exist on disk, either the OS or LiveCode creates a zero-byte dummy file at the file location. Does anyone know what causes that? Is it LC or the OS? This is on Mac. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From warren at warrensweb.us Fri Dec 13 15:57:47 2013 From: warren at warrensweb.us (Warren Samples) Date: Fri, 13 Dec 2013 14:57:47 -0600 Subject: Backdrop under Ubuntu Linux In-Reply-To: <1386965585089-4673697.post@n4.nabble.com> References: <1386965585089-4673697.post@n4.nabble.com> Message-ID: <52AB74CB.1040003@warrensweb.us> On 12/13/2013 02:13 PM, Alejandro Tejada wrote: > Hi All, > > Just out of curiosity, > > Why the backdrop does not shows > under Ubuntu Linux? > > I am using Lubuntu and there is no indication > in the docs or the online dictionary that > backdrop does not works under Ubuntu. > > Thanks in advance! > > Al > > I was going to say this is one of those compositing issues that LiveCode has with many Linux installations. It may be or it may be a new issue since 6.5. I have a Mint 9 installation running under VirtualBox, without desktop effects, which displays the backdrop correctly with every installed version of LiveCode from 4.5.2 through 6.1.0. I just installed 6.5.0 and see it does not display in that version. The backdrop did not display under Mint 10 with Compiz and Gnome 2 when that was my main OS nor has it displayed under an version of openSUSE/KDE/KWin. The backdrop problem has been mentioned in the past. I wonder if there's a bug report. Warren From warren at warrensweb.us Fri Dec 13 16:10:50 2013 From: warren at warrensweb.us (Warren Samples) Date: Fri, 13 Dec 2013 15:10:50 -0600 Subject: Backdrop under Ubuntu Linux In-Reply-To: <52AB74CB.1040003@warrensweb.us> References: <1386965585089-4673697.post@n4.nabble.com> <52AB74CB.1040003@warrensweb.us> Message-ID: <52AB77DA.9020201@warrensweb.us> On 12/13/2013 02:57 PM, Warren Samples wrote: > The backdrop did not display under Mint 10 with Compiz and Gnome 2 when > that was my main OS nor has it displayed under an version of > openSUSE/KDE/KWin. SHould say "...under any version of openSUSE..." I want to add that KDE has an easy method of toggling desktop effects and disabling them before opening LiveCode eliminates the problem of video not displaying in a player object. Interestingly, toggling them while LiveCode is running has no effect, either way. Just as interesting, while it affects the compositing issue with the player, it has no visible effect on the backdrop on my system. Warren From matthias_livecode_150811 at m-r-d.de Fri Dec 13 16:13:06 2013 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Fri, 13 Dec 2013 22:13:06 +0100 Subject: Some help please! architect In-Reply-To: <30E8D245-FD9B-4F71-BC38-00763C83FE3B@cox.net> References: <30E8D245-FD9B-4F71-BC38-00763C83FE3B@cox.net> Message-ID: Hi Joe, what do you mean with "explicit problem" Are you getting an "compilation error" similar to this one compilation error at line 2 (Chunk: can't create a variable with that name (explicitVariables?)) If so, then it seems you have checked the option "strict compilation mode" under Preferences->ScriptEditor You can either disable that option or you have to declare the variable myDefl before using it. in your example insert the line local mydefl before the line with the put command. Regards, Matthias Rebbe Am 13.12.2013 um 21:52 schrieb Joe Lewis Wilkins : > Hi everyone! Merry Christmas to all. > > I've been away from LC for a very long time, concentrating on Architecture, but trying to use one of my stacks recently I encountered the "explicit variable" problem and I have forgotten how to resolve it. Here's a snippet of my code: > on mouseup again > if the hilite of btn "L/180" then > put 180 into myDefl > > TIA, > > Joe Lewis Wilkins > Architect, > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode Matthias Rebbe Tel: +49 5741 310000 +49 160 5504462 eMail: matthias underscore livecode underscore 150811 at m dash r dash d dot de From warren at warrensweb.us Fri Dec 13 16:15:43 2013 From: warren at warrensweb.us (Warren Samples) Date: Fri, 13 Dec 2013 15:15:43 -0600 Subject: Backdrop under Ubuntu Linux In-Reply-To: <52AB77DA.9020201@warrensweb.us> References: <1386965585089-4673697.post@n4.nabble.com> <52AB74CB.1040003@warrensweb.us> <52AB77DA.9020201@warrensweb.us> Message-ID: <52AB78FF.4060003@warrensweb.us> On 12/13/2013 03:10 PM, Warren Samples wrote: > it has no visible effect on the backdrop on my system. ummmm... I should have tested a little more. Toggling desktop effects off does allow LiveCode to display the backdrop in older versions of LiveCode, through 6.1.3, on my system. It's only in 6.5.0 that there is no backdrop even with effects off. Warren From pete at lcsql.com Fri Dec 13 16:18:32 2013 From: pete at lcsql.com (Peter Haworth) Date: Fri, 13 Dec 2013 13:18:32 -0800 Subject: How do I find the rgb values for colors defined by their name:e.g. blue, green, yellow etc. - Found word(s) list error in the Text body In-Reply-To: <52AB6603.7070402@hyperactivesw.com> References: <56964388-915C-4272-AB60-681A058F5AB2@sbcglobal.net> <2ECB53C5-486A-44E3-9915-279C526EA477@iotecdigital.com> <52AB56BA.2020704@hyperactivesw.com> <52AB6603.7070402@hyperactivesw.com> Message-ID: Great, thanks for letting me know. I will try to remember to do that in future. There's still other issues pasting into gMail unfortunately, like everything comes out double spaced. Pete lcSQL Software On Fri, Dec 13, 2013 at 11:54 AM, J. Landman Gay wrote: > Yes it does! :) Use that please. > > > > On 12/13/13 1:51 PM, Peter Haworth wrote: > >> I use gMail and pretty sure that's the cause of the problem. I'l check to >> see if it has any of the options you mentioned but I don't remember seeing >> them. However, I do see a "Remove Formatting" option in the toolbar when >> sending a message, so here's a code snippet pasted in below with the >> remove >> formatting thing done to it, please let me know if this comes though OK. >> >> --CODE STARTS HERE >> >> put empty into tArray >> >> put x into tArray["PropertySequence"] >> >> put tGroupID into tArray["GroupID"] >> >> put tPropertyID into tArray["PropertyID"] >> >> --CODE ENDS HERE >> >> Pete >> lcSQL Software >> >> >> >> On Fri, Dec 13, 2013 at 10:49 AM, J. Landman Gay >> wrote: >> >> On 12/13/13 12:24 PM, Peter Haworth wrote: >>> >>> Useful script, thanks Peter. The strange thing is that the asterisks >>>> don't >>>> appear in the email I send from my computer, only in the recipients >>>> email, >>>> plus the pasted text shows in black not the script editor colors. >>>> >>>> >>> It isn't colors, it's some basic markup that at least some email clients >>> use to indicate text styling. I suspect if if the list allowed html posts >>> they'd display the same way you see them when you send it -- except for >>> people like me who display all email as text-only for security reasons. >>> >>> In Thunderbird there is an option to always send emails in either text or >>> html format, which can be set individually for each email address. For >>> list >>> emails, it can be set to "text only" and the problem goes away, the >>> markup >>> is discarded. I don't know which email client you're using but maybe it >>> has >>> a similar option. >>> >>> Thunderbird also has an item in the Edit menu "Paste without formatting". >>> Pasting that way also removes the markup. >>> >>> If you aren't using Thunderbird, you could run the clipboard content >>> through a text editor first and re-copy it from there. That would convert >>> it to text-only. The disadvantage on your end is the additional work it >>> requires. For us, it would allow us to copy scripts directly from your >>> posts and also improve readability. >>> >>> You aren't the only one this happens to though, I've seen a few others. >>> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Fri Dec 13 16:22:15 2013 From: pete at lcsql.com (Peter Haworth) Date: Fri, 13 Dec 2013 13:22:15 -0800 Subject: How do I find the rgb values for colors defined by their name:e.g. blue, green, yellow etc. - Found word(s) list error in the Text body In-Reply-To: <52AB6603.7070402@hyperactivesw.com> References: <56964388-915C-4272-AB60-681A058F5AB2@sbcglobal.net> <2ECB53C5-486A-44E3-9915-279C526EA477@iotecdigital.com> <52AB56BA.2020704@hyperactivesw.com> <52AB6603.7070402@hyperactivesw.com> Message-ID: I think I found how to deal with all the formatting problems. Found a "Paste and match style" edit menu option (or shift-command-V) in gmail which looks like it does the trick. Does this come out OK? put empty into tArray put x into tArray["PropertySequence"] put tGroupID into tArray["GroupID"] put tPropertyID into tArray["PropertyID"] Pete lcSQL Software On Fri, Dec 13, 2013 at 11:54 AM, J. Landman Gay wrote: > Yes it does! :) Use that please. > > > > On 12/13/13 1:51 PM, Peter Haworth wrote: > >> I use gMail and pretty sure that's the cause of the problem. I'l check to >> see if it has any of the options you mentioned but I don't remember seeing >> them. However, I do see a "Remove Formatting" option in the toolbar when >> sending a message, so here's a code snippet pasted in below with the >> remove >> formatting thing done to it, please let me know if this comes though OK. >> >> --CODE STARTS HERE >> >> put empty into tArray >> >> put x into tArray["PropertySequence"] >> >> put tGroupID into tArray["GroupID"] >> >> put tPropertyID into tArray["PropertyID"] >> >> --CODE ENDS HERE >> >> Pete >> lcSQL Software >> >> >> >> On Fri, Dec 13, 2013 at 10:49 AM, J. Landman Gay >> wrote: >> >> On 12/13/13 12:24 PM, Peter Haworth wrote: >>> >>> Useful script, thanks Peter. The strange thing is that the asterisks >>>> don't >>>> appear in the email I send from my computer, only in the recipients >>>> email, >>>> plus the pasted text shows in black not the script editor colors. >>>> >>>> >>> It isn't colors, it's some basic markup that at least some email clients >>> use to indicate text styling. I suspect if if the list allowed html posts >>> they'd display the same way you see them when you send it -- except for >>> people like me who display all email as text-only for security reasons. >>> >>> In Thunderbird there is an option to always send emails in either text or >>> html format, which can be set individually for each email address. For >>> list >>> emails, it can be set to "text only" and the problem goes away, the >>> markup >>> is discarded. I don't know which email client you're using but maybe it >>> has >>> a similar option. >>> >>> Thunderbird also has an item in the Edit menu "Paste without formatting". >>> Pasting that way also removes the markup. >>> >>> If you aren't using Thunderbird, you could run the clipboard content >>> through a text editor first and re-copy it from there. That would convert >>> it to text-only. The disadvantage on your end is the additional work it >>> requires. For us, it would allow us to copy scripts directly from your >>> posts and also improve readability. >>> >>> You aren't the only one this happens to though, I've seen a few others. >>> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From monte at sweattechnologies.com Fri Dec 13 16:24:43 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Sat, 14 Dec 2013 08:24:43 +1100 Subject: Raspberry Pi In-Reply-To: <52AB6425.7010107@runrev.com> References: <52AB6425.7010107@runrev.com> Message-ID: <297DF8F4-9DD6-4E77-B3B7-E8BD583E05C3@sweattechnologies.com> On 14/12/2013, at 6:46 AM, Fraser Gordon wrote: > I'm glad to see the RPi build is being received so enthusiastically. > It's a great wee device and LiveCode seems like such a great match for > its goals. Nothing at all to do with the fact that I love tinkering ;) Great stuff Fraser. I'm looking forward to having a play with it I get a chance over the holidays. It sounds like you're doing this in you're spare time so it's great to see that you've gone from a guy sitting at the back of the conference hall in May to get a handle on the platform to someone spending his free time playing with it ;-) Anyway, seeing as you love tinkering I'm wondering if Kevin discussed with you my ideas for squeezing LC between Scratch and Python. It includes 3 things: - Looking at the Scratch 2 file format http://wiki.scratch.mit.edu/wiki/Scratch_File_Format_(2.0) it really wouldn't be that hard to implement a project importer to create a stackFile that's as close as possible to the original scratch project. We possibly need a bit better support for SVG but other than that... - Python externals using http://elmer.sourceforge.net making LiveCode the easiest to use Python GUI toolkit and a progression Scratch -> LiveCode -> Python or C/Java etc where necessary quite logical... - A book like this for LiveCode http://nostarch.com/scratch but perhaps pitched at a slightly older group Combine these three things with an RPi build included in Raspbian and we will make some magic happen I think. Perhaps some community members want to tackle one or more of these things? Ideally someone could open up the LC IDE and enter their scratch credentials and then see their projects available to download and import: https://docs.google.com/document/d/1sx3CbWgWzNmu81NZ6bfctut5XzrFnZwCmVGkmR-0ktY/edit?pli=1 Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From vclement at gmail.com Fri Dec 13 16:32:14 2013 From: vclement at gmail.com (Vaughn Clement) Date: Fri, 13 Dec 2013 14:32:14 -0700 Subject: Table Object? In-Reply-To: <52AB5F0C.2040803@hyperactivesw.com> References: <52AB3455.4000104@harbourhosting.co.uk> <854864AF-5133-4F6C-8D9E-C7D97384FF5C@byu.edu> <52AB4491.8010904@harbourhosting.co.uk> <52AB47DF.1030806@gmail.com> <52AB51FE.20006@gmail.com> <52AB58C4.1060309@gmail.com> <52AB5F0C.2040803@hyperactivesw.com> Message-ID: Hi It's great to see all of you having fun this season! Thank you Vaughn Clement Apps by Vaughn Clement (Support) *http://www.appsbyvaughnclement.com/tools/home-page/ * Skype: vaughn.clement https://secure.join.me/appsbyvclement FaceTime: vclement at gmail.com LogMeIn also avaialble Call on "ooVoo" at address: vaughnclement or 9282549062 Ph. 928-254-9062 Cloud Hosting Registration Web Site: https://my.oditech.com/cart.php?a=add&pid=41 On Fri, Dec 13, 2013 at 12:25 PM, J. Landman Gay wrote: > On 12/13/13 12:58 PM, Richmond wrote: > >> On 13/12/13 20:54, Vaughn Clement wrote: >> >>> OH >>> >>> I didn't feel my leg being pulled? >>> >> >> Fairly difficult over an internet connection! >> >> Virtual Leg-Pulling probably only works if your PC supports hardware >> virtualisation, >> >> and you have a LEG emulator installed [this is even more difficult than >> setting up an ARM emulator]. >> > > It sounds like setting setting up a basic table would cost an arm and a > leg. I will continue to use my milk crate furniture. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From paulhibbert at mac.com Fri Dec 13 16:53:07 2013 From: paulhibbert at mac.com (Paul Hibbert) Date: Fri, 13 Dec 2013 13:53:07 -0800 Subject: How do I find the rgb values for colors defined by their name:e.g. blue, green, yellow etc. - Found word(s) list error in the Text body In-Reply-To: References: <56964388-915C-4272-AB60-681A058F5AB2@sbcglobal.net> <2ECB53C5-486A-44E3-9915-279C526EA477@iotecdigital.com> <52AB56BA.2020704@hyperactivesw.com> <52AB6603.7070402@hyperactivesw.com> Message-ID: <092A0ABD-2922-4D12-94E4-ED72AEE91A1B@mac.com> Looks good to me, perfectly copyable! Paul On 2013-12-13, at 1:22 PM, Peter Haworth wrote: > I think I found how to deal with all the formatting problems. Found a > "Paste and match style" edit menu option (or shift-command-V) in gmail > which looks like it does the trick. Does this come out OK? > > put empty into tArray > put x into tArray["PropertySequence"] > put tGroupID into tArray["GroupID"] > put tPropertyID into tArray["PropertyID"] > > Pete > lcSQL Software From jacque at hyperactivesw.com Fri Dec 13 16:59:56 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 13 Dec 2013 15:59:56 -0600 Subject: How do I find the rgb values for colors defined by their name:e.g. blue, green, yellow etc. - Found word(s) list error in the Text body In-Reply-To: <092A0ABD-2922-4D12-94E4-ED72AEE91A1B@mac.com> References: <56964388-915C-4272-AB60-681A058F5AB2@sbcglobal.net> <2ECB53C5-486A-44E3-9915-279C526EA477@iotecdigital.com> <52AB56BA.2020704@hyperactivesw.com> <52AB6603.7070402@hyperactivesw.com> <092A0ABD-2922-4D12-94E4-ED72AEE91A1B@mac.com> Message-ID: <52AB835C.9080101@hyperactivesw.com> Yes, it's perfect. Yay! On 12/13/13 3:53 PM, Paul Hibbert wrote: > Looks good to me, perfectly copyable! > > Paul > > > On 2013-12-13, at 1:22 PM, Peter Haworth wrote: > >> I think I found how to deal with all the formatting problems. Found a >> "Paste and match style" edit menu option (or shift-command-V) in gmail >> which looks like it does the trick. Does this come out OK? >> >> put empty into tArray >> put x into tArray["PropertySequence"] >> put tGroupID into tArray["GroupID"] >> put tPropertyID into tArray["PropertyID"] >> >> Pete >> lcSQL Software > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From roger.e.eller at sealedair.com Fri Dec 13 17:16:07 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Fri, 13 Dec 2013 17:16:07 -0500 Subject: Really long delay in opening Android app (black screen) Message-ID: I have tried using an imported image, a referenced image, including the image in the "copy files" pane, reducing the colors using tinyPNG, but no matter what I do, the screen is black for 5 to 10 seconds before the app displays at all. I am telling the image to show in preOpenStack, and to hide in openStack after 2 secs. I want it to act like a splash screen, but this black-screen delay is making it quite frustrating. Without an initial image, the app opens immediately. Any ideas? ~Roger From pepetoo at cox.net Fri Dec 13 17:22:11 2013 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Fri, 13 Dec 2013 14:22:11 -0800 Subject: Some help please! architect In-Reply-To: <19DM1n00C2FLF8t019DNMM> References: <30E8D245-FD9B-4F71-BC38-00763C83FE3B@cox.net> <19DM1n00C2FLF8t019DNMM> Message-ID: <197A6C7C-A42D-4BC3-90A8-71F613A9CD83@cox.net> Exactly Mathias! I forgot about the preference option, but I had tried using the Local declaration and it did not seem to work; maybe due to my poor vision and fractured fingers. Thanks a lot for your help. Joe Wilkins On Dec 13, 2013, at 1:13 PM, Matthias Rebbe wrote: > Hi Joe, > > what do you mean with "explicit problem" > Are you getting an "compilation error" similar to this one > > compilation error at line 2 (Chunk: can't create a variable with that name (explicitVariables?)) > > If so, then it seems you have checked the option "strict compilation mode" under Preferences->ScriptEditor > > You can either disable that option or you have to > declare the variable myDefl before using it. > > in your example insert the line > > local mydefl > > before the line with the put command. > > Regards, > > Matthias Rebbe > > > Am 13.12.2013 um 21:52 schrieb Joe Lewis Wilkins : > >> Hi everyone! Merry Christmas to all. >> >> I've been away from LC for a very long time, concentrating on Architecture, but trying to use one of my stacks recently I encountered the "explicit variable" problem and I have forgotten how to resolve it. Here's a snippet of my code: >> on mouseup again >> if the hilite of btn "L/180" then >> put 180 into myDefl >> >> TIA, >> >> Joe Lewis Wilkins >> Architect, >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > Matthias Rebbe > Tel: +49 5741 310000 > +49 160 5504462 > eMail: matthias underscore livecode underscore 150811 at m dash r dash d dot de > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Fri Dec 13 17:59:18 2013 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Fri, 13 Dec 2013 23:59:18 +0100 Subject: Some help please! architect In-Reply-To: <197A6C7C-A42D-4BC3-90A8-71F613A9CD83@cox.net> References: <30E8D245-FD9B-4F71-BC38-00763C83FE3B@cox.net> <19DM1n00C2FLF8t019DNMM> <197A6C7C-A42D-4BC3-90A8-71F613A9CD83@cox.net> Message-ID: <041F2239-D82A-4D5C-9EFE-76E1F2EC3DF2@m-r-d.de> I am glad i could help. Matthias Am 13.12.2013 um 23:22 schrieb Joe Lewis Wilkins : > Exactly Mathias! I forgot about the preference option, but I had tried using the Local declaration and it did not seem to work; maybe due to my poor vision and fractured fingers. Thanks a lot for your help. > Joe Wilkins > > > > On Dec 13, 2013, at 1:13 PM, Matthias Rebbe wrote: > >> Hi Joe, >> >> what do you mean with "explicit problem" >> Are you getting an "compilation error" similar to this one >> >> compilation error at line 2 (Chunk: can't create a variable with that name (explicitVariables?)) >> >> If so, then it seems you have checked the option "strict compilation mode" under Preferences->ScriptEditor >> >> You can either disable that option or you have to >> declare the variable myDefl before using it. >> >> in your example insert the line >> >> local mydefl >> >> before the line with the put command. >> >> Regards, >> >> Matthias Rebbe >> >> >> Am 13.12.2013 um 21:52 schrieb Joe Lewis Wilkins : >> >>> Hi everyone! Merry Christmas to all. >>> >>> I've been away from LC for a very long time, concentrating on Architecture, but trying to use one of my stacks recently I encountered the "explicit variable" problem and I have forgotten how to resolve it. Here's a snippet of my code: >>> on mouseup again >>> if the hilite of btn "L/180" then >>> put 180 into myDefl >>> >>> TIA, >>> >>> Joe Lewis Wilkins >>> Architect, >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> Matthias Rebbe >> Tel: +49 5741 310000 >> +49 160 5504462 >> eMail: matthias underscore livecode underscore 150811 at m dash r dash d dot de >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode Matthias Rebbe Tel: +49 5741 310000 +49 160 5504462 eMail: matthias underscore livecode underscore 150811 at m dash r dash d dot de From pete at lcsql.com Fri Dec 13 18:03:56 2013 From: pete at lcsql.com (Peter Haworth) Date: Fri, 13 Dec 2013 15:03:56 -0800 Subject: How do I find the rgb values for colors defined by their name:e.g. blue, green, yellow etc. - Found word(s) list error in the Text body In-Reply-To: <092A0ABD-2922-4D12-94E4-ED72AEE91A1B@mac.com> References: <56964388-915C-4272-AB60-681A058F5AB2@sbcglobal.net> <2ECB53C5-486A-44E3-9915-279C526EA477@iotecdigital.com> <52AB56BA.2020704@hyperactivesw.com> <52AB6603.7070402@hyperactivesw.com> <092A0ABD-2922-4D12-94E4-ED72AEE91A1B@mac.com> Message-ID: Thanks Paul and Jacque. Us gmail users will have to remember to do it that way. Pete lcSQL Software On Fri, Dec 13, 2013 at 1:53 PM, Paul Hibbert wrote: > Looks good to me, perfectly copyable! > > Paul > > > On 2013-12-13, at 1:22 PM, Peter Haworth wrote: > > > I think I found how to deal with all the formatting problems. Found a > > "Paste and match style" edit menu option (or shift-command-V) in gmail > > which looks like it does the trick. Does this come out OK? > > > > put empty into tArray > > put x into tArray["PropertySequence"] > > put tGroupID into tArray["GroupID"] > > put tPropertyID into tArray["PropertyID"] > > > > Pete > > lcSQL Software > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From capellan2000 at gmail.com Fri Dec 13 19:13:38 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Fri, 13 Dec 2013 16:13:38 -0800 (PST) Subject: Playing video within stacks on Linux Message-ID: <1386980018143-4673716.post@n4.nabble.com> Hi All, How do you play videoclips inside a stack on Linux? I been trying, without success, to play a short clip inside a stack. By the way, Why the preferred Video Player is not saved between sessions? Every time that I open LiveCode, have to write this in the message box: set vcplayer to "/usr/bin/gnome-media-player" XAnim does not exists in the repositories for Ubuntu, just here: http://xanim.polter.net/ This VideoClipPlayer must be a preference set in the IDE but could not find it in the Preferences pane... Thanks in advance! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Playing-video-within-stacks-on-Linux-tp4673716.html Sent from the Revolution - User mailing list archive at Nabble.com. From warren at warrensweb.us Fri Dec 13 20:14:51 2013 From: warren at warrensweb.us (Warren Samples) Date: Fri, 13 Dec 2013 19:14:51 -0600 Subject: Playing video within stacks on Linux In-Reply-To: <1386980018143-4673716.post@n4.nabble.com> References: <1386980018143-4673716.post@n4.nabble.com> Message-ID: <52ABB10B.9010106@warrensweb.us> On 12/13/2013 06:13 PM, Alejandro Tejada wrote: > Hi All, > > How do you play videoclips inside a stack on Linux? > > I been trying, without success, to play a short clip > inside a stack. > > By the way, Why the preferred Video Player is not saved > between sessions? > > Every time that I open LiveCode, have to write this > in the message box: > > set vcplayer to "/usr/bin/gnome-media-player" > > XAnim does not exists in the repositories > for Ubuntu, just here: http://xanim.polter.net/ > > This VideoClipPlayer must be a preference set in the IDE > but could not find it in the Preferences pane... > > Thanks in advance! > > Al Video playback is a mess under Linux. We are eagerly awaiting the new multimedia object! I don't have helpful advice, but my experience in openSUSE is that LiveCode attempts to play videoclips using mplayer by default. Audio plays but video does not display. This is true regardless of whether or not desktop effects are enabled. It seems unlikely that this would be codec dependent since mplayer is clearly playing the file and is capable of rendering the video along with the audio. On my system disabling desktop effects prior to launching LiveCode allows video to display in the player (not as a videoclip, though) but now, in LC 6.5.0, hue is completely off. As I said, eagerly awaiting the new player... Good luck! Warren From ambassador at fourthworld.com Fri Dec 13 20:45:21 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 13 Dec 2013 17:45:21 -0800 Subject: scriptTextFont Message-ID: <52ABB831.9060707@fourthworld.com> In LC 6.5 the scriptTextFont and scriptTextSize global properties are empty. How does one obtain the font and size set in prefs used by the script editor? And why doesn't the IDE use the built-in properties for that? -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From monte at sweattechnologies.com Fri Dec 13 20:49:58 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Sat, 14 Dec 2013 12:49:58 +1100 Subject: scriptTextFont In-Reply-To: <52ABB831.9060707@fourthworld.com> References: <52ABB831.9060707@fourthworld.com> Message-ID: On 14/12/2013, at 12:45 PM, Richard Gaskin wrote: > In LC 6.5 the scriptTextFont and scriptTextSize global properties are empty. > > How does one obtain the font and size set in prefs used by the script editor? Here's some code from my diff field: dispatch function "sePrefGet" to stack "revNewScriptEditor" with "editor,backgroundcolor" set the backColor of me to the result dispatch function "sePrefGet" to stack "revNewScriptEditor" with "editor,font" set the textFont of me to the result dispatch function "sePrefGet" to stack "revNewScriptEditor" with "editor,fontsize" set the textSize of me to the result _internal script colorize char 1 to (the number of chars of me) of me > > And why doesn't the IDE use the built-in properties for that? No idea -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From capellan2000 at gmail.com Fri Dec 13 20:54:40 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Fri, 13 Dec 2013 17:54:40 -0800 (PST) Subject: Playing video within stacks on Linux In-Reply-To: <52ABB10B.9010106@warrensweb.us> References: <1386980018143-4673716.post@n4.nabble.com> <52ABB10B.9010106@warrensweb.us> Message-ID: <1386986080334-4673720.post@n4.nabble.com> Warren Samples wrote > Video playback is a mess under Linux. > We are eagerly awaiting the new > multimedia object! > [snip] Hi Warren, What is your experience using shell commands to control a video player? This works from the message box: shell("mplayer -ontop -noborder -geometry 50%:50% myvideo.mp4") but I have not found a way to pause, stop, move forward or backward, change volume, etc, after the movie have started playing. It?s necessary to wait until the movie plays completely to issue another shell command... :( Notice that you could use vlc in the same way, and vlc already shows all controls inside the video windows, but LiveCode does not respond to any command until VLC is closed (not simply stopped). Does exists some way to control with precision these video players (using shell or other method) within LiveCode? Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Playing-video-within-stacks-on-Linux-tp4673716p4673720.html Sent from the Revolution - User mailing list archive at Nabble.com. From ambassador at fourthworld.com Fri Dec 13 21:05:34 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 13 Dec 2013 18:05:34 -0800 Subject: scriptTextFont In-Reply-To: References: Message-ID: <52ABBCEE.3070806@fourthworld.com> Monte wrote: > On 14/12/2013, at 12:45 PM, Richard Gaskin wrote: > >> In LC 6.5 the scriptTextFont and scriptTextSize global properties are empty. >> >> How does one obtain the font and size set in prefs used by the script editor? > > Here's some code from my diff field: > > dispatch function "sePrefGet" to stack "revNewScriptEditor" with "editor,backgroundcolor" > set the backColor of me to the result > dispatch function "sePrefGet" to stack "revNewScriptEditor" with "editor,font" > set the textFont of me to the result > dispatch function "sePrefGet" to stack "revNewScriptEditor" with "editor,fontsize" > set the textSize of me to the result > _internal script colorize char 1 to (the number of chars of me) of me >> >> And why doesn't the IDE use the built-in properties for that? > > No idea I filed a bug against it, as those properties are very useful to folks making IDE tools to ensure we display script-related stuff that reflect the user's preferences: Know the engine. Trust the engine. Use the engine. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From roger.e.eller at sealedair.com Fri Dec 13 21:16:46 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Fri, 13 Dec 2013 21:16:46 -0500 Subject: Playing video within stacks on Linux In-Reply-To: <1386986080334-4673720.post@n4.nabble.com> References: <1386980018143-4673716.post@n4.nabble.com> <52ABB10B.9010106@warrensweb.us> <1386986080334-4673720.post@n4.nabble.com> Message-ID: http://livecode.com/community/roadmap/ *Queued: **(behind 7 other priorities)* Multimedia A new cross platform player object. ~Roger On Fri, Dec 13, 2013 at 8:54 PM, Alejandro Tejada wrote: > Warren Samples wrote > > Video playback is a mess under Linux. > > We are eagerly awaiting the new > > multimedia object! > > [snip] > > Hi Warren, > > What is your experience using shell commands > to control a video player? > > This works from the message box: > > shell("mplayer -ontop -noborder -geometry 50%:50% myvideo.mp4") > > but I have not found a way to pause, stop, move forward or backward, > change volume, etc, after the movie have started playing. > It?s necessary to wait until the movie plays completely to issue > another shell command... :( > > Notice that you could use vlc in the same way, and vlc already > shows all controls inside the video windows, but LiveCode does not > respond to any command until VLC is closed (not simply stopped). > > Does exists some way to control with precision these video players > (using shell or other method) within LiveCode? > > Al > > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/Playing-video-within-stacks-on-Linux-tp4673716p4673720.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From warren at warrensweb.us Fri Dec 13 21:37:47 2013 From: warren at warrensweb.us (Warren Samples) Date: Fri, 13 Dec 2013 20:37:47 -0600 Subject: Playing video within stacks on Linux In-Reply-To: <1386986080334-4673720.post@n4.nabble.com> References: <1386980018143-4673716.post@n4.nabble.com> <52ABB10B.9010106@warrensweb.us> <1386986080334-4673720.post@n4.nabble.com> Message-ID: <52ABC47B.7040204@warrensweb.us> On 12/13/2013 07:54 PM, Alejandro Tejada wrote: > Warren Samples wrote >> Video playback is a mess under Linux. >> We are eagerly awaiting the new >> multimedia object! >> [snip] > > Hi Warren, > > What is your experience using shell commands > to control a video player? > > This works from the message box: > > shell("mplayer -ontop -noborder -geometry 50%:50% myvideo.mp4") > > but I have not found a way to pause, stop, move forward or backward, > change volume, etc, after the movie have started playing. > It?s necessary to wait until the movie plays completely to issue > another shell command... :( > > Notice that you could use vlc in the same way, and vlc already > shows all controls inside the video windows, but LiveCode does not > respond to any command until VLC is closed (not simply stopped). > > Does exists some way to control with precision these video players > (using shell or other method) within LiveCode? > > Al > > You can run mplayer in slave mode and control it with LiveCode writing to the FIFO. http://www.mplayerhq.hu/DOCS/tech/slave.txt Because shell() is blocking, you probably want to use an independent process to open mplayer using -slave. I once spent some time exploring this. You have to take precautions to make sure you don't leave a bunch of mplayer instances open when you're done. I couldn't get embed to work to attach mplayer to a LiveCode window, but this didn't appear to be a LiveCode issue per se since it was very fickle about attaching to other application windows as well. If you don't mind having mplayer open in an independent window, this may be a good option. Warren From capellan2000 at gmail.com Fri Dec 13 21:59:25 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Fri, 13 Dec 2013 18:59:25 -0800 (PST) Subject: Playing video within stacks on Linux In-Reply-To: References: <1386980018143-4673716.post@n4.nabble.com> <52ABB10B.9010106@warrensweb.us> <1386986080334-4673720.post@n4.nabble.com> Message-ID: <1386989965255-4673724.post@n4.nabble.com> Here is the manual, just in case that many of you want to check by yourself all the capabilities of mplayer :D http://www.mplayerhq.hu/DOCS/man/en/mplayer.1.html Interesting enough, the keyboard works inside the floating mplayer video window. So, if needed, a user could be instructed to use these keys to control the video. Looks like it is possible to control mplayer (and vlc) using sockets: http://mplayerhq.hu/pipermail/mplayer-users/2007-April/066505.html http://n0tablog.wordpress.com/2009/02/09/controlling-vlc-via-rc-remote-control-interface-using-a-unix-domain-socket-and-no-programming/ How many of you have used sockets to control other applications inside LiveCode? Al shell("mplayer -ontop -noborder -geometry 50%:50% -quiet -ss 12 -xy 0.5 TFF.mp4") -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Playing-video-within-stacks-on-Linux-tp4673716p4673724.html Sent from the Revolution - User mailing list archive at Nabble.com. From mwieder at ahsoftware.net Fri Dec 13 22:39:48 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 13 Dec 2013 19:39:48 -0800 Subject: Raspberry Pi In-Reply-To: <52AB6425.7010107@runrev.com> References: <52AB6425.7010107@runrev.com> Message-ID: <46-2104297225.20131213193948@ahsoftware.net> Fraser- ...but wait - there's more: you can mail a configured raspberry pi to these folks in Austria who run a colo site, and they'll host it for you for free (yes, Richmond, as in beer)... and give you 100GB traffic on a 100MB connection! Kyle turned me onto this the other day, and he's had his running for over a year now. http://www.linuxjournal.com/content/raspberry-strudel-my-raspberry-pi-austria -- -Mark Wieder ahsoftware at gmail.com From mwieder at ahsoftware.net Fri Dec 13 22:48:24 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 13 Dec 2013 19:48:24 -0800 Subject: Backdrop under Ubuntu Linux In-Reply-To: <52AB78FF.4060003@warrensweb.us> References: <1386965585089-4673697.post@n4.nabble.com> <52AB74CB.1040003@warrensweb.us> <52AB77DA.9020201@warrensweb.us> <52AB78FF.4060003@warrensweb.us> Message-ID: <174-2103781624.20131213194824@ahsoftware.net> Warren- Friday, December 13, 2013, 1:15:43 PM, you wrote: > ummmm... I should have tested a little more. Toggling desktop effects > off does allow LiveCode to display the backdrop in older versions of > LiveCode, through 6.1.3, on my system. It's only in 6.5.0 that there is > no backdrop even with effects off. Confirmed here with linux mint 14, with the added proviso that a black backdrop doesn't show up - apparently black maps to invisible, since the screen does flicker a bit when I toggle the backdrop on and off. And that's as in black backdrops don't work for me on linux in any version, not just since 6.5. -- -Mark Wieder ahsoftware at gmail.com From ambassador at fourthworld.com Fri Dec 13 23:27:58 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 13 Dec 2013 20:27:58 -0800 Subject: Backdrop under Ubuntu Linux In-Reply-To: <174-2103781624.20131213194824@ahsoftware.net> References: <174-2103781624.20131213194824@ahsoftware.net> Message-ID: <52ABDE4E.7080304@fourthworld.com> On Ubuntu 13.10 when I run this: set the backdrop to blue ...I get nothing. :( I updated my earlier backdrop bug report: -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From warren at warrensweb.us Sat Dec 14 00:02:42 2013 From: warren at warrensweb.us (Warren Samples) Date: Fri, 13 Dec 2013 23:02:42 -0600 Subject: Backdrop under Ubuntu Linux In-Reply-To: <174-2103781624.20131213194824@ahsoftware.net> References: <1386965585089-4673697.post@n4.nabble.com> <52AB74CB.1040003@warrensweb.us> <52AB77DA.9020201@warrensweb.us> <52AB78FF.4060003@warrensweb.us> <174-2103781624.20131213194824@ahsoftware.net> Message-ID: <52ABE672.2060908@warrensweb.us> On 12/13/2013 09:48 PM, Mark Wieder wrote: > Warren- > > Friday, December 13, 2013, 1:15:43 PM, you wrote: > >> ummmm... I should have tested a little more. Toggling desktop effects >> off does allow LiveCode to display the backdrop in older versions of >> LiveCode, through 6.1.3, on my system. It's only in 6.5.0 that there is >> no backdrop even with effects off. > > Confirmed here with linux mint 14, with the added proviso that a black > backdrop doesn't show up - apparently black maps to invisible, since > the screen does flicker a bit when I toggle the backdrop on and off. > And that's as in black backdrops don't work for me on linux in any > version, not just since 6.5. > Curiouser and curiouser. I don't have any problem (pre 6.5) with black backdrops here, so long as desktop effects are off. Investigating this, though, reveals that the problem here is a little more complex than I had realized. When running KDE with effects enabled, the black backdrop is, as you suggest, "invisible", but other colors are displaying with the sort of semi-transparent quality that Richard describes in his bug report. I obviously had only ever tried it with black. And, the backdrop is completely AWOL in LC 6.5 regardless of color or desktop effects. Warren From fraser.gordon at runrev.com Sat Dec 14 09:48:59 2013 From: fraser.gordon at runrev.com (Fraser Gordon) Date: Sat, 14 Dec 2013 14:48:59 +0000 Subject: Raspberry Pi In-Reply-To: <46-2104297225.20131213193948@ahsoftware.net> References: <52AB6425.7010107@runrev.com> <46-2104297225.20131213193948@ahsoftware.net> Message-ID: <52AC6FDB.5080506@runrev.com> On 14/12/2013 03:39, Mark Wieder wrote: > ...but wait - there's more: you can mail a configured raspberry pi to > these folks in Austria who run a colo site, and they'll host it for > you for free (yes, Richmond, as in beer)... and give you 100GB traffic > on a 100MB connection! That is really cool. I do have a spare RPi lying around the flat that I've not yet found a use for so it seems like an ideal candidate. It'd be interesting to have a LiveCode IDE that can be accessed anywhere but I found out the hard way that X11 forwarding over SSH doesn't work well on the Pi's CPU... Still, for a low-cost personal HTTP/mail server, it seems perfect. I also wonder how a free-as-in-speech hosting provider would work ;) Regards, Fraser From jhurley0305 at sbcglobal.net Sat Dec 14 10:20:56 2013 From: jhurley0305 at sbcglobal.net (James Hurley) Date: Sat, 14 Dec 2013 07:20:56 -0800 Subject: revSpeak in Mac OS 10.9 In-Reply-To: References: Message-ID: <14C637DC-7849-4CF6-B94B-502EF17DEAAC@sbcglobal.net> As I've posted earlier, revSpeak in Mac OS 10.9 is not as forgiving as it once was. If repSpeak detects a single character it finds offensive, it won't read the text. It won't even begin. It apparently goes through the entire text and if it finds a character it disapproves of, it won't even start to read. (It's like the fussy diner who, if he finds a single worm in his salad, sends it all back to the kitchen; where the worm will be removed and returned to the diner.) I found one more character to add to the list I posted earlier that needs to be fixed for revSpeak: the ellipsis. So to make text acceptable to revSpeak, run it through this bit of code below. I'm sure I will run into other offending characters in time. (I'm a terrible proofreader and I count on LC to speak what I thought I wrote. It is an essential tool for me. Great for finding faux pas like "The defendant was represented by the Pubic Defender.") on mouseUp put field 1 into tText --Field 1 contains text that was copied from a MS Word document. put numToChar(213) into tApostrophe put numToChar(210) into tQuote1 ?Curly quote put numToChar(211) into tQuote2 put numToChar(202) into tChoker ?I forget where this comes from put numToChar(209) into tDash put numTOchar(201) into tEllipses put numToChar(34) into tQuote replace tDash with "-" in tText replace tChoker with empty in tText replace tApostrophe with "'" in tText replace tQuote1 with tQuote in tText -Surprisingly LC's Quote doesn't seem to work here, only char 34. replace tQuote2 with tQuote in tText replace tEllipses with ?..." in tText put tText into field 1 end mouseUP (Due to the sensitivity of this post to proper formatting, I've run it through Text Edit. Hope that worked. In my last post my quotation marks were all replaced by question marks. It all turned out very questionable.) From dochawk at gmail.com Sat Dec 14 11:43:20 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 14 Dec 2013 08:43:20 -0800 Subject: Up, Down and Sideways In-Reply-To: <52AA04DC.3080105@gmail.com> References: <52A9FF78.5070907@gmail.com> <52AA0131.3010207@fourthworld.com> <52AA04DC.3080105@gmail.com> Message-ID: On Thu, Dec 12, 2013 at 10:47 AM, Richmond wrote: > I am currently working on a project for some Professors who are having a > problem with Old Church Slavonic > (come to think of things, Old Church Slavonic is fairly problematic in its > own right). Nothing like the the problems there would be *without* Old Church Slavonic :) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From richmondmathewson at gmail.com Sat Dec 14 12:20:38 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 14 Dec 2013 19:20:38 +0200 Subject: Up, Down and Sideways In-Reply-To: References: <52A9FF78.5070907@gmail.com> <52AA0131.3010207@fourthworld.com> <52AA04DC.3080105@gmail.com> Message-ID: <52AC9366.5050908@gmail.com> On 14/12/13 18:43, Dr. Hawkins wrote: > On Thu, Dec 12, 2013 at 10:47 AM, Richmond wrote: >> I am currently working on a project for some Professors who are having a >> problem with Old Church Slavonic >> (come to think of things, Old Church Slavonic is fairly problematic in its >> own right). > Nothing like the the problems there would be *without* Old Church Slavonic :) > > Let's be rude, crude and direct: Old Church Slavonic may have originated in 2 ways: 1. Derived from Bishop Ulfilas's Gothic alphabet. 2. Cooked up by a disciple of Cyril and Methodius. Either way, this happened at the 'great schism' between the Western Christian Church and the Eastern Christian Church; and anybody, with a bit of thought, can see that this was done to divide the Catholics from the Orthodox still further. Now, as a semi-Christian, I don't have a great deal of time for Christian Church heirarchies, but the nastinesses that subsequently took place as a result of that split had got nothing to do with anything Christianity's putative founder may or may not have said. The Crusades saw Catholic knights slaughtering 'heretic' Orthodox people who they regarded as worse than Muslims. Old Church Slavonic was largely used for writing down religious documents of various sorts designed (like a very large number of religious documents the world over) to stop people using the brains that God (?) had given them and follow, sheeplike, the anti-life, anti-joy aescetic stuff peddled by Paul of Tarsus and a load of shrivelled types who sat on the tops of pillars. As far as Old Church Slavonic is regarded as of linguistic interest, and how from it came all the Eastern Slavic languages and their systems of writing, that's OK; but when it comes for why the writing system was designed (after Glagolitic turned out to be a complete turkey because it took donkey's ages to write), it probably caused more problems than it solved. Here's a question I kept hearing in Israel in 1980: "Why did the early Zionists" decide to use the Aramaic alphabet to write modern Hebrew instead of a modified Latin one? Here's another point: Mustapha Kemal knew very well what he was doing when he made the Turks give up the Arabic alphabet for a modified alphabet. And, further to that: Lenin knew what he was doing when he made all the Turkic republics in the Soviet Union start using Latin writing systems, just as Stalin knew what he was doing when he forced them to switch from Latin to Cyrillic. Notwithstanding that; history is irreversible, and loads of students and academics make their bread and cheese with Old Church Slavonic (well, there we are, it's doing some good at last) and need to type the blessed language comparatively easily; and, here's Richmond falling foul of his modifier keys. I am tending towards using the CTRL key; but am still not completely sure if a rawKeyUp trapped by Livecode will stop another sort of command happening in Windows or Linux: for instance, I don't want, when my end-user presses CTRL + P to get a "combining ?" and ends up making his/her printer do something. Richmond. P.S. Pinot Noir 2011. From rjearp at hotmail.com Sat Dec 14 12:54:48 2013 From: rjearp at hotmail.com (Bob Earp) Date: Sat, 14 Dec 2013 09:54:48 -0800 Subject: Merry Christmas......... Message-ID: A certain RunRev employee was drinking in a bar in London when he gets a call on his mobile. With great cheer in his heart he orders drinks for everybody in the bar as he announces his wife has just produced a typical Scottish baby boy weighing 25 pounds. Nobody can believe that any new baby can weigh in at 25 pounds, but the man just shrugs, "That's about average up our way, folks...like I said - my boy's a typical Highland baby boy." Two weeks later the man returns to the bar. The bartender says, "Say, you're the father of that typical Scottish baby that weighed 25 pounds at birth, aren't you? Everybody's been making' bets about how big he'd be in two weeks.....so how much does he weigh now?? The proud father answers, "Seventeen pounds." The bartender is puzzled and concerned. "What happened? He was 25 pounds the day he was born." The father takes a slow swig from his Glemmorangie, wipes his lips on his shirt sleeve, leans into the bartender and proudly says, "Had him circumcised." ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Thanks to all of the RunRev team for the consistent hard work over the last year, it's not easy satisfying a bunch of customers like us. You may not always get it right, but like the Everready bunny, you keep on working at it, and that's much appreciated !! Merry Christmas to you all and the very best of wishes for a safe, happy and healthy 2014... Bob Earp White Rock, British Columbia. From ray at linkit.com Sat Dec 14 13:02:29 2013 From: ray at linkit.com (Ray) Date: Sat, 14 Dec 2013 13:02:29 -0500 Subject: Merry Christmas......... In-Reply-To: References: Message-ID: <52AC9D35.9040502@LinkIt.Com> Excellent joke, Bob! And I second the sincere "Thank You" to all on the RunRev Team. Merry Christmas, Ray Horsley LinkIt! Software On 12/14/2013 12:54 PM, Bob Earp wrote: > A certain RunRev employee was drinking in a bar in London when he gets a call on his mobile. With great cheer in his heart he orders drinks for everybody in the bar as he announces his wife has just produced a typical Scottish baby boy weighing 25 pounds. > > Nobody can believe that any new baby can weigh in at 25 pounds, but the man just shrugs, "That's about average up our way, folks...like I said - my boy's a typical Highland baby boy." > > Two weeks later the man returns to the bar. The bartender says, "Say, you're the father of that typical Scottish baby that weighed 25 pounds at birth, aren't you? Everybody's been making' bets about how big he'd be in two weeks.....so how much does he weigh now?? > > The proud father answers, "Seventeen pounds." > > The bartender is puzzled and concerned. "What happened? He was 25 pounds the day he was born." > > The father takes a slow swig from his Glemmorangie, wipes his lips on his shirt sleeve, leans into the bartender and proudly says, > "Had him circumcised." > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > Thanks to all of the RunRev team for the consistent hard work over the last year, it's not easy satisfying a bunch of customers like us. You may not always get it right, but like the Everready bunny, you keep on working at it, and that's much appreciated !! > > Merry Christmas to you all and the very best of wishes for a safe, happy and healthy 2014... > > > Bob Earp > White Rock, British Columbia. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From capellan2000 at gmail.com Sat Dec 14 13:19:37 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sat, 14 Dec 2013 10:19:37 -0800 (PST) Subject: revSpeak in Mac OS 10.9 In-Reply-To: <14C637DC-7849-4CF6-B94B-502EF17DEAAC@sbcglobal.net> References: <14C637DC-7849-4CF6-B94B-502EF17DEAAC@sbcglobal.net> Message-ID: <1387045177370-4673735.post@n4.nabble.com> Great to know! Many Thanks for posting this update about ascii character incompatible with revSpeak. Now, we need a volunteer to add this info to the dictionary. :D http://docs.runrev.com/Command/revSpeak Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/revSpeak-in-Mac-OS-10-9-tp4673730p4673735.html Sent from the Revolution - User mailing list archive at Nabble.com. From stephenREVOLUTION2 at barncard.com Sat Dec 14 13:27:41 2013 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sat, 14 Dec 2013 10:27:41 -0800 Subject: Merry Christmas......... In-Reply-To: References: Message-ID: On Sat, Dec 14, 2013 at 9:54 AM, Bob Earp wrote: > "Had him circumcised." ?spit out coffee? *--* *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* From jacques.hausser at unil.ch Sat Dec 14 13:34:49 2013 From: jacques.hausser at unil.ch (Jacques Hausser) Date: Sat, 14 Dec 2013 19:34:49 +0100 Subject: Up, Down and Sideways In-Reply-To: <52AC9366.5050908@gmail.com> References: <52A9FF78.5070907@gmail.com> <52AA0131.3010207@fourthworld.com> <52AA04DC.3080105@gmail.com> <52AC9366.5050908@gmail.com> Message-ID: <74734E27-F24D-47D4-8EC7-E5D6B64B1E66@unil.ch> Le 14 d?c. 2013 ? 18:20, Richmond a ?crit : > Let's be rude, crude and direct: > > Old Church Slavonic may have originated in 2 ways: > > 1. Derived from Bishop Ulfilas's Gothic alphabet. > > 2. Cooked up by a disciple of Cyril and Methodius. > > Either way, this happened at the 'great schism' between the Western Christian Church > and the Eastern Christian Church; and anybody, with a bit of thought, can see that this was done > to divide the Catholics from the Orthodox still further. The only alphabet inventor I?m really fond of is Sequoyah Jacques P.S. Grenache Syrah 2012 From capellan2000 at gmail.com Sat Dec 14 13:36:21 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sat, 14 Dec 2013 10:36:21 -0800 (PST) Subject: =?UTF-8?Q?Eric_Chatonet=C2=B4s_website?= Message-ID: <1387046181410-4673738.post@n4.nabble.com> Hi All, What happened to Eric Chatonet?s website? http://www.sosmartsoftware.com/ The message is: Sorry, Site temporary unavailable. Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Eric-Chatonet-s-website-tp4673738.html Sent from the Revolution - User mailing list archive at Nabble.com. From capellan2000 at gmail.com Sat Dec 14 13:55:02 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sat, 14 Dec 2013 10:55:02 -0800 (PST) Subject: Backdrop under Ubuntu Linux In-Reply-To: <52ABE672.2060908@warrensweb.us> References: <1386965585089-4673697.post@n4.nabble.com> <52AB74CB.1040003@warrensweb.us> <52AB77DA.9020201@warrensweb.us> <52AB78FF.4060003@warrensweb.us> <174-2103781624.20131213194824@ahsoftware.net> <52ABE672.2060908@warrensweb.us> Message-ID: <1387047302448-4673739.post@n4.nabble.com> Hi All, Looks like there is consensus... If a developer needs a backdrop, it?s easier to create your own backdrop... http://runtime-revolution.278305.n4.nabble.com/backdrop-td289119.html Xavier Bury: -- untested but it should work... constant backdropfilename="mybackdrop.rev" on resume if there is not a stack backdropfilename then open stack backdropfilename -- substack of me set the rect of stack backbackdropfilenamedrop to the screenrect end if go to me end resume on suspend -- save anything? hide stack backdropfilename end suspend ----------------------------------- http://runtime-revolution.278305.n4.nabble.com/Backdrop-hiding-standalone-window-td346479.html Richmond Mathewson answers: if you really feel the urge to have some sort of backdrop use a vast substack with a neutral colour/texture that gets "pushed" to the back when it is opened; make sure it stays there even when end-users click on it: http://mathewson.110mb.com/FILEZ/Backdrop-O-Matic.rev.zip ---------------------------------- Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Backdrop-under-Ubuntu-Linux-tp4673697p4673739.html Sent from the Revolution - User mailing list archive at Nabble.com. From dochawk at gmail.com Sat Dec 14 15:03:05 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 14 Dec 2013 12:03:05 -0800 Subject: Up, Down and Sideways In-Reply-To: <52AC9366.5050908@gmail.com> References: <52A9FF78.5070907@gmail.com> <52AA0131.3010207@fourthworld.com> <52AA04DC.3080105@gmail.com> <52AC9366.5050908@gmail.com> Message-ID: On Sat, Dec 14, 2013 at 9:20 AM, Richmond wrote: > Let's be rude, crude and direct: and wrong :) > Old Church Slavonic may have originated in 2 ways: > > 1. Derived from Bishop Ulfilas's Gothic alphabet. > > 2. Cooked up by a disciple of Cyril and Methodius. > > Either way, this happened at the 'great schism' between the Western > Christian Church > and the Eastern Christian Church; and anybody, with a bit of thought, can > see that this was done > to divide the Catholics from the Orthodox still further. Except C&M were nearly 200 years before the Schism . . . and, for that matter, after having been sent from Constantinople, they were called upon the carpet in Rome--at which point Pope Nicholas ordained Methodius, told his own archbishop in the dispute to back off, and sent C&M back . . . > P.S. Pinot Noir 2011. But that won't be very Noir any more, will it? :) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From bornstein at designeq.com Sat Dec 14 15:09:19 2013 From: bornstein at designeq.com (Howard Bornstein) Date: Sat, 14 Dec 2013 12:09:19 -0800 Subject: Zero byte music files In-Reply-To: <52AB74AA.3060505@hyperactivesw.com> References: <52AB74AA.3060505@hyperactivesw.com> Message-ID: I would guess it's LC. This seems very similar to the Open File command: Use the *open file* command to create a fileor prepare an existing file for use by the read from fileor write to file commands . *Parameters:* filePath - Specifies the name and location of the file you want to open or create. If you specify a name but not a location, LiveCode assumes the file is in the defaultFolder. *If the file you specify doesn't exist, LiveCode creates it.* On Fri, Dec 13, 2013 at 12:57 PM, J. Landman Gay wrote: > If I try to load a player with a path to a file that doesn't exist on > disk, either the OS or LiveCode creates a zero-byte dummy file at the file > location. > > Does anyone know what causes that? Is it LC or the OS? This is on Mac. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Regards, Howard Bornstein ----------------------- www.designeq.com From capellan2000 at gmail.com Sat Dec 14 15:15:52 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sat, 14 Dec 2013 12:15:52 -0800 (PST) Subject: Eureka... and this how you play a movie inside a stack on linux Message-ID: <1387052152164-4673742.post@n4.nabble.com> Hi All, Look at this shell command, shell("mplayer -wid 25166356 -ontop -noborder -geometry 50%:50% -quiet -ss 12 -xy 0.5 mymovie.mp4") Using this string of commands, we could play a movie inside a stack in Linux. Notice this switch: -wid 25166356 It tells to mplayer in Linux, which windows must use to play the media file. To play media inside a stack, we need the LiveCode stack?s windows ID: put the windowid of topstack This function returns a number like: 25166356 Interesting enough, the movie resizes itself when we change the stack size. We could move and resize the stack, but apart from this, there is no way to stop, pause, rewind, forward, change volume, etc... Maybe, just maybe, this shell command could works too in Windows and Mac. Could you try this shell command in your own setup and report the results back? Here is the manual, if you want to test more mplayer commands: http://www.mplayerhq.hu/DOCS/man/en/mplayer.1.html Now, we only need a reliable way to control the movie inside the stack. How could we control mplayer from LiveCode? At least how to pause, rewind, forward and go to second? Thanks in advance! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Eureka-and-this-how-you-play-a-movie-inside-a-stack-on-linux-tp4673742.html Sent from the Revolution - User mailing list archive at Nabble.com. From fraser.gordon at runrev.com Sat Dec 14 15:39:13 2013 From: fraser.gordon at runrev.com (Fraser Gordon) Date: Sat, 14 Dec 2013 20:39:13 +0000 Subject: Raspberry Pi In-Reply-To: <297DF8F4-9DD6-4E77-B3B7-E8BD583E05C3@sweattechnologies.com> References: <52AB6425.7010107@runrev.com> <297DF8F4-9DD6-4E77-B3B7-E8BD583E05C3@sweattechnologies.com> Message-ID: <52ACC1F1.1030706@runrev.com> On 13/12/2013 21:24, Monte Goulding wrote: > It sounds like you're doing this in you're spare time Definitely my spare time. Too busy working on the wonders of Unicode support to be otherwise! > you've gone from a guy sitting at the back of the conference hall in > May to get a handle on the platform to someone spending his free time > playing with it ;-) I was only hiding at the back because you LiveCode pros are so terrifying ;) > Anyway, seeing as you love tinkering I'm wondering if Kevin discussed > with you my ideas for squeezing LC between Scratch and Python. I've not heard any mention of it but I'll take a look. I'd not heard of Scratch before but from a little investigation it reminds me very much of the Lego Mindstorms programming language. The file format looks easy enough to deal with but maybe more suited to implementing Scratch in LiveCode than importing it - even with something like LiveCode, any generated code probably wouldn't be very easy to read. Python externals sounds interesting (though I've not much used the language myself); ideally, a bridge would reflect the dynamic nature of both languages - instead of binding at engine compilation time, run-time loadable Python externals might be possible. That would be a fun experiment! Now look what you've done and done - you shouldn't go giving me ideas or I might actually be silly enough to try them! Problem with that is that new and exciting ideas tend to result in half-finished existing projects so be careful what you wish for... what originally got me into programming was deciding to simultaneously learn C/C++ and write an operating system kernel and it's still not finished ;) From phil.hudson at iname.com Sat Dec 14 15:58:30 2013 From: phil.hudson at iname.com (Philip Hudson) Date: Sat, 14 Dec 2013 20:58:30 +0000 Subject: Raspberry Pi In-Reply-To: <52ACC1F1.1030706@runrev.com> References: <52AB6425.7010107@runrev.com> <297DF8F4-9DD6-4E77-B3B7-E8BD583E05C3@sweattechnologies.com> <52ACC1F1.1030706@runrev.com> Message-ID: On 14 December 2013 20:39, Fraser Gordon wrote: > I'd not heard of > Scratch before but from a little investigation it reminds me very much > of the Lego Mindstorms programming language. > It's Smalltalk, of the Squeak variant. The layering is: Scratch, on top of EToys, on top of Squeak Smalltalk (I believe). Smalltalk was of course a major influence on, and inspiration for, HyperCard and, obviously, HyperTalk. -- Phil Hudson http://hudson-it.no-ip.biz @UWascalWabbit PGP/GnuPG ID: 0x887DCA63 From warren at warrensweb.us Sat Dec 14 16:10:05 2013 From: warren at warrensweb.us (Warren Samples) Date: Sat, 14 Dec 2013 15:10:05 -0600 Subject: Eureka... and this how you play a movie inside a stack on linux In-Reply-To: <1387052152164-4673742.post@n4.nabble.com> References: <1387052152164-4673742.post@n4.nabble.com> Message-ID: <52ACC92D.7020907@warrensweb.us> On 12/14/2013 02:15 PM, Alejandro Tejada wrote: > Maybe, just maybe, this shell command could works too in > Windows and Mac. > > Could you try this shell command in your own setup and > report the results back? > > Here is the manual, if you want to test more mplayer commands: > http://www.mplayerhq.hu/DOCS/man/en/mplayer.1.html > > Now, we only need a reliable way to control the movie > inside the stack. > > How could we control mplayer from LiveCode? > At least how to pause, rewind, forward and go to second? > > Thanks in advance! > > Al Embedding mplayer this way runs into compositing issues where the video displays in some kind of semi-transparent masking mode in many systems whit desktop effects enabled. Also, be aware that shell() is blocking. There are ways to get around that, but it is an important thing to keep in mind! I am pleased to say that '-wid' is now working here on my system whereas previously it had not. As far as controlling mplayer with LiveCode goes, you can open mplayer in slave mode and control it using sockets as you posted here yesterday or writing commands to a FIFO. I posted a link in your other thread yesterday. This is a very common way to write GUI frontends for mplayer. Warren From monte at sweattechnologies.com Sat Dec 14 16:15:59 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Sun, 15 Dec 2013 08:15:59 +1100 Subject: Raspberry Pi In-Reply-To: <52ACC1F1.1030706@runrev.com> References: <52AB6425.7010107@runrev.com> <297DF8F4-9DD6-4E77-B3B7-E8BD583E05C3@sweattechnologies.com> <52ACC1F1.1030706@runrev.com> Message-ID: <58426C3D-75FA-49F0-99D9-694787BD9A07@sweattechnologies.com> On 15/12/2013, at 7:39 AM, Fraser Gordon wrote: > I've not heard any mention of it but I'll take a look. I'd not heard of > Scratch before but from a little investigation it reminds me very much > of the Lego Mindstorms programming language. The file format looks easy > enough to deal with but maybe more suited to implementing Scratch in > LiveCode than importing it - even with something like LiveCode, any > generated code probably wouldn't be very easy to read. Hmm... I was thinking if the imported code were well commented an easy to follow it ease the transition from Scratch to LC. > > Python externals sounds interesting (though I've not much used the > language myself); ideally, a bridge would reflect the dynamic nature of > both languages - instead of binding at engine compilation time, run-time > loadable Python externals might be possible. That would be a fun experiment! I haven't used it either but seeing its popularity as a teaching language when I noticed elmer which I think will slot into the lcidl toolchain nicely I thought it would be a good piece of the puzzle in getting people to notice LC. > > Now look what you've done and done - you shouldn't go giving me ideas or > I might actually be silly enough to try them! Problem with that is that > new and exciting ideas tend to result in half-finished existing projects > so be careful what you wish for... what originally got me into > programming was deciding to simultaneously learn C/C++ and write an > operating system kernel and it's still not finished ;) I'm positive we can come up with enough ideas for you so you will never finish that kernel. I remember Andre asking you to note down HTML5 export so how's that going? ;-) Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From capellan2000 at gmail.com Sat Dec 14 18:03:11 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sat, 14 Dec 2013 15:03:11 -0800 (PST) Subject: Eureka... and this how you play a movie inside a stack on linux In-Reply-To: <52ACC92D.7020907@warrensweb.us> References: <1387052152164-4673742.post@n4.nabble.com> <52ACC92D.7020907@warrensweb.us> Message-ID: <1387062191915-4673747.post@n4.nabble.com> Warren Samples wrote > [snip] > Embedding mplayer this way runs into compositing issues where the video > displays in some kind of semi-transparent masking mode in many systems > with desktop effects enabled. Ah. This could be a real problem. A floating windows with the player seems the most reliable way to show a movie from LiveCode. Warren Samples wrote > Also, be aware that shell() is blocking. > There are ways to get around that, but it is an important thing to keep > in mind! I am pleased to say that '-wid' is now working here on my > system whereas previously it had not. Maybe this working functionality is an effect of the new graphics library used in LiveCode. Now, it?s necessary to completely test this movie window: 1-Could we use a windowshape in this window? 2-Does it works in MS Windows and MacOSX? 3-Could we use a portable version of mPlayer instead of a installed version? Warren Samples wrote > As far as controlling mplayer with LiveCode goes, you can open mplayer > in slave mode and control it using sockets as you posted here yesterday > or writing commands to a FIFO. I posted a link in your other thread > yesterday. This is a very common way to write GUI frontends for mplayer. This is very helpful. Many thanks. Hopefully, one of the real experts in sockets (and troubleshooting them) could help posting a functional example that we could follow and extend. By the way, VLC have (or used to have) a function similar to -wid of mPlayer. https://wiki.videolan.org/VLC_command-line_help/ Embedded window video --drawable-hwnd= Window handle (HWND) Video will be embedded in this pre-existing window. If zero, a new window will be created. The Window handle is the same windowid returned by LiveCode... Correct? Which VLC version was compiled with this function enabled? VLC forums would be the ideal place to ask this, but I noticed that many answers in VLC forums receive an answer of the type: "RTFM" :( Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Eureka-and-this-how-you-play-a-movie-inside-a-stack-on-linux-tp4673742p4673747.html Sent from the Revolution - User mailing list archive at Nabble.com. From martyknappster at gmail.com Sat Dec 14 18:22:21 2013 From: martyknappster at gmail.com (Marty Knapp) Date: Sat, 14 Dec 2013 15:22:21 -0800 Subject: WYSIWYG is Wonky! Message-ID: <52ACE82D.3030800@gmail.com> I've been working on a Windows stack that will be printed and just noticed that when printing a card, the fonts are coming out larger than they appear on-screen by quite a bit. I'm using LC 6.1.3 on Windows 7. Another weird thing is that even though a field may be set for center justification, this enlargement I'm seeing grows the text to the right. I have the printer driver set to "download fonts as soft fonts," though I tried the other setting of "Substitute with device font" to no avail. In my tests I'm just using Arial - no 3rd party fonts have been tried. I had my son try it on his Windows 7 machine to a different printer with the same results. Is this normal on Windows? Thanks for any help, Marty From richmondmathewson at gmail.com Sat Dec 14 18:27:22 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 15 Dec 2013 01:27:22 +0200 Subject: Up, Down and Sideways In-Reply-To: References: <52A9FF78.5070907@gmail.com> <52AA0131.3010207@fourthworld.com> <52AA04DC.3080105@gmail.com> <52AC9366.5050908@gmail.com> Message-ID: <52ACE95A.2040300@gmail.com> On 14/12/13 22:03, Dr. Hawkins wrote: > On Sat, Dec 14, 2013 at 9:20 AM, Richmond wrote: > > >> Let's be rude, crude and direct: > and wrong :) > >> Old Church Slavonic may have originated in 2 ways: >> >> 1. Derived from Bishop Ulfilas's Gothic alphabet. >> >> 2. Cooked up by a disciple of Cyril and Methodius. >> >> Either way, this happened at the 'great schism' between the Western >> Christian Church >> and the Eastern Christian Church; and anybody, with a bit of thought, can >> see that this was done >> to divide the Catholics from the Orthodox still further. > Except C&M were nearly 200 years before the Schism . . . and, for that > matter, after having been sent from Constantinople, they were called > upon the carpet in Rome--at which point Pope Nicholas ordained > Methodius, told his own archbishop in the dispute to back off, and > sent C&M back . . . > > >> P.S. Pinot Noir 2011. > But that won't be very Noir any more, will it? Wait a minute: I am writing about the Cyrillic alphabet; NOT Glagolitic. Glagolitic was cooked up by C&M, Cyrillic (despite being named after Cyril) was not, and there is a lot of argy-bargy about who cooked it up. If you take a look at the map of Europe you will see that Orthodox Slavic countries use variants of the Cyrillic alphabet, and Catholic Slavic countries use variants of the Latin alphabet. Still Noir, and still gurgling around in the pipes :) Richmond. > > :) > From capellan2000 at gmail.com Sat Dec 14 19:06:53 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sat, 14 Dec 2013 16:06:53 -0800 (PST) Subject: Eureka... and this how you play a movie inside a stack on linux In-Reply-To: <1387062191915-4673747.post@n4.nabble.com> References: <1387052152164-4673742.post@n4.nabble.com> <52ACC92D.7020907@warrensweb.us> <1387062191915-4673747.post@n4.nabble.com> Message-ID: <1387066013381-4673750.post@n4.nabble.com> Yes. VLC could play a movie inside a stack too, but it hangs LiveCode after the movie finish playing... Maybe there are some additional commands that prevents that LiveCode hangs after playing the movie... By the way, keyboard shortcuts works fine inside the movie within the stack. You could play, pause, stop, etc, etc, etc... :D Just remember that LiveCode will hang after running this shell command in the message box, so save all your work before trying this: 1) Create a new mainstack 2) write in the message box: put the windowid of topstack This function returns a number like: 25166356 3) write in the message box: shell("vlc -I dummy --drawable-xid 25166356 mymovie.mp4") 4) After VLC finish playing your movie, only LiveCode hangs and you have to force quit the IDE. In Lubuntu, I just have to close the main menu window and LiveCode quits... Now we need a volunteer: Who will go to the VLC forums and ask them: Why the program hangs after playing the movie using these commands? Could be that we are using the wrong options to play the movie within the stack window? Which are the correct options to close the movie after it finish playing? Noticem please that using this option in VLC Linux: --drawable-hwnd 25166356 Does NOT works at all. The error produced by VLC is: vlc: unknown option or missing mandatory argument `--drawable-hwnd' Try `vlc --help' for more information. Have a nice weekend! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Eureka-and-this-how-you-play-a-movie-inside-a-stack-on-linux-tp4673742p4673750.html Sent from the Revolution - User mailing list archive at Nabble.com. From warren at warrensweb.us Sat Dec 14 19:36:08 2013 From: warren at warrensweb.us (Warren Samples) Date: Sat, 14 Dec 2013 18:36:08 -0600 Subject: Eureka... and this how you play a movie inside a stack on linux In-Reply-To: <1387066013381-4673750.post@n4.nabble.com> References: <1387052152164-4673742.post@n4.nabble.com> <52ACC92D.7020907@warrensweb.us> <1387062191915-4673747.post@n4.nabble.com> <1387066013381-4673750.post@n4.nabble.com> Message-ID: <52ACF978.1030606@warrensweb.us> On 12/14/2013 06:06 PM, Alejandro Tejada wrote: > Just remember that LiveCode will hang after running this > shell command in the message box, so save all your work > before trying this: Check the process viewer or top to see if vlc is still active. If so, that's your problem. shell() is blocking so until you kill the vlc process you started with shell() LiveCode can do nothing more. Warren From capellan2000 at gmail.com Sat Dec 14 19:47:22 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sat, 14 Dec 2013 16:47:22 -0800 (PST) Subject: Eureka... and this how you play a movie inside a stack on linux In-Reply-To: <52ACF978.1030606@warrensweb.us> References: <1387052152164-4673742.post@n4.nabble.com> <52ACC92D.7020907@warrensweb.us> <1387062191915-4673747.post@n4.nabble.com> <1387066013381-4673750.post@n4.nabble.com> <52ACF978.1030606@warrensweb.us> Message-ID: <1387068442826-4673752.post@n4.nabble.com> Yes. You are correct. These commands close VLC after playing and... LiveCode is responsive again: shell("vlc -I dummy --play-and-exit --drawable-xid 23069197 mymovie.mp4 ") But the most useful solution would be using Sockets or another methods to send instructions to VLC. Let?s hope that one of the experts in sockets and interapplication comunication reads this thread and finds time to help. :D A Media Player floating inside his own stack window is useful in many ways, until an embedded player becames available. We just need a better way to control it. Have a nice weekend! :) Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Eureka-and-this-how-you-play-a-movie-inside-a-stack-on-linux-tp4673742p4673752.html Sent from the Revolution - User mailing list archive at Nabble.com. From warren at warrensweb.us Sat Dec 14 19:51:59 2013 From: warren at warrensweb.us (Warren Samples) Date: Sat, 14 Dec 2013 18:51:59 -0600 Subject: Eureka... and this how you play a movie inside a stack on linux In-Reply-To: <1387066013381-4673750.post@n4.nabble.com> References: <1387052152164-4673742.post@n4.nabble.com> <52ACC92D.7020907@warrensweb.us> <1387062191915-4673747.post@n4.nabble.com> <1387066013381-4673750.post@n4.nabble.com> Message-ID: <52ACFD2F.7030008@warrensweb.us> On 12/14/2013 06:06 PM, Alejandro Tejada wrote: > Yes. VLC could play a movie inside a stack too, but it hangs > LiveCode after the movie finish playing... > > Maybe there are some additional commands that prevents > that LiveCode hangs after playing the movie... > > By the way, keyboard shortcuts works fine inside the > movie within the stack. You could play, pause, stop, > etc, etc, etc... :D > > Just remember that LiveCode will hang after running this > shell command in the message box, so save all your work > before trying this: > > 1) Create a new mainstack > > 2) write in the message box: > > put the windowid of topstack > > This function returns a number like: 25166356 > > 3) write in the message box: > > shell("vlc -I dummy --drawable-xid 25166356 mymovie.mp4") > > 4) After VLC finish playing your movie, only LiveCode hangs > and you have to force quit the IDE. In Lubuntu, I just have > to close the main menu window and LiveCode quits... > > Now we need a volunteer: > > Who will go to the VLC forums and ask them: > Why the program hangs after playing the movie > using these commands? > > Could be that we are using the wrong options to play > the movie within the stack window? > > Which are the correct options to close the movie > after it finish playing? > > Noticem please that using this option in VLC Linux: > --drawable-hwnd 25166356 > Does NOT works at all. The error produced by VLC is: > > vlc: unknown option or missing mandatory argument `--drawable-hwnd' > Try `vlc --help' for more information. > > Have a nice weekend! > > Al Embedding vlc displays the video without any of the transparency issues that mplayer demonstrates. The issue with LiveCode hanging does seem to be a result of using shell(). You should note that this means that LiveCode, or any app using this method, will be unresponsive so long as the vlc process is running. This is easy to work around, however. Finally, keyboard shortcuts are not working to control playback on my system. Warren From pete at lcsql.com Sat Dec 14 19:52:30 2013 From: pete at lcsql.com (Peter Haworth) Date: Sat, 14 Dec 2013 16:52:30 -0800 Subject: Hidden Tools menu items Message-ID: Was looking at the code for the IDE Tools menu today and found code to handle several items which don't appear on the menu, like: Animation manager Report setup Database Query Builder Emulating the Tools menu code in the message box, these items result in stacks being displayed. Are these items still "active"? Pete lcSQL Software From capellan2000 at gmail.com Sat Dec 14 20:05:18 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sat, 14 Dec 2013 17:05:18 -0800 (PST) Subject: Hidden Tools menu items In-Reply-To: References: Message-ID: <1387069518556-4673755.post@n4.nabble.com> The Animation Manager is within the unsupported stacks folder... To use it, you have to move it to the plugins folder. Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Hidden-Tools-menu-items-tp4673754p4673755.html Sent from the Revolution - User mailing list archive at Nabble.com. From mwieder at ahsoftware.net Sat Dec 14 20:09:08 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 14 Dec 2013 17:09:08 -0800 Subject: Hidden Tools menu items In-Reply-To: References: Message-ID: <91-2026937986.20131214170908@ahsoftware.net> Pete- Saturday, December 14, 2013, 4:52:30 PM, you wrote: > Animation manager > Report setup > Database Query Builder > Emulating the Tools menu code in the message box, these items result in > stacks being displayed. Are these items still "active"? Don't know about "active", but they've been "deprecated" for some time now. You can find them in the Toolset/Unsupported folder. -- -Mark Wieder ahsoftware at gmail.com From capellan2000 at gmail.com Sat Dec 14 20:11:57 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sat, 14 Dec 2013 17:11:57 -0800 (PST) Subject: Eureka... and this how you play a movie inside a stack on linux In-Reply-To: <52ACFD2F.7030008@warrensweb.us> References: <1387052152164-4673742.post@n4.nabble.com> <52ACC92D.7020907@warrensweb.us> <1387062191915-4673747.post@n4.nabble.com> <1387066013381-4673750.post@n4.nabble.com> <52ACFD2F.7030008@warrensweb.us> Message-ID: <1387069917566-4673756.post@n4.nabble.com> Warren Samples wrote > [snip] > Finally, keyboard shortcuts are not working > to control playback on my system. Check if keyboard shortcuts works fine in the VLC player application. To use the keyboard with the movie played inside the stack, first you have to click inside the movie and, only then, keyboard shortcuts works fine. If you click outside this movie windows, they don?t work. Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Eureka-and-this-how-you-play-a-movie-inside-a-stack-on-linux-tp4673742p4673756.html Sent from the Revolution - User mailing list archive at Nabble.com. From pete at lcsql.com Sat Dec 14 20:16:52 2013 From: pete at lcsql.com (Peter Haworth) Date: Sat, 14 Dec 2013 17:16:52 -0800 Subject: Hidden Tools menu items In-Reply-To: <1387069518556-4673755.post@n4.nabble.com> References: <1387069518556-4673755.post@n4.nabble.com> Message-ID: Thanks Alejandro. Not sure I want to put any unsupported stacks into my plugins folder :-) Pete lcSQL Software On Sat, Dec 14, 2013 at 5:05 PM, Alejandro Tejada wrote: > The Animation Manager is within the > unsupported stacks folder... > > To use it, you have to move it to the > plugins folder. > > Al > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/Hidden-Tools-menu-items-tp4673754p4673755.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Sat Dec 14 20:22:45 2013 From: pete at lcsql.com (Peter Haworth) Date: Sat, 14 Dec 2013 17:22:45 -0800 Subject: Global Properties Message-ID: Is there some way to get a list of the built-in global property names or are they included in the propertyNames property? Pete lcSQL Software From martyknappster at gmail.com Sat Dec 14 20:29:42 2013 From: martyknappster at gmail.com (Marty Knapp) Date: Sat, 14 Dec 2013 17:29:42 -0800 Subject: WYSIWYG is Wonky! In-Reply-To: <52ACE82D.3030800@gmail.com> References: <52ACE82D.3030800@gmail.com> Message-ID: <52AD0606.4020101@gmail.com> I've uploaded a graphic that shows what I'm getting: Marty > I've been working on a Windows stack that will be printed and just > noticed that when printing a card, the fonts are coming out larger > than they appear on-screen by quite a bit. I'm using LC 6.1.3 on > Windows 7. Another weird thing is that even though a field may be set > for center justification, this enlargement I'm seeing grows the text > to the right. I have the printer driver set to "download fonts as soft > fonts," though I tried the other setting of "Substitute with device > font" to no avail. In my tests I'm just using Arial - no 3rd party > fonts have been tried. > > I had my son try it on his Windows 7 machine to a different printer > with the same results. Is this normal on Windows? > > Thanks for any help, > Marty From ambassador at fourthworld.com Sat Dec 14 20:42:10 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 14 Dec 2013 17:42:10 -0800 Subject: WYSIWYG is Wonky! In-Reply-To: <52AD0606.4020101@gmail.com> References: <52AD0606.4020101@gmail.com> Message-ID: <52AD08F2.2010108@fourthworld.com> Try setting the stack's formatForPrinting property to true. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From warren at warrensweb.us Sat Dec 14 21:06:01 2013 From: warren at warrensweb.us (Warren Samples) Date: Sat, 14 Dec 2013 20:06:01 -0600 Subject: Eureka... and this how you play a movie inside a stack on linux In-Reply-To: <1387069917566-4673756.post@n4.nabble.com> References: <1387052152164-4673742.post@n4.nabble.com> <52ACC92D.7020907@warrensweb.us> <1387062191915-4673747.post@n4.nabble.com> <1387066013381-4673750.post@n4.nabble.com> <52ACFD2F.7030008@warrensweb.us> <1387069917566-4673756.post@n4.nabble.com> Message-ID: <52AD0E89.8090800@warrensweb.us> On 12/14/2013 07:11 PM, Alejandro Tejada wrote: > Check if keyboard shortcuts works fine in > the VLC player application. > > To use the keyboard with the movie played > inside the stack, first you have to click inside > the movie and, only then, keyboard > shortcuts works fine. > > If you click outside this movie windows, > they don?t work. > > Al Keyboard controls work fine running vlc, but not when it's embedded in the LiveCode stack. I tried it with desktop effects disabled and got the same result. Warren From capellan2000 at gmail.com Sat Dec 14 21:40:52 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sat, 14 Dec 2013 18:40:52 -0800 (PST) Subject: Eureka... and this how you play a movie inside a stack on linux In-Reply-To: <52AD0E89.8090800@warrensweb.us> References: <1387052152164-4673742.post@n4.nabble.com> <52ACC92D.7020907@warrensweb.us> <1387062191915-4673747.post@n4.nabble.com> <1387066013381-4673750.post@n4.nabble.com> <52ACFD2F.7030008@warrensweb.us> <1387069917566-4673756.post@n4.nabble.com> <52AD0E89.8090800@warrensweb.us> Message-ID: <1387075252259-4673763.post@n4.nabble.com> I just noticed that Windowshape does not works at all in my Lubuntu setup. There is no transparency effect. Maybe this is why mPlayer shows some redraw issues after the movie stack windows is resized. VLC does not shows any visual glitches after resizing the stack window and keyboard shortcuts works fine inside the movie stack windows. Now, I have to found the way to get the windowshape functioning properly in Lubuntu... :o Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Eureka-and-this-how-you-play-a-movie-inside-a-stack-on-linux-tp4673742p4673763.html Sent from the Revolution - User mailing list archive at Nabble.com. From martyknappster at gmail.com Sat Dec 14 22:30:06 2013 From: martyknappster at gmail.com (Marty Knapp) Date: Sat, 14 Dec 2013 19:30:06 -0800 Subject: WYSIWYG is Wonky! In-Reply-To: <52AD08F2.2010108@fourthworld.com> References: <52AD0606.4020101@gmail.com> <52AD08F2.2010108@fourthworld.com> Message-ID: <52AD223E.4070103@gmail.com> Thanks Richard, That fixed some text fields and totally wacky out others. I have one field that's about 4 inches wide and when printed with formatForPrinting set to true it "grows" by about half an inch in width and shifts to the left by about the same. The point size looks like it grows by about a point and half. You can actual see the text fields change size and location at the moment it prints. I see a number of posts from a few years ago reporting strange behavior with formatForPrinting. Apparently that's still the case? This is a major bummer for me (and deal breaker) I usually develop for just Mac but I thought on this project I'd do Mac and Windows. But I need a high degree of accuracy with the printed layout. For the sake of discussion, I'm setting the formatForPrinting to true right before printing and then to false afterward. Some of the old posts talk about saving and closing the stack them reopen to print. I could put up with that, but it's a pretty wacky workflow for my customers. Somebody please tell me there's a solution for this! Marty > Try setting the stack's formatForPrinting property to true. > From capellan2000 at gmail.com Sat Dec 14 23:22:31 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sat, 14 Dec 2013 20:22:31 -0800 (PST) Subject: WYSIWYG is Wonky! In-Reply-To: <52AD223E.4070103@gmail.com> References: <52ACE82D.3030800@gmail.com> <52AD0606.4020101@gmail.com> <52AD08F2.2010108@fourthworld.com> <52AD223E.4070103@gmail.com> Message-ID: <1387081351701-4673765.post@n4.nabble.com> Could you use Jan Schenkel?s Quartam PDF library? http://quartam.blogspot.com/2012/12/quartam-pdf-library-115-available.html Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/WYSIWYG-is-Wonky-tp4673748p4673765.html Sent from the Revolution - User mailing list archive at Nabble.com. From martyknappster at gmail.com Sat Dec 14 23:43:54 2013 From: martyknappster at gmail.com (Marty Knapp) Date: Sat, 14 Dec 2013 20:43:54 -0800 Subject: WYSIWYG is Wonky! In-Reply-To: <1387081351701-4673765.post@n4.nabble.com> References: <52ACE82D.3030800@gmail.com> <52AD0606.4020101@gmail.com> <52AD08F2.2010108@fourthworld.com> <52AD223E.4070103@gmail.com> <1387081351701-4673765.post@n4.nabble.com> Message-ID: <52AD338A.40503@gmail.com> Hello Al, As in print to PDF then print the PDF? That wouldn't be great for my use. And would it solve problem? Have you used with library in a similar manner? On a separate note, I built my app with LC 6.5 and it prints text blocks slightly smaller than when built with 6.1.3 and printed! Marty > Could you use Jan Schenkel?s Quartam PDF library? > http://quartam.blogspot.com/2012/12/quartam-pdf-library-115-available.html > > Al > From capellan2000 at gmail.com Sat Dec 14 23:56:50 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sat, 14 Dec 2013 20:56:50 -0800 (PST) Subject: WYSIWYG is Wonky! In-Reply-To: <52AD338A.40503@gmail.com> References: <52ACE82D.3030800@gmail.com> <52AD0606.4020101@gmail.com> <52AD08F2.2010108@fourthworld.com> <52AD223E.4070103@gmail.com> <1387081351701-4673765.post@n4.nabble.com> <52AD338A.40503@gmail.com> Message-ID: <1387083410634-4673767.post@n4.nabble.com> Actually, you could download the library and verify if it could be useful with your application. I am sure that Jan will help you to create your first page. Notice that this library does not create an automatic pdf page from your card. You have to build your document by script. In this way, the control of positions and sizes of page elements is absolutely in your hands. Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/WYSIWYG-is-Wonky-tp4673748p4673767.html Sent from the Revolution - User mailing list archive at Nabble.com. From jhurley0305 at sbcglobal.net Sun Dec 15 00:29:19 2013 From: jhurley0305 at sbcglobal.net (James Hurley) Date: Sat, 14 Dec 2013 21:29:19 -0800 Subject: revSpeak in Mac OS 10.9 In-Reply-To: References: Message-ID: <00E2370B-605B-47A2-9858-88DAFE2924F0@sbcglobal.net> > ------------------------------ > > Message: 7 > Date: Sat, 14 Dec 2013 10:19:37 -0800 (PST) > From: Alejandro Tejada > To: use-revolution at lists.runrev.com > Subject: Re: revSpeak in Mac OS 10.9 > Message-ID: <1387045177370-4673735.post at n4.nabble.com> > Content-Type: text/plain; charset=us-ascii > > Great to know! Many Thanks for > posting this update about ascii > character incompatible with revSpeak. > > Now, we need a volunteer to add this info to > the dictionary. :D > > http://docs.runrev.com/Command/revSpeak > > Al I can take a hint?if it?s broad enough. But before I post this to the dictionary, I would to know if it applies only to 10.9. But I don't know that. I need a little help here. If someone running Mac OS 10.8 would put this into the msg box: revspeak " [Something pasted between these quotation marks from MS Word with an apostrophe or ellipsis in it.] " Something like: revspeak ?Now it?s the time.? But it must come from MS Word. The "curly" apostrophe won't be spoken in 10.9, but maybe it will in 10.8 Let me know, please. I think my app "Text to speech" may be useful to others. As I said, it is vital to me; I can't spell, type, or proofread. The app allows me to click on any word and LC will speak the text beginning with that word. I can stop, make corrections, and begin again from any new word. You can also control the speaking rate. It is also helpful in evaluating the style. Actually hearing the text spoken can sometimes be quite jarring. So I have put the app (Text to speech) on my web site: jamesphurley.com/Revolution.html And scroll down to the last entry under ?Utilities? where you will find ?Text to speech.? Jim From jhurley0305 at sbcglobal.net Sun Dec 15 00:48:08 2013 From: jhurley0305 at sbcglobal.net (James Hurley) Date: Sat, 14 Dec 2013 21:48:08 -0800 Subject: revSpeak in Mac OS 10.9 In-Reply-To: References: Message-ID: <58716AE5-5182-4799-99D3-520405D7632C@sbcglobal.net> P.S. You will notice at the bottom of my web site jamesphurley.com/Revolution.html that offers ?Free games to all? at the bottom of the page. I don?t know where this comes from, or how to get rid of it. Any ideas? Jim From jhurley0305 at sbcglobal.net Sun Dec 15 00:51:37 2013 From: jhurley0305 at sbcglobal.net (James Hurley) Date: Sat, 14 Dec 2013 21:51:37 -0800 Subject: revSpeak in Mac OS 10.9 In-Reply-To: References: Message-ID: <37407490-2C03-4309-9EC7-DF2D0CE5E35E@sbcglobal.net> Never mind. I found a java script line that I didn?t put there. I took it out and the commercial is gone. JIm > P.S. > > You will notice at the bottom of my web site > > jamesphurley.com/Revolution.html > > that offers ?Free games to all? at the bottom of the page. > > I don?t know where this comes from, or how to get rid of it. > > Any ideas? > > Jim > > From richmondmathewson at gmail.com Sun Dec 15 05:43:04 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 15 Dec 2013 12:43:04 +0200 Subject: Up, Down and Sideways In-Reply-To: <74734E27-F24D-47D4-8EC7-E5D6B64B1E66@unil.ch> References: <52A9FF78.5070907@gmail.com> <52AA0131.3010207@fourthworld.com> <52AA04DC.3080105@gmail.com> <52AC9366.5050908@gmail.com> <74734E27-F24D-47D4-8EC7-E5D6B64B1E66@unil.ch> Message-ID: <52AD87B8.4030402@gmail.com> So, there I am progging on my Virtual Mac 10.6.7 and I try a script like this: if shiftkey() is down and ctrlKey() is up then set the unicodeText of the selectedText to numToChar(MAGIC) end if if shiftkey() is up and ctrlKey() is down then set the unicodeText of the selectedText to numToChar(11744) end if if shiftkey() is up and ctrlKey() is up then set the unicodeText of the selectedText to numToChar(1073) end if and bu**er me (that's a technical term) if, when I'm pressing the ctrlKey if the IDE doesn't pick that up and I end up with numToChar(1073) rather than numToChar(11744) - Aha, the Documentation seems to be telling big, fat porkies again: "Returns the state of the Control key." supposedly on Linux, Mac and Win. So this leaves me in the Sh*t (another technical term) really, as, unable to leverage the altKey as a modifier on Linux, the ctrlKey on Mac (at least), I don't seem to have anything beyond the shiftKey and the capsLockKey (and that is a problem because of its stickiness) that are going to behave themselves cross-platform. Just set me up in the 'right' sort of mood for Sunday; stroppy, petulant and so forth. Richmond. P.S. 2 double cups of extra macho, highly sugared, black coffee; served in a cup that states 'I heart coffee' on its outside. From richmondmathewson at gmail.com Sun Dec 15 05:45:21 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 15 Dec 2013 12:45:21 +0200 Subject: Merry Christmas......... In-Reply-To: References: Message-ID: <52AD8841.4000502@gmail.com> On 14/12/13 19:54, Bob Earp wrote: > A certain RunRev employee was drinking in a bar in London when he gets a call on his mobile. With great cheer in his heart he orders drinks for everybody in the bar as he announces his wife has just produced a typical Scottish baby boy weighing 25 pounds. > > Nobody can believe that any new baby can weigh in at 25 pounds, but the man just shrugs, "That's about average up our way, folks...like I said - my boy's a typical Highland baby boy." > > Two weeks later the man returns to the bar. The bartender says, "Say, you're the father of that typical Scottish baby that weighed 25 pounds at birth, aren't you? Everybody's been making' bets about how big he'd be in two weeks.....so how much does he weigh now?? > > The proud father answers, "Seventeen pounds." > > The bartender is puzzled and concerned. "What happened? He was 25 pounds the day he was born." > > The father takes a slow swig from his Glemmorangie, wipes his lips on his shirt sleeve, leans into the bartender and proudly says, > "Had him circumcised." --------------------- I think that joke is in very poor taste: I only weighed 9 pounds! Mind you I have a cousin who weighed 12 . . . LOL. Richmond. -------------------- > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > Thanks to all of the RunRev team for the consistent hard work over the last year, it's not easy satisfying a bunch of customers like us. You may not always get it right, but like the Everready bunny, you keep on working at it, and that's much appreciated !! > > Merry Christmas to you all and the very best of wishes for a safe, happy and healthy 2014... > > > Bob Earp > White Rock, British Columbia. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Sun Dec 15 06:27:25 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 15 Dec 2013 13:27:25 +0200 Subject: Slightly F-keyed off Message-ID: <52AD921D.9010009@gmail.com> Right . . . I'm a bit like Hank Wangford: In search of the lonesome yodel. Not really; but I am in search of the lonesome modifier key which is going to be 'totally transcendental' and rise above the petty materialism (pace maya-tattva) of types of computer and types of operating system. So, I would be most grateful if a Windows mages could tell me: 1. What they think about my using an F-key as a keyboard modifier. 2. What F-keys are not otherwise engaged. Likewise for Macintosh and Linux. For years (well from 1992 to 2004) while I was a Macintosh monomaniac, I could not understand why one could not access four keyboard layouts with Windows as one could with Macintosh OS 7 - 9. I have been mucking around with rawKeyDowns, and on "modern" systems (just love that word 'modern', about as useful as a bucket of quicksand) the ALT and SHIFT-ALT combos don't send different keyDowns when letter keys are pressed while they are depressed. Having 'failed' with the altKey, and subsequently with the ctrlKey, eschewing the capsLockKey, and still being in search of a second keyboard modifier key that will be truly cross-platform I am rapidly getting desperate and becoming a cross-patch. Richmond. From vclement at gmail.com Sun Dec 15 09:33:13 2013 From: vclement at gmail.com (Vaughn Clement) Date: Sun, 15 Dec 2013 07:33:13 -0700 Subject: Slightly F-keyed off In-Reply-To: <52AD921D.9010009@gmail.com> References: <52AD921D.9010009@gmail.com> Message-ID: Hi I was doing the same thing yesterday looking for a key on IOS that would not cause a problem for the user to add a new roe in a grid. The enter key was the best option, but that key is not on the IOS device. Thank you Vaughn Clement Apps by Vaughn Clement (Support) *http://www.appsbyvaughnclement.com/tools/home-page/ * Skype: vaughn.clement https://secure.join.me/appsbyvclement FaceTime: vclement at gmail.com LogMeIn also avaialble Call on "ooVoo" at address: vaughnclement or 9282549062 Ph. 928-254-9062 Cloud Hosting Registration Web Site: https://my.oditech.com/cart.php?a=add&pid=41 On Sun, Dec 15, 2013 at 4:27 AM, Richmond wrote: > Right . . . I'm a bit like Hank Wangford: In search of the lonesome yodel. > > Not really; but I am in search of the lonesome modifier key which is going > to be 'totally transcendental' > and rise above the petty materialism (pace maya-tattva) of types of > computer and types of operating system. > > So, I would be most grateful if a Windows mages could tell me: > > 1. What they think about my using an F-key as a keyboard modifier. > > 2. What F-keys are not otherwise engaged. > > Likewise for Macintosh and Linux. > > For years (well from 1992 to 2004) while I was a Macintosh monomaniac, I > could not > understand why one could not access four keyboard layouts with Windows as > one could > with Macintosh OS 7 - 9. > > I have been mucking around with rawKeyDowns, and on "modern" systems (just > love that word 'modern', about as useful as a bucket of quicksand) the ALT > and SHIFT-ALT combos don't send different keyDowns when letter > keys are pressed while they are depressed. > > Having 'failed' with the altKey, and subsequently with the ctrlKey, > eschewing the capsLockKey, and still > being in search of a second keyboard modifier key that will be truly > cross-platform I am rapidly > getting desperate and becoming a cross-patch. > > Richmond. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From roger.e.eller at sealedair.com Sun Dec 15 09:44:54 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sun, 15 Dec 2013 09:44:54 -0500 Subject: Up, Down and Sideways In-Reply-To: <52AD87B8.4030402@gmail.com> References: <52A9FF78.5070907@gmail.com> <52AA0131.3010207@fourthworld.com> <52AA04DC.3080105@gmail.com> <52AC9366.5050908@gmail.com> <74734E27-F24D-47D4-8EC7-E5D6B64B1E66@unil.ch> <52AD87B8.4030402@gmail.com> Message-ID: I suspect that, since you begin your story with a "virtual" computer, that whatever real keys are being recognized on your host machine (the real one), will be all that the virtual one has access to. Only a guess. ~Roger On Dec 15, 2013 5:43 AM, "Richmond" wrote: > So, there I am progging on my Virtual Mac 10.6.7 and I try a script like > this: > > if shiftkey() is down and ctrlKey() is up then > set the unicodeText of the selectedText to numToChar(MAGIC) > end if > if shiftkey() is up and ctrlKey() is down then > set the unicodeText of the selectedText to numToChar(11744) > end if > if shiftkey() is up and ctrlKey() is up then > set the unicodeText of the selectedText to numToChar(1073) > end if > > and bu**er me (that's a technical term) if, when I'm pressing the ctrlKey > if > the IDE doesn't pick that up and I end up with numToChar(1073) rather > than numToChar(11744) - Aha, the Documentation seems to be telling > big, fat porkies again: > > "Returns the state of the Control key." supposedly on Linux, Mac and Win. > > So this leaves me in the Sh*t (another technical term) really, as, unable > to leverage > the altKey as a modifier on Linux, the ctrlKey on Mac (at least), I don't > seem to > have anything beyond the shiftKey and the capsLockKey (and that is a > problem because > of its stickiness) that are going to behave themselves cross-platform. > > Just set me up in the 'right' sort of mood for Sunday; stroppy, petulant > and so forth. > > Richmond. > > P.S. 2 double cups of extra macho, highly sugared, black coffee; served in > a cup that states > 'I heart coffee' on its outside. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From richmondmathewson at gmail.com Sun Dec 15 10:19:37 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 15 Dec 2013 17:19:37 +0200 Subject: Up, Down and Sideways In-Reply-To: References: <52A9FF78.5070907@gmail.com> <52AA0131.3010207@fourthworld.com> <52AA04DC.3080105@gmail.com> <52AC9366.5050908@gmail.com> <74734E27-F24D-47D4-8EC7-E5D6B64B1E66@unil.ch> <52AD87B8.4030402@gmail.com> Message-ID: <52ADC889.1090209@gmail.com> On 15/12/13 16:44, Roger Eller wrote: > I suspect that, since you begin your story with a "virtual" computer, that > whatever real keys are being recognized on your host machine (the real > one), will be all that the virtual one has access to. Only a guess. When one considers that virtualisation is a very important concept re computing then developing software within a virtualised machine is not quite as daft as it may seem. If I connect a Mac keyboard to my virtualised Mac (obviously via the physical machine virtualisation is taken place within), or a PC keyboard, I get the same rawKeyDowns. I am currently working on Mac OS 10.6.7 virtualised on a DELL Optiplex 745 running UbuntuStudio 13.10, right next to a G3 iMac running Mac OS 9.2.2 (!!!); now, currently on that machine I am running RR/LC 2.0 and a stack that contains a single field "OOT", and a card script: on rawKeyDown RAWK put RAWK into fld "OOT" end rawKeyDown with identical Mac keyboards connected to the two machines I am getting the same rawKeyDown codes. The really funny thing is that with that stack on the underlying Linux the stack takes 4 times as long to respond with the rawKeyDown codes as does the G3. As the G3 iMac has a 400MHz PPC processor with 384 MB RAM, while the Linux box has a 2.7 MHz dual core INTEL processor with 6 GB RAM that seems very odd indeed; unless, of course, LC 6.5.0 is suffering from some sort of memory bloat compared with LC 2.0. In the virtualised environment (with 4.6 GB RAM apportioned to it) the speed of the rawKeyDown codes is almost exactly the same as the Linux box (unsurprisingly). Richmond. > > ~Roger > On Dec 15, 2013 5:43 AM, "Richmond" wrote: > >> So, there I am progging on my Virtual Mac 10.6.7 and I try a script like >> this: >> >> if shiftkey() is down and ctrlKey() is up then >> set the unicodeText of the selectedText to numToChar(MAGIC) >> end if >> if shiftkey() is up and ctrlKey() is down then >> set the unicodeText of the selectedText to numToChar(11744) >> end if >> if shiftkey() is up and ctrlKey() is up then >> set the unicodeText of the selectedText to numToChar(1073) >> end if >> >> and bu**er me (that's a technical term) if, when I'm pressing the ctrlKey >> if >> the IDE doesn't pick that up and I end up with numToChar(1073) rather >> than numToChar(11744) - Aha, the Documentation seems to be telling >> big, fat porkies again: >> >> "Returns the state of the Control key." supposedly on Linux, Mac and Win. >> >> So this leaves me in the Sh*t (another technical term) really, as, unable >> to leverage >> the altKey as a modifier on Linux, the ctrlKey on Mac (at least), I don't >> seem to >> have anything beyond the shiftKey and the capsLockKey (and that is a >> problem because >> of its stickiness) that are going to behave themselves cross-platform. >> >> Just set me up in the 'right' sort of mood for Sunday; stroppy, petulant >> and so forth. >> >> Richmond. >> >> P.S. 2 double cups of extra macho, highly sugared, black coffee; served in >> a cup that states >> 'I heart coffee' on its outside. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bvlahos at mac.com Sun Dec 15 11:16:17 2013 From: bvlahos at mac.com (Bill Vlahos) Date: Sun, 15 Dec 2013 08:16:17 -0800 Subject: Simultaneous keys on mobil Message-ID: I have a iOS game where I have 3 buttons. The user can press any one of them by itself, two of them together, or all three together to register the correct answer. I how do I tell simultaneous button presses from multiple buttons? Bill Vlahos From slylabs13 at me.com Sun Dec 15 11:21:46 2013 From: slylabs13 at me.com (Robert Sneidar) Date: Sun, 15 Dec 2013 08:21:46 -0800 Subject: revSpeak in Mac OS 10.9 In-Reply-To: <1387045177370-4673735.post@n4.nabble.com> References: <14C637DC-7849-4CF6-B94B-502EF17DEAAC@sbcglobal.net> <1387045177370-4673735.post@n4.nabble.com> Message-ID: Is there a way to use RegEX to remove all but upper case, lower case, periods and question marks? I am not good at RegEx so I couldn?t tell you where to begin, but it seems like just the thing RegEx was made for. Bob On Dec 14, 2013, at 10:19 AM, Alejandro Tejada wrote: > Great to know! Many Thanks for > posting this update about ascii > character incompatible with revSpeak. > > Now, we need a volunteer to add this info to > the dictionary. :D > > http://docs.runrev.com/Command/revSpeak > > Al > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/revSpeak-in-Mac-OS-10-9-tp4673730p4673735.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Sun Dec 15 11:29:46 2013 From: pete at lcsql.com (Peter Haworth) Date: Sun, 15 Dec 2013 08:29:46 -0800 Subject: Hidden Tools menu items In-Reply-To: <91-2026937986.20131214170908@ahsoftware.net> References: <91-2026937986.20131214170908@ahsoftware.net> Message-ID: Thanks Mark. I guess that means they shouldn't be used. Interesting how the original meaning of deprecate, to ward off by prayer, evolved into it's meaning in computer terminology. Pete lcSQL Software On Dec 14, 2013 5:09 PM, "Mark Wieder" wrote: > Pete- > > Saturday, December 14, 2013, 4:52:30 PM, you wrote: > > > Animation manager > > Report setup > > Database Query Builder > > > Emulating the Tools menu code in the message box, these items result in > > stacks being displayed. Are these items still "active"? > > Don't know about "active", but they've been "deprecated" for some time > now. You can find them in the Toolset/Unsupported folder. > > -- > -Mark Wieder > ahsoftware at gmail.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From roger.e.eller at sealedair.com Sun Dec 15 11:34:52 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sun, 15 Dec 2013 11:34:52 -0500 Subject: Up, Down and Sideways In-Reply-To: <52ADC889.1090209@gmail.com> References: <52A9FF78.5070907@gmail.com> <52AA0131.3010207@fourthworld.com> <52AA04DC.3080105@gmail.com> <52AC9366.5050908@gmail.com> <74734E27-F24D-47D4-8EC7-E5D6B64B1E66@unil.ch> <52AD87B8.4030402@gmail.com> <52ADC889.1090209@gmail.com> Message-ID: Without promoting breaking Apple's EULA, I have to say that anytime you are emulating some other hardware, there will be differences. Macs with Windows and Linux VMs inside seem to work better because more information is published for developers to allow it to. Apple doesn't want there OS to run on foreign hardware. This isn't a setup to debate whether one should or should not. The setup is to say that an OS running directly on the hardware is more likely to "more completely" act like the real McCoy. Have a look at how your physical hardware could in-theory be transformed. http://www.tonymacx86.com/search.php?googleSearch=Optiplex%20745 Without another host sitting between the keyboard and the Mac, plus a generic virtual keyboard driver interpreting the keys, I believe rawkey signals would be more accurate. ~Roger On Dec 15, 2013 10:20 AM, "Richmond" wrote: > On 15/12/13 16:44, Roger Eller wrote: > >> I suspect that, since you begin your story with a "virtual" computer, that >> whatever real keys are being recognized on your host machine (the real >> one), will be all that the virtual one has access to. Only a guess. >> > > When one considers that virtualisation is a very important concept re > computing then developing > software within a virtualised machine is not quite as daft as it may seem. > > If I connect a Mac keyboard to my virtualised Mac (obviously via the > physical > machine virtualisation is taken place within), or a PC keyboard, I get the > same rawKeyDowns. > > I am currently working on Mac OS 10.6.7 virtualised on a DELL Optiplex 745 > running UbuntuStudio 13.10, > right next to a G3 iMac running Mac OS 9.2.2 (!!!); now, currently on that > machine I am running RR/LC 2.0 > and a stack that contains a single field "OOT", and a card script: > > on rawKeyDown RAWK > put RAWK into fld "OOT" > end rawKeyDown > > with identical Mac keyboards connected to the two machines I am getting > the same rawKeyDown codes. > > The really funny thing is that with that stack on the underlying Linux the > stack takes 4 times as long to respond with the rawKeyDown codes as does > the G3. As the G3 iMac has a 400MHz PPC processor with 384 MB RAM, > while the Linux box has a 2.7 MHz dual core INTEL processor with 6 GB RAM > that seems very odd indeed; unless, of course, LC 6.5.0 is suffering from > some sort of memory bloat compared with LC 2.0. > > In the virtualised environment (with 4.6 GB RAM apportioned to it) the > speed of the rawKeyDown codes > is almost exactly the same as the Linux box (unsurprisingly). > > Richmond. > >> >> ~Roger >> On Dec 15, 2013 5:43 AM, "Richmond" wrote: >> >> So, there I am progging on my Virtual Mac 10.6.7 and I try a script like >>> this: >>> >>> if shiftkey() is down and ctrlKey() is up then >>> set the unicodeText of the selectedText to numToChar(MAGIC) >>> end if >>> if shiftkey() is up and ctrlKey() is down then >>> set the unicodeText of the selectedText to numToChar(11744) >>> end if >>> if shiftkey() is up and ctrlKey() is up then >>> set the unicodeText of the selectedText to numToChar(1073) >>> end if >>> >>> and bu**er me (that's a technical term) if, when I'm pressing the ctrlKey >>> if >>> the IDE doesn't pick that up and I end up with numToChar(1073) rather >>> than numToChar(11744) - Aha, the Documentation seems to be telling >>> big, fat porkies again: >>> >>> "Returns the state of the Control key." supposedly on Linux, Mac and Win. >>> >>> So this leaves me in the Sh*t (another technical term) really, as, unable >>> to leverage >>> the altKey as a modifier on Linux, the ctrlKey on Mac (at least), I don't >>> seem to >>> have anything beyond the shiftKey and the capsLockKey (and that is a >>> problem because >>> of its stickiness) that are going to behave themselves cross-platform. >>> >>> Just set me up in the 'right' sort of mood for Sunday; stroppy, petulant >>> and so forth. >>> >>> Richmond. >>> >>> P.S. 2 double cups of extra macho, highly sugared, black coffee; served >>> in >>> a cup that states >>> 'I heart coffee' on its outside. >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From richmondmathewson at gmail.com Sun Dec 15 11:39:47 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 15 Dec 2013 18:39:47 +0200 Subject: Polyglot keyDowns Message-ID: <52ADDB53.8000602@gmail.com> I'm having a lot of fun with this one. Imagine a virtual keyboard if you will; perhaps a bit like those on iPads. Now imagine that as I mouseEnter the button on the virtual keypad that would correspond to the 'P' key on an American English physical keyboard, but the '?' key on a Bulgarian keyboards, and all sorts of other symbols on other physical keyboards. a lowercase 'p' in both ASCII and Unicode is char 112, so it is dead easy to have this sort of script in one's button on one's virtual keyboard: on mouseEnter set the useUnicode to true set the unicodeText of fld "Wozzit" to numToChar(112) end mouseEnter so that when the end-user does a mouseEnter over the button its keyboard equivalent appears in a display field called "Wozzit". All fine and dandy, but come the chap who has an Armenian keyboard he really wants to know that the key is the '?' as he doesn't have a 'p' key. So I started imagining I could do this sort of thing:\ get the keyDown for rawKeyDown 112 but I cannot. I could have a preference script at the start of my program where the end-user could set his/her keyboard layout; but that presupposes I know all the potential keyboard layouts of my end-users, and am prepared to spend the next 3 months setting up all the variants . . . Richmond. From richmondmathewson at gmail.com Sun Dec 15 11:42:06 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 15 Dec 2013 18:42:06 +0200 Subject: Up, Down and Sideways In-Reply-To: References: <52A9FF78.5070907@gmail.com> <52AA0131.3010207@fourthworld.com> <52AA04DC.3080105@gmail.com> <52AC9366.5050908@gmail.com> <74734E27-F24D-47D4-8EC7-E5D6B64B1E66@unil.ch> <52AD87B8.4030402@gmail.com> <52ADC889.1090209@gmail.com> Message-ID: <52ADDBDE.4030106@gmail.com> On 15/12/13 18:34, Roger Eller wrote: > Without promoting breaking Apple's EULA, I have to say that anytime you are > emulating some other hardware, there will be differences. Macs with > Windows and Linux VMs inside seem to work better because more information > is published for developers to allow it to. Apple doesn't want there OS to > run on foreign hardware. > > This isn't a setup to debate whether one should or should not. The setup > is to say that an OS running directly on the hardware is more likely to > "more completely" act like the real McCoy. > > Have a look at how your physical hardware could in-theory be transformed. > http://www.tonymacx86.com/search.php?googleSearch=Optiplex%20745 > > Without another host sitting between the keyboard and the Mac, plus a > generic virtual keyboard driver interpreting the keys, I believe rawkey > signals would be more accurate. I have a PPC macMini that runs 10.4.11 and have this hooked up in another room for occasional use, and have little or no reason to belive that the rawkey signals with that machine will differ materially from an INTEL Mac running 10.9. Richmond. > > ~Roger > On Dec 15, 2013 10:20 AM, "Richmond" wrote: > >> On 15/12/13 16:44, Roger Eller wrote: >> >>> I suspect that, since you begin your story with a "virtual" computer, that >>> whatever real keys are being recognized on your host machine (the real >>> one), will be all that the virtual one has access to. Only a guess. >>> >> When one considers that virtualisation is a very important concept re >> computing then developing >> software within a virtualised machine is not quite as daft as it may seem. >> >> If I connect a Mac keyboard to my virtualised Mac (obviously via the >> physical >> machine virtualisation is taken place within), or a PC keyboard, I get the >> same rawKeyDowns. >> >> I am currently working on Mac OS 10.6.7 virtualised on a DELL Optiplex 745 >> running UbuntuStudio 13.10, >> right next to a G3 iMac running Mac OS 9.2.2 (!!!); now, currently on that >> machine I am running RR/LC 2.0 >> and a stack that contains a single field "OOT", and a card script: >> >> on rawKeyDown RAWK >> put RAWK into fld "OOT" >> end rawKeyDown >> >> with identical Mac keyboards connected to the two machines I am getting >> the same rawKeyDown codes. >> >> The really funny thing is that with that stack on the underlying Linux the >> stack takes 4 times as long to respond with the rawKeyDown codes as does >> the G3. As the G3 iMac has a 400MHz PPC processor with 384 MB RAM, >> while the Linux box has a 2.7 MHz dual core INTEL processor with 6 GB RAM >> that seems very odd indeed; unless, of course, LC 6.5.0 is suffering from >> some sort of memory bloat compared with LC 2.0. >> >> In the virtualised environment (with 4.6 GB RAM apportioned to it) the >> speed of the rawKeyDown codes >> is almost exactly the same as the Linux box (unsurprisingly). >> >> Richmond. >> >>> ~Roger >>> On Dec 15, 2013 5:43 AM, "Richmond" wrote: >>> >>> So, there I am progging on my Virtual Mac 10.6.7 and I try a script like >>>> this: >>>> >>>> if shiftkey() is down and ctrlKey() is up then >>>> set the unicodeText of the selectedText to numToChar(MAGIC) >>>> end if >>>> if shiftkey() is up and ctrlKey() is down then >>>> set the unicodeText of the selectedText to numToChar(11744) >>>> end if >>>> if shiftkey() is up and ctrlKey() is up then >>>> set the unicodeText of the selectedText to numToChar(1073) >>>> end if >>>> >>>> and bu**er me (that's a technical term) if, when I'm pressing the ctrlKey >>>> if >>>> the IDE doesn't pick that up and I end up with numToChar(1073) rather >>>> than numToChar(11744) - Aha, the Documentation seems to be telling >>>> big, fat porkies again: >>>> >>>> "Returns the state of the Control key." supposedly on Linux, Mac and Win. >>>> >>>> So this leaves me in the Sh*t (another technical term) really, as, unable >>>> to leverage >>>> the altKey as a modifier on Linux, the ctrlKey on Mac (at least), I don't >>>> seem to >>>> have anything beyond the shiftKey and the capsLockKey (and that is a >>>> problem because >>>> of its stickiness) that are going to behave themselves cross-platform. >>>> >>>> Just set me up in the 'right' sort of mood for Sunday; stroppy, petulant >>>> and so forth. >>>> >>>> Richmond. >>>> >>>> P.S. 2 double cups of extra macho, highly sugared, black coffee; served >>>> in >>>> a cup that states >>>> 'I heart coffee' on its outside. >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From roger.e.eller at sealedair.com Sun Dec 15 11:49:12 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sun, 15 Dec 2013 11:49:12 -0500 Subject: Up, Down and Sideways In-Reply-To: <52ADDBDE.4030106@gmail.com> References: <52A9FF78.5070907@gmail.com> <52AA0131.3010207@fourthworld.com> <52AA04DC.3080105@gmail.com> <52AC9366.5050908@gmail.com> <74734E27-F24D-47D4-8EC7-E5D6B64B1E66@unil.ch> <52AD87B8.4030402@gmail.com> <52ADC889.1090209@gmail.com> <52ADDBDE.4030106@gmail.com> Message-ID: I'm looking out the window, and the sun is shining. I am warm, so I might "believe" that I would also be warm outside. That is, until I try it. :) ~Roger On Dec 15, 2013 11:42 AM, "Richmond" wrote: > On 15/12/13 18:34, Roger Eller wrote: > >> Without promoting breaking Apple's EULA, I have to say that anytime you >> are >> emulating some other hardware, there will be differences. Macs with >> Windows and Linux VMs inside seem to work better because more information >> is published for developers to allow it to. Apple doesn't want there OS >> to >> run on foreign hardware. >> >> This isn't a setup to debate whether one should or should not. The setup >> is to say that an OS running directly on the hardware is more likely to >> "more completely" act like the real McCoy. >> >> Have a look at how your physical hardware could in-theory be transformed. >> http://www.tonymacx86.com/search.php?googleSearch=Optiplex%20745 >> >> Without another host sitting between the keyboard and the Mac, plus a >> generic virtual keyboard driver interpreting the keys, I believe rawkey >> signals would be more accurate. >> > > I have a PPC macMini that runs 10.4.11 and have this hooked up in another > room for occasional use, > and have little or no reason to belive that the rawkey signals with that > machine will differ materially from an INTEL Mac running 10.9. > > Richmond. > > >> ~Roger >> On Dec 15, 2013 10:20 AM, "Richmond" wrote: >> >> On 15/12/13 16:44, Roger Eller wrote: >>> >>> I suspect that, since you begin your story with a "virtual" computer, >>>> that >>>> whatever real keys are being recognized on your host machine (the real >>>> one), will be all that the virtual one has access to. Only a guess. >>>> >>>> When one considers that virtualisation is a very important concept re >>> computing then developing >>> software within a virtualised machine is not quite as daft as it may >>> seem. >>> >>> If I connect a Mac keyboard to my virtualised Mac (obviously via the >>> physical >>> machine virtualisation is taken place within), or a PC keyboard, I get >>> the >>> same rawKeyDowns. >>> >>> I am currently working on Mac OS 10.6.7 virtualised on a DELL Optiplex >>> 745 >>> running UbuntuStudio 13.10, >>> right next to a G3 iMac running Mac OS 9.2.2 (!!!); now, currently on >>> that >>> machine I am running RR/LC 2.0 >>> and a stack that contains a single field "OOT", and a card script: >>> >>> on rawKeyDown RAWK >>> put RAWK into fld "OOT" >>> end rawKeyDown >>> >>> with identical Mac keyboards connected to the two machines I am getting >>> the same rawKeyDown codes. >>> >>> The really funny thing is that with that stack on the underlying Linux >>> the >>> stack takes 4 times as long to respond with the rawKeyDown codes as does >>> the G3. As the G3 iMac has a 400MHz PPC processor with 384 MB RAM, >>> while the Linux box has a 2.7 MHz dual core INTEL processor with 6 GB RAM >>> that seems very odd indeed; unless, of course, LC 6.5.0 is suffering from >>> some sort of memory bloat compared with LC 2.0. >>> >>> In the virtualised environment (with 4.6 GB RAM apportioned to it) the >>> speed of the rawKeyDown codes >>> is almost exactly the same as the Linux box (unsurprisingly). >>> >>> Richmond. >>> >>> ~Roger >>>> On Dec 15, 2013 5:43 AM, "Richmond" >>>> wrote: >>>> >>>> So, there I am progging on my Virtual Mac 10.6.7 and I try a script >>>> like >>>> >>>>> this: >>>>> >>>>> if shiftkey() is down and ctrlKey() is up then >>>>> set the unicodeText of the selectedText to numToChar(MAGIC) >>>>> end if >>>>> if shiftkey() is up and ctrlKey() is down then >>>>> set the unicodeText of the selectedText to numToChar(11744) >>>>> end if >>>>> if shiftkey() is up and ctrlKey() is up then >>>>> set the unicodeText of the selectedText to numToChar(1073) >>>>> end if >>>>> >>>>> and bu**er me (that's a technical term) if, when I'm pressing the >>>>> ctrlKey >>>>> if >>>>> the IDE doesn't pick that up and I end up with numToChar(1073) rather >>>>> than numToChar(11744) - Aha, the Documentation seems to be telling >>>>> big, fat porkies again: >>>>> >>>>> "Returns the state of the Control key." supposedly on Linux, Mac and >>>>> Win. >>>>> >>>>> So this leaves me in the Sh*t (another technical term) really, as, >>>>> unable >>>>> to leverage >>>>> the altKey as a modifier on Linux, the ctrlKey on Mac (at least), I >>>>> don't >>>>> seem to >>>>> have anything beyond the shiftKey and the capsLockKey (and that is a >>>>> problem because >>>>> of its stickiness) that are going to behave themselves cross-platform. >>>>> >>>>> Just set me up in the 'right' sort of mood for Sunday; stroppy, >>>>> petulant >>>>> and so forth. >>>>> >>>>> Richmond. >>>>> >>>>> P.S. 2 double cups of extra macho, highly sugared, black coffee; served >>>>> in >>>>> a cup that states >>>>> 'I heart coffee' on its outside. >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>>> _______________________________________________ >>>>> >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From richmondmathewson at gmail.com Sun Dec 15 11:51:20 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 15 Dec 2013 18:51:20 +0200 Subject: Up, Down and Sideways In-Reply-To: References: <52A9FF78.5070907@gmail.com> <52AA0131.3010207@fourthworld.com> <52AA04DC.3080105@gmail.com> <52AC9366.5050908@gmail.com> <74734E27-F24D-47D4-8EC7-E5D6B64B1E66@unil.ch> <52AD87B8.4030402@gmail.com> <52ADC889.1090209@gmail.com> <52ADDBDE.4030106@gmail.com> Message-ID: <52ADDE08.3050409@gmail.com> On 15/12/13 18:49, Roger Eller wrote: > I'm looking out the window, and the sun is shining. I am warm, so I might > "believe" that I would also be warm outside. That is, until I try it. :) Not having the money to buy an up-to-date Mac running 10.9 I will just have to stay indoors right now. Richmond. > > ~Roger > On Dec 15, 2013 11:42 AM, "Richmond" wrote: > >> On 15/12/13 18:34, Roger Eller wrote: >> >>> Without promoting breaking Apple's EULA, I have to say that anytime you >>> are >>> emulating some other hardware, there will be differences. Macs with >>> Windows and Linux VMs inside seem to work better because more information >>> is published for developers to allow it to. Apple doesn't want there OS >>> to >>> run on foreign hardware. >>> >>> This isn't a setup to debate whether one should or should not. The setup >>> is to say that an OS running directly on the hardware is more likely to >>> "more completely" act like the real McCoy. >>> >>> Have a look at how your physical hardware could in-theory be transformed. >>> http://www.tonymacx86.com/search.php?googleSearch=Optiplex%20745 >>> >>> Without another host sitting between the keyboard and the Mac, plus a >>> generic virtual keyboard driver interpreting the keys, I believe rawkey >>> signals would be more accurate. >>> >> I have a PPC macMini that runs 10.4.11 and have this hooked up in another >> room for occasional use, >> and have little or no reason to belive that the rawkey signals with that >> machine will differ materially from an INTEL Mac running 10.9. >> >> Richmond. >> >> >>> ~Roger >>> On Dec 15, 2013 10:20 AM, "Richmond" wrote: >>> >>> On 15/12/13 16:44, Roger Eller wrote: >>>> I suspect that, since you begin your story with a "virtual" computer, >>>>> that >>>>> whatever real keys are being recognized on your host machine (the real >>>>> one), will be all that the virtual one has access to. Only a guess. >>>>> >>>>> When one considers that virtualisation is a very important concept re >>>> computing then developing >>>> software within a virtualised machine is not quite as daft as it may >>>> seem. >>>> >>>> If I connect a Mac keyboard to my virtualised Mac (obviously via the >>>> physical >>>> machine virtualisation is taken place within), or a PC keyboard, I get >>>> the >>>> same rawKeyDowns. >>>> >>>> I am currently working on Mac OS 10.6.7 virtualised on a DELL Optiplex >>>> 745 >>>> running UbuntuStudio 13.10, >>>> right next to a G3 iMac running Mac OS 9.2.2 (!!!); now, currently on >>>> that >>>> machine I am running RR/LC 2.0 >>>> and a stack that contains a single field "OOT", and a card script: >>>> >>>> on rawKeyDown RAWK >>>> put RAWK into fld "OOT" >>>> end rawKeyDown >>>> >>>> with identical Mac keyboards connected to the two machines I am getting >>>> the same rawKeyDown codes. >>>> >>>> The really funny thing is that with that stack on the underlying Linux >>>> the >>>> stack takes 4 times as long to respond with the rawKeyDown codes as does >>>> the G3. As the G3 iMac has a 400MHz PPC processor with 384 MB RAM, >>>> while the Linux box has a 2.7 MHz dual core INTEL processor with 6 GB RAM >>>> that seems very odd indeed; unless, of course, LC 6.5.0 is suffering from >>>> some sort of memory bloat compared with LC 2.0. >>>> >>>> In the virtualised environment (with 4.6 GB RAM apportioned to it) the >>>> speed of the rawKeyDown codes >>>> is almost exactly the same as the Linux box (unsurprisingly). >>>> >>>> Richmond. >>>> >>>> ~Roger >>>>> On Dec 15, 2013 5:43 AM, "Richmond" >>>>> wrote: >>>>> >>>>> So, there I am progging on my Virtual Mac 10.6.7 and I try a script >>>>> like >>>>> >>>>>> this: >>>>>> >>>>>> if shiftkey() is down and ctrlKey() is up then >>>>>> set the unicodeText of the selectedText to numToChar(MAGIC) >>>>>> end if >>>>>> if shiftkey() is up and ctrlKey() is down then >>>>>> set the unicodeText of the selectedText to numToChar(11744) >>>>>> end if >>>>>> if shiftkey() is up and ctrlKey() is up then >>>>>> set the unicodeText of the selectedText to numToChar(1073) >>>>>> end if >>>>>> >>>>>> and bu**er me (that's a technical term) if, when I'm pressing the >>>>>> ctrlKey >>>>>> if >>>>>> the IDE doesn't pick that up and I end up with numToChar(1073) rather >>>>>> than numToChar(11744) - Aha, the Documentation seems to be telling >>>>>> big, fat porkies again: >>>>>> >>>>>> "Returns the state of the Control key." supposedly on Linux, Mac and >>>>>> Win. >>>>>> >>>>>> So this leaves me in the Sh*t (another technical term) really, as, >>>>>> unable >>>>>> to leverage >>>>>> the altKey as a modifier on Linux, the ctrlKey on Mac (at least), I >>>>>> don't >>>>>> seem to >>>>>> have anything beyond the shiftKey and the capsLockKey (and that is a >>>>>> problem because >>>>>> of its stickiness) that are going to behave themselves cross-platform. >>>>>> >>>>>> Just set me up in the 'right' sort of mood for Sunday; stroppy, >>>>>> petulant >>>>>> and so forth. >>>>>> >>>>>> Richmond. >>>>>> >>>>>> P.S. 2 double cups of extra macho, highly sugared, black coffee; served >>>>>> in >>>>>> a cup that states >>>>>> 'I heart coffee' on its outside. >>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>>> subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> >>>>>> _______________________________________________ >>>>>> >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From roger.e.eller at sealedair.com Sun Dec 15 12:33:59 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sun, 15 Dec 2013 12:33:59 -0500 Subject: Up, Down and Sideways In-Reply-To: References: <52A9FF78.5070907@gmail.com> <52AA0131.3010207@fourthworld.com> <52AA04DC.3080105@gmail.com> <52AC9366.5050908@gmail.com> <74734E27-F24D-47D4-8EC7-E5D6B64B1E66@unil.ch> <52AD87B8.4030402@gmail.com> <52ADC889.1090209@gmail.com> <52ADDBDE.4030106@gmail.com> <52ADDE08.3050409@gmail.com> Message-ID: I think you missed my point that your Optiplex 745 theoretically could boot directly into the same 10.6.7 version you are running layered on top of Linux. On Dec 15, 2013 11:51 AM, "Richmond" wrote: > On 15/12/13 18:49, Roger Eller wrote: > >> I'm looking out the window, and the sun is shining. I am warm, so I might >> "believe" that I would also be warm outside. That is, until I try it. :) >> > > Not having the money to buy an up-to-date Mac running 10.9 I will just > have to stay indoors right now. > > Richmond. > > From richmondmathewson at gmail.com Sun Dec 15 12:37:27 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 15 Dec 2013 19:37:27 +0200 Subject: Up, Down and Sideways In-Reply-To: References: <52A9FF78.5070907@gmail.com> <52AA0131.3010207@fourthworld.com> <52AA04DC.3080105@gmail.com> <52AC9366.5050908@gmail.com> <74734E27-F24D-47D4-8EC7-E5D6B64B1E66@unil.ch> <52AD87B8.4030402@gmail.com> <52ADC889.1090209@gmail.com> <52ADDBDE.4030106@gmail.com> <52ADDE08.3050409@gmail.com> Message-ID: <52ADE8D7.5000200@gmail.com> On 15/12/13 19:33, Roger Eller wrote: > I think you missed my point that your Optiplex 745 theoretically could boot > directly into the same 10.6.7 version you are running layered on top of > Linux. Yes, I did miss your point; it being a bit cryptic. However as I do most of my graphic work on the Linux side, as well as use Fontforge for font development, and run Windows XP and Windows 7 in virtual environments, and an Android emulator, I need to have Linux on the bare metal. Richmond. > On Dec 15, 2013 11:51 AM, "Richmond" wrote: > >> On 15/12/13 18:49, Roger Eller wrote: >> >>> I'm looking out the window, and the sun is shining. I am warm, so I might >>> "believe" that I would also be warm outside. That is, until I try it. :) >>> >> Not having the money to buy an up-to-date Mac running 10.9 I will just >> have to stay indoors right now. >> >> Richmond. >> >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From roger.e.eller at sealedair.com Sun Dec 15 12:44:54 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sun, 15 Dec 2013 12:44:54 -0500 Subject: Up, Down and Sideways In-Reply-To: <52ADE8D7.5000200@gmail.com> References: <52A9FF78.5070907@gmail.com> <52AA0131.3010207@fourthworld.com> <52AA04DC.3080105@gmail.com> <52AC9366.5050908@gmail.com> <74734E27-F24D-47D4-8EC7-E5D6B64B1E66@unil.ch> <52AD87B8.4030402@gmail.com> <52ADC889.1090209@gmail.com> <52ADDBDE.4030106@gmail.com> <52ADDE08.3050409@gmail.com> <52ADE8D7.5000200@gmail.com> Message-ID: If you have a spare USB hard-drive, or even a 16GB thumb-drive, you could occasionally reboot the machine into OS X natively from USB. This would prevent any need to modify (or accidentally hose) your current setup. ~Roger On Sun, Dec 15, 2013 at 12:37 PM, Richmond wrote: > On 15/12/13 19:33, Roger Eller wrote: > >> I think you missed my point that your Optiplex 745 theoretically could >> boot >> directly into the same 10.6.7 version you are running layered on top of >> Linux. >> > > Yes, I did miss your point; it being a bit cryptic. > > However as I do most of my graphic work on the Linux side, as well as use > Fontforge for font development, > and run Windows XP and Windows 7 in virtual environments, and an Android > emulator, I need to have > Linux on the bare metal. > > Richmond. > > On Dec 15, 2013 11:51 AM, "Richmond" wrote: >> >> On 15/12/13 18:49, Roger Eller wrote: >>> >>> I'm looking out the window, and the sun is shining. I am warm, so I >>>> might >>>> "believe" that I would also be warm outside. That is, until I try it. >>>> :) >>>> >>>> Not having the money to buy an up-to-date Mac running 10.9 I will just >>> have to stay indoors right now. >>> >>> Richmond. >>> >>> >>> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mblivecode at harbourhosting.co.uk Sun Dec 15 12:58:55 2013 From: mblivecode at harbourhosting.co.uk (Martin Baxter) Date: Sun, 15 Dec 2013 17:58:55 +0000 Subject: Slightly F-keyed off In-Reply-To: <52AD921D.9010009@gmail.com> References: <52AD921D.9010009@gmail.com> Message-ID: <52ADEDDF.5040503@harbourhosting.co.uk> On 15/12/13 11:27, Richmond wrote: > Right . . . I'm a bit like Hank Wangford: In search of the lonesome yodel. > > Not really; but I am in search of the lonesome modifier key which is > going to be 'totally transcendental' > and rise above the petty materialism (pace maya-tattva) of types of > computer and types of operating system. > Good luck with that. ;) > So, I would be most grateful if a Windows mages could tell me: > > 1. What they think about my using an F-key as a keyboard modifier. > > 2. What F-keys are not otherwise engaged. > > Likewise for Macintosh and Linux. > I'm not a Windows or any other OS mage, so I'll just point you at Wikipedia. Which should at least give you a feeling for the transcendentalities of the question. Readers who liked "Function keys" by "Wikipedia" may also enjoy: Or, (radical suggestion), let the poor user choose their own modifiers in some setup screen, and just record the keycodes you get. Martin > For years (well from 1992 to 2004) while I was a Macintosh monomaniac, I > could not > understand why one could not access four keyboard layouts with Windows > as one could > with Macintosh OS 7 - 9. > > I have been mucking around with rawKeyDowns, and on "modern" systems > (just love that word 'modern', about as useful as a bucket of quicksand) > the ALT and SHIFT-ALT combos don't send different keyDowns when letter > keys are pressed while they are depressed. > > Having 'failed' with the altKey, and subsequently with the ctrlKey, > eschewing the capsLockKey, and still > being in search of a second keyboard modifier key that will be truly > cross-platform I am rapidly > getting desperate and becoming a cross-patch. > > Richmond. From ambassador at fourthworld.com Sun Dec 15 13:55:27 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 15 Dec 2013 10:55:27 -0800 Subject: Eureka... and this how you play a movie inside a stack on linux In-Reply-To: <1387075252259-4673763.post@n4.nabble.com> References: <1387075252259-4673763.post@n4.nabble.com> Message-ID: <52ADFB1F.6090709@fourthworld.com> Alejandro wrote: > I just noticed that Windowshape does not works at all > in my Lubuntu setup. There is no transparency effect. The "L" in Lubuntu stands for "Light", as in "Light on system resource requirements". Lubuntu is maintained to provide some of the benefits of Ubuntu, but on older or less powerful systems than Ubuntu requires. Since Ubuntu runs well on a surprisingly wide range of hardware, we're talking very old or very less powerful. :) One of the differences is in compositing: AFAIK Lubuntu doesn't include a screen rendering compositor capable of handling alpha channels. If your machine can run Ubuntu you should see good results there, since the Compiz compositor handles alpha channels well. -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From dochawk at gmail.com Sun Dec 15 13:56:37 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sun, 15 Dec 2013 10:56:37 -0800 Subject: Up, Down and Sideways In-Reply-To: <52ACE95A.2040300@gmail.com> References: <52A9FF78.5070907@gmail.com> <52AA0131.3010207@fourthworld.com> <52AA04DC.3080105@gmail.com> <52AC9366.5050908@gmail.com> <52ACE95A.2040300@gmail.com> Message-ID: On Sat, Dec 14, 2013 at 3:27 PM, Richmond wrote: > On 14/12/13 22:03, Dr. Hawkins wrote: >> >> Except C&M were nearly 200 years before the Schism . . . and, for that >> matter, after having been sent from Constantinople, they were called >> upon the carpet in Rome--at which point Pope Nicholas ordained >> Methodius, told his own archbishop in the dispute to back off, and >> sent C&M back . . . > Wait a minute: I am writing about the Cyrillic alphabet; NOT Glagolitic. Oh, I though you meant the language itself. > Glagolitic was cooked up by C&M, Cyrillic (despite being named after Cyril) > was not, and there > is a lot of argy-bargy about who cooked it up. > > If you take a look at the map of Europe you will see that Orthodox Slavic > countries use variants of the Cyrillic alphabet, and Catholic Slavic > countries use variants of the Latin alphabet. *shrug* Moscow has always fancied itself to be the "Third Rome." >>> P.S. Pinot Noir 2011. >> >> But that won't be very Noir any more, will it? > Still Noir, and still gurgling around in the pipes :) Mmm. Gurgling wine. I need to make beer again soon . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Sun Dec 15 14:01:42 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sun, 15 Dec 2013 11:01:42 -0800 Subject: Global Properties In-Reply-To: References: Message-ID: On Sat, Dec 14, 2013 at 5:22 PM, Peter Haworth wrote: > Is there some way to get a list of the built-in global property names or > are they included in the propertyNames property? Ninja squirrels. They parachute in at night, and read the secret part of the sourcecode. :) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From capellan2000 at gmail.com Sun Dec 15 14:07:15 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sun, 15 Dec 2013 11:07:15 -0800 (PST) Subject: [REQUEST] How could we use FIFO from LiveCode on Linux Message-ID: <1387134435989-4673792.post@n4.nabble.com> Hi all, I have trying, without sucess, to follow this tutorial within LiveCode: http://userbound.com/blog/Mplayers-FIFO/ Could you follow these instructions and make it work from LiveCode to control mPlayer? Thanks in advance! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/REQUEST-How-could-we-use-FIFO-from-LiveCode-on-Linux-tp4673792.html Sent from the Revolution - User mailing list archive at Nabble.com. From richmondmathewson at gmail.com Sun Dec 15 14:29:22 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 15 Dec 2013 21:29:22 +0200 Subject: Polyglot keyDowns In-Reply-To: <52ADDB53.8000602@gmail.com> References: <52ADDB53.8000602@gmail.com> Message-ID: <52AE0312.3060503@gmail.com> Imagine: send "keyDown" to rawKey 112 is there not a way for Livecode to send commands to the keyboard? or, at least, to the keyboard mapping system within an operating system? Richmond. From th.douez at gmail.com Sun Dec 15 14:35:28 2013 From: th.douez at gmail.com (Thierry Douez) Date: Sun, 15 Dec 2013 20:35:28 +0100 Subject: Polyglot keyDowns In-Reply-To: <52AE0312.3060503@gmail.com> References: <52ADDB53.8000602@gmail.com> <52AE0312.3060503@gmail.com> Message-ID: Does the livecode command "type" help? Thierry ------------------------------------------------ Thierry Douez - http://sunny-tdz.com Maker of sunnYperl - sunnYmidi - sunnYmage 2013/12/15 Richmond > Imagine: > > send "keyDown" to rawKey 112 > > is there not a way for Livecode to send commands to the keyboard? > > or, at least, to the keyboard mapping system within an operating system? > > Richmond. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From richmondmathewson at gmail.com Sun Dec 15 14:37:21 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 15 Dec 2013 21:37:21 +0200 Subject: Slightly F-keyed off In-Reply-To: <52ADEDDF.5040503@harbourhosting.co.uk> References: <52AD921D.9010009@gmail.com> <52ADEDDF.5040503@harbourhosting.co.uk> Message-ID: <52AE04F1.8050107@gmail.com> On 15/12/13 19:58, Martin Baxter wrote: > On 15/12/13 11:27, Richmond wrote: >> Right . . . I'm a bit like Hank Wangford: In search of the lonesome yodel. >> >> Not really; but I am in search of the lonesome modifier key which is >> going to be 'totally transcendental' >> and rise above the petty materialism (pace maya-tattva) of types of >> computer and types of operating system. >> > Good luck with that. ;) > >> So, I would be most grateful if a Windows mages could tell me: >> >> 1. What they think about my using an F-key as a keyboard modifier. >> >> 2. What F-keys are not otherwise engaged. >> >> Likewise for Macintosh and Linux. >> > I'm not a Windows or any other OS mage, so I'll just point you at > Wikipedia. Which should at least give you a feeling for the > transcendentalities of the question. > > > > Readers who liked "Function keys" by "Wikipedia" may also enjoy: > > Thank you very much for those; although I think 'enjoy' is perhaps too strong a word. Richmond. > > Or, (radical suggestion), let the poor user choose their own modifiers > in some setup screen, and just record the keycodes you get. Too much like hard work; and classrooms full of students merrily typing their Old Church Slavonic on their laptops are going to get confused with what the Prof. says. > > Martin > > From jacque at hyperactivesw.com Sun Dec 15 14:41:16 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 15 Dec 2013 13:41:16 -0600 Subject: WYSIWYG is Wonky! In-Reply-To: <52AD223E.4070103@gmail.com> References: <52AD0606.4020101@gmail.com> <52AD08F2.2010108@fourthworld.com> <52AD223E.4070103@gmail.com> Message-ID: <52AE05DC.1050507@hyperactivesw.com> On 12/14/13 9:30 PM, Marty Knapp wrote: > Thanks Richard, > That fixed some text fields and totally wacky out others. I have one > field that's about 4 inches wide and when printed with formatForPrinting > set to true it "grows" by about half an inch in width and shifts to the > left by about the same. The point size looks like it grows by about a > point and half. I've found, in general, that Windows point sizes do not match Mac sizes and that I need to leave extra width available on fields to account for the additional width when the stack is run on a Windows machine. Another approach is to set the textsize of the stack or card based on the platform, sizing it downward for Windows. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Sun Dec 15 14:44:48 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 15 Dec 2013 21:44:48 +0200 Subject: Polyglot keyDowns In-Reply-To: References: <52ADDB53.8000602@gmail.com> <52AE0312.3060503@gmail.com> Message-ID: <52AE06B0.600@gmail.com> On 15/12/13 21:35, Thierry Douez wrote: > Does the livecode command "type" help? Not as far as I can see. I can write this sort of script: on mouseUp select after fld "TEXTBOCKS" type "p" end mouseUp and it will always type 'p'. What I am trying to do is send a keyUp to a key that is named by its rawKey code, in this way the end-user will know the relevant key they have to press regardless of what symbols are written on their physical keyboard. All that 'type' does is put text into a field in a slow way; great fun, but strictly for laughs on a Saturday night. Richmond. > > Thierry > > ------------------------------------------------ > Thierry Douez - http://sunny-tdz.com > Maker of sunnYperl - sunnYmidi - sunnYmage > > > 2013/12/15 Richmond > >> Imagine: >> >> send "keyDown" to rawKey 112 >> >> is there not a way for Livecode to send commands to the keyboard? >> >> or, at least, to the keyboard mapping system within an operating system? >> >> Richmond. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Sun Dec 15 14:51:15 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 15 Dec 2013 13:51:15 -0600 Subject: Up, Down and Sideways In-Reply-To: References: <52A9FF78.5070907@gmail.com> <52AA0131.3010207@fourthworld.com> <52AA04DC.3080105@gmail.com> <52AC9366.5050908@gmail.com> <74734E27-F24D-47D4-8EC7-E5D6B64B1E66@unil.ch> <52AD87B8.4030402@gmail.com> <52ADC889.1090209@gmail.com> Message-ID: <52AE0833.8000106@hyperactivesw.com> On 12/15/13 10:34 AM, Roger Eller wrote: > Without another host sitting between the keyboard and the Mac, plus a > generic virtual keyboard driver interpreting the keys, I believe rawkey > signals would be more accurate. As a data point, this works correctly on my Mac, inside the 6.5.1 rc 1 IDE: on rawkeyup pKey if shiftkey() is down and ctrlKey() is up then put "SHIFT" end if if shiftkey() is up and ctrlKey() is down then PUT "CONTROL" end if if shiftkey() is up and ctrlKey() is up then PUT "NONE" end if end rawkeyup -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Sun Dec 15 14:53:49 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 15 Dec 2013 21:53:49 +0200 Subject: Polyglot keyDowns In-Reply-To: References: <52ADDB53.8000602@gmail.com> <52AE0312.3060503@gmail.com> Message-ID: <52AE08CD.5020506@gmail.com> On 15/12/13 21:35, Thierry Douez wrote: > Does the livecode command "type" help? > > Thierry > > You may be onto something, as the documentation (cough, cough) has this: "As the type command is designed to emulate exactly what happens when a user types a key on the keyboard, the rawKeyDown, keyDown, rawKeyUp and keyUp messages are sent by the command. If these messages are blocked, the text will not appear in the selected field." Now, if the keyDown, keyUP and rawKeyDown messages could be blocked, 'type' might yield whatever character the end-user's keyboard has specified for a particular physical key. The ONLY problem is that I cannot find out how one might BLOCK those messages. Richmond. From jacque at hyperactivesw.com Sun Dec 15 14:56:34 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 15 Dec 2013 13:56:34 -0600 Subject: Up, Down and Sideways In-Reply-To: <52AD87B8.4030402@gmail.com> References: <52A9FF78.5070907@gmail.com> <52AA0131.3010207@fourthworld.com> <52AA04DC.3080105@gmail.com> <52AC9366.5050908@gmail.com> <74734E27-F24D-47D4-8EC7-E5D6B64B1E66@unil.ch> <52AD87B8.4030402@gmail.com> Message-ID: <52AE0972.1030303@hyperactivesw.com> On 12/15/13 4:43 AM, Richmond wrote: > when I'm pressing the > ctrlKey if > the IDE doesn't pick that up and I end up with numToChar(1073) rather > than numToChar(11744) - Aha, the Documentation seems to be telling > big, fat porkies again: > > "Returns the state of the Control key." supposedly on Linux, Mac and Win. One more thing to consider: the Mac does not notify the app when the control, command, option, or shift key goes down alone. They are combined into a single keypress when an alpha-numeric character is typed. You can't catch them alone. So the docs don't really lie, but they do assume you are typing Control along with another character. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From capellan2000 at gmail.com Sun Dec 15 14:58:23 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sun, 15 Dec 2013 11:58:23 -0800 (PST) Subject: Eureka... and this how you play a movie inside a stack on linux In-Reply-To: <52ADFB1F.6090709@fourthworld.com> References: <1387052152164-4673742.post@n4.nabble.com> <52ACC92D.7020907@warrensweb.us> <1387062191915-4673747.post@n4.nabble.com> <1387066013381-4673750.post@n4.nabble.com> <52ACFD2F.7030008@warrensweb.us> <1387069917566-4673756.post@n4.nabble.com> <52AD0E89.8090800@warrensweb.us> <1387075252259-4673763.post@n4.nabble.com> <52ADFB1F.6090709@fourthworld.com> Message-ID: <1387137503358-4673801.post@n4.nabble.com> Hi Richard, I noticed that the application lxsession-default-apps have a slot to select a composite manager, but could not found a list of possible values to fill the preference: http://i.stack.imgur.com/HTvnJ.png Already have downloaded and installed XFCWM4 but this composite manager does not seems to solve the problem of the missing windowshape in Livecode. Maybe, it?s me who don?t know how to configure XFCWM4 correctly. By the way, I could run webgl apps inside Firefox, so the video card is good. Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Eureka-and-this-how-you-play-a-movie-inside-a-stack-on-linux-tp4673742p4673801.html Sent from the Revolution - User mailing list archive at Nabble.com. From pmbrig at gmail.com Sun Dec 15 15:01:35 2013 From: pmbrig at gmail.com (Peter M. Brigham) Date: Sun, 15 Dec 2013 15:01:35 -0500 Subject: revSpeak in Mac OS 10.9 In-Reply-To: References: <14C637DC-7849-4CF6-B94B-502EF17DEAAC@sbcglobal.net> <1387045177370-4673735.post@n4.nabble.com> Message-ID: <68983438-0459-4C01-A87C-5442A3E82269@gmail.com> I'm not a RegExpert and I love LC's text manipulation power, so I'm biased, but I think this is just as easy to do with LC, and possibly faster for large texts: function cleanTextForRevspeak tText put "abcdefghijklmnopqrstuvwxyz.?" into allowedChars repeat for each char c in tText if c is not in allowedChars then next repeat put c after textOut end repeat return textOut end cleanTextForRevspeak -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Dec 15, 2013, at 11:21 AM, Robert Sneidar wrote: > Is there a way to use RegEX to remove all but upper case, lower case, periods and question marks? I am not good at RegEx so I couldn?t tell you where to begin, but it seems like just the thing RegEx was made for. > > Bob > > > On Dec 14, 2013, at 10:19 AM, Alejandro Tejada wrote: > >> Great to know! Many Thanks for >> posting this update about ascii >> character incompatible with revSpeak. >> >> Now, we need a volunteer to add this info to >> the dictionary. :D >> >> http://docs.runrev.com/Command/revSpeak >> >> Al From richmondmathewson at gmail.com Sun Dec 15 15:02:16 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 15 Dec 2013 22:02:16 +0200 Subject: Up, Down and Sideways In-Reply-To: <52AE0972.1030303@hyperactivesw.com> References: <52A9FF78.5070907@gmail.com> <52AA0131.3010207@fourthworld.com> <52AA04DC.3080105@gmail.com> <52AC9366.5050908@gmail.com> <74734E27-F24D-47D4-8EC7-E5D6B64B1E66@unil.ch> <52AD87B8.4030402@gmail.com> <52AE0972.1030303@hyperactivesw.com> Message-ID: <52AE0AC8.10508@gmail.com> On 15/12/13 21:56, J. Landman Gay wrote: > On 12/15/13 4:43 AM, Richmond wrote: >> when I'm pressing the >> ctrlKey if >> the IDE doesn't pick that up and I end up with numToChar(1073) rather >> than numToChar(11744) - Aha, the Documentation seems to be telling >> big, fat porkies again: >> >> "Returns the state of the Control key." supposedly on Linux, Mac and >> Win. > > One more thing to consider: the Mac does not notify the app when the > control, command, option, or shift key goes down alone. They are > combined into a single keypress when an alpha-numeric character is > typed. You can't catch them alone. > > So the docs don't really lie, but they do assume you are typing > Control along with another character. > However, if I press CTRL + X, I get "x" just as if I didn't press CTRL at all in this sort of script: on rawKeyDown RK if RK = 100 then if ctrlKey() is down then put "Q" after fld "TEXTBOCKS" else put "x" into fld "TEXTBOCKS" end if end rawKeyDown Howeevr, the CMD/Apple/Windows key DOES work the way I want, so that is what I am now using. Richmond. From jacque at hyperactivesw.com Sun Dec 15 15:08:52 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 15 Dec 2013 14:08:52 -0600 Subject: Simultaneous keys on mobil In-Reply-To: References: Message-ID: <52AE0C54.2080605@hyperactivesw.com> On 12/15/13 10:16 AM, Bill Vlahos wrote: > I have a iOS game where I have 3 buttons. The user can press any one > of them by itself, two of them together, or all three together to > register the correct answer. I how do I tell simultaneous button > presses from multiple buttons? Maybe one of these will get your started: Basically each touch event provides a unique ID, which you can use to calculate whatever you need. The examples mostly deal with moving objects, but in this case you could just store the IDs and see how many you get. You might need to also store the milliseconds or something similar to make sure the events are close enough together to count as a single "touch" by the user. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Sun Dec 15 15:32:21 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 15 Dec 2013 12:32:21 -0800 Subject: Global Properties In-Reply-To: References: Message-ID: <87-1957144230.20131215123221@ahsoftware.net> Pete- Saturday, December 14, 2013, 5:22:45 PM, you wrote: > Is there some way to get a list of the built-in global property names or > are they included in the propertyNames property? They're in the propertynames, so you could get the propertynames list and get a team of ninja squirrels to filter out everything that's not in the keys of the properties of each of [button, field, ...] It looks like it would be pretty easy to add a function to return the global properties, but it doesn't exist at this point. -- -Mark Wieder ahsoftware at gmail.com From dunbarx at aol.com Sun Dec 15 15:38:04 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Sun, 15 Dec 2013 15:38:04 -0500 (EST) Subject: Polyglot keyDowns In-Reply-To: <52AE08CD.5020506@gmail.com> References: <52ADDB53.8000602@gmail.com> <52AE0312.3060503@gmail.com> <52AE08CD.5020506@gmail.com> Message-ID: <8D0C7ECB0001910-F30-12E27@webmail-d134.sysops.aol.com> Richmond. Can you give an example of what you are trying to achieve when you say you want to send a message to a key? It cannot be just this, I assume: in a button: on mouseUp ask "Choose a Key" keyUp it end mouseUp in the card script: on keyUp var answer var end keyUp This sends a keyUp message with a key as a parameter. Is that like sending a message to a key? What is different in what you want to do? Craig -----Original Message----- From: Richmond To: How to use LiveCode Sent: Sun, Dec 15, 2013 2:54 pm Subject: Re: Polyglot keyDowns On 15/12/13 21:35, Thierry Douez wrote: > Does the livecode command "type" help? > > Thierry > > You may be onto something, as the documentation (cough, cough) has this: "As the type command is designed to emulate exactly what happens when a user types a key on the keyboard, the rawKeyDown, keyDown, rawKeyUp and keyUp messages are sent by the command. If these messages are blocked, the text will not appear in the selected field." Now, if the keyDown, keyUP and rawKeyDown messages could be blocked, 'type' might yield whatever character the end-user's keyboard has specified for a particular physical key. The ONLY problem is that I cannot find out how one might BLOCK those messages. Richmond. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Sun Dec 15 15:48:42 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 15 Dec 2013 22:48:42 +0200 Subject: Polyglot keyDowns In-Reply-To: <8D0C7ECB0001910-F30-12E27@webmail-d134.sysops.aol.com> References: <52ADDB53.8000602@gmail.com> <52AE0312.3060503@gmail.com> <52AE08CD.5020506@gmail.com> <8D0C7ECB0001910-F30-12E27@webmail-d134.sysops.aol.com> Message-ID: <52AE15AA.7020104@gmail.com> On 15/12/13 22:38, dunbarx at aol.com wrote: > Richmond. > > > Can you give an example of what you are trying to achieve when you say you want to send a message to a key? It cannot be just this, I assume: > > > in a button: > > > on mouseUp > ask "Choose a Key" > keyUp it > end mouseUp > > > in the card script: > > > on keyUp var > answer var > end keyUp > > > This sends a keyUp message with a key as a parameter. Is that like sending a message to a key? What is different in what you want to do? > > > Craig > > > I have a virtual keyboard for typing Old Church Slavonic and it will be used by a wide variety of people wit English, Bulgarian, Russian, Serbian, Macedonian and Armenian keyboards (among others). When an end-user lets his/her pointer enter a virtual keyboard button I want the key on the physical keyboard to which that is matched to appear in a textField. So; for the sake of argument, when I pass my mouse over the letter "?" which I have mapped to the key that yields a rawKey code 112, on my English keyboard 'p' should appear in the textField, while on a Bulgarian's machine a '?' or a '?' should appear, depending on which keyboard mapping s/he is using. Richmond. From richmondmathewson at gmail.com Sun Dec 15 15:55:17 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 15 Dec 2013 22:55:17 +0200 Subject: Polyglot keyDowns In-Reply-To: <52AE15AA.7020104@gmail.com> References: <52ADDB53.8000602@gmail.com> <52AE0312.3060503@gmail.com> <52AE08CD.5020506@gmail.com> <8D0C7ECB0001910-F30-12E27@webmail-d134.sysops.aol.com> <52AE15AA.7020104@gmail.com> Message-ID: <52AE1735.3090707@gmail.com> On 15/12/13 22:48, Richmond wrote: > On 15/12/13 22:38, dunbarx at aol.com wrote: >> Richmond. >> >> >> Can you give an example of what you are trying to achieve when you >> say you want to send a message to a key? It cannot be just this, I >> assume: >> >> >> in a button: >> >> >> on mouseUp >> ask "Choose a Key" >> keyUp it >> end mouseUp >> >> >> in the card script: >> >> >> on keyUp var >> answer var >> end keyUp >> >> >> This sends a keyUp message with a key as a parameter. Is that like >> sending a message to a key? What is different in what you want to do? >> >> >> Craig >> >> >> > > I have a virtual keyboard for typing Old Church Slavonic and it will > be used by a wide variety of people wit > English, Bulgarian, Russian, Serbian, Macedonian and Armenian > keyboards (among others). > > When an end-user lets his/her pointer enter a virtual keyboard button > I want the key on the physical > keyboard to which that is matched to appear in a textField. > > So; for the sake of argument, when I pass my mouse over the letter "?" > which I have mapped to the key that yields a rawKey code 112, on my > English keyboard 'p' should appear in the textField, while on > a Bulgarian's machine a '?' or a '?' should appear, depending on which > keyboard mapping s/he is using. > > Richmond. This should involve sending a keyDown/keyUp signal that corresponds to the rawKeyDown/Up code 112; which varies according to keyboard layout. Imagine this: send "keyUp" to rawKey(112) 'twould be lovely. Richmond. From jiml at netrin.com Sun Dec 15 16:23:34 2013 From: jiml at netrin.com (Jim Lambert) Date: Sun, 15 Dec 2013 13:23:34 -0800 Subject: Simultaneous keys on mobil In-Reply-To: References: Message-ID: <1DFDF20E-E671-4EBB-80FB-FAD9BBD58696@netrin.com> BillV wrote: > I have a iOS game where I have 3 buttons. The user can press any one of them by itself, two of them together, or all three together to register the correct answer. I how do I tell simultaneous button presses from multiple buttons? Try this in a button script then set that button as the behavior for your 3 touchable buttons. gTouchedControls will contain the current state of each button. Jim Lambert global gTouchedControls on touchStart tID hilite me put true into gTouchedControls[the short name of me] end touchStart on touchEnd tid unhilite me put false into gTouchedControls[the short name of me] end touchEnd From dunbarx at aol.com Sun Dec 15 16:32:27 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Sun, 15 Dec 2013 16:32:27 -0500 (EST) Subject: Polyglot keyDowns In-Reply-To: <52AE1735.3090707@gmail.com> References: <52ADDB53.8000602@gmail.com> <52AE0312.3060503@gmail.com> <52AE08CD.5020506@gmail.com> <8D0C7ECB0001910-F30-12E27@webmail-d134.sysops.aol.com> <52AE15AA.7020104@gmail.com> <52AE1735.3090707@gmail.com> Message-ID: <8D0C7F4481DE02E-F30-1306F@webmail-d134.sysops.aol.com> Richmond. How is the virtual keyboard made? Can it have discrete objects under each virtual key so that those objects are mapped, maybe by name, to the translated letter you want? Can't you then use the "mouseWithin" or "mouseEnter" message to locate the virtual key over which the pointer is resting, and use the target to do what you need? You could change the names of all those hidden objects by script to change the mapping in one shot as well. Craig -----Original Message----- From: Richmond To: How to use LiveCode Sent: Sun, Dec 15, 2013 3:55 pm Subject: Re: Polyglot keyDowns On 15/12/13 22:48, Richmond wrote: > On 15/12/13 22:38, dunbarx at aol.com wrote: >> Richmond. >> >> >> Can you give an example of what you are trying to achieve when you >> say you want to send a message to a key? It cannot be just this, I >> assume: >> >> >> in a button: >> >> >> on mouseUp >> ask "Choose a Key" >> keyUp it >> end mouseUp >> >> >> in the card script: >> >> >> on keyUp var >> answer var >> end keyUp >> >> >> This sends a keyUp message with a key as a parameter. Is that like >> sending a message to a key? What is different in what you want to do? >> >> >> Craig >> >> >> > > I have a virtual keyboard for typing Old Church Slavonic and it will > be used by a wide variety of people wit > English, Bulgarian, Russian, Serbian, Macedonian and Armenian > keyboards (among others). > > When an end-user lets his/her pointer enter a virtual keyboard button > I want the key on the physical > keyboard to which that is matched to appear in a textField. > > So; for the sake of argument, when I pass my mouse over the letter "?" > which I have mapped to the key that yields a rawKey code 112, on my > English keyboard 'p' should appear in the textField, while on > a Bulgarian's machine a '?' or a '?' should appear, depending on which > keyboard mapping s/he is using. > > Richmond. This should involve sending a keyDown/keyUp signal that corresponds to the rawKeyDown/Up code 112; which varies according to keyboard layout. Imagine this: send "keyUp" to rawKey(112) 'twould be lovely. Richmond. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Sun Dec 15 16:37:03 2013 From: pete at lcsql.com (Peter Haworth) Date: Sun, 15 Dec 2013 13:37:03 -0800 Subject: Global Properties In-Reply-To: <87-1957144230.20131215123221@ahsoftware.net> References: <87-1957144230.20131215123221@ahsoftware.net> Message-ID: Thanks Mark. That's pretty much what I thought but maybe I can find a way to summon the ninja squirrels instead. Pete lcSQL Software On Dec 15, 2013 12:32 PM, "Mark Wieder" wrote: > Pete- > > Saturday, December 14, 2013, 5:22:45 PM, you wrote: > > > Is there some way to get a list of the built-in global property names or > > are they included in the propertyNames property? > > They're in the propertynames, so you could get the propertynames list > and get a team of ninja squirrels to filter out everything that's not > in the keys of the properties of each of [button, field, ...] > > It looks like it would be pretty easy to add a function to return the > global properties, but it doesn't exist at this point. > > -- > -Mark Wieder > ahsoftware at gmail.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mwieder at ahsoftware.net Sun Dec 15 18:19:26 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 15 Dec 2013 15:19:26 -0800 Subject: Global Properties In-Reply-To: References: <87-1957144230.20131215123221@ahsoftware.net> Message-ID: <65-1947119468.20131215151926@ahsoftware.net> Pete- Sunday, December 15, 2013, 1:37:03 PM, you wrote: > Thanks Mark. That's pretty much what I thought but maybe I can find a way > to summon the ninja squirrels instead. Here's a start, although there are still some things in the remaining 499 lines that I don't think are really properties ("arm", for one). on mouseUp put NinjaSquirrel() into msg end mouseUp function NinjaSquirrel local tData local tProps put the keys of (the properties of the templatestack) after tData put the keys of (the properties of the templatecard) after tData put the keys of (the properties of the templategroup) after tData put the keys of (the properties of the templatebutton) after tData put the keys of (the properties of the templatefield) after tData put the keys of (the properties of the templateimage) after tData put the keys of (the properties of the templategraphic) after tData put the keys of (the properties of the templatescrollbar) after tData put the keys of (the properties of the templateeps) after tData put the keys of (the properties of the templateplayer) after tData put the keys of (the properties of the templateaudioclip) after tData put the keys of (the properties of the templatevideoclip) after tData put the propertynames into tProps repeat for each line tLine in tData filter tProps without tLine end repeat answer the number of lines in tProps && "global properties" return tProps end NinjaSquirrel -- -Mark Wieder ahsoftware at gmail.com From pete at lcsql.com Sun Dec 15 19:43:35 2013 From: pete at lcsql.com (Peter Haworth) Date: Sun, 15 Dec 2013 16:43:35 -0800 Subject: Global Properties In-Reply-To: <65-1947119468.20131215151926@ahsoftware.net> References: <87-1957144230.20131215123221@ahsoftware.net> <65-1947119468.20131215151926@ahsoftware.net> Message-ID: Hi Mark, Thanks for that. I'm not sure it's working right though. For example, acceleratedRendering shows up in the list but according to the dictionary, it's a property of a stack. Haven't checked any others but I think the templatexxxx objects may have the same problem as the propertynames - they're incomplete. Oh well, I was just curious more than anything else. Pete lcSQL Software On Sun, Dec 15, 2013 at 3:19 PM, Mark Wieder wrote: > Pete- > > Sunday, December 15, 2013, 1:37:03 PM, you wrote: > > > Thanks Mark. That's pretty much what I thought but maybe I can find a way > > to summon the ninja squirrels instead. > > Here's a start, although there are still some things in the remaining > 499 lines that I don't think are really properties ("arm", for one). > > on mouseUp > put NinjaSquirrel() into msg > end mouseUp > > function NinjaSquirrel > local tData > local tProps > > put the keys of (the properties of the templatestack) after tData > put the keys of (the properties of the templatecard) after tData > put the keys of (the properties of the templategroup) after tData > put the keys of (the properties of the templatebutton) after tData > put the keys of (the properties of the templatefield) after tData > put the keys of (the properties of the templateimage) after tData > put the keys of (the properties of the templategraphic) after tData > put the keys of (the properties of the templatescrollbar) after tData > put the keys of (the properties of the templateeps) after tData > put the keys of (the properties of the templateplayer) after tData > put the keys of (the properties of the templateaudioclip) after tData > put the keys of (the properties of the templatevideoclip) after tData > > put the propertynames into tProps > repeat for each line tLine in tData > filter tProps without tLine > end repeat > answer the number of lines in tProps && "global properties" > return tProps > end NinjaSquirrel > > -- > -Mark Wieder > ahsoftware at gmail.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mwieder at ahsoftware.net Sun Dec 15 20:19:45 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 15 Dec 2013 17:19:45 -0800 Subject: Global Properties In-Reply-To: References: <87-1957144230.20131215123221@ahsoftware.net> <65-1947119468.20131215151926@ahsoftware.net> Message-ID: <53-1939900979.20131215171945@ahsoftware.net> Pete- Sunday, December 15, 2013, 4:43:35 PM, you wrote: > Hi Mark, > Thanks for that. I'm not sure it's working right though. For example, > acceleratedRendering shows up in the list but according to the dictionary, > it's a property of a stack. Haven't checked any others but I think the > templatexxxx objects may have the same problem as the propertynames - > they're incomplete. Yep - acceleratedRendering is a bug. I'm fixing it now. It's not just the templatestack, getting the properties of a stack doesn't show it either. Let me know of any others you find - they're easy enough to fix up in the engine source. -- -Mark Wieder ahsoftware at gmail.com From pete at lcsql.com Sun Dec 15 21:12:19 2013 From: pete at lcsql.com (Peter Haworth) Date: Sun, 15 Dec 2013 18:12:19 -0800 Subject: Global Properties In-Reply-To: <53-1939900979.20131215171945@ahsoftware.net> References: <87-1957144230.20131215123221@ahsoftware.net> <65-1947119468.20131215151926@ahsoftware.net> <53-1939900979.20131215171945@ahsoftware.net> Message-ID: Cool, thanks Mark. Pete lcSQL Software On Sun, Dec 15, 2013 at 5:19 PM, Mark Wieder wrote: > Pete- > > Sunday, December 15, 2013, 4:43:35 PM, you wrote: > > > Hi Mark, > > Thanks for that. I'm not sure it's working right though. For example, > > acceleratedRendering shows up in the list but according to the > dictionary, > > it's a property of a stack. Haven't checked any others but I think the > > templatexxxx objects may have the same problem as the propertynames - > > they're incomplete. > > Yep - acceleratedRendering is a bug. I'm fixing it now. It's not just > the templatestack, getting the properties of a stack doesn't show it > either. Let me know of any others you find - they're easy enough to > fix up in the engine source. > > -- > -Mark Wieder > ahsoftware at gmail.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mwieder at ahsoftware.net Sun Dec 15 21:34:44 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 15 Dec 2013 18:34:44 -0800 Subject: Global Properties In-Reply-To: References: <87-1957144230.20131215123221@ahsoftware.net> <65-1947119468.20131215151926@ahsoftware.net> <53-1939900979.20131215171945@ahsoftware.net> Message-ID: <50-1935402010.20131215183444@ahsoftware.net> Pete- Filed as bug 11599 and pull request submitted. -- -Mark Wieder ahsoftware at gmail.com From monte at sweattechnologies.com Sun Dec 15 23:47:30 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon, 16 Dec 2013 15:47:30 +1100 Subject: Global Properties In-Reply-To: <50-1935402010.20131215183444@ahsoftware.net> References: <87-1957144230.20131215123221@ahsoftware.net> <65-1947119468.20131215151926@ahsoftware.net> <53-1939900979.20131215171945@ahsoftware.net> <50-1935402010.20131215183444@ahsoftware.net> Message-ID: <43F30BDD-9092-4C7B-9AD2-A71EA573CAF8@sweattechnologies.com> On 16/12/2013, at 1:34 PM, Mark Wieder wrote: > Filed as bug 11599 and pull request submitted. The lockUpdates of a group wouldn't be in there either. I never really considered properties that aren't saved with a stackFile to be good candidates for inclusion in the properties prop when I updated it, however, if that's the rule then we will need to be consistent about it. Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From jacque at hyperactivesw.com Mon Dec 16 00:58:11 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 15 Dec 2013 23:58:11 -0600 Subject: Zero byte music files In-Reply-To: References: <52AB74AA.3060505@hyperactivesw.com> Message-ID: <52AE9673.6070602@hyperactivesw.com> Just to clear LiveCode's reputation, this was my fault. Lurking in the back corner of an obsolete and unused part of a script was a wayward command to copy an audio file. I'd commented out all the other related commands but I overlooked that one. So I did it to myself. I so wanted to blame someone else. On 12/14/13 2:09 PM, Howard Bornstein wrote: > I would guess it's LC. This seems very similar to the Open File command: > > Use the *open file* command to create a > fileor prepare an existing > file for use by the read from > fileor write > to file commands . > > *Parameters:* > > filePath - Specifies the name and location of the file you want to open or > create. If you specify a name but not a location, LiveCode assumes the file > is in the defaultFolder. *If the file you specify doesn't exist, LiveCode > creates it.* > > > On Fri, Dec 13, 2013 at 12:57 PM, J. Landman Gay > wrote: > >> If I try to load a player with a path to a file that doesn't exist on >> disk, either the OS or LiveCode creates a zero-byte dummy file at the file >> location. >> >> Does anyone know what causes that? Is it LC or the OS? This is on Mac. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Mon Dec 16 02:17:13 2013 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 16 Dec 2013 09:17:13 +0200 Subject: Polyglot keyDowns In-Reply-To: <8D0C7F4481DE02E-F30-1306F@webmail-d134.sysops.aol.com> References: <52ADDB53.8000602@gmail.com> <52AE0312.3060503@gmail.com> <52AE08CD.5020506@gmail.com> <8D0C7ECB0001910-F30-12E27@webmail-d134.sysops.aol.com> <52AE15AA.7020104@gmail.com> <52AE1735.3090707@gmail.com> <8D0C7F4481DE02E-F30-1306F@webmail-d134.sysops.aol.com> Message-ID: <52AEA8F9.1020602@gmail.com> On 15/12/13 23:32, dunbarx at aol.com wrote: > Richmond. > > > How is the virtual keyboard made? Can it have discrete objects under each virtual key so that those objects are mapped, maybe by name, to the translated letter you want? Can't you then use the "mouseWithin" or "mouseEnter" message to locate the virtual key over which the pointer is resting, and use the target to do what you need? You could change the names of all those hidden objects by script to change the mapping in one shot as well. Why do I have a feeling that you think I am more clever than I am? This evening I will mail you a sample of my code off-list. Richmond. > > Craig > > > > -----Original Message----- > From: Richmond > To: How to use LiveCode > Sent: Sun, Dec 15, 2013 3:55 pm > Subject: Re: Polyglot keyDowns > > > On 15/12/13 22:48, Richmond wrote: >> On 15/12/13 22:38, dunbarx at aol.com wrote: >>> Richmond. >>> >>> >>> Can you give an example of what you are trying to achieve when you >>> say you want to send a message to a key? It cannot be just this, I >>> assume: >>> >>> >>> in a button: >>> >>> >>> on mouseUp >>> ask "Choose a Key" >>> keyUp it >>> end mouseUp >>> >>> >>> in the card script: >>> >>> >>> on keyUp var >>> answer var >>> end keyUp >>> >>> >>> This sends a keyUp message with a key as a parameter. Is that like >>> sending a message to a key? What is different in what you want to do? >>> >>> >>> Craig >>> >>> >>> >> I have a virtual keyboard for typing Old Church Slavonic and it will >> be used by a wide variety of people wit >> English, Bulgarian, Russian, Serbian, Macedonian and Armenian >> keyboards (among others). >> >> When an end-user lets his/her pointer enter a virtual keyboard button >> I want the key on the physical >> keyboard to which that is matched to appear in a textField. >> >> So; for the sake of argument, when I pass my mouse over the letter "?" >> which I have mapped to the key that yields a rawKey code 112, on my >> English keyboard 'p' should appear in the textField, while on >> a Bulgarian's machine a '?' or a '?' should appear, depending on which >> keyboard mapping s/he is using. >> >> Richmond. > This should involve sending a keyDown/keyUp signal that corresponds to > the rawKeyDown/Up code 112; > which varies according to keyboard layout. > > Imagine this: > > send "keyUp" to rawKey(112) > > 'twould be lovely. > > Richmond. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From toolbook at kestner.de Mon Dec 16 02:48:21 2013 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Mon, 16 Dec 2013 08:48:21 +0100 Subject: =?utf-8?Q?AW:_Eric_Chatonet=C2=B4s_website?= In-Reply-To: <1387046181410-4673738.post@n4.nabble.com> References: <1387046181410-4673738.post@n4.nabble.com> Message-ID: <003101cefa33$31f44050$95dcc0f0$@de> Isn't it already switched off since some years? > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von Alejandro Tejada > Gesendet: Samstag, 14. Dezember 2013 19:36 > An: use-revolution at lists.runrev.com > Betreff: Eric Chatonet?s website > > Hi All, > > What happened to Eric Chatonet?s website? > > http://www.sosmartsoftware.com/ > > The message is: > Sorry, Site temporary unavailable. > > > Al > > > > -- > View this message in context: http://runtime- > revolution.278305.n4.nabble.com/Eric-Chatonet-s-website-tp4673738.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Mon Dec 16 03:59:36 2013 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Mon, 16 Dec 2013 09:59:36 +0100 Subject: =?iso-8859-1?Q?Re=3A_Eric_Chatonet=B4s_website?= In-Reply-To: <003101cefa33$31f44050$95dcc0f0$@de> References: <1387046181410-4673738.post@n4.nabble.com> <003101cefa33$31f44050$95dcc0f0$@de> Message-ID: <9B8C63B3-736F-431A-9D4C-9EB6A8F6D977@m-r-d.de> Alejandro, there is an archived version of his site at https://web.archive.org/web/20111127132721/http://www.sosmartsoftware.com/ Unfortunately the his Revolution tools and tutorials are not available at that site. But i have here an archive of all his tools and tutorials. So if you are interested in one of them, then just send me an private email and i will send it to you. Regards, Matthias Am 16.12.2013 um 08:48 schrieb Tiemo Hollmann TB : > Isn't it already switched off since some years? > > >> -----Urspr?ngliche Nachricht----- >> Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag >> von Alejandro Tejada >> Gesendet: Samstag, 14. Dezember 2013 19:36 >> An: use-revolution at lists.runrev.com >> Betreff: Eric Chatonet?s website >> >> Hi All, >> >> What happened to Eric Chatonet?s website? >> >> http://www.sosmartsoftware.com/ >> >> The message is: >> Sorry, Site temporary unavailable. >> >> >> Al >> >> >> >> -- >> View this message in context: http://runtime- >> revolution.278305.n4.nabble.com/Eric-Chatonet-s-website-tp4673738.html >> Sent from the Revolution - User mailing list archive at Nabble.com. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From roger.e.eller at sealedair.com Mon Dec 16 10:24:47 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Mon, 16 Dec 2013 10:24:47 -0500 Subject: Really long delay in opening Android app (black screen) In-Reply-To: References: Message-ID: Has anyone else seen this issue? Thanks. On Fri, Dec 13, 2013 at 5:16 PM, Roger Eller wrote: > I have tried using an imported image, a referenced image, including the > image in the "copy files" pane, reducing the colors using tinyPNG, but no > matter what I do, the screen is black for 5 to 10 seconds before the app > displays at all. > > I am telling the image to show in preOpenStack, and to hide in openStack > after 2 secs. I want it to act like a splash screen, but this black-screen > delay is making it quite frustrating. Without an initial image, the app > opens immediately. > > Any ideas? > > ~Roger > > From pete at lcsql.com Mon Dec 16 13:36:45 2013 From: pete at lcsql.com (Peter Haworth) Date: Mon, 16 Dec 2013 10:36:45 -0800 Subject: Global Properties In-Reply-To: <50-1935402010.20131215183444@ahsoftware.net> References: <87-1957144230.20131215123221@ahsoftware.net> <65-1947119468.20131215151926@ahsoftware.net> <53-1939900979.20131215171945@ahsoftware.net> <50-1935402010.20131215183444@ahsoftware.net> Message-ID: Hi Mark, Thanks for the info. I started going through the list produced by your code and there's a lot of entries that aren't globals so I started looking at other methods I noticed that if you do something like "put the abbrev into field xyz", field xyz will contain "abbrev". In other words, if the property is associated with an object but you don't include an object reference, you get the name of the property. You have to fool the compiler to not flag an error on the code by using a do statement but I think that methodology yields an accurate list. I spotted some that I thought weren't global (textfont,textalign,textsize,textfont) but it seems you can "set the textalign to "right" and no error is flagged so I guess they are global as well as object specific. Here's the code, hopefully with no asterisks inserted! This identified 277 global properties. function ninjaChickens local tProperties get the propertynames repeat for each line rProperty in it do "put the" && rProperty && "into field Test" if field "Test" is not rProperty then put rProperty & return after tProperties end if end repeat answer the number of lines in tProperties && "global properties found" return tProperties end ninjaChickens OK, now back to real work. Pete lcSQL Software On Sun, Dec 15, 2013 at 6:34 PM, Mark Wieder wrote: > Pete- > > Filed as bug 11599 and pull request submitted. > > -- > -Mark Wieder > ahsoftware at gmail.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From martyknappster at gmail.com Mon Dec 16 15:30:48 2013 From: martyknappster at gmail.com (Marty Knapp) Date: Mon, 16 Dec 2013 12:30:48 -0800 Subject: WYSIWYG is Wonky! In-Reply-To: <52AE05DC.1050507@hyperactivesw.com> References: <52AD0606.4020101@gmail.com> <52AD08F2.2010108@fourthworld.com> <52AD223E.4070103@gmail.com> <52AE05DC.1050507@hyperactivesw.com> Message-ID: <52AF62F8.4050304@gmail.com> Yes, I have a routine to adjust fonts/sizes for all my controls on stacks depending on what platform they're opened on. But this particular stack will allow the user to spec their own fonts and sizes for the document that they create. The problem occurs when printing. On Mac there's no problem - what you see on screen is what you get in the printout. (though on 6.5.1rc1 there are some issues with text cutoff on the right margin.) On Windows (only tested on 7) the printout does not look like the screen. And using formatForPrinting yields unpredictable results for me - some fonts are better, others are worse. One thing I don't understand is that on Windows if I print with formatForPrinting set to false, the fonts print very nicely and with (seemingly) no less resolution than when you set formatForPrinting to true. And they're TrueType fonts so I thought (obviously incorrectly) that screen fonts and printer fonts were a thing of the past. It sure seems like we ought to have WYSIWYG printing on Windows at this stage of the game. I did file a couple of bug reports: 11606 and 11607. And added a note to an old bug report - 2520 Marty > On 12/14/13 9:30 PM, Marty Knapp wrote: >> Thanks Richard, >> That fixed some text fields and totally wacky out others. I have one >> field that's about 4 inches wide and when printed with formatForPrinting >> set to true it "grows" by about half an inch in width and shifts to the >> left by about the same. The point size looks like it grows by about a >> point and half. > > I've found, in general, that Windows point sizes do not match Mac > sizes and that I need to leave extra width available on fields to > account for the additional width when the stack is run on a Windows > machine. Another approach is to set the textsize of the stack or card > based on the platform, sizing it downward for Windows. From livfoss at mac.com Mon Dec 16 15:35:59 2013 From: livfoss at mac.com (Graham Samuel) Date: Mon, 16 Dec 2013 21:35:59 +0100 Subject: Still stuck on playing a sound with a player Message-ID: <7A2EE244-C9E0-4139-A82F-487167D6BCC9@mac.com> Despite advice both from Jacque Gay and the mother ship, I am still having trouble using a player to play an MP3 file on a Mac. I'm using LC 6.5.1 RC-1 on OSX Lion 10.7.5 Jacque suggested I set the playrate of my player to 1. I did that. RR Support told me to create a handler that keeps calling itself until the currentTime of the player corresponds to its duration - this is because my script carries on after the player starts and eventually switches cards. Turns out (undocumented AFAIKS) that if you move to another card you terminate the sound. As I see it, the recommended handler acts the same way "wait until the sound is done" does for an audio clip. Makes sense. Well, a combination of these two things made one of my files work. I then wanted to arrange for a button on a different card to play a different (MP3) sound using a hidden player on the same card. Since the script on this one doesn't try to change cards, I left out the 'waiting' handler. The whole script is on mouseUp set the playRate of player "playComment" to 1 play "playComment" end mouseUp sometimes I put some kind of 'wait' statement at the end just to see if it makes a difference. Result, zilch - no sound at all. I then used the message box to query the duration of the player, which is linked to a 440Kb MP3 file. The answer was zero! How can this be, considering an ordinary QT player/iTunes will play the sound? It looks almost as if the link to the MP3 file in the player object was somehow ineffective. I have of course checked the link and remade it a few times. It seems I lack instructions for playing MP3s from beginning to end on a Mac: before I started this, I thought it would be extremely simple and indeed idiot-proof. I guess I was wrong, or I am even more mentally challenged that I normally allow for. Is anyone using MP3 sounds in a desktop app, and if so, what is the idiot-proof method? TIA Graham From jacque at hyperactivesw.com Mon Dec 16 17:26:17 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 16 Dec 2013 16:26:17 -0600 Subject: Still stuck on playing a sound with a player In-Reply-To: <7A2EE244-C9E0-4139-A82F-487167D6BCC9@mac.com> References: <7A2EE244-C9E0-4139-A82F-487167D6BCC9@mac.com> Message-ID: <52AF7E09.30907@hyperactivesw.com> On 12/16/13 2:35 PM, Graham Samuel wrote: > > RR Support told me to create a handler that keeps calling itself until > the currentTime of the player corresponds to its duration - this is > because my script carries on after the player starts and eventually > switches cards. That's not how I do it. When the player reaches the end, it will receive a playStopped message which you can trap. That way you don't need to keep checking on its progress. The message is sent to the player object itself, not to the card it's on, though you could put a handler anywhere in the hierarchy. I have this in a player script: on playStopped doPlayStoppedStuff end playStopped And then you can put a "doPlayStoppedStuff" handler in the card or stack to actually do whatever needs doing when the playback is done. This may mean you need to break up your big handler into two separate pieces, but this method is cleaner. A second alternative is to set some callbacks on the player (see "callbacks" in the dictionary.) That will allow you to send messages at any defined point during playback, and you can have a handler that responds to those messages. If you only need to know when the playback is finished, just set a single callback at the end. To prevent the player from stopping during card changes, I put the player in a separate substack which isn't visible. It just sits there and plays stuff while the main stack is operating. I don't know if that will work for you. In my case I don't need a controller so it doesn't matter if the player isn't visible. Mine just does background audio, and the user turns it on/off with a button on the main card. Mp3 files work fine for me. If you are getting a duration of zero it means the file wouldn't load. What happens if you use the player's property inspector to select the file from disk instead of setting it with a script? Does it play then? If so, then it's probably a glitch somewhere while constructing the file path. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From livfoss at mac.com Mon Dec 16 17:50:50 2013 From: livfoss at mac.com (Graham Samuel) Date: Mon, 16 Dec 2013 23:50:50 +0100 Subject: Still stuck on playing a sound with a player In-Reply-To: <52AF7E09.30907@hyperactivesw.com> References: <7A2EE244-C9E0-4139-A82F-487167D6BCC9@mac.com> <52AF7E09.30907@hyperactivesw.com> Message-ID: Jacque, thanks for the wisdom - with your help, I believe I will get it working. Just picking up one point in your mail, I **do** use the player's property inspector to select the file from disk once and for all - since in my case each of the two players plays just one file, it's the simplest way. But somehow the duration of one of the two files is zero, even though they were both created (as MP3s) by the same app (Fission) by conversion from existing AIFF files, and they've both been attached to their respective players in exactly the same way, and both the original files can be played outside LC without problems. So it's a mystery. Of course it's probably something I've done, but I ain't seen it yet. I like your idea of a dedicated substack for the players - I can do that easily. That recommendation from RR support (Neil Roger) was not so good, eh? I think he was trying to help me with the issue of my script running off the end of the card, so to speak. In my original design, this will happen before the recording reaches its natural end, unless I do something to block the script from continuing, hence his idea. With the separate substack idea, I can organise it differently, so I won't need to do the blocking. The displayed card will just sit there until the 'playStopped' handler runs, and that's how we will get to the next card - in my doPlayedStoppedStuff bit. This just leaves the issue of the zero duration, or duff link or whatever it is. I shall tinker. I'll tell you what happens. Thanks again Graham BTW, this tiny app I'm building is a dress rehearsal for something much bigger - but if I can't reliably play MP3s (and later on, videos) the real project will be dead. On 16 Dec 2013, at 23:26, J. Landman Gay wrote: > On 12/16/13 2:35 PM, Graham Samuel wrote: >> >> RR Support told me to create a handler that keeps calling itself until >> the currentTime of the player corresponds to its duration - this is >> because my script carries on after the player starts and eventually >> switches cards. > > That's not how I do it. When the player reaches the end, it will receive a playStopped message which you can trap. That way you don't need to keep checking on its progress. The message is sent to the player object itself, not to the card it's on, though you could put a handler anywhere in the hierarchy. I have this in a player script: > > on playStopped > doPlayStoppedStuff > end playStopped > > And then you can put a "doPlayStoppedStuff" handler in the card or stack to actually do whatever needs doing when the playback is done. This may mean you need to break up your big handler into two separate pieces, but this method is cleaner. > > A second alternative is to set some callbacks on the player (see "callbacks" in the dictionary.) That will allow you to send messages at any defined point during playback, and you can have a handler that responds to those messages. If you only need to know when the playback is finished, just set a single callback at the end. > > To prevent the player from stopping during card changes, I put the player in a separate substack which isn't visible. It just sits there and plays stuff while the main stack is operating. I don't know if that will work for you. In my case I don't need a controller so it doesn't matter if the player isn't visible. Mine just does background audio, and the user turns it on/off with a button on the main card. > > Mp3 files work fine for me. If you are getting a duration of zero it means the file wouldn't load. What happens if you use the player's property inspector to select the file from disk instead of setting it with a script? Does it play then? If so, then it's probably a glitch somewhere while constructing the file path. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > From mwieder at ahsoftware.net Mon Dec 16 22:04:24 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 16 Dec 2013 19:04:24 -0800 Subject: Global Properties In-Reply-To: References: <87-1957144230.20131215123221@ahsoftware.net> <65-1947119468.20131215151926@ahsoftware.net> <53-1939900979.20131215171945@ahsoftware.net> <50-1935402010.20131215183444@ahsoftware.net> Message-ID: <88-1847221595.20131216190424@ahsoftware.net> Pete- Well, thanks for that, but Hanson posted a note in my bug report to the effect that the propertynames is a list of only those properties that are persistent across LC sessions, not the ones that don't get stored. tl;dr - not a bug, won't get changed. -- -Mark Wieder ahsoftware at gmail.com From mwieder at ahsoftware.net Mon Dec 16 22:06:09 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 16 Dec 2013 19:06:09 -0800 Subject: Global Properties In-Reply-To: <43F30BDD-9092-4C7B-9AD2-A71EA573CAF8@sweattechnologies.com> References: <87-1957144230.20131215123221@ahsoftware.net> <65-1947119468.20131215151926@ahsoftware.net> <53-1939900979.20131215171945@ahsoftware.net> <50-1935402010.20131215183444@ahsoftware.net> <43F30BDD-9092-4C7B-9AD2-A71EA573CAF8@sweattechnologies.com> Message-ID: <164-1847116738.20131216190609@ahsoftware.net> Monte- Sunday, December 15, 2013, 8:47:30 PM, you wrote: > The lockUpdates of a group wouldn't be in there either. I never > really considered properties that aren't saved with a stackFile to > be good candidates for inclusion in the properties prop when I > updated it, however, if that's the rule then we will need to be > consistent about it. Not the properties, the propertynames. -- -Mark Wieder ahsoftware at gmail.com From pete at lcsql.com Mon Dec 16 22:32:37 2013 From: pete at lcsql.com (Peter Haworth) Date: Mon, 16 Dec 2013 19:32:37 -0800 Subject: Strange array behavior Message-ID: I have a script local variable which is an array plus a set of handlers in the script to maintain it. The array has 2 levels of key, the first being a number and the second being various text values. This set up has been working fine for a long time but I just wrote some new code which calls the array handlers to insert new keys. At the end of the new code, I see that the array is empty, in other words it has no keys; it is keyless; it's an ex array. When I step through the code that inserts keys into the array in debug, I see the disclosure triangle appear in the debug variables tab after the line to insert a key is executed but as soon as I click on the disclosure triangle, it disappears and the array is empty again. The normal inspiration for a solution to weird problems like this (a glass of good 15 year old Scotch) has not yet yielded any revelations and I'm at the point of diminishing returns, so I'm hoping someone out there might have run into this or be able to suggest some possible solutions. Pete lcSQL Software From ambassador at fourthworld.com Mon Dec 16 23:17:09 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 16 Dec 2013 20:17:09 -0800 Subject: Strange array behavior In-Reply-To: References: Message-ID: <52AFD045.9030301@fourthworld.com> In addition to deleting the keys did you also put empty into the variable? I'm no expert on those, but I think that once a var is used as an array it remains one until you do something else with it, even if it has no keys. It's kinda like a bookshelf containing boxes: even if you remove all the boxes, you still have the bookshelf. -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From monte at sweattechnologies.com Mon Dec 16 23:42:30 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 17 Dec 2013 15:42:30 +1100 Subject: Global Properties In-Reply-To: <164-1847116738.20131216190609@ahsoftware.net> References: <87-1957144230.20131215123221@ahsoftware.net> <65-1947119468.20131215151926@ahsoftware.net> <53-1939900979.20131215171945@ahsoftware.net> <50-1935402010.20131215183444@ahsoftware.net> <43F30BDD-9092-4C7B-9AD2-A71EA573CAF8@sweattechnologies.com> <164-1847116738.20131216190609@ahsoftware.net> Message-ID: On 17/12/2013, at 2:06 PM, Mark Wieder wrote: > Not the properties, the propertynames. I'm not sure what you mean. Wasn't the fix to the properties of stack? -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From pete at lcsql.com Tue Dec 17 00:25:35 2013 From: pete at lcsql.com (Peter Haworth) Date: Mon, 16 Dec 2013 21:25:35 -0800 Subject: Global Properties In-Reply-To: References: <87-1957144230.20131215123221@ahsoftware.net> <65-1947119468.20131215151926@ahsoftware.net> <53-1939900979.20131215171945@ahsoftware.net> <50-1935402010.20131215183444@ahsoftware.net> <43F30BDD-9092-4C7B-9AD2-A71EA573CAF8@sweattechnologies.com> <164-1847116738.20131216190609@ahsoftware.net> Message-ID: No the original question was how to get a list of the Livecode global properties. Mark's code happened to find one that was a stack property rather than a global one. Pete lcSQL Software On Mon, Dec 16, 2013 at 8:42 PM, Monte Goulding wrote: > > On 17/12/2013, at 2:06 PM, Mark Wieder wrote: > > > Not the properties, the propertynames. > > I'm not sure what you mean. Wasn't the fix to the properties of stack? > > -- > M E R Goulding > Software development services > Bespoke application development for vertical markets > > mergExt - There's an external for that! > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From monte at sweattechnologies.com Tue Dec 17 00:44:35 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 17 Dec 2013 16:44:35 +1100 Subject: Global Properties In-Reply-To: References: <87-1957144230.20131215123221@ahsoftware.net> <65-1947119468.20131215151926@ahsoftware.net> <53-1939900979.20131215171945@ahsoftware.net> <50-1935402010.20131215183444@ahsoftware.net> <43F30BDD-9092-4C7B-9AD2-A71EA573CAF8@sweattechnologies.com> <164-1847116738.20131216190609@ahsoftware.net> Message-ID: <6ECD7A61-EE69-4A0F-894A-25964ADB301E@sweattechnologies.com> On 17/12/2013, at 4:25 PM, Peter Haworth wrote: > No the original question was how to get a list of the Livecode global > properties. Mark's code happened to find one that was a stack property > rather than a global one. Right but the bug report and pull request was about the stack properties which is what I commented on. All I was saying is it doesn't really matter if we include acceleratedRendering (if RunRev want to) as long as any other properties that aren't saved with a stack are also included so we can follow rules about what's in and what isn't... no synonyms, no read only props, no duplication (text, htmlText, styledText) etc. At least then we know what to expect and what not to expect. Hopefully the refactored engine might have better ways to inspect the properties of an object. I suspect the modularity that will be required for pluggable widgets etc will need it at an engine level anyway. At the moment the properties property is just a list for each object. It doesn't even take advantage of the class hierarchy so common properties are defined only in one list... Cheers -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From jacque at hyperactivesw.com Tue Dec 17 01:05:09 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 17 Dec 2013 00:05:09 -0600 Subject: Still stuck on playing a sound with a player In-Reply-To: References: <7A2EE244-C9E0-4139-A82F-487167D6BCC9@mac.com> <52AF7E09.30907@hyperactivesw.com> Message-ID: <52AFE995.7040107@hyperactivesw.com> On 12/16/13 4:50 PM, Graham Samuel wrote: > Just picking up one point in your mail, I **do** use the > player's property inspector to select the file from disk once and for > all - since in my case each of the two players plays just one file, > it's the simplest way. But somehow the duration of one of the two > files is zero, even though they were both created (as MP3s) by the > same app (Fission) by conversion from existing AIFF files, and > they've both been attached to their respective players in exactly the > same way, and both the original files can be played outside LC > without problems. That's truly bizarre, I haven't a clue. Do you get anything in the result when it fails? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Tue Dec 17 01:05:45 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 16 Dec 2013 22:05:45 -0800 Subject: Global Properties In-Reply-To: <6ECD7A61-EE69-4A0F-894A-25964ADB301E@sweattechnologies.com> References: <87-1957144230.20131215123221@ahsoftware.net> <65-1947119468.20131215151926@ahsoftware.net> <53-1939900979.20131215171945@ahsoftware.net> <50-1935402010.20131215183444@ahsoftware.net> <43F30BDD-9092-4C7B-9AD2-A71EA573CAF8@sweattechnologies.com> <164-1847116738.20131216190609@ahsoftware.net> <6ECD7A61-EE69-4A0F-894A-25964ADB301E@sweattechnologies.com> Message-ID: <30-1836340712.20131216220545@ahsoftware.net> Monte- Monday, December 16, 2013, 9:44:35 PM, you wrote: > Right but the bug report and pull request was about the stack > properties which is what I commented on. All I was saying is it > doesn't really matter if we include acceleratedRendering (if RunRev > want to) as long as any other properties that aren't saved with a > stack are also included so we can follow rules about what's in and > what isn't... no synonyms, no read only props, no duplication (text, > htmlText, styledText) etc. At least then we know what to expect and > what not to expect. Hopefully the refactored engine might have > better ways to inspect the properties of an object. I suspect the > modularity that will be required for pluggable widgets etc will need > it at an engine level anyway. At the moment the properties property > is just a list for each object. It doesn't even take advantage of > the class hierarchy so common properties are defined only in one > list... Quite right. The pull request was about a stack property that showed up in the propertynames but not in the properties of a stack. I see that the dictionary entry for properties has now been updated to reflect the fact that it's only the properties necessary to recreate the object. I do understand the logic behind that, but I think it does a disservice to the properties property in that there is now no way to retrieve the full set of properties. Possibly an adjectival modifier to "the properties" would be in order. And I think also that the way the property lists are retrieved from the engine needs rethinking - it's not very maintainable in its current form. -- -Mark Wieder ahsoftware at gmail.com From jacque at hyperactivesw.com Tue Dec 17 01:13:56 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 17 Dec 2013 00:13:56 -0600 Subject: WYSIWYG is Wonky! In-Reply-To: <52AF62F8.4050304@gmail.com> References: <52AD0606.4020101@gmail.com> <52AD08F2.2010108@fourthworld.com> <52AD223E.4070103@gmail.com> <52AE05DC.1050507@hyperactivesw.com> <52AF62F8.4050304@gmail.com> Message-ID: <52AFEBA4.4000300@hyperactivesw.com> On 12/16/13 2:30 PM, Marty Knapp wrote: > One thing I don't understand is that on Windows if I print with > formatForPrinting set to false, the fonts print very nicely and with > (seemingly) no less resolution than when you set formatForPrinting to > true. And they're TrueType fonts so I thought (obviously incorrectly) > that screen fonts and printer fonts were a thing of the past. It sure > seems like we ought to have WYSIWYG printing on Windows at this stage of > the game. As I understand it, the font file loads when the stack does. So if you aren't closing and re-opening the stack then you aren't really using the printer fonts and it would look the same as before. If I need to print reports, I usually designate a separate stack that's used only for printing and set its formatForPrinting to true during development. It doesn't affect anything on Mac, and it's always set up for printer fonts on Windows when it opens. If you don't have a printing stack, you have to close and re-open the main stack and that's ugly. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From monte at sweattechnologies.com Tue Dec 17 01:36:26 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 17 Dec 2013 17:36:26 +1100 Subject: Global Properties In-Reply-To: <30-1836340712.20131216220545@ahsoftware.net> References: <87-1957144230.20131215123221@ahsoftware.net> <65-1947119468.20131215151926@ahsoftware.net> <53-1939900979.20131215171945@ahsoftware.net> <50-1935402010.20131215183444@ahsoftware.net> <43F30BDD-9092-4C7B-9AD2-A71EA573CAF8@sweattechnologies.com> <164-1847116738.20131216190609@ahsoftware.net> <6ECD7A61-EE69-4A0F-894A-25964ADB301E@sweattechnologies.com> <30-1836340712.20131216220545@ahsoftware.net> Message-ID: On 17/12/2013, at 5:05 PM, Mark Wieder wrote: > Possibly an adjectival modifier > to "the properties" would be in order. I hope we can get to something like that although if done like now then it only makes the maintenance problem worse. Objects need to have their properties bound directly to them rather than listed globally so that by adding a property to an object it's automatically exposed in the properties and or the complete properties.... > And I think also that the way > the property lists are retrieved from the engine needs rethinking - > it's not very maintainable in its current form. Which is probably why it didn't receive any maintenance for about 6 years ;-) -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From livfoss at mac.com Tue Dec 17 04:52:17 2013 From: livfoss at mac.com (Graham Samuel) Date: Tue, 17 Dec 2013 10:52:17 +0100 Subject: Still stuck on playing a sound with a player In-Reply-To: <52AFE995.7040107@hyperactivesw.com> References: <7A2EE244-C9E0-4139-A82F-487167D6BCC9@mac.com> <52AF7E09.30907@hyperactivesw.com> <52AFE995.7040107@hyperactivesw.com> Message-ID: <028E9534-768C-4C17-8BC0-60A9C483850D@mac.com> Hi Jacque - thanks for your continued efforts to help. When I do the 'play', I get "no data in AudioClip". This is after I rewrote the code to use a separate invisible stack for the players, as you suggested. The player itself definitely exists. The script of the card I want to be showing while the sound plays just says: on openCard set the playrate of player "playPoem" of cd 1 of stack "sounds" to 1 play "playPoem" of cd 1 of stack "Sounds" -- this just carries on until the player gets a 'playstopped' message put the result end openCard The player "playPoem" is newly attached to an MP3 file, which I have now moved to be next to the LC app in the 'Applications' folder, just for a change. Actually I get the same result even if I set the filename of each player at runtime. I get the feeling I am disobeying some secret rules. Jacque, when you use a separate stack for sounds, how do you initiate the sounds? TIA and sorry to take up your time. Graham On 17 Dec 2013, at 07:05, J. Landman Gay wrote: > On 12/16/13 4:50 PM, Graham Samuel wrote: >> Just picking up one point in your mail, I **do** use the >> player's property inspector to select the file from disk once and for >> all - since in my case each of the two players plays just one file, >> it's the simplest way. But somehow the duration of one of the two >> files is zero, even though they were both created (as MP3s) by the >> same app (Fission) by conversion from existing AIFF files, and >> they've both been attached to their respective players in exactly the >> same way, and both the original files can be played outside LC >> without problems. > > That's truly bizarre, I haven't a clue. Do you get anything in the result when it fails? > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Tue Dec 17 06:49:13 2013 From: klaus at major-k.de (Klaus major-k) Date: Tue, 17 Dec 2013 12:49:13 +0100 Subject: Still stuck on playing a sound with a player In-Reply-To: <028E9534-768C-4C17-8BC0-60A9C483850D@mac.com> References: <7A2EE244-C9E0-4139-A82F-487167D6BCC9@mac.com> <52AF7E09.30907@hyperactivesw.com> <52AFE995.7040107@hyperactivesw.com> <028E9534-768C-4C17-8BC0-60A9C483850D@mac.com> Message-ID: <008D860E-FDC5-4B4D-90E2-34AFEB1A0AA1@major-k.de> Hi Graham, Am 17.12.2013 um 10:52 schrieb Graham Samuel : > Hi Jacque - thanks for your continued efforts to help. > > When I do the 'play', I get "no data in AudioClip". This is after I rewrote the code to use a separate invisible stack for the players, as you suggested. The player itself definitely exists. See below... > The script of the card I want to be showing while the sound plays just says: > > on openCard > set the playrate of player "playPoem" of cd 1 of stack "sounds" to 1 > play "playPoem" of cd 1 of stack "Sounds" -- this just carries on until the player gets a 'playstopped' message > put the result > end openCard some comments: 1. "set the playrate of player XYZ to 1" already STARTS that player! 2. OFFICIAL syntax to start a player object: "start player XYZ" 3. "play" is "reserverd" for playing audio files that are NOT in a player object Not that this would cause your problems... 8-) > The player "playPoem" is newly attached to an MP3 file, which I have now moved to be next to the LC app in the 'Applications' folder, just for a change. Actually I get the same result even if I set the filename of each player at runtime. > I get the feeling I am disobeying some secret rules. Jacque, when you use a separate stack for sounds, how do you initiate the sounds? Hm, I also use a lot fo mp3 files and never had any problem with any player object (on a Mac!!! ;-) > TIA and sorry to take up your time. > > Graham Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From livfoss at mac.com Tue Dec 17 07:33:22 2013 From: livfoss at mac.com (Graham Samuel) Date: Tue, 17 Dec 2013 13:33:22 +0100 Subject: Still stuck on playing a sound with a player In-Reply-To: <008D860E-FDC5-4B4D-90E2-34AFEB1A0AA1@major-k.de> References: <7A2EE244-C9E0-4139-A82F-487167D6BCC9@mac.com> <52AF7E09.30907@hyperactivesw.com> <52AFE995.7040107@hyperactivesw.com> <028E9534-768C-4C17-8BC0-60A9C483850D@mac.com> <008D860E-FDC5-4B4D-90E2-34AFEB1A0AA1@major-k.de> Message-ID: <7E130A96-D28F-4E84-A6FA-35646ED07128@mac.com> Klaus, thanks. Am rushing off somewhere but will take your advice when I come back. I don't know why I didn't know you have to write 'start player', but all I can say is that the LC User Guide is good on callbacks but hopeless on other stuff... still, I know it's going to be my fault in the end (sigh). Graham On 17 Dec 2013, at 12:49, Klaus major-k wrote: > Hi Graham, > > Am 17.12.2013 um 10:52 schrieb Graham Samuel : > >> Hi Jacque - thanks for your continued efforts to help. >> >> When I do the 'play', I get "no data in AudioClip". This is after I rewrote the code to use a separate invisible stack for the players, as you suggested. The player itself definitely exists. > > See below... > >> The script of the card I want to be showing while the sound plays just says: >> >> on openCard >> set the playrate of player "playPoem" of cd 1 of stack "sounds" to 1 >> play "playPoem" of cd 1 of stack "Sounds" -- this just carries on until the player gets a 'playstopped' message >> put the result >> end openCard > > some comments: > 1. "set the playrate of player XYZ to 1" already STARTS that player! > 2. OFFICIAL syntax to start a player object: "start player XYZ" > 3. "play" is "reserverd" for playing audio files that are NOT in a player object > > Not that this would cause your problems... 8-) > >> The player "playPoem" is newly attached to an MP3 file, which I have now moved to be next to the LC app in the 'Applications' folder, just for a change. Actually I get the same result even if I set the filename of each player at runtime. >> I get the feeling I am disobeying some secret rules. Jacque, when you use a separate stack for sounds, how do you initiate the sounds? > > Hm, I also use a lot fo mp3 files and never had any problem with any player object (on a Mac!!! ;-) > >> TIA and sorry to take up your time. >> >> Graham > > Best > > Klaus > > > -- > Klaus Major > http://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pmbrig at gmail.com Tue Dec 17 08:31:13 2013 From: pmbrig at gmail.com (Peter M. Brigham) Date: Tue, 17 Dec 2013 08:31:13 -0500 Subject: Strange array behavior In-Reply-To: <52AFD045.9030301@fourthworld.com> References: <52AFD045.9030301@fourthworld.com> Message-ID: <42473FCE-2F00-4958-A864-55908BB132EF@gmail.com> Here's a test I did: put "one" into Arr[1] put "two" into Arr[2] put "three" into Arr[3] put Arr into Arr2 put Arr into Arr3 put "Arr is an array:" && (Arr is an array) into msg delete variable Arr2[1] delete variable Arr2[2] delete variable Arr2[3] put cr & "Arr is still an array after deleting its keys:" && (Arr2 is an array) after msg put empty into Arr3 put cr & "Arr is still an array after putting empty into it:" && (Arr3 is an array) after msg This gives: Arr is an array: true Arr is still an array after deleting its keys: false Arr is still an array after putting empty into it: false So it appears that the array-ness disappears when you empty the array by whatever method. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Dec 16, 2013, at 11:17 PM, Richard Gaskin wrote: > In addition to deleting the keys did you also put empty into the variable? > > I'm no expert on those, but I think that once a var is used as an array it remains one until you do something else with it, even if it has no keys. > > It's kinda like a bookshelf containing boxes: even if you remove all the boxes, you still have the bookshelf. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for Desktop, Mobile, and Web > ____________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From admin at FlexibleLearning.com Tue Dec 17 08:35:50 2013 From: admin at FlexibleLearning.com (FlexibleLearning.com) Date: Tue, 17 Dec 2013 13:35:50 -0000 Subject: [ANN] The Scripter's Scrapbook upgrade v6 In-Reply-To: Message-ID: I am delighted to announce an upgrade for The Scripter's Scrapbook for LC6 compatibility... www.FlexibleLearning.com/ssbk COMPATIBILITY Both Community and Commercial Edition users can download any StandAlone build; the plugin option is supported by the Commercial Edition only. All download options are at www.flexiblelearning.com/ssbk/downloads/scriptersscrapbook.htm UPGRADING Existing Users can obtain an upgrade from within the software. Click 'Check for updates'. This ensures your existing Scrapbook entries are automatically transferred to the new version for you. You will need to purchase a new licence. PURCHASE Please note that you will need a new licence key for this version. Purchase is available from the RunRev store at http://livecode.com/store/marketplace/scripters-scrapbook-1-0-0/ or direct from www.FlexibleLearning.com/ssbk/purchase.htm RELEASE NOTES The following is taken from the release notes that accompany the download and may be read on-line at http://www.flexiblelearning.com/ssbk/ReadMe.html 6.0.21 This is an upgrade for LC6 compatibility. You will need a new licence. Changes . Classification Platforms: Platform references to Mac OS9 are no longer available. The icon has been changed and now refers to Mobile deployment (iOS, Android etc). Please update any Mac OS9 Entries you may have. . Classification Languages: 'Rev' has been replaced by 'LC' in the default language set. Enhancements . Default Font and Size: You can now define your own default Font and Size options in the preferences. Any html output honors your choice. . Linux: Added support for Linux. Not all features and options are covered, but please report any issues. . Classification Languages: Changes to a language classification can now be immediately reflected in Entries by replacing the old language with the new language. Adjustments . Multiple monitors: All windows should now display as expected on the monitor occupied by the Home or Entries window. . HTML: Line breaks are more accurately represented. . HTML: Styled text is better represented. . HTML: Manually adjusted sizes are better represented. Bugfixes . Hanging startup: Early program version detection now offers the option to download an update and gracefully closes the Scrapbook as expected. Only affects users of standalone applications. . ssBkChat: When a Scrapbook is used as a plugin on Mac OS X with ssBkChat open, LiveCode now quits gracefully as expected. . Highlighting the search text no longer removes the index selection. With best regards, Hugh Senior FLCo From ambassador at fourthworld.com Tue Dec 17 08:49:07 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 17 Dec 2013 05:49:07 -0800 Subject: Strange array behavior In-Reply-To: <42473FCE-2F00-4958-A864-55908BB132EF@gmail.com> References: <42473FCE-2F00-4958-A864-55908BB132EF@gmail.com> Message-ID: <52B05653.2080501@fourthworld.com> Peter M. Brigham wrote: > So it appears that the array-ness disappears when you empty the array by whatever method. Looks like my hunch was wrong. I must have misunderstood the behavior you noted in the first post: > I have a script local variable which is an array plus a set of handlers in > the script to maintain it. The array has 2 levels of key, the first being > a number and the second being various text values. > > This set up has been working fine for a long time but I just wrote some new > code which calls the array handlers to insert new keys. At the end of the > new code, I see that the array is empty, in other words it has no keys; it > is keyless; it's an ex array. > > When I step through the code that inserts keys into the array in debug, I > see the disclosure triangle appear in the debug variables tab after the > line to insert a key is executed but as soon as I click on the disclosure > triangle, it disappears and the array is empty again. > > The normal inspiration for a solution to weird problems like this (a glass > of good 15 year old Scotch) has not yet yielded any revelations and I'm at > the point of diminishing returns, so I'm hoping someone out there might > have run into this or be able to suggest some possible solutions. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From matthias_livecode_150811 at m-r-d.de Tue Dec 17 09:24:50 2013 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Tue, 17 Dec 2013 15:24:50 +0100 Subject: [ANN] The Scripter's Scrapbook upgrade v6 In-Reply-To: References: Message-ID: <52991CED-3574-46CA-9F68-D6B864B7157A@m-r-d.de> Hi Hugh, does existing V5 users need to purchase a full license or is there also an update license available for purchase? Regards, Matthias Am 17.12.2013 um 14:35 schrieb FlexibleLearning.com : > I am delighted to announce an upgrade for The Scripter's Scrapbook for LC6 > compatibility... > > www.FlexibleLearning.com/ssbk > > > COMPATIBILITY > Both Community and Commercial Edition users can download any StandAlone > build; the plugin option is supported by the Commercial Edition only. > All download options are at > www.flexiblelearning.com/ssbk/downloads/scriptersscrapbook.htm > > > UPGRADING > Existing Users can obtain an upgrade from within the software. Click 'Check > for updates'. This ensures your existing Scrapbook entries are automatically > transferred to the new version for you. You will need to purchase a new > licence. > > > PURCHASE > Please note that you will need a new licence key for this version. > Purchase is available from the RunRev store at > http://livecode.com/store/marketplace/scripters-scrapbook-1-0-0/ or direct > from www.FlexibleLearning.com/ssbk/purchase.htm > > > RELEASE NOTES > The following is taken from the release notes that accompany the download > and may be read on-line at http://www.flexiblelearning.com/ssbk/ReadMe.html > > 6.0.21 > This is an upgrade for LC6 compatibility. You will need a new licence. > > Changes > . Classification Platforms: Platform references to Mac OS9 are no longer > available. The icon has been changed and now refers to Mobile deployment > (iOS, Android etc). Please update any Mac OS9 Entries you may have. > . Classification Languages: 'Rev' has been replaced by 'LC' in the default > language set. > > Enhancements > . Default Font and Size: You can now define your own default Font and Size > options in the preferences. Any html output honors your choice. > . Linux: Added support for Linux. Not all features and options are covered, > but please report any issues. > . Classification Languages: Changes to a language classification can now be > immediately reflected in Entries by replacing the old language with the new > language. > > Adjustments > . Multiple monitors: All windows should now display as expected on the > monitor occupied by the Home or Entries window. > . HTML: Line breaks are more accurately represented. > . HTML: Styled text is better represented. > . HTML: Manually adjusted sizes are better represented. > > Bugfixes > . Hanging startup: Early program version detection now offers the option to > download an update and gracefully closes the Scrapbook as expected. Only > affects users of standalone applications. > . ssBkChat: When a Scrapbook is used as a plugin on Mac OS X with ssBkChat > open, LiveCode now quits gracefully as expected. > . Highlighting the search text no longer removes the index selection. > > > > With best regards, > > Hugh Senior > FLCo > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode Matthias Rebbe Tel: +49 5741 310000 +49 160 5504462 eMail: matthias underscore livecode underscore 150811 at m dash r dash d dot de From bleiler at buffalo.edu Tue Dec 17 11:09:47 2013 From: bleiler at buffalo.edu (Timothy Bleiler) Date: Tue, 17 Dec 2013 11:09:47 -0500 Subject: Strange array behavior In-Reply-To: References: Message-ID: <5AE3D5F4-2074-4DEE-B30D-5E3E1AB6895A@buffalo.edu> I had a problem similar to this about a month ago. It got bug reported as #11425. My problem was that when I deleted a key, the entire array was being emptied. I worked on it with RunRev but we were unable to find a reliable recipe to recreate the problem. My "bad" array was being created from a custom property set and I suspected some kind of stack corruption but we could not recreate it. My solution is odd but it worked. I wrote a repeat loop through the keys of the "bad" array and rewrote them into a new array variable, then performed the necessary actions on the new variable which did not get emptied. In my case since the bad array originated in a custom property set, I also cleaned up the custom property by deleting the custom property set and creating a new one to store the new array. I have not had the problem reoccur since I did this "solution." I hope this helps you find a solution to your problem. Good luck, Tim Bleiler, Ph.D. Instructional Designer, HSIT University at Buffalo On Dec 16, 2013, at 10:32 PM, Peter Haworth wrote > I have a script local variable which is an array plus a set of handlers in > the script to maintain it. The array has 2 levels of key, the first being > a number and the second being various text values. > > This set up has been working fine for a long time but I just wrote some new > code which calls the array handlers to insert new keys. At the end of the > new code, I see that the array is empty, in other words it has no keys; it > is keyless; it's an ex array. > > When I step through the code that inserts keys into the array in debug, I > see the disclosure triangle appear in the debug variables tab after the > line to insert a key is executed but as soon as I click on the disclosure > triangle, it disappears and the array is empty again. > > The normal inspiration for a solution to weird problems like this (a glass > of good 15 year old Scotch) has not yet yielded any revelations and I'm at > the point of diminishing returns, so I'm hoping someone out there might > have run into this or be able to suggest some possible solutions. > > > Pete > lcSQL Software > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Tue Dec 17 11:15:18 2013 From: pete at lcsql.com (Peter Haworth) Date: Tue, 17 Dec 2013 08:15:18 -0800 Subject: Global Properties In-Reply-To: <88-1847221595.20131216190424@ahsoftware.net> References: <87-1957144230.20131215123221@ahsoftware.net> <65-1947119468.20131215151926@ahsoftware.net> <53-1939900979.20131215171945@ahsoftware.net> <50-1935402010.20131215183444@ahsoftware.net> <88-1847221595.20131216190424@ahsoftware.net> Message-ID: Thanks for the update. Rather than vent on the list about this, I've posted a comment on your bug report, but in the meantime, I don't think Hanson is right. For example, itemdelimiter and linedelimiter both show up in the list generated from my code so they must be in propertyNames. Pete lcSQL Software Pete- Well, thanks for that, but Hanson posted a note in my bug report to the effect that the propertynames is a list of only those properties that are persistent across LC sessions, not the ones that don't get stored. tl;dr - not a bug, won't get changed. -- -Mark Wieder ahsoftware at gmail.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From bogdanoff at me.com Tue Dec 17 12:21:40 2013 From: bogdanoff at me.com (Peter Bogdanoff) Date: Tue, 17 Dec 2013 09:21:40 -0800 Subject: Still stuck on playing a sound with a player In-Reply-To: <7E130A96-D28F-4E84-A6FA-35646ED07128@mac.com> References: <7A2EE244-C9E0-4139-A82F-487167D6BCC9@mac.com> <52AF7E09.30907@hyperactivesw.com> <52AFE995.7040107@hyperactivesw.com> <028E9534-768C-4C17-8BC0-60A9C483850D@mac.com> <008D860E-FDC5-4B4D-90E2-34AFEB1A0AA1@major-k.de> <7E130A96-D28F-4E84-A6FA-35646ED07128@mac.com> Message-ID: <84DBDA69-E4A7-4B93-A657-1D015C5E706F@me.com> In reference to the changing of cards stopping a player: I use many cards in a group with one player in that group, and changing cards does not stop the player. Some version of LC 5.x changed that behavior to stop play on card changes. I submitted a bug report and it was changed back to not stop play on card changes. On the other hand, it might be better to have just one player in a separate stack if you only want one sound playing at a time, which I do. But I didn't think of that method at the time :-( I might change it. Peter Bogdanoff UCLA From pete at lcsql.com Tue Dec 17 12:25:06 2013 From: pete at lcsql.com (Peter Haworth) Date: Tue, 17 Dec 2013 09:25:06 -0800 Subject: Strange array behavior In-Reply-To: <5AE3D5F4-2074-4DEE-B30D-5E3E1AB6895A@buffalo.edu> References: <5AE3D5F4-2074-4DEE-B30D-5E3E1AB6895A@buffalo.edu> Message-ID: Thanks Tim and others. Tim, your problem sounds similar to mine in that the array is indeed store in a custom property at one point. An also, I'm happy to say, seems difficult to reproduce since all seems to be working now. Pete lcSQL Software On Tue, Dec 17, 2013 at 8:09 AM, Timothy Bleiler wrote: > I had a problem similar to this about a month ago. It got bug reported as > #11425. My problem was that when I deleted a key, the entire array was > being emptied. I worked on it with RunRev but we were unable to find a > reliable recipe to recreate the problem. > > My "bad" array was being created from a custom property set and I > suspected some kind of stack corruption but we could not recreate it. > > My solution is odd but it worked. I wrote a repeat loop through the keys > of the "bad" array and rewrote them into a new array variable, then > performed the necessary actions on the new variable which did not get > emptied. In my case since the bad array originated in a custom property > set, I also cleaned up the custom property by deleting the custom property > set and creating a new one to store the new array. I have not had the > problem reoccur since I did this "solution." > > I hope this helps you find a solution to your problem. > > Good luck, > > Tim Bleiler, Ph.D. > Instructional Designer, HSIT > University at Buffalo > > On Dec 16, 2013, at 10:32 PM, Peter Haworth wrote > > I have a script local variable which is an array plus a set of handlers > in > > the script to maintain it. The array has 2 levels of key, the first > being > > a number and the second being various text values. > > > > This set up has been working fine for a long time but I just wrote some > new > > code which calls the array handlers to insert new keys. At the end of > the > > new code, I see that the array is empty, in other words it has no keys; > it > > is keyless; it's an ex array. > > > > When I step through the code that inserts keys into the array in debug, I > > see the disclosure triangle appear in the debug variables tab after the > > line to insert a key is executed but as soon as I click on the disclosure > > triangle, it disappears and the array is empty again. > > > > The normal inspiration for a solution to weird problems like this (a > glass > > of good 15 year old Scotch) has not yet yielded any revelations and I'm > at > > the point of diminishing returns, so I'm hoping someone out there might > > have run into this or be able to suggest some possible solutions. > > > > > > Pete > > lcSQL Software > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jiml at netrin.com Tue Dec 17 12:50:46 2013 From: jiml at netrin.com (Jim Lambert) Date: Tue, 17 Dec 2013 09:50:46 -0800 Subject: Still stuck on playing a sound with a player In-Reply-To: References: Message-ID: <1E567BEB-E6C1-483E-9B1B-ED8A03F04DB0@netrin.com> Graham wrote: > still, I know it's going to be my fault in the end Nah, I find bad code is usually my fault! ;) Graham, When I face issues like this, I make an entirely new and separate stack with only the components involved and with minimal scripts. This allows one to isolate the issue from the rest of your project. When you get the thing working in that test stack, just transfer the lessons learned to your project. Usually that solves the issue for me. If it breaks again once inside the main project, then you know there is some conflict there, which narrows the issue down a bit. Try making the MP3s in a different program than Frisson. I know you?re not setting the player filename by script, so this tip won?t help, but I have found that sometimes it helps to set the filename of a player to empty; wait 1 tick; then set the filename to the desired file. Jim Lambert From pete at lcsql.com Tue Dec 17 13:05:29 2013 From: pete at lcsql.com (Peter Haworth) Date: Tue, 17 Dec 2013 10:05:29 -0800 Subject: Global Properties In-Reply-To: References: <87-1957144230.20131215123221@ahsoftware.net> <65-1947119468.20131215151926@ahsoftware.net> <53-1939900979.20131215171945@ahsoftware.net> <50-1935402010.20131215183444@ahsoftware.net> <43F30BDD-9092-4C7B-9AD2-A71EA573CAF8@sweattechnologies.com> <164-1847116738.20131216190609@ahsoftware.net> <6ECD7A61-EE69-4A0F-894A-25964ADB301E@sweattechnologies.com> <30-1836340712.20131216220545@ahsoftware.net> Message-ID: Going back to the original purpose of this post (how to get a list of global properties), I just realized that the message box has a tab that lists them. However, just to add to the confusion, a cursory glance shows it is far from complete. I've assembled my own database of LC object properties along with many of their characteristics that are of interest to me, along with a routine that identifies new properties in each new release of LC (assuming they are in the propertynames of course). I'll just add the global properties I've come up with via the code posted earlier in this thread to the database. Pete lcSQL Software On Mon, Dec 16, 2013 at 10:36 PM, Monte Goulding < monte at sweattechnologies.com> wrote: > > On 17/12/2013, at 5:05 PM, Mark Wieder wrote: > > > Possibly an adjectival modifier > > to "the properties" would be in order. > > I hope we can get to something like that although if done like now then it > only makes the maintenance problem worse. Objects need to have their > properties bound directly to them rather than listed globally so that by > adding a property to an object it's automatically exposed in the properties > and or the complete properties.... > > > And I think also that the way > > the property lists are retrieved from the engine needs rethinking - > > it's not very maintainable in its current form. > > Which is probably why it didn't receive any maintenance for about 6 years > ;-) > > -- > M E R Goulding > Software development services > Bespoke application development for vertical markets > > mergExt - There's an external for that! > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From richmondmathewson at gmail.com Tue Dec 17 13:30:30 2013 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 17 Dec 2013 20:30:30 +0200 Subject: Inking it in? Message-ID: <52B09846.6080506@gmail.com> Maybe this is just a bonkers thought (haven't had time to try it yet), but I wonder if this sort of script would work: on mouseUp if the ink of img "DEADDOG" is blendExclusion then put "Hallelujah" end if end mouseUp Richmond. From john at splash21.com Tue Dec 17 14:13:47 2013 From: john at splash21.com (John Craig) Date: Tue, 17 Dec 2013 19:13:47 +0000 Subject: [ANN] MobGUI with iOS7 palette Message-ID: <52B0A26B.4070008@splash21.com> License holders can download a preview of the new behaviors driven MobGUI from the mobgui.com homepage. It's not GPL, but will run happily on both commercial and community. There is also some additional info at http://forums.runrev.com/viewtopic.php?f=54&t=18431 :) From martyknappster at gmail.com Tue Dec 17 14:30:39 2013 From: martyknappster at gmail.com (Marty Knapp) Date: Tue, 17 Dec 2013 11:30:39 -0800 Subject: WYSIWYG is Wonky! In-Reply-To: <52AFEBA4.4000300@hyperactivesw.com> References: <52AD0606.4020101@gmail.com> <52AD08F2.2010108@fourthworld.com> <52AD223E.4070103@gmail.com> <52AE05DC.1050507@hyperactivesw.com> <52AF62F8.4050304@gmail.com> <52AFEBA4.4000300@hyperactivesw.com> Message-ID: <52B0A65F.9080902@gmail.com> In my case setting formatForPrinting to true, saving, closing, reopening & printing is way too clunky. Then if a user has to make a correction . . . For report-style printing that would be fine, but not for my use. In my tests, setting formatForPrinting to true and then printing right away did work great for some fonts, but not others - all TrueType. I wonder what's up with that? If I were to just leave formatForPrinting set to true all the time would that have any drawbacks other than display anomalies? This takes me back to printing on a PC in the mid 80s - fiddling with a word processing document trying to get it to print like you wanted! Then I bought my first Mac - an SE 30 and I didn't look back - well, till now. (And that 9" screen was to die for . . . not to mention that I had to sell my first-born son into slavery to afford it!) I did file 3 bug reports yesterday, all printing related, and they've been confirmed. So maybe this will get fixed??? Marty > On 12/16/13 2:30 PM, Marty Knapp wrote: > >> One thing I don't understand is that on Windows if I print with >> formatForPrinting set to false, the fonts print very nicely and with >> (seemingly) no less resolution than when you set formatForPrinting to >> true. And they're TrueType fonts so I thought (obviously incorrectly) >> that screen fonts and printer fonts were a thing of the past. It sure >> seems like we ought to have WYSIWYG printing on Windows at this stage of >> the game. > > As I understand it, the font file loads when the stack does. So if you > aren't closing and re-opening the stack then you aren't really using > the printer fonts and it would look the same as before. > > If I need to print reports, I usually designate a separate stack > that's used only for printing and set its formatForPrinting to true > during development. It doesn't affect anything on Mac, and it's always > set up for printer fonts on Windows when it opens. If you don't have a > printing stack, you have to close and re-open the main stack and > that's ugly. > From monte at sweattechnologies.com Tue Dec 17 14:39:06 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed, 18 Dec 2013 06:39:06 +1100 Subject: Global Properties In-Reply-To: References: <87-1957144230.20131215123221@ahsoftware.net> <65-1947119468.20131215151926@ahsoftware.net> <53-1939900979.20131215171945@ahsoftware.net> <50-1935402010.20131215183444@ahsoftware.net> <88-1847221595.20131216190424@ahsoftware.net> Message-ID: On 18/12/2013, at 3:15 AM, Peter Haworth wrote: > Thanks for the update. Rather than vent on the list about this, I've > posted a comment on your bug report, but in the meantime, I don't think > Hanson is right. For example, itemdelimiter and linedelimiter both show up > in the list generated from my code so they must be in propertyNames. Hmm... acceleratedRendering IS in the propertyNames and in your comment on the report you seem to be complaining about it not being there. The bug report was about it not being in the properties of a stack. The way the propertyNames function is implemented (at the moment) it will always return all propertyNames gobal, local, synonyms.. everything. Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From jacque at hyperactivesw.com Tue Dec 17 14:44:29 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 17 Dec 2013 13:44:29 -0600 Subject: Still stuck on playing a sound with a player In-Reply-To: <028E9534-768C-4C17-8BC0-60A9C483850D@mac.com> References: <7A2EE244-C9E0-4139-A82F-487167D6BCC9@mac.com> <52AF7E09.30907@hyperactivesw.com> <52AFE995.7040107@hyperactivesw.com> <028E9534-768C-4C17-8BC0-60A9C483850D@mac.com> Message-ID: <52B0A99D.5030301@hyperactivesw.com> On 12/17/13 3:52 AM, Graham Samuel wrote: > The script of the card I want to be showing while the sound plays just says: > > on openCard > set the playrate of player "playPoem" of cd 1 of stack "sounds" to 1 > play "playPoem" of cd 1 of stack "Sounds" -- this just carries on until the player gets a 'playstopped' message > put the result > end openCard Do this: set the playrate of player "playPoem" of cd 1 of stack "sounds" to 1 start player "playPoem" of cd 1 of stack "sounds" You don't really need the "start" command if you aren't dealing with callbacks, I only needed that because the playrate alone doesn't trigger them. Alternately you can just use the "start" command without the playrate if the player is working okay without it. My app had some issues but my setup was much different than yours. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue Dec 17 14:51:09 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 17 Dec 2013 13:51:09 -0600 Subject: WYSIWYG is Wonky! In-Reply-To: <52B0A65F.9080902@gmail.com> References: <52AD0606.4020101@gmail.com> <52AD08F2.2010108@fourthworld.com> <52AD223E.4070103@gmail.com> <52AE05DC.1050507@hyperactivesw.com> <52AF62F8.4050304@gmail.com> <52AFEBA4.4000300@hyperactivesw.com> <52B0A65F.9080902@gmail.com> Message-ID: <52B0AB2D.3090208@hyperactivesw.com> On 12/17/13 1:30 PM, Marty Knapp wrote: > In my case setting formatForPrinting to true, saving, closing, reopening > & printing is way too clunky. Then if a user has to make a correction . > . . For report-style printing that would be fine, but not for my use. That's why I move my printing to a hidden printing stack that is used only for that purpose. But even if you aren't printing reports, you might still be able to just copy everything to a printing stack. > > In my tests, setting formatForPrinting to true and then printing right > away did work great for some fonts, but not others - all TrueType. I > wonder what's up with that? Some printers store their own copies of common fonts and they use those instead of the ones from the computer. It speeds up printing. If you are using a font the printer doesn't have, then it downloads the font from the computer. > If I were to just leave formatForPrinting > set to true all the time would that have any drawbacks other than > display anomalies? Editing becomes difficult. The insertion point isn't always accurate and font metrics can be way off in some cases. Text wrap gets wonky. What the user sees won't be what gets printed. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From coiin at verizon.net Tue Dec 17 14:55:53 2013 From: coiin at verizon.net (Colin Holgate) Date: Tue, 17 Dec 2013 14:55:53 -0500 Subject: [ANN] MobGUI with iOS7 palette In-Reply-To: <52B0A26B.4070008@splash21.com> References: <52B0A26B.4070008@splash21.com> Message-ID: What number is that page expecting? I tried my license key, but that seemed not to work. Also, is it different to 0.29? MobGUI tells me that I have the latest version. On Dec 17, 2013, at 2:13 PM, John Craig wrote: > >License holders can download a preview of the new behaviors driven MobGUI from the mobgui.com homepage. It's not GPL, but will run happily on both commercial and community. There is also some additional info at http://forums.runrev.com/viewtopic.php?f=54&t=18431 From martyknappster at gmail.com Tue Dec 17 14:58:57 2013 From: martyknappster at gmail.com (Marty Knapp) Date: Tue, 17 Dec 2013 11:58:57 -0800 Subject: WYSIWYG is Wonky! In-Reply-To: <52B0AB2D.3090208@hyperactivesw.com> References: <52AD0606.4020101@gmail.com> <52AD08F2.2010108@fourthworld.com> <52AD223E.4070103@gmail.com> <52AE05DC.1050507@hyperactivesw.com> <52AF62F8.4050304@gmail.com> <52AFEBA4.4000300@hyperactivesw.com> <52B0A65F.9080902@gmail.com> <52B0AB2D.3090208@hyperactivesw.com> Message-ID: <52B0AD01.4080002@gmail.com> I'm wondering about using this workflow when the user prints: Lock the screen and set the formatForPrinting of the stack to true Clone the stack invisibly -- so presumedly it would open with formatForPrinting set right Print from the clone Delete the cloned stack from memory Reset the original stack so formatForPrinting is false Unlock the screen I guess the only way to know is to try it. Do you see anything faulty with that idea? Marty > On 12/17/13 1:30 PM, Marty Knapp wrote: >> In my case setting formatForPrinting to true, saving, closing, reopening >> & printing is way too clunky. Then if a user has to make a correction . >> . . For report-style printing that would be fine, but not for my use. > > That's why I move my printing to a hidden printing stack that is used > only for that purpose. But even if you aren't printing reports, you > might still be able to just copy everything to a printing stack. > >> >> In my tests, setting formatForPrinting to true and then printing right >> away did work great for some fonts, but not others - all TrueType. I >> wonder what's up with that? > > Some printers store their own copies of common fonts and they use > those instead of the ones from the computer. It speeds up printing. If > you are using a font the printer doesn't have, then it downloads the > font from the computer. > >> If I were to just leave formatForPrinting >> set to true all the time would that have any drawbacks other than >> display anomalies? > > Editing becomes difficult. The insertion point isn't always accurate > and font metrics can be way off in some cases. Text wrap gets wonky. > What the user sees won't be what gets printed. > From cmsheffield at icloud.com Tue Dec 17 15:07:53 2013 From: cmsheffield at icloud.com (Chris Sheffield) Date: Tue, 17 Dec 2013 13:07:53 -0700 Subject: [ANN] MobGUI with iOS7 palette In-Reply-To: <52B0A26B.4070008@splash21.com> References: <52B0A26B.4070008@splash21.com> Message-ID: <3BA55AC9-676D-43D2-85F6-F0F9AD17279F@icloud.com> Same here. My license key does not give me access to the download. Also, this is in fact a preview (or beta version), correct? Just wondering how safe it is to use in production work. What?s your recommendation? Thanks, Chris -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com On Dec 17, 2013, at 12:13 PM, John Craig wrote: > License holders can download a preview of the new behaviors driven MobGUI from the mobgui.com homepage. It's not GPL, but will run happily on both commercial and community. There is also some additional info at http://forums.runrev.com/viewtopic.php?f=54&t=18431 > > :) > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Tue Dec 17 15:18:39 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 17 Dec 2013 14:18:39 -0600 Subject: WYSIWYG is Wonky! In-Reply-To: <52B0AD01.4080002@gmail.com> References: <52AD0606.4020101@gmail.com> <52AD08F2.2010108@fourthworld.com> <52AD223E.4070103@gmail.com> <52AE05DC.1050507@hyperactivesw.com> <52AF62F8.4050304@gmail.com> <52AFEBA4.4000300@hyperactivesw.com> <52B0A65F.9080902@gmail.com> <52B0AB2D.3090208@hyperactivesw.com> <52B0AD01.4080002@gmail.com> Message-ID: <52B0B19F.408@hyperactivesw.com> On 12/17/13 1:58 PM, Marty Knapp wrote: > I'm wondering about using this workflow when the user prints: > > Lock the screen and set the formatForPrinting of the stack to true > Clone the stack invisibly -- so presumedly it would open with > formatForPrinting set right > Print from the clone > Delete the cloned stack from memory > Reset the original stack so formatForPrinting is false > Unlock the screen > > I guess the only way to know is to try it. Do you see anything faulty > with that idea? Logically it sounds like it would work, but I've never tried it. Let us know. Offhand I don't see anything there that would cause problems. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From john at splash21.com Tue Dec 17 16:59:07 2013 From: john at splash21.com (John Craig) Date: Tue, 17 Dec 2013 21:59:07 +0000 Subject: [ANN] MobGUI with iOS7 palette In-Reply-To: <3BA55AC9-676D-43D2-85F6-F0F9AD17279F@icloud.com> References: <52B0A26B.4070008@splash21.com> <3BA55AC9-676D-43D2-85F6-F0F9AD17279F@icloud.com> Message-ID: Hi, Chris. It's a preview in so far as the tools palette still has more functions and controls getting dropped in. For production, each control stands on it's own with a behavior script that you have full access to, so it's a far better and more robust solution. No library stack is added to your project, just a card containing only those behaviors for the controls you have dragged over - a light weight approach. :) Sent from my iPhone > On 17 Dec 2013, at 20:07, Chris Sheffield wrote: > > Same here. My license key does not give me access to the download. > > Also, this is in fact a preview (or beta version), correct? Just wondering how safe it is to use in production work. What?s your recommendation? > > Thanks, > Chris > > -- > Chris Sheffield > Read Naturally, Inc. > www.readnaturally.com > > > >> On Dec 17, 2013, at 12:13 PM, John Craig wrote: >> >> License holders can download a preview of the new behaviors driven MobGUI from the mobgui.com homepage. It's not GPL, but will run happily on both commercial and community. There is also some additional info at http://forums.runrev.com/viewtopic.php?f=54&t=18431 >> >> :) >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From john at splash21.com Tue Dec 17 17:02:27 2013 From: john at splash21.com (John Craig) Date: Tue, 17 Dec 2013 22:02:27 +0000 Subject: [ANN] MobGUI with iOS7 palette In-Reply-To: <3BA55AC9-676D-43D2-85F6-F0F9AD17279F@icloud.com> References: <52B0A26B.4070008@splash21.com> <3BA55AC9-676D-43D2-85F6-F0F9AD17279F@icloud.com> Message-ID: <034FCE98-6E95-4E52-8754-7F154DC4DC75@splash21.com> The full license key with the dashes should work. The system checks for keys up to 1 year old, but I think I'll extend that as it's long overdue an update... I'll post more info when I'm back at my machine Sent from my iPhone > On 17 Dec 2013, at 20:07, Chris Sheffield wrote: > > Same here. My license key does not give me access to the download. > > Also, this is in fact a preview (or beta version), correct? Just wondering how safe it is to use in production work. What?s your recommendation? > > Thanks, > Chris > > -- > Chris Sheffield > Read Naturally, Inc. > www.readnaturally.com > > > >> On Dec 17, 2013, at 12:13 PM, John Craig wrote: >> >> License holders can download a preview of the new behaviors driven MobGUI from the mobgui.com homepage. It's not GPL, but will run happily on both commercial and community. There is also some additional info at http://forums.runrev.com/viewtopic.php?f=54&t=18431 >> >> :) >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From john at splash21.com Tue Dec 17 17:05:58 2013 From: john at splash21.com (John Craig) Date: Tue, 17 Dec 2013 22:05:58 +0000 Subject: [ANN] MobGUI with iOS7 palette In-Reply-To: References: <52B0A26B.4070008@splash21.com> Message-ID: Hi, Colin. It's a total rewrite using behaviors (which drastically reduces the amount of code from the original library). I can probably fake an update on the old plugin to alert users, but I've been concentrating on trying to add as much as possible to the new palette before the holiday period! Sent from my iPhone > On 17 Dec 2013, at 19:55, Colin Holgate wrote: > > What number is that page expecting? I tried my license key, but that seemed not to work. > > Also, is it different to 0.29? MobGUI tells me that I have the latest version. > > > On Dec 17, 2013, at 2:13 PM, John Craig wrote: > >>> License holders can download a preview of the new behaviors driven MobGUI from the mobgui.com homepage. It's not GPL, but will run happily on both commercial and community. There is also some additional info at http://forums.runrev.com/viewtopic.php?f=54&t=18431 > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Tue Dec 17 17:16:16 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 17 Dec 2013 17:16:16 -0500 Subject: [ANN] MobGUI with iOS7 palette In-Reply-To: References: <52B0A26B.4070008@splash21.com> Message-ID: The NavBar doesn't seem to work the way I expected it to. It drops a group, mg-navbar-1003, but that's it, and it doesn't go to the top. On Tue, Dec 17, 2013 at 5:05 PM, John Craig wrote: > Hi, Colin. It's a total rewrite using behaviors (which drastically reduces > the amount of code from the original library). I can probably fake an > update on the old plugin to alert users, but I've been concentrating on > trying to add as much as possible to the new palette before the holiday > period! > > Sent from my iPhone > > > On 17 Dec 2013, at 19:55, Colin Holgate wrote: > > > > What number is that page expecting? I tried my license key, but that > seemed not to work. > > > > Also, is it different to 0.29? MobGUI tells me that I have the latest > version. > > > > > > On Dec 17, 2013, at 2:13 PM, John Craig wrote: > > > >>> License holders can download a preview of the new behaviors driven > MobGUI from the mobgui.com homepage. It's not GPL, but will run happily > on both commercial and community. There is also some additional info at > http://forums.runrev.com/viewtopic.php?f=54&t=18431 > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From cmsheffield at icloud.com Tue Dec 17 17:31:00 2013 From: cmsheffield at icloud.com (Chris Sheffield) Date: Tue, 17 Dec 2013 15:31:00 -0700 Subject: [ANN] MobGUI with iOS7 palette In-Reply-To: <034FCE98-6E95-4E52-8754-7F154DC4DC75@splash21.com> References: <52B0A26B.4070008@splash21.com> <3BA55AC9-676D-43D2-85F6-F0F9AD17279F@icloud.com> <034FCE98-6E95-4E52-8754-7F154DC4DC75@splash21.com> Message-ID: <58701DE3-39CE-40E3-9697-EA811FFB486F@icloud.com> Ah, that explains it. Mine is over a year old. It goes back to April of 2012. Thanks for the explanation on the behaviors. Chris On Dec 17, 2013, at 3:02 PM, John Craig wrote: > The system checks for keys up to 1 year old From matthias_livecode_150811 at m-r-d.de Tue Dec 17 17:36:53 2013 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Tue, 17 Dec 2013 23:36:53 +0100 Subject: [ANN] MobGUI with iOS7 palette In-Reply-To: References: <52B0A26B.4070008@splash21.com> Message-ID: <842D8074-FE36-41E4-890B-CF00FC33D282@m-r-d.de> Hi Mike, you find information how to snap to top in the script of the toolbar. # snap to top in development by right clicking then : Send Message => mgSnapToTop Regards, Matthias Am 17.12.2013 um 23:16 schrieb Mike Kerner : > The NavBar doesn't seem to work the way I expected it to. It drops a > group, mg-navbar-1003, but that's it, and it doesn't go to the top. > > > On Tue, Dec 17, 2013 at 5:05 PM, John Craig wrote: > >> Hi, Colin. It's a total rewrite using behaviors (which drastically reduces >> the amount of code from the original library). I can probably fake an >> update on the old plugin to alert users, but I've been concentrating on >> trying to add as much as possible to the new palette before the holiday >> period! >> >> Sent from my iPhone >> >>> On 17 Dec 2013, at 19:55, Colin Holgate wrote: >>> >>> What number is that page expecting? I tried my license key, but that >> seemed not to work. >>> >>> Also, is it different to 0.29? MobGUI tells me that I have the latest >> version. >>> >>> >>> On Dec 17, 2013, at 2:13 PM, John Craig wrote: >>> >>>>> License holders can download a preview of the new behaviors driven >> MobGUI from the mobgui.com homepage. It's not GPL, but will run happily >> on both commercial and community. There is also some additional info at >> http://forums.runrev.com/viewtopic.php?f=54&t=18431 >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode Matthias Rebbe Tel: +49 5741 310000 +49 160 5504462 eMail: matthias underscore livecode underscore 150811 at m dash r dash d dot de From john at splash21.com Tue Dec 17 17:44:02 2013 From: john at splash21.com (John Craig) Date: Tue, 17 Dec 2013 22:44:02 +0000 Subject: [ANN] MobGUI with iOS7 palette In-Reply-To: References: <52B0A26B.4070008@splash21.com> Message-ID: <52B0D3B2.8000809@splash21.com> Hi, Mike. The Navbar isn't complete (see notes on the forum). If you check out it's script, there a 'mgSnapToTop' handler. You can right click in the IDE and use the context menu to send that message to the control. :) On 17/12/2013 22:16, Mike Kerner wrote: > The NavBar doesn't seem to work the way I expected it to. It drops a > group, mg-navbar-1003, but that's it, and it doesn't go to the top. > > > On Tue, Dec 17, 2013 at 5:05 PM, John Craig wrote: > >> Hi, Colin. It's a total rewrite using behaviors (which drastically reduces >> the amount of code from the original library). I can probably fake an >> update on the old plugin to alert users, but I've been concentrating on >> trying to add as much as possible to the new palette before the holiday >> period! >> >> Sent from my iPhone >> >>> On 17 Dec 2013, at 19:55, Colin Holgate wrote: >>> >>> What number is that page expecting? I tried my license key, but that >> seemed not to work. >>> Also, is it different to 0.29? MobGUI tells me that I have the latest >> version. >>> >>> On Dec 17, 2013, at 2:13 PM, John Craig wrote: >>> >>>>> License holders can download a preview of the new behaviors driven >> MobGUI from the mobgui.com homepage. It's not GPL, but will run happily >> on both commercial and community. There is also some additional info at >> http://forums.runrev.com/viewtopic.php?f=54&t=18431 >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > From john at splash21.com Tue Dec 17 17:53:12 2013 From: john at splash21.com (John Craig) Date: Tue, 17 Dec 2013 22:53:12 +0000 Subject: [ANN] MobGUI with iOS7 palette In-Reply-To: <52B0A26B.4070008@splash21.com> References: <52B0A26B.4070008@splash21.com> Message-ID: <52B0D5D8.9050507@splash21.com> In the festive spirit, all issued keys will now allow downloading the new plugin preview. On 17/12/2013 19:13, John Craig wrote: > License holders can download a preview of the new behaviors driven > MobGUI from the mobgui.com homepage. It's not GPL, but will run > happily on both commercial and community. There is also some > additional info at http://forums.runrev.com/viewtopic.php?f=54&t=18431 > > :) > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From coiin at verizon.net Tue Dec 17 18:42:17 2013 From: coiin at verizon.net (Colin Holgate) Date: Tue, 17 Dec 2013 18:42:17 -0500 Subject: [ANN] MobGUI with iOS7 palette In-Reply-To: <52B0D5D8.9050507@splash21.com> References: <52B0A26B.4070008@splash21.com> <52B0D5D8.9050507@splash21.com> Message-ID: <65F30528-3AA1-4389-8810-A23EF623FE4B@verizon.net> Thanks for that, though, as you know, many of us paid for a year of updates without getting any, so it all works out in the end! On Dec 17, 2013, at 5:53 PM, John Craig wrote: > >In the festive spirit, all issued keys will now allow downloading the new plugin preview. From livfoss at mac.com Tue Dec 17 18:48:40 2013 From: livfoss at mac.com (Graham Samuel) Date: Wed, 18 Dec 2013 00:48:40 +0100 Subject: When is Unicode not Unicode? Message-ID: I have been trying to substitute Unicode characters in some text which contains some mathematical notation originated on a Mac (where several symbols like 'pi', 'less than or equals' etc are available as standard) so as to make the text look OK on a PC. Not to bore people with a lot of experimental data, but I find that a regular font on the PC (the default one that LiveCode chooses for example) doesn't seem to contain symbols like pi which I imagined could be shown using the LC Unicode operations. I see that I don't understand how to get consistent text across the two platforms: is it a font problem, or something else? I would really like to understand it but so far I have not found a good place related to LiveCode's use of Unicode where this is all explained. Can anyone point me to the right place? TIA Graham PS I know from Jacque Gay that i could approach this another way using HTML, but I would really like to understand the Unicode thing before giving up. From jacque at hyperactivesw.com Tue Dec 17 19:00:43 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 17 Dec 2013 18:00:43 -0600 Subject: When is Unicode not Unicode? In-Reply-To: References: Message-ID: <52B0E5AB.706@hyperactivesw.com> On 12/17/13 5:48 PM, Graham Samuel wrote: > I have been trying to substitute Unicode characters in some text > which contains some mathematical notation originated on a Mac (where > several symbols like 'pi', 'less than or equals' etc are available as > standard) so as to make the text look OK on a PC. Not to bore people > with a lot of experimental data, but I find that a regular font on > the PC (the default one that LiveCode chooses for example) doesn't > seem to contain symbols like pi which I imagined could be shown using > the LC Unicode operations. At least for pi, greater-than-or-equal-to, less-than, etc. they aren't really unicode (they don't use 2 bytes.) On Mac they're in the extended ascii table; pi, for example, is number 184. You could find out what character number it is on Windows and use numToChar to insert it. Since they're such low numbers, comparatively speaking, I wouldn't think the font would matter. Unicode character numbers can be up in the thousands. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue Dec 17 19:02:19 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 17 Dec 2013 18:02:19 -0600 Subject: When is Unicode not Unicode? In-Reply-To: <52B0E5AB.706@hyperactivesw.com> References: <52B0E5AB.706@hyperactivesw.com> Message-ID: <52B0E60B.7010009@hyperactivesw.com> On 12/17/13 6:00 PM, J. Landman Gay wrote: > At least for pi, greater-than-or-equal-to, less-than, etc. they aren't > really unicode (they don't use 2 bytes.) On Mac they're in the extended > ascii table; pi, for example, is number 184. You could find out what > character number it is on Windows and use numToChar to insert it. Or even better, now that I think about it, use macToISO to easily convert them automatically. Shoulda said that first. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From brian at spencerlearning.com Tue Dec 17 19:15:34 2013 From: brian at spencerlearning.com (spencerlearning) Date: Tue, 17 Dec 2013 16:15:34 -0800 (PST) Subject: Still stuck on playing a sound with a player In-Reply-To: <7A2EE244-C9E0-4139-A82F-487167D6BCC9@mac.com> References: <7A2EE244-C9E0-4139-A82F-487167D6BCC9@mac.com> Message-ID: <1387325734719-4673874.post@n4.nabble.com> Graham Samuel-4 wrote > It seems I lack instructions for playing MP3s from beginning to end on a > Mac: before I started this, I thought it would be extremely simple and > indeed idiot-proof. I guess I was wrong, or I am even more mentally > challenged that I normally allow for. > > Is anyone using MP3 sounds in a desktop app, and if so, what is the > idiot-proof method? Here is the code I use for simple playing of an mp3 file: put "/Users/Brian/Desktop/mp3file.mp3" into tSoundFile stop player "player" set the fileName of player "player" to tSoundFile set the currentTime of player "player" to 0 start player "player" of this card Hope it helps. ----- Brian Spencer Spencer Learning http://spencerlearning.com -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Still-stuck-on-playing-a-sound-with-a-player-tp4673825p4673874.html Sent from the Revolution - User mailing list archive at Nabble.com. From MikeKerner at roadrunner.com Tue Dec 17 19:28:49 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 17 Dec 2013 19:28:49 -0500 Subject: [ANN] MobGUI with iOS7 palette In-Reply-To: <65F30528-3AA1-4389-8810-A23EF623FE4B@verizon.net> References: <52B0A26B.4070008@splash21.com> <52B0D5D8.9050507@splash21.com> <65F30528-3AA1-4389-8810-A23EF623FE4B@verizon.net> Message-ID: Thanks, John, and I and others would love to test new versions as soon as available, so send me beta notices, please. On Tue, Dec 17, 2013 at 6:42 PM, Colin Holgate wrote: > Thanks for that, though, as you know, many of us paid for a year of > updates without getting any, so it all works out in the end! > > > On Dec 17, 2013, at 5:53 PM, John Craig wrote: > > > >In the festive spirit, all issued keys will now allow downloading the > new plugin preview. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From ambassador at fourthworld.com Tue Dec 17 21:09:16 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 17 Dec 2013 18:09:16 -0800 Subject: CLI "evoc exiting on signal 11" Message-ID: <52B103CC.8080808@fourthworld.com> I have a command-line app made with LC that has worked well when built with earlier versions, but I just made a fresh build with LC 6.5 and now when I try to run it I get "exiting on signal 11". This also happens with v6.5.1. It seems the most recent build I can use successfully is 6.1.3. Any clues as to what a Linux app run with -ui would fail in versions later than 6.1.3? TIA - -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From MikeKerner at roadrunner.com Tue Dec 17 22:56:27 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 17 Dec 2013 22:56:27 -0500 Subject: [ANN] MobGUI with iOS7 palette In-Reply-To: References: <52B0A26B.4070008@splash21.com> <52B0D5D8.9050507@splash21.com> <65F30528-3AA1-4389-8810-A23EF623FE4B@verizon.net> Message-ID: The other question - the switch seems to be pretty big compared to the button text. Is that just me? On Tue, Dec 17, 2013 at 7:28 PM, Mike Kerner wrote: > Thanks, John, and I and others would love to test new versions as soon as > available, so send me beta notices, please. > > > On Tue, Dec 17, 2013 at 6:42 PM, Colin Holgate wrote: > >> Thanks for that, though, as you know, many of us paid for a year of >> updates without getting any, so it all works out in the end! >> >> >> On Dec 17, 2013, at 5:53 PM, John Craig wrote: >> >> > >In the festive spirit, all issued keys will now allow downloading the >> new plugin preview. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From dixonja at hotmail.co.uk Tue Dec 17 23:38:46 2013 From: dixonja at hotmail.co.uk (John Dixon) Date: Wed, 18 Dec 2013 04:38:46 +0000 Subject: [ANN] MobGUI with iOS7 palette In-Reply-To: References: <52B0A26B.4070008@splash21.com> <52B0D5D8.9050507@splash21.com> <65F30528-3AA1-4389-8810-A23EF623FE4B@verizon.net> Message-ID: It's just you... Sent from my iPad mini. > On 18 Dec 2013, at 03:57, "Mike Kerner" wrote: > > The other question - the switch seems to be pretty big compared to the > button text. Is that just me? > > > On Tue, Dec 17, 2013 at 7:28 PM, Mike Kerner wrote: > >> Thanks, John, and I and others would love to test new versions as soon as >> available, so send me beta notices, please. >> >> >>> On Tue, Dec 17, 2013 at 6:42 PM, Colin Holgate wrote: >>> >>> Thanks for that, though, as you know, many of us paid for a year of >>> updates without getting any, so it all works out in the end! >>> >>> >>> On Dec 17, 2013, at 5:53 PM, John Craig wrote: >>> >>>>> In the festive spirit, all issued keys will now allow downloading the >>> new plugin preview. >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> -- >> On the first day, God created the heavens and the Earth >> On the second day, God created the oceans. >> On the third day, God put the animals on hold for a few hours, >> and did a little diving. >> And God said, "This is good." > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mwieder at ahsoftware.net Wed Dec 18 00:28:16 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 17 Dec 2013 21:28:16 -0800 Subject: CLI "evoc exiting on signal 11" In-Reply-To: <52B103CC.8080808@fourthworld.com> References: <52B103CC.8080808@fourthworld.com> Message-ID: <198-1752190097.20131217212816@ahsoftware.net> Richard- Tuesday, December 17, 2013, 6:09:16 PM, you wrote: > Any clues as to what a Linux app run with -ui would fail in versions > later than 6.1.3? I just built a test app with 6.5 and it runs fine with a -ui arg. Are you trying to do something tricky? -- -Mark Wieder ahsoftware at gmail.com From ambassador at fourthworld.com Wed Dec 18 00:43:43 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 17 Dec 2013 21:43:43 -0800 Subject: CLI "evoc exiting on signal 11" In-Reply-To: <198-1752190097.20131217212816@ahsoftware.net> References: <198-1752190097.20131217212816@ahsoftware.net> Message-ID: <52B1360F.3020406@fourthworld.com> Mark Wieder wrote: > Tuesday, December 17, 2013, 6:09:16 PM, you wrote: >> Any clues as to what a Linux app run with -ui would fail in versions >> later than 6.1.3? > > I just built a test app with 6.5 and it runs fine with a -ui arg. > Are you trying to do something tricky? No chance to do anything fancy, since it doesn't get far. Oddly enough, I'm seeing this with the LC installer, too. And weirder still, my 6.5-built standalone only fails on my Ubuntu Server system, but the LC Installer also fails with signal 11 on both Ubuntu Server and Ubuntu Desktop. -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From mwieder at ahsoftware.net Wed Dec 18 01:08:39 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 17 Dec 2013 22:08:39 -0800 Subject: CLI "evoc exiting on signal 11" In-Reply-To: <52B1360F.3020406@fourthworld.com> References: <198-1752190097.20131217212816@ahsoftware.net> <52B1360F.3020406@fourthworld.com> Message-ID: <119-1749766862.20131217220839@ahsoftware.net> Richard- Tuesday, December 17, 2013, 9:43:43 PM, you wrote: > Oddly enough, I'm seeing this with the LC installer, too. > And weirder still, my 6.5-built standalone only fails on my Ubuntu > Server system, but the LC Installer also fails with signal 11 on both > Ubuntu Server and Ubuntu Desktop. Running as root? Possible permissions problem? Installing for all users or just for the current user? -- -Mark Wieder ahsoftware at gmail.com From dochawk at gmail.com Wed Dec 18 01:21:07 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 17 Dec 2013 22:21:07 -0800 Subject: return of the psychotic fields Message-ID: I've created some new output cards/groups, and am once again seeing psychotic field behavior. I have fields that even once going to selection mode remain live, and get a live cursor rather than selected, and others that can't be clicked into even though they're in front of everything else. All of hee fields show visible, focusable, and focusborder as true in the property manager, and do not have locktext, sharedtext or disabled. Are there any more properties I could be missing? -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From john at splash21.com Wed Dec 18 02:54:53 2013 From: john at splash21.com (John Craig) Date: Wed, 18 Dec 2013 07:54:53 +0000 Subject: [ANN] MobGUI with iOS7 palette In-Reply-To: <65F30528-3AA1-4389-8810-A23EF623FE4B@verizon.net> References: <52B0A26B.4070008@splash21.com> <52B0D5D8.9050507@splash21.com> <65F30528-3AA1-4389-8810-A23EF623FE4B@verizon.net> Message-ID: <52B154CD.9070106@splash21.com> You're welcome, but there was no 'year of updates' product that anyone had to buy. MobGUI was a free download with an unlimited trial period. If it worked for you, you could buy it. Any updates were included for a year. Due to unfortunate circumstances, it wasn't updated for a long time. On 17/12/2013 23:42, Colin Holgate wrote: > Thanks for that, though, as you know, many of us paid for a year of updates without getting any, so it all works out in the end! > > > On Dec 17, 2013, at 5:53 PM, John Craig wrote: > >>> In the festive spirit, all issued keys will now allow downloading the new plugin preview. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From admin at FlexibleLearning.com Wed Dec 18 03:56:53 2013 From: admin at FlexibleLearning.com (FlexibleLearning.com) Date: Wed, 18 Dec 2013 08:56:53 -0000 Subject: [ANN] The Scripter's Scrapbook upgrade v6 In-Reply-To: Message-ID: Yes, there is a upgrade price option for existing v5 users from www.FlexibleLearning.com/ssbk/purchase.htm With best regards, Hugh Senior FLCo Matthias Rebbe wrote: > Hi Hugh, > > does existing V5 users need to purchase a full license or is > there also an update license available for purchase? > > Regards, > > Matthias > Am 17.12.2013 um 14:35 schrieb FlexibleLearning.com > : > > > I am delighted to announce an upgrade for The Scripter's > Scrapbook for LC6 compatibility... > > > > www.FlexibleLearning.com/ssbk > > > > > > COMPATIBILITY > > Both Community and Commercial Edition users can download any StandAlone > > build; the plugin option is supported by the Commercial Edition only. > > All download options are at > > www.flexiblelearning.com/ssbk/downloads/scriptersscrapbook.htm > > > > > > UPGRADING > > Existing Users can obtain an upgrade from within the software. > Click 'Check > > for updates'. This ensures your existing Scrapbook entries are > automatically > > transferred to the new version for you. You will need to purchase a new > > licence. > > > > > > PURCHASE > > Please note that you will need a new licence key for this version. > > Purchase is available from the RunRev store at > > > http://livecode.com/store/marketplace/scripters-scrapbook-1-0-0/ or direct > > from www.FlexibleLearning.com/ssbk/purchase.htm > > > > > > RELEASE NOTES > > The following is taken from the release notes that accompany > the download > > and may be read on-line at > http://www.flexiblelearning.com/ssbk/ReadMe.html > > > > 6.0.21 > > This is an upgrade for LC6 compatibility. You will need a new licence. > > > > Changes > > . Classification Platforms: Platform references to Mac OS9 are no longer > > available. The icon has been changed and now refers to Mobile deployment > > (iOS, Android etc). Please update any Mac OS9 Entries you may have. > > . Classification Languages: 'Rev' has been replaced by 'LC' in > the default > > language set. > > > > Enhancements > > . Default Font and Size: You can now define your own default > Font and Size > > options in the preferences. Any html output honors your choice. > > . Linux: Added support for Linux. Not all features and options > are covered, > > but please report any issues. > > . Classification Languages: Changes to a language > classification can now be > > immediately reflected in Entries by replacing the old language > with the new > > language. > > > > Adjustments > > . Multiple monitors: All windows should now display as expected on the > > monitor occupied by the Home or Entries window. > > . HTML: Line breaks are more accurately represented. > > . HTML: Styled text is better represented. > > . HTML: Manually adjusted sizes are better represented. > > > > Bugfixes > > . Hanging startup: Early program version detection now offers > the option to > > download an update and gracefully closes the Scrapbook as expected. Only > > affects users of standalone applications. > > . ssBkChat: When a Scrapbook is used as a plugin on Mac OS X > with ssBkChat > > open, LiveCode now quits gracefully as expected. > > . Highlighting the search text no longer removes the index selection. > > > > > > > > With best regards, > > > > Hugh Senior > > FLCo From ambassador at fourthworld.com Wed Dec 18 09:13:38 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 18 Dec 2013 06:13:38 -0800 Subject: CLI "evoc exiting on signal 11" In-Reply-To: <119-1749766862.20131217220839@ahsoftware.net> References: <119-1749766862.20131217220839@ahsoftware.net> Message-ID: <52B1AD92.1070600@fourthworld.com> Mark Wieder wrote: > Tuesday, December 17, 2013, 9:43:43 PM, you wrote: > >> Oddly enough, I'm seeing this with the LC installer, too. > >> And weirder still, my 6.5-built standalone only fails on my Ubuntu >> Server system, but the LC Installer also fails with signal 11 on both >> Ubuntu Server and Ubuntu Desktop. > > Running as root? No, but IIRC the installer only needs root when installing for all users. > Possible permissions problem? Exec is set, not sure what else would be needed. And the error is an exit code, rather than the refusal to even try to launch that I get without exec permissions. > Installing for all users or just for the current user? Not even just me - with both apps I'm just running: -ui ...in hopes of getting far enough for the app itself to complain that it's missing args. I wonder if this has to do with the new dependencies in the Linux engine. They were supposed to be optional, only needed if you need graphics features, or at least that's my understanding from Mr. Waddingham. But the timing of the change, happening during 6.1->6.5, seems suspiciously relevant. But even with that I'm mystified, since it also fails on my laptop with the full Ubuntu GUI installed. The CLI installation info is a bit sparse - do you have an example handy for a proper Installer command line? I can't imagine how missing args could result in a signal 11 error, but I'm willing to try anything. Thanks for your help on this. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From vclement at gmail.com Wed Dec 18 09:20:21 2013 From: vclement at gmail.com (Vaughn Clement) Date: Wed, 18 Dec 2013 07:20:21 -0700 Subject: [ANN] MobGUI with iOS7 palette In-Reply-To: <52B154CD.9070106@splash21.com> References: <52B0A26B.4070008@splash21.com> <52B0D5D8.9050507@splash21.com> <65F30528-3AA1-4389-8810-A23EF623FE4B@verizon.net> <52B154CD.9070106@splash21.com> Message-ID: Hi John Are you open to new controls or features that people can suggest? My List: A IOS and Android scroll control that moves the entire screen up and down, or left and right. A image control that can take a image for the photo library or documents folder and place it on the card at a specified location, size and proportion. I'm sure other people have ideas? Thank you Vaughn Clement Apps by Vaughn Clement (Support) *http://www.appsbyvaughnclement.com/tools/home-page/ * Skype: vaughn.clement https://secure.join.me/appsbyvclement FaceTime: vclement at gmail.com LogMeIn also avaialble Call on "ooVoo" at address: vaughnclement or 9282549062 Ph. 928-254-9062 Cloud Hosting Registration Web Site: https://my.oditech.com/cart.php?a=add&pid=41 On Wed, Dec 18, 2013 at 12:54 AM, John Craig wrote: > You're welcome, but there was no 'year of updates' product that anyone had > to buy. > MobGUI was a free download with an unlimited trial period. > If it worked for you, you could buy it. > Any updates were included for a year. > Due to unfortunate circumstances, it wasn't updated for a long time. > > > > > On 17/12/2013 23:42, Colin Holgate wrote: > >> Thanks for that, though, as you know, many of us paid for a year of >> updates without getting any, so it all works out in the end! >> >> >> On Dec 17, 2013, at 5:53 PM, John Craig wrote: >> >> In the festive spirit, all issued keys will now allow downloading the >>>> new plugin preview. >>>> >>> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From devin_asay at byu.edu Wed Dec 18 11:56:32 2013 From: devin_asay at byu.edu (Devin Asay) Date: Wed, 18 Dec 2013 16:56:32 +0000 Subject: When is Unicode not Unicode? In-Reply-To: <52B0E5AB.706@hyperactivesw.com> References: <52B0E5AB.706@hyperactivesw.com> Message-ID: <3CFF5AAB-7050-4389-B945-37485D1B3B27@byu.edu> On Dec 17, 2013, at 5:00 PM, J. Landman Gay wrote: > On 12/17/13 5:48 PM, Graham Samuel wrote: >> I have been trying to substitute Unicode characters in some text >> which contains some mathematical notation originated on a Mac (where >> several symbols like 'pi', 'less than or equals' etc are available as >> standard) so as to make the text look OK on a PC. Not to bore people >> with a lot of experimental data, but I find that a regular font on >> the PC (the default one that LiveCode chooses for example) doesn't >> seem to contain symbols like pi which I imagined could be shown using >> the LC Unicode operations. > > At least for pi, greater-than-or-equal-to, less-than, etc. they aren't really unicode (they don't use 2 bytes.) On Mac they're in the extended ascii table; pi, for example, is number 184. You could find out what character number it is on Windows and use numToChar to insert it. > > Since they're such low numbers, comparatively speaking, I wouldn't think the font would matter. Unicode character numbers can be up in the thousands. Another technique that works really well cross platform is to use html entities. That way you don't have to do trial and error with numToChar. set the htmlText of fld "foo" to "

My text with a π in it.

" See a complete list of math and Greek symbols at http://www.w3schools.com/tags/ref_symbols.asp. HTH Devin Devin Asay Learn to code with LiveCode University http://university.livecode.com From richmondmathewson at gmail.com Wed Dec 18 12:02:44 2013 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 18 Dec 2013 19:02:44 +0200 Subject: When is Unicode not Unicode? In-Reply-To: <3CFF5AAB-7050-4389-B945-37485D1B3B27@byu.edu> References: <52B0E5AB.706@hyperactivesw.com> <3CFF5AAB-7050-4389-B945-37485D1B3B27@byu.edu> Message-ID: <52B1D534.9070807@gmail.com> On 18/12/13 18:56, Devin Asay wrote: > On Dec 17, 2013, at 5:00 PM, J. Landman Gay wrote: > >> On 12/17/13 5:48 PM, Graham Samuel wrote: >>> I have been trying to substitute Unicode characters in some text >>> which contains some mathematical notation originated on a Mac (where >>> several symbols like 'pi', 'less than or equals' etc are available as >>> standard) so as to make the text look OK on a PC. Not to bore people >>> with a lot of experimental data, but I find that a regular font on >>> the PC (the default one that LiveCode chooses for example) doesn't >>> seem to contain symbols like pi which I imagined could be shown using >>> the LC Unicode operations. >> At least for pi, greater-than-or-equal-to, less-than, etc. they aren't really unicode (they don't use 2 bytes.) On Mac they're in the extended ascii table; pi, for example, is number 184. You could find out what character number it is on Windows and use numToChar to insert it. >> >> Since they're such low numbers, comparatively speaking, I wouldn't think the font would matter. Unicode character numbers can be up in the thousands. > Another technique that works really well cross platform is to use html entities. That way you don't have to do trial and error with numToChar. > > set the htmlText of fld "foo" to "

My text with a π in it.

" > > See a complete list of math and Greek symbols at http://www.w3schools.com/tags/ref_symbols.asp. I don't know what the 'HooHah' is about. All currently available operating systems for which Livecode can produce standalones are Unicode compliant, as are a lot of operating systems in use since 2000 - I am currently playing around with Unicode on Mac OS 9! The plethora of Windows character mappings in use preUnicode is a minefield. Richmond. > > HTH > > Devin > > Devin Asay > Learn to code with LiveCode University > http://university.livecode.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From roger.e.eller at sealedair.com Wed Dec 18 13:09:58 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Wed, 18 Dec 2013 13:09:58 -0500 Subject: [ANN] MobGUI with iOS7 palette In-Reply-To: <52B0A26B.4070008@splash21.com> References: <52B0A26B.4070008@splash21.com> Message-ID: Are these objects limited to iOS7, or will they work on earlier iOS versions? Is this product cross-platform, i.e. Android too? ~Roger On Tue, Dec 17, 2013 at 2:13 PM, John Craig wrote: > License holders can download a preview of the new behaviors driven MobGUI > from the mobgui.com homepage. It's not GPL, but will run happily on both > commercial and community. There is also some additional info at > http://forums.runrev.com/viewtopic.php?f=54&t=18431 > > :) > > From livfoss at mac.com Wed Dec 18 13:27:51 2013 From: livfoss at mac.com (Graham Samuel) Date: Wed, 18 Dec 2013 19:27:51 +0100 Subject: Still stuck on playing a sound with a player In-Reply-To: <1387325734719-4673874.post@n4.nabble.com> References: <7A2EE244-C9E0-4139-A82F-487167D6BCC9@mac.com> <1387325734719-4673874.post@n4.nabble.com> Message-ID: <9E49B0EC-52E1-4952-BBA8-ACCED8550E8C@mac.com> Thanks Brian for your sample. I am encouraged that such a simple script works for you - I too am aiming at the simplest possible script. Thanks to you and others I am almost there, but I want to bundle my sounds with my app in the Mac plist, so I need a different way to find the path to them: that bit seems to be working in the IDE, and it works in the standalone in that I don't get an error (my script looks to see if the file is actually found), but so far no sound actually plays. Also I can't stop my player before I start like you, since I have a 'playStopped' handler for doing the next thing in my app when playing has finished (in my app, the playing isn't background music but takes centre stage while it's playing, and I need to wait for it to stop and then do something else). I don't think this matters since my sound is of a definite duration and doesn't loop, so it only needs to stop naturally as it were. Finally I don't understand what setting the currentTime does in your script. When I play the sound in the IDE without setting the currentTime, it always plays, but not (so far) in the standalone. I have no idea why. Got further, but still tinkering. Thanks again. Graham On 18 Dec 2013, at 01:15, spencerlearning wrote: > Graham Samuel-4 wrote >> It seems I lack instructions for playing MP3s from beginning to end on a >> Mac: before I started this, I thought it would be extremely simple and >> indeed idiot-proof. I guess I was wrong, or I am even more mentally >> challenged that I normally allow for. >> >> Is anyone using MP3 sounds in a desktop app, and if so, what is the >> idiot-proof method? > > Here is the code I use for simple playing of an mp3 file: > > put "/Users/Brian/Desktop/mp3file.mp3" into tSoundFile > stop player "player" > set the fileName of player "player" to tSoundFile > set the currentTime of player "player" to 0 > start player "player" of this card > > Hope it helps. > > > > > ----- > Brian Spencer > Spencer Learning > http://spencerlearning.com > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Still-stuck-on-playing-a-sound-with-a-player-tp4673825p4673874.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Wed Dec 18 13:33:46 2013 From: klaus at major-k.de (Klaus major-k) Date: Wed, 18 Dec 2013 19:33:46 +0100 Subject: Still stuck on playing a sound with a player In-Reply-To: <9E49B0EC-52E1-4952-BBA8-ACCED8550E8C@mac.com> References: <7A2EE244-C9E0-4139-A82F-487167D6BCC9@mac.com> <1387325734719-4673874.post@n4.nabble.com> <9E49B0EC-52E1-4952-BBA8-ACCED8550E8C@mac.com> Message-ID: <6E038939-CCB3-42BB-90E9-F9F8EC27F427@major-k.de> Hi Graham, Am 18.12.2013 um 19:27 schrieb Graham Samuel : > Thanks Brian for your sample. I am encouraged that such a simple script works for you - I too am aiming at the simplest possible script. > > Thanks to you and others I am almost there, but I want to bundle my sounds with my app in the Mac plist, so I need a different way to find the path to them: that bit seems to be working in the IDE, and it works in the standalone in that I don't get an error (my script looks to see if the file is actually found), but so far no sound actually plays. > > Also I can't stop my player before I start like you, since I have a 'playStopped' handler this might give a hint! From the docs: about "playstopped": ... The playStopped message is sent when a card containing the player closes and when the player's filename property is changed. ... Maybe this is causing your trouble? Do this to prevent this: ... lock messages #!!! set the filename of player "xyz" to "path to mp3 here..." start player "xyz" unlock messages ... At least worth a try :-) > for doing the next thing in my app when playing has finished (in my app, the playing isn't background music but takes centre stage while it's playing, and I need to wait for it to stop and then do something else). I don't think this matters since my sound is of a definite duration and doesn't loop, so it only needs to stop naturally as it were. > > Finally I don't understand what setting the currentTime does in your script. When I play the sound in the IDE without setting the currentTime, it always plays, but not (so far) in the standalone. I have no idea why. > > Got further, but still tinkering. > > Thanks again. > > Graham Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From matthias_livecode_150811 at m-r-d.de Wed Dec 18 13:36:16 2013 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Wed, 18 Dec 2013 19:36:16 +0100 Subject: [ANN] The Scripter's Scrapbook upgrade v6 In-Reply-To: References: Message-ID: Ah, thanks. Either it was not there when i looked first or i had to refresh my browser cache. At least it is there. Thanks again. Matthias Am 18.12.2013 um 09:56 schrieb FlexibleLearning.com : > Yes, there is a upgrade price option for existing v5 users from > www.FlexibleLearning.com/ssbk/purchase.htm > > With best regards, > > Hugh Senior > FLCo > > > > Matthias Rebbe wrote: > >> Hi Hugh, >> >> does existing V5 users need to purchase a full license or is >> there also an update license available for purchase? >> >> Regards, >> >> Matthias > > >> Am 17.12.2013 um 14:35 schrieb FlexibleLearning.com >> : >> >>> I am delighted to announce an upgrade for The Scripter's >> Scrapbook for LC6 compatibility... >>> >>> www.FlexibleLearning.com/ssbk >>> >>> >>> COMPATIBILITY >>> Both Community and Commercial Edition users can download any StandAlone >>> build; the plugin option is supported by the Commercial Edition only. >>> All download options are at >>> www.flexiblelearning.com/ssbk/downloads/scriptersscrapbook.htm >>> >>> >>> UPGRADING >>> Existing Users can obtain an upgrade from within the software. >> Click 'Check >>> for updates'. This ensures your existing Scrapbook entries are >> automatically >>> transferred to the new version for you. You will need to purchase a new >>> licence. >>> >>> >>> PURCHASE >>> Please note that you will need a new licence key for this version. >>> Purchase is available from the RunRev store at >>> >> http://livecode.com/store/marketplace/scripters-scrapbook-1-0-0/ or direct >>> from www.FlexibleLearning.com/ssbk/purchase.htm >>> >>> >>> RELEASE NOTES >>> The following is taken from the release notes that accompany >> the download >>> and may be read on-line at >> http://www.flexiblelearning.com/ssbk/ReadMe.html >>> >>> 6.0.21 >>> This is an upgrade for LC6 compatibility. You will need a new licence. >>> >>> Changes >>> . Classification Platforms: Platform references to Mac OS9 are no longer >>> available. The icon has been changed and now refers to Mobile deployment >>> (iOS, Android etc). Please update any Mac OS9 Entries you may have. >>> . Classification Languages: 'Rev' has been replaced by 'LC' in >> the default >>> language set. >>> >>> Enhancements >>> . Default Font and Size: You can now define your own default >> Font and Size >>> options in the preferences. Any html output honors your choice. >>> . Linux: Added support for Linux. Not all features and options >> are covered, >>> but please report any issues. >>> . Classification Languages: Changes to a language >> classification can now be >>> immediately reflected in Entries by replacing the old language >> with the new >>> language. >>> >>> Adjustments >>> . Multiple monitors: All windows should now display as expected on the >>> monitor occupied by the Home or Entries window. >>> . HTML: Line breaks are more accurately represented. >>> . HTML: Styled text is better represented. >>> . HTML: Manually adjusted sizes are better represented. >>> >>> Bugfixes >>> . Hanging startup: Early program version detection now offers >> the option to >>> download an update and gracefully closes the Scrapbook as expected. Only >>> affects users of standalone applications. >>> . ssBkChat: When a Scrapbook is used as a plugin on Mac OS X >> with ssBkChat >>> open, LiveCode now quits gracefully as expected. >>> . Highlighting the search text no longer removes the index selection. >>> >>> >>> >>> With best regards, >>> >>> Hugh Senior >>> FLCo > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode Matthias Rebbe Tel: +49 5741 310000 +49 160 5504462 eMail: matthias underscore livecode underscore 150811 at m dash r dash d dot de From jacque at hyperactivesw.com Wed Dec 18 13:43:33 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 18 Dec 2013 12:43:33 -0600 Subject: Still stuck on playing a sound with a player In-Reply-To: <9E49B0EC-52E1-4952-BBA8-ACCED8550E8C@mac.com> References: <7A2EE244-C9E0-4139-A82F-487167D6BCC9@mac.com> <1387325734719-4673874.post@n4.nabble.com> <9E49B0EC-52E1-4952-BBA8-ACCED8550E8C@mac.com> Message-ID: <52B1ECD5.5010600@hyperactivesw.com> On 12/18/13 12:27 PM, Graham Samuel wrote: > Finally I don't understand what setting the currentTime does in your > script. When I play the sound in the IDE without setting the > currentTime, it always plays, but not (so far) in the standalone. I > have no idea why. The currentTime sets the start position of the playback. Zero is the beginning. When you load a new filename into a player, the postion is set to zero by default, so adding that line is theoretically unnecessary but doesn't hurt. The file paths in a standalone are not necessarily the same as the filepaths in the IDE, which could cause the problem. What is the filepath you've assigned to the player? You may need to calculate a path in your script so that it works in both the IDE and the standalone. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From john at splash21.com Wed Dec 18 14:26:41 2013 From: john at splash21.com (John Craig) Date: Wed, 18 Dec 2013 19:26:41 +0000 Subject: [ANN] MobGUI with iOS7 palette In-Reply-To: References: <52B0A26B.4070008@splash21.com> <52B0D5D8.9050507@splash21.com> <65F30528-3AA1-4389-8810-A23EF623FE4B@verizon.net> <52B154CD.9070106@splash21.com> Message-ID: <52B1F6F1.8080309@splash21.com> Vaughn - always open to new controls and features. I'll be taking a look when the current controls are complete :) On 18/12/2013 14:20, Vaughn Clement wrote: > Hi John > > Are you open to new controls or features that people can suggest? > > My List: > > A IOS and Android scroll control that moves the entire screen up and down, > or left and right. > A image control that can take a image for the photo library or documents > folder and place it on the card at a specified location, size and > proportion. > > I'm sure other people have ideas? > > > Thank you > > Vaughn Clement > > Apps by Vaughn Clement (Support) > *http://www.appsbyvaughnclement.com/tools/home-page/ > * > Skype: vaughn.clement > https://secure.join.me/appsbyvclement > FaceTime: vclement at gmail.com > LogMeIn also avaialble > Call on "ooVoo" at address: vaughnclement or 9282549062 > Ph. 928-254-9062 > Cloud Hosting Registration Web Site: > https://my.oditech.com/cart.php?a=add&pid=41 > > > On Wed, Dec 18, 2013 at 12:54 AM, John Craig wrote: > >> You're welcome, but there was no 'year of updates' product that anyone had >> to buy. >> MobGUI was a free download with an unlimited trial period. >> If it worked for you, you could buy it. >> Any updates were included for a year. >> Due to unfortunate circumstances, it wasn't updated for a long time. >> >> >> >> >> On 17/12/2013 23:42, Colin Holgate wrote: >> >>> Thanks for that, though, as you know, many of us paid for a year of >>> updates without getting any, so it all works out in the end! >>> >>> >>> On Dec 17, 2013, at 5:53 PM, John Craig wrote: >>> >>> In the festive spirit, all issued keys will now allow downloading the >>>>> new plugin preview. >>>>> >>>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From john at splash21.com Wed Dec 18 14:28:11 2013 From: john at splash21.com (John Craig) Date: Wed, 18 Dec 2013 19:28:11 +0000 Subject: [ANN] MobGUI with iOS7 palette In-Reply-To: References: <52B0A26B.4070008@splash21.com> Message-ID: <52B1F74B.8060300@splash21.com> Hi, Roger, they're just iOS7 styled, so should work fine on android. Everything so far has worked for me in both iOS and android. On 18/12/2013 18:09, Roger Eller wrote: > Are these objects limited to iOS7, or will they work on earlier iOS > versions? Is this product cross-platform, i.e. Android too? > > ~Roger > > On Tue, Dec 17, 2013 at 2:13 PM, John Craig wrote: > >> License holders can download a preview of the new behaviors driven MobGUI >> from the mobgui.com homepage. It's not GPL, but will run happily on both >> commercial and community. There is also some additional info at >> http://forums.runrev.com/viewtopic.php?f=54&t=18431 >> >> :) >> >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From roger.e.eller at sealedair.com Wed Dec 18 14:47:45 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Wed, 18 Dec 2013 14:47:45 -0500 Subject: [ANN] MobGUI with iOS7 palette In-Reply-To: <52B1F74B.8060300@splash21.com> References: <52B0A26B.4070008@splash21.com> <52B1F74B.8060300@splash21.com> Message-ID: Terrific! So, are more "styles" in the works? ~Roger On Wed, Dec 18, 2013 at 2:28 PM, John Craig wrote: > Hi, Roger, they're just iOS7 styled, so should work fine on android. > Everything so far has worked for me in both iOS and android. > > > > On 18/12/2013 18:09, Roger Eller wrote: > >> Are these objects limited to iOS7, or will they work on earlier iOS >> versions? Is this product cross-platform, i.e. Android too? >> >> ~Roger >> >> On Tue, Dec 17, 2013 at 2:13 PM, John Craig wrote: >> >> License holders can download a preview of the new behaviors driven MobGUI >>> from the mobgui.com homepage. It's not GPL, but will run happily on >>> both >>> commercial and community. There is also some additional info at >>> http://forums.runrev.com/viewtopic.php?f=54&t=18431 >>> >>> :) >>> >>> >>> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From livfoss at mac.com Wed Dec 18 14:57:54 2013 From: livfoss at mac.com (Graham Samuel) Date: Wed, 18 Dec 2013 20:57:54 +0100 Subject: Still stuck on playing a sound with a player In-Reply-To: <6E038939-CCB3-42BB-90E9-F9F8EC27F427@major-k.de> References: <7A2EE244-C9E0-4139-A82F-487167D6BCC9@mac.com> <1387325734719-4673874.post@n4.nabble.com> <9E49B0EC-52E1-4952-BBA8-ACCED8550E8C@mac.com> <6E038939-CCB3-42BB-90E9-F9F8EC27F427@major-k.de> Message-ID: <28EC822E-0803-4F37-9171-ABC54CAC63A4@mac.com> Klaus, that's brilliant! I did not notice this and I wouldn't have guessed it. In my case, the filename property is set on the fly before I want the user to hear any sound, so your point is extremely important to prevent my playStopped action taking place at the beginning rather than the end of the playing sequence. [At the moment, the 'playstopped' message is not being fired at all for some reason (this is in the standalone, whereas it works in the IDE). I hope to find out why shortly.] Thanks a lot. Graham On 18 Dec 2013, at 19:33, Klaus major-k wrote: > Hi Graham, > > Am 18.12.2013 um 19:27 schrieb Graham Samuel : > >> Thanks Brian for your sample. I am encouraged that such a simple script works for you - I too am aiming at the simplest possible script. >> >> Thanks to you and others I am almost there, but I want to bundle my sounds with my app in the Mac plist, so I need a different way to find the path to them: that bit seems to be working in the IDE, and it works in the standalone in that I don't get an error (my script looks to see if the file is actually found), but so far no sound actually plays. >> >> Also I can't stop my player before I start like you, since I have a 'playStopped' handler > > this might give a hint! > > From the docs: about "playstopped": > ... > The playStopped message is sent when a card containing the player closes and when the player's filename property is changed. > ... > > Maybe this is causing your trouble? > Do this to prevent this: > ... > lock messages #!!! > set the filename of player "xyz" to "path to mp3 here..." > start player "xyz" > unlock messages > ... > At least worth a try :-) > >> for doing the next thing in my app when playing has finished (in my app, the playing isn't background music but takes centre stage while it's playing, and I need to wait for it to stop and then do something else). I don't think this matters since my sound is of a definite duration and doesn't loop, so it only needs to stop naturally as it were. >> >> Finally I don't understand what setting the currentTime does in your script. When I play the sound in the IDE without setting the currentTime, it always plays, but not (so far) in the standalone. I have no idea why. >> >> Got further, but still tinkering. >> >> Thanks again. >> >> Graham > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From john at splash21.com Wed Dec 18 15:00:58 2013 From: john at splash21.com (John Craig) Date: Wed, 18 Dec 2013 20:00:58 +0000 Subject: [ANN] MobGUI with iOS7 palette In-Reply-To: References: <52B0A26B.4070008@splash21.com> <52B1F74B.8060300@splash21.com> Message-ID: <52B1FEFA.6060300@splash21.com> I just posted on the forum about possible themes : since the template controls are held on a card, the card could be cloned and a new theme created. That way, you'd keep the originals and could tweak the copies to look and behave in a customized way. You'd then just need a mechanism to select which theme to use... On 18/12/2013 19:47, Roger Eller wrote: > Terrific! So, are more "styles" in the works? > > ~Roger > > > On Wed, Dec 18, 2013 at 2:28 PM, John Craig wrote: > >> Hi, Roger, they're just iOS7 styled, so should work fine on android. >> Everything so far has worked for me in both iOS and android. >> >> >> >> On 18/12/2013 18:09, Roger Eller wrote: >> >>> Are these objects limited to iOS7, or will they work on earlier iOS >>> versions? Is this product cross-platform, i.e. Android too? >>> >>> ~Roger >>> >>> On Tue, Dec 17, 2013 at 2:13 PM, John Craig wrote: >>> >>> License holders can download a preview of the new behaviors driven MobGUI >>>> from the mobgui.com homepage. It's not GPL, but will run happily on >>>> both >>>> commercial and community. There is also some additional info at >>>> http://forums.runrev.com/viewtopic.php?f=54&t=18431 >>>> >>>> :) >>>> >>>> >>>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From matthias_livecode_150811 at m-r-d.de Wed Dec 18 16:46:33 2013 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Wed, 18 Dec 2013 22:46:33 +0100 Subject: Kiosk mode in Android Message-ID: <54818AC5-BD60-4D4A-BA71-E8BF59F6917E@m-r-d.de> Hi, does anyone if it?s possible to create a kiosk app for Android in LC? I can trap the backkey, but how to trap the home key? I know, it?s possible to make an app the "Home screen app". But is this also possible with LC? Regards, Matthias Matthias Rebbe Tel: +49 5741 310000 +49 160 5504462 eMail: matthias underscore livecode underscore 150811 at m dash r dash d dot de From livfoss at mac.com Wed Dec 18 17:42:50 2013 From: livfoss at mac.com (Graham Samuel) Date: Wed, 18 Dec 2013 23:42:50 +0100 Subject: Still stuck on playing a sound with a player In-Reply-To: <52B1ECD5.5010600@hyperactivesw.com> References: <7A2EE244-C9E0-4139-A82F-487167D6BCC9@mac.com> <1387325734719-4673874.post@n4.nabble.com> <9E49B0EC-52E1-4952-BBA8-ACCED8550E8C@mac.com> <52B1ECD5.5010600@hyperactivesw.com> Message-ID: <77DC38CC-9665-4F27-8C46-F9DCDEF082B9@mac.com> Thanks Jacque, it's amazing how patient you are giving answers on this issue! Actually I do think I am addressing the sound files correctly. I ask for my mp3 files to be included in the 'copy files' section of the standalone settings. They then end up in the MacOS part of the plist of the application at the same level as the executable program itself (this is shockingly under-explained in the User Guide, BTW). So a script like this when the mainstack starts up, or anyway before the players get used: on openStack set the itemDel to slash put the effective filename of this stack into tPath put "Recording.mp3" into last item of tPath if (there is a file tPath) then lock messages -- so as not to fire the 'playstopped' message set the filename of player "myPlayer" of stack "sounds" to tPath unlock messages else answer error "Could not find Recording. Path was:" && tPath end if [etc] should work both in the IDE and the standalone, or give an error. Sadly in my case neither applies. And no 'playstopped' message is sent later, after I try to activate the player properly. Works in the IDE. I have now been able to prove that the file paths exist in the standalone, and that the actual players can play the sounds, if I expose their little stack with the controllers on it and simply click on one of the controllers. So all that I am unable to do is to start player "myPlayer" of cd 1 of stack "sounds" from within another stack. When I execute this, there is nothing in the result, but it's as if that line of code hadn't been executed. In fact this really seems to be the case, because the player doesn't even receive a 'playstarted' message. Both 'playStarted' and 'playStopped' are received when the thing is run from the IDE without script changes. Still working on it, for example by putting a button in the sound stack which starts the player, then sending 'mouseUp' to the button. The button gets the message, but same non-result. If I can see the "sounds" stack and click the button, it works. I suppose it will be obvious in the end. Thanks for all your suggestions. Graham On 18 Dec 2013, at 19:43, J. Landman Gay wrote: > On 12/18/13 12:27 PM, Graham Samuel wrote: >> Finally I don't understand what setting the currentTime does in your >> script. When I play the sound in the IDE without setting the >> currentTime, it always plays, but not (so far) in the standalone. I >> have no idea why. > > The currentTime sets the start position of the playback. Zero is the beginning. When you load a new filename into a player, the postion is set to zero by default, so adding that line is theoretically unnecessary but doesn't hurt. > > The file paths in a standalone are not necessarily the same as the filepaths in the IDE, which could cause the problem. What is the filepath you've assigned to the player? You may need to calculate a path in your script so that it works in both the IDE and the standalone. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From livfoss at mac.com Wed Dec 18 18:12:11 2013 From: livfoss at mac.com (Graham Samuel) Date: Thu, 19 Dec 2013 00:12:11 +0100 Subject: When is Unicode not Unicode? In-Reply-To: <52B1D534.9070807@gmail.com> References: <52B0E5AB.706@hyperactivesw.com> <3CFF5AAB-7050-4389-B945-37485D1B3B27@byu.edu> <52B1D534.9070807@gmail.com> Message-ID: The HooHah is about the fact that a normal PC running XP (and for all I know, more modern versions of Windows) doesn't seem to have a guaranteed-to-be-present Unicode font with even my quite limited set of mathematical symbols in it, at least my tests have not been very satisfactory. There have been two alternative suggestions from members of this list (thanks, you know who you are!). Just to remind you, these are: use HTML, and use MacToISO. Both look more promising than Unicode to me. I am loth to use the HTML one because my source text isn't HTML, so I would have to put all the paragraph markers, colour changes etc in by hand (I suppose), or get the original author of the text to do it (I predict a blank refusal), so I'm hoping MacToISO will be sufficient, and it probably will. Cheers Graham On 18 Dec 2013, at 18:02, Richmond wrote: > I don't know what the 'HooHah' is about. > > All currently available operating systems for which Livecode can produce standalones are Unicode compliant, > as are a lot of operating systems in use since 2000 - I am currently playing around with Unicode on Mac OS 9! > > The plethora of Windows character mappings in use preUnicode is a minefield. From richmondmathewson at gmail.com Thu Dec 19 02:30:36 2013 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 19 Dec 2013 09:30:36 +0200 Subject: When is Unicode not Unicode? In-Reply-To: References: <52B0E5AB.706@hyperactivesw.com> <3CFF5AAB-7050-4389-B945-37485D1B3B27@byu.edu> <52B1D534.9070807@gmail.com> Message-ID: <52B2A09C.7010307@gmail.com> On 19/12/13 01:12, Graham Samuel wrote: > The HooHah is about the fact that a normal PC running XP (and for all I know, more modern versions of Windows) doesn't seem to have a guaranteed-to-be-present Unicode font with even my quite limited set of mathematical symbols in it, at least my tests have not been very satisfactory. There have been two alternative suggestions from members of this list (thanks, you know who you are!). Isn't it amazing that Windows XP was released quite a bit after Mac OS 9, and the HooHah should be that it is not completely Unicode compliant. The Arial set of fonts are, supposedly, OK as to Roman + Extended. I am currently developing a set of programs (part of the "Richmond 'does' dead languages" project) that lever Unicode; in each case I am going to bundle a FREE (as in all sorts of interpretations to what 'Free' means) Unicode font that has the Unicode symbols my program levers. That is certainly one way round things; just as long as the end-user is not so goofy that even with my instructions for Mac, Win and Linuc they cannot work out how to install a font. > Just to remind you, these are: use HTML, and use MacToISO. Both look more promising than Unicode to me. I am loth to use the HTML one because my source text isn't HTML, so I would have to put all the paragraph markers, colour changes etc in by hand (I suppose), or get the original author of the text to do it (I predict a blank refusal), so I'm hoping MacToISO will be sufficient, and it probably will. I do have a feeling that there is a possibility that all the Maths symbols you need are included in the extended ASCII set (1 - 256). Richmond. > > Cheers > > Graham > > > On 18 Dec 2013, at 18:02, Richmond wrote: > >> I don't know what the 'HooHah' is about. >> >> All currently available operating systems for which Livecode can produce standalones are Unicode compliant, >> as are a lot of operating systems in use since 2000 - I am currently playing around with Unicode on Mac OS 9! >> >> The plethora of Windows character mappings in use preUnicode is a minefield. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Thu Dec 19 04:07:14 2013 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 19 Dec 2013 11:07:14 +0200 Subject: [OT] Socks for nearly 500 dollars. Message-ID: <52B2B742.90001@gmail.com> $499 for a pair of grey socks seems somewhat steep. I've just bought a bundle of 5 pairs of thick, winter, navy blue socks from my local cash-and-carry for about $7: half wool (for warmth), half polyester (for strength). However, $499 for the Runtime Revolution Mega Bundle seems jolly good value. I might have bought the Mega Bundle had I not got mislead by an advert that seemed to be peddling socks. When I heard RunRev were thinking of diversifying their product range I had absolutely no idea whatsoever that they were branching out into the footwear business. I hope that all at RunRev will have as good a Pancha Ganapati, Christmas and Kwanzaa as I will. Mind you my 2014 will be really fantastic if RunRev can sort out that problem with Windows Vista, 7 and 8 substituting system fonts. Richmond. From livfoss at mac.com Thu Dec 19 07:52:54 2013 From: livfoss at mac.com (Graham Samuel) Date: Thu, 19 Dec 2013 13:52:54 +0100 Subject: Still stuck on playing a sound with a player In-Reply-To: <52B1ECD5.5010600@hyperactivesw.com> References: <7A2EE244-C9E0-4139-A82F-487167D6BCC9@mac.com> <1387325734719-4673874.post@n4.nabble.com> <9E49B0EC-52E1-4952-BBA8-ACCED8550E8C@mac.com> <52B1ECD5.5010600@hyperactivesw.com> Message-ID: Ha! RunRev (Elanor) has just told me that > a player on an unopened card will not play. Perhaps the card is open in the IDE but > never gone to in the standalone? Yes, well, that is true. I had changed the filename property of two players in the first card of my sound stack without formally opening the stack, so I thought it was ready to be used. Not so. When I made sure that the sound stack was open (just by going to it invisibly when the app opens) then the whole thing worked exactly as it had done in the IDE. You live and learn. Can't say I like LC's silent failure though. Thanks for everyone who helped me. Fingers crossed, I can now move on to the project itself (this was just a series of experiments really, before embarking on something on a much larger scale). Graham I previously wrote: > I have now been able to prove that the file paths exist in the standalone, and that the actual players can play the sounds, if I expose their little stack with the controllers on it and simply click on one of the controllers. So all that I am unable to do is to > > start player "myPlayer" of cd 1 of stack "sounds" > > from within another stack. > > When I execute this, there is nothing in the result, but it's as if that line of code hadn't been executed. In fact this really seems to be the case, because the player doesn't even receive a 'playstarted' message. Both 'playStarted' and 'playStopped' are received when the thing is run from the IDE without script changes. From livfoss at mac.com Thu Dec 19 10:00:42 2013 From: livfoss at mac.com (Graham Samuel) Date: Thu, 19 Dec 2013 16:00:42 +0100 Subject: Players and Sounds - stuff you might want to know Message-ID: Just in case it may be helpful to others, here's a summary of stuff I found out when trying to play MP3 files within a LiveCode standalone on a Mac. Some is documented in the LC docs (like point 3) and some isn't. If anyone feels like correcting or extending it, feel free. 1. The 'play' command won't play MP3s, in fact it won't play any sound files of reasonable size. So you need to set up a player to play the far more compressed MP3 format. 2. When a player starts, a 'playStarted' message is sent to the player's script. Correspondingly, when it stops, a 'playStopped' is sent. 3. When you direct a pre-existing player towards a specific sound file ('set the filename of player "myPlayer" to myPath...), the action of doing this fires off a 'playStopped' handler in the player. So if you were hoping to do something when the player had stopped and had scripted your player accordingly, that script will run prematurely unless you lock messages when you update the filename property of your player. 4. When you start a sound playing with a player, it will continue until it stops naturally (i.e. at the end of the file, unless it loops) **provided** you don't switch cards. If you do, playing immediately stops. If you want to have a sound playing while cards change, then put your player on a card in a substack which is remains open at the card containing the player (the stack doesn't have to be visible). 5. If you adopt the method in (4) above, you must make sure that your substack containing players is actually open at the right card before you start trying to run a player. Just writing into a player in the substack (for example by setting the 'filename' property of a player in it) doesn't open it. If you try to play from an unopened card, the attempt to play will silently fail. If you try the same thing in the IDE, you won't get the failure, presumably because the IDE opens all the substacks in your project without an explicit 'go' from you. Like all "works in the IDE, doesn't work in the standalone" issues, I find it very confusing. 6. Some people set the currentTime of a player to 0 before starting to play, to ensure that play starts from the beginning. As long as your intention is simply to run your sound from beginning to end each time, I don't think this is necessary. It looks like the currentTime is reset to zero automatically when the playing finishes. 7. Others set the playRate of the player to 1, which not only sets the player's speed but also starts it playing! Again, for me this didn't seem to make a difference over simply starting the player. 8. The construct 'wait until the sound is done' doesn't apply to players, only to sounds played directly by the 'play' command. If you want the equivalent functionality with a player, you have to grow your own by writing a regularly called handler that compares the currentTime of the player with its duration, and simply loops until they coincide. Doubtless there are zillions of other things I should have learned, but that's all I can report so far. HTH Graham From klaus at major-k.de Thu Dec 19 10:11:56 2013 From: klaus at major-k.de (Klaus major-k) Date: Thu, 19 Dec 2013 16:11:56 +0100 Subject: Players and Sounds - stuff you might want to know In-Reply-To: References: Message-ID: <816300FC-CD6B-4322-9414-4996FCA1D76A@major-k.de> Hi Graham, Am 19.12.2013 um 16:00 schrieb Graham Samuel : > Just in case it may be helpful to others, here's a summary of stuff I found out when trying to play MP3 files within a LiveCode standalone on a Mac. Some is documented in the LC docs (like point 3) and some isn't. If anyone feels like correcting or extending it, feel free. > ... > 7. Others set the playRate of the player to 1, which not only sets the player's speed but also starts it playing! Again, for me this didn't seem to make a difference over simply starting the player no, there is no difference! But i remember that Trevor De Vore posted his observations on this list some time ago. He found out that "start player xyz" does not always work correctly after you set the filename of a player to a (internet) URL, but that "set the playrate of player xyz to 1" DOES in fact work in these situations :-) > Doubtless there are zillions of other things I should have learned, but that's all I can report so far. > > HTH > > Graham Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From jacque at hyperactivesw.com Thu Dec 19 10:25:52 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 19 Dec 2013 09:25:52 -0600 Subject: Players and Sounds - stuff you might want to know In-Reply-To: <816300FC-CD6B-4322-9414-4996FCA1D76A@major-k.de> References: <816300FC-CD6B-4322-9414-4996FCA1D76A@major-k.de> Message-ID: Klaus major-k wrote: >> 7. Others set the playRate of the player to 1, which not only sets >the player's speed but also starts it playing! Again, for me this >didn't seem to make a difference over simply starting the player > >no, there is no difference! Except that setting the playrate doesn't trigger callbacks. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From lvhdgc7 at gmail.com Thu Dec 19 10:51:54 2013 From: lvhdgc7 at gmail.com (tbodine) Date: Thu, 19 Dec 2013 07:51:54 -0800 (PST) Subject: Auto updating to Write Restricted Folders Message-ID: <1387468314925-4673908.post@n4.nabble.com> Hi all. I'm implementing an auto-update feature for the first time and have a newbie question about it. If the user installed the original in Program Files or, on Mac in Applications, then is auto-update doomed to fail when modern OSes enforce write restrictions to these areas? I realize I could stick the program in App Data and update that, but what's the point of Program Files/Applications then? Any pointers on auto-update for a Livecode desktop program are most welcome! Thanks, Tom Bodine -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Auto-updating-to-Write-Restricted-Folders-tp4673908.html Sent from the Revolution - User mailing list archive at Nabble.com. From klaus at major-k.de Thu Dec 19 10:53:50 2013 From: klaus at major-k.de (Klaus major-k) Date: Thu, 19 Dec 2013 16:53:50 +0100 Subject: Players and Sounds - stuff you might want to know In-Reply-To: References: <816300FC-CD6B-4322-9414-4996FCA1D76A@major-k.de> Message-ID: <38CD5A5A-4045-423F-9895-34AB22B93639@major-k.de> Hi Jaqueline, Am 19.12.2013 um 16:25 schrieb J. Landman Gay : > Klaus major-k wrote: >>> 7. Others set the playRate of the player to 1, which not only sets >> the player's speed but also starts it playing! Again, for me this >> didn't seem to make a difference over simply starting the player >> no, there is no difference! > Except that setting the playrate doesn't trigger callbacks. Oh, that was news to me, thanks for the hint! > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From ben at runrev.com Thu Dec 19 13:04:18 2013 From: ben at runrev.com (Benjamin Beaumont) Date: Thu, 19 Dec 2013 18:04:18 +0000 Subject: RELEASE LiveCode 6.5.1 RC2 Message-ID: Dear List Members, We are pleased to announce the release of LiveCode 6.5.1-rc-2. Warning, there still may be bugs in this pre-release. It is always good practice to back up your stacks before testing. *Release Contents* Control the screen pixel scaling. 25 bug fixes: *- 11609 - Getting the rect of Android native controls returns empty rect* *- 11606 - Text wrapping and metrics issues.* *- 11604 - Image rotate, move, rotate resets image location to that of first rotation.* *- 11592 - Import / export snapshot not working on Windows & Linux* *- 11590 - Fullscreen stacks on multiple monitors always appear on the same screen.* *- 11586 - Android native controls are positioned incorrectly for certain fullscreen modes* *- 11572 - Certain iOS fonts clip vertically* *- 11571 - iPhoneUseDeviceResolution does not update the current pixelScale* *- 11568 - Bitmap effect colors are incorrect on iOS and Android* *- 11567 - Scaled OS themed parts render aren\'t filtered* *- 11563 - Drag-n-drop hotspot is in wrong location on OS X stack with menubar* *- 11560 - Fix graphical anomalies in outer glow effect* *- 11559 - Crash of standalone -ui mode and server engine on some Linux distributions* *- 11558 - Artefacts when drawing Windows checkmarks* - 11553 - Fill overlaps borders for arcs - 11551 - Stacks with many referenced images can take a long time to save. - 11549 - Text fails to render if a single native encoded character is followed by a unicode character in a field in certain cases. - 11547 - Setting the textColor of a line in a field doesn't work - 11535 - Monospaced fonts do not have consistent character width. - 11528 - Gradient colors incorrect on Android - 11527 - Unicode text on Android clipped - 11513 - If a stack has font attributes set, then ideal text layout is not used in fullscreen mode. - 11507 - Prevent crash in revBrowser on OSX when there is no data source - 11505 - Multiply blend mode does not work correctly for graphic effects - 11447 - 'put the MCSSendString of' crashes *pixelScale Property* We have added a new ?pixelScale? property (global) that allows you to control the density at which your stack is rendered. This property deprecates iphoneUseDeviceResolution. By default, LiveCode will automatically set the density of your stack to the density of the device it is running on. For example: - iPad (1.0) - iPad retina (2.0) In the example above, the height of the stack (in portrait) will report back at 1024 on both devices, even though the iPad retina has 2048 physical pixels. To access all the devices pixels in previous version of LiveCode you set the ?iphoneUseDeviceResolution? property to true. However, with the changes made in 6.5 Android developers needed a similar feature to iOS. So, to turn off automatic scaling on a high-density display you can set the pixelScale to ?1.0?. *Getting this release* To upgrade to this release please select "check for updates" from the help menu in LiveCode or download the installers directly at: http://downloads.livecode.com/livecode/6_5_1/ Warm regards, The LiveCode Team From roger.e.eller at sealedair.com Thu Dec 19 13:55:34 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Thu, 19 Dec 2013 13:55:34 -0500 Subject: Kiosk mode in Android In-Reply-To: <54818AC5-BD60-4D4A-BA71-E8BF59F6917E@m-r-d.de> References: <54818AC5-BD60-4D4A-BA71-E8BF59F6917E@m-r-d.de> Message-ID: Unless you create a custom ROM that only contains your app, the best you can do is try to make it impossible to access home with modified timers, etc. This example quickly returns to the main app if a user tries to navigate away. http://www.basic4ppc.com/android/forum/threads/android-kiosk-mode-tutorial.10839/ ~Roger On Wed, Dec 18, 2013 at 4:46 PM, Matthias Rebbe < matthias_livecode_150811 at m-r-d.de> wrote: > Hi, > > does anyone if it?s possible to create a kiosk app for Android in LC? > > I can trap the backkey, but how to trap the home key? > > I know, it?s possible to make an app the "Home screen app". > But is this also possible with LC? > > Regards, > > Matthias > > > > Matthias Rebbe > Tel: +49 5741 310000 > +49 160 5504462 > eMail: matthias underscore livecode underscore 150811 at m dash r dash d > dot de > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From prothero at earthednet.org Thu Dec 19 14:46:46 2013 From: prothero at earthednet.org (prothero at earthednet.org) Date: Thu, 19 Dec 2013 11:46:46 -0800 Subject: Auto updating to Write Restricted Folders In-Reply-To: <1387468314925-4673908.post@n4.nabble.com> References: <1387468314925-4673908.post@n4.nabble.com> Message-ID: Folks: I'm also very interested in this. Normally, adding software to the Applications folder requires an administrator password. A dialog box would come up, but I'm curious how others handle this and if a download to the Applications folder is attempted, whether a dialog asking for an administrative password will come up. Best, Bill William Prothero http://es.earthednet.org On Dec 19, 2013, at 7:51 AM, tbodine wrote: > Hi all. > > I'm implementing an auto-update feature for the first time and have a newbie > question about it. > > If the user installed the original in Program Files or, on Mac in > Applications, then is auto-update doomed to fail when modern OSes enforce > write restrictions to these areas? > > I realize I could stick the program in App Data and update that, but what's > the point of Program Files/Applications then? > > Any pointers on auto-update for a Livecode desktop program are most welcome! > > Thanks, > Tom Bodine > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Auto-updating-to-Write-Restricted-Folders-tp4673908.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From harrison at all-auctions.com Thu Dec 19 15:05:00 2013 From: harrison at all-auctions.com (Rick Harrison) Date: Thu, 19 Dec 2013 15:05:00 -0500 Subject: Players and Sounds - stuff you might want to know In-Reply-To: References: Message-ID: <182955DE-03B5-47BE-8A0D-B392AF7329E6@all-auctions.com> Hi Graham, Ooo, I really like the substack play sound approach with the substack being invisible. That should be a big help! Thanks, Rick On Dec 19, 2013, at 10:00 AM, Graham Samuel wrote: > > > 4. When you start a sound playing with a player, it will continue until it stops naturally (i.e. at the end of the file, unless it loops) **provided** you don't switch cards. If you do, playing immediately stops. If you want to have a sound playing while cards change, then put your player on a card in a substack which is remains open at the card containing the player (the stack doesn't have to be visible). > > 5. If you adopt the method in (4) above, you must make sure that your substack containing players is actually open at the right card before you start trying to run a player. Just writing into a player in the substack (for example by setting the 'filename' property of a player in it) doesn't open it. If you try to play from an unopened card, the attempt to play will silently fail. If you try the same thing in the IDE, you won't get the failure, presumably because the IDE opens all the substacks in your project without an explicit 'go' from you. Like all "works in the IDE, doesn't work in the standalone" issues, I find it very confusing. > > ... > HTH > > Graham > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From harrison at all-auctions.com Thu Dec 19 15:23:17 2013 From: harrison at all-auctions.com (Rick Harrison) Date: Thu, 19 Dec 2013 15:23:17 -0500 Subject: Animation Nightmares In-Reply-To: References: <816300FC-CD6B-4322-9414-4996FCA1D76A@major-k.de> Message-ID: <507C0004-4906-49EC-97F7-E2A7A3846F6B@all-auctions.com> Hi there, Ok, so I?ve done a bunch of playing around with attempts at background animation and I?m running into the following problems. I started out with 3 separate animations. Each one was fairly large. Animation 1 was 241 frames minimum. Animation 2 was 455 frames, and Animation 3 was 447 frames. This was an important first step even though it presented some performance issues on an iOS device. Load time was 40 seconds = unacceptable. So then I captured the minimum number of frames that I needed to make it still work which was unfortunately still 241 frames. At least now it combined all three animations into one larger screen size. I had a savings of over 50%. Load time = 19 seconds. The problem was that this animation occurs only on one card and after going to another card and trying to come back to it again takes another 19 seconds to load that card. This is still unacceptable for a wait time. I thought about putting one image on each card so the load time for each card would drop by a factor of 240. The animation screams performance wise, and the load time for each card is great too. Now I?m stuck with how I?m going to do my overlaying sprite animations now that each card is changing in milliseconds. Do I have to copy each sprite to each card? I?ll have to manage all my control at the stack level instead of at the card level. This seems to be turning into a nightmare for me, and it occurred to me that surely others have gone down this same path before. Suggestions? Thanks in advance! Rick From monte at sweattechnologies.com Thu Dec 19 15:33:39 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 20 Dec 2013 07:33:39 +1100 Subject: Auto updating to Write Restricted Folders In-Reply-To: References: <1387468314925-4673908.post@n4.nabble.com> Message-ID: App updating is #326 of the interesting things I've found out about while working with Trevor. While the GLX framework has updating mechanisms built in Trevor has moved away from them because of all the permissions headaches. On Windows we now download an installer and run it. On Mac we have implemented the Sparkle framework (which I will release via mergExt early next year). Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From klaus at major-k.de Thu Dec 19 15:52:25 2013 From: klaus at major-k.de (Klaus major-k) Date: Thu, 19 Dec 2013 21:52:25 +0100 Subject: Auto updating to Write Restricted Folders In-Reply-To: References: <1387468314925-4673908.post@n4.nabble.com> Message-ID: Hi Monte, Am 19.12.2013 um 21:33 schrieb Monte Goulding : > ... On Mac we have implemented the Sparkle framework (which I will release via mergExt early next year). Wow, way cool, man! :-) > Cheers > > -- > Monte Goulding Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From ambassador at fourthworld.com Thu Dec 19 15:57:25 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 19 Dec 2013 12:57:25 -0800 Subject: MySQL vs Joomla/Drupal/Wordpress re GPL requirements Message-ID: <52B35DB5.90906@fourthworld.com> This is more than a bit TL/DR, but those interested in GPL licensing may find it interesting, and replies that can cite legal precedent or any other authoritative source would be most welcome. Here's the scenario: Suppose I want to distribute my own proprietary server product, and provide a component that interfaces with MySQL. I'm not distributing MySQL itself, just my LiveCode scripts and the MySQL drivers included in the LiveCode package; the user would be required to set up MySQL on their own if they choose to use that data storage option. Since I'm not distributing MySQL itself, it's all good, right? We've talked this to death here a couple years ago, and some of us even contacted MySQL's owners for their position, so this would seem a done deal.... Well, in another corner of the GPL world I've stumbled across a storm of controversy which raises questions about that common interpretation: Like MySQL, Joomla is also licensed under the GPL, and for many years their interpretation of the license was like that of the common understanding with MySQL: as long as you're not distributing the core system along with your proprietary work that relies on it, it's okay to use any license you like for your work, even one that's incompatible with the GPL. However, a few years ago the Joomla team changed their interpretation of the license. The license itself didn't change - it was and still is GPL 2.0. What changed is their *interpretation* of the license, so that they've now joined the WordPress and Drupal teams in interpreting the GPL to consider add-ons like themes and plugins as "derivative works" which therefore inherit the GPL license requirement. Even if you write completely original code, merely making API calls to the Joomla, WordPress, or Drupal frameworks, those projects consider such calls to constitute a "derivative work": WordPress: "There is some legal grey area regarding what is considered a derivative work, but we feel strongly that plugins and themes are derivative work and thus inherit the GPL license." Drupal: "If I write a module or theme, do I have to license it under the GPL? Yes. Drupal modules and themes are a derivative work of Drupal. If you distribute them, you must do so under the terms of the GPL version 2 or later." Obviously this is an issue in those communities since there are many developers who sell proprietary add-ons for them, though interestingly I don't believe any of those projects have asserted their copyright in court against those developers. With Joomla the problem was even more significant because they'd earlier interpreted the GPL in a way that allowed proprietary add-ons, later changing to consider them derivative works like WordPress and Drupal do, leaving some developers in a lurch. Arguments favoring those projects' interpretation of the GPL often point to this section of the GPL FAQ: What is the difference between ?mere aggregation? and ?combining two modules into one program?? You can read that and the rest of the FAQ there, but in brief that section includes a few loosely-defined scenarios describing which types of code interaction may be viewed as "mere aggregation" or "derivative works". But the meat of it is: What constitutes combining two parts into one program? This is a legal question, which ultimately judges will decide. So even the Free Software Foundation throws their hands up at the daunting prospect of attempting to define when co-mingled code is "mere aggregation". This seems a wise decision on their part, because given the range of all possible current and future ways code may interact at runtime, it would be impractical to attempt any specific definition. Most importantly, there are no such specific distinctions in the GPL itself: As our own Dr. Hawkins, an attorney with IP experience, has noted on this list earlier: It's not the explicit intentions, it's the drafting: your time to craft what you want when you write it; you don't get to add notions or refinements later. That seems a reasonable position; consider this scenario: I distribute a software to you accompanied by a license. You read the license, find its terms acceptable, and use the software. Later, my friend Steve, who happens to be the one who wrote the license, makes a blog post claiming that his intention with the license was that use of any software governed by it requires a $50,000 fee in addition to any other costs for the software. Exercise for the reader: find a court that will allow me to collect $50,000 from you under those terms not present in the actual license I included with the work. :) Given all this, it would seem at least one of the following is true: a) The legal counsel for the Joomla, Drupal, and WordPress projects are wrong, - or - b) The common understanding that the GPL does not apply to proprietary server products that directly use MySQL's APIs, but do not redistribute MySQL itself, is wrong, - or - c) Both *may* be correct at some unknowable future time after a judge has patiently and thoroughly defined the specific ways code can co-mingle at runtime to distinguish between "derivative works" and "mere aggregation", and happens to arrive at a set of definitions which favors both camps. Is there a fourth option I've overlooked? As far as I know, while the GPL has prevailed in a good many court cases, this specific issue has never been tested in court. And although Oracle once told me the same as they've told others, should a judge ever find in favor of Joomla/Drupal/WordPress in a way that Larry Ellison could use to make money, I'd wager he would. Of course I'm not an attorney, and none of this should be misconstrued as legal advice. I'm just a humble caveman developer; the ways of your attorneys frighten and confuse me. :) But speaking for myself only, until I can find clear legal precedent on this, I'm erring on the conservative side, only interfacing with any GPL-governed work within a server-side product via GPL-governed code. Am I being too conservative? On what legal basis could I have complete confidence in any other position? -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From harrison at all-auctions.com Thu Dec 19 16:19:36 2013 From: harrison at all-auctions.com (Rick Harrison) Date: Thu, 19 Dec 2013 16:19:36 -0500 Subject: Animation Nightmares In-Reply-To: <507C0004-4906-49EC-97F7-E2A7A3846F6B@all-auctions.com> References: <816300FC-CD6B-4322-9414-4996FCA1D76A@major-k.de> <507C0004-4906-49EC-97F7-E2A7A3846F6B@all-auctions.com> Message-ID: <12A87093-9C5F-4CC7-A0D5-1F4E9DE181AC@all-auctions.com> Hi again, Hmm, now I starting to think about using group level objects for my overlying animations. They are supposed to go from card to card? Yes? I can?t find the property to make it stick around though. Also I wondered about using the blend of a sub-stack over the background animation stack. That approach might also work. Thanks for any suggestions. Rick On Dec 19, 2013, at 3:23 PM, Rick Harrison wrote: > Hi there, > > Ok, so I?ve done a bunch of playing around with > attempts at background animation and I?m running > into the following problems. > > I started out with 3 separate animations. Each one > was fairly large. Animation 1 was 241 frames > minimum. Animation 2 was 455 frames, and > Animation 3 was 447 frames. This was an > important first step even though it presented > some performance issues on an iOS device. > > Load time was 40 seconds = unacceptable. > > So then I captured the minimum number of > frames that I needed to make it still work which > was unfortunately still 241 frames. At least > now it combined all three animations into one > larger screen size. I had a savings of over 50%. > > Load time = 19 seconds. > > The problem was that this animation occurs only > on one card and after going to another card > and trying to come back to it again takes another > 19 seconds to load that card. This is still > unacceptable for a wait time. > > I thought about putting one image on > each card so the load time for each card > would drop by a factor of 240. The animation > screams performance wise, and the load > time for each card is great too. > > Now I?m stuck with how I?m going to do my > overlaying sprite animations now that each card is > changing in milliseconds. Do I have to copy each > sprite to each card? I?ll have to manage all my > control at the stack level instead of at the card > level. This seems to be turning into a nightmare > for me, and it occurred to me that surely others > have gone down this same path before. > > Suggestions? > > Thanks in advance! > > Rick > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From scott at tactilemedia.com Thu Dec 19 16:29:18 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 19 Dec 2013 13:29:18 -0800 Subject: Animation Nightmares In-Reply-To: <12A87093-9C5F-4CC7-A0D5-1F4E9DE181AC@all-auctions.com> References: <816300FC-CD6B-4322-9414-4996FCA1D76A@major-k.de> <507C0004-4906-49EC-97F7-E2A7A3846F6B@all-auctions.com> <12A87093-9C5F-4CC7-A0D5-1F4E9DE181AC@all-auctions.com> Message-ID: Rick: If I understand what your saying, I don't believe it's possible to display 2 stacks at once on mobile (no substack on top of a mainstack). At least things used to be this way. For groups, I believe you're looking for the backgroundBehavior property, which I think should get set automatically if you place a group on more than one card. What other options have you tried besides placing all images on one card, and each image on its own card? Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 12/19/13 1:19 PM, "Rick Harrison" wrote: >Hi again, > >Hmm, now I starting to think about using >group level objects for my overlying >animations. They are supposed to >go from card to card? Yes? I can?t >find the property to make it stick >around though. > >Also I wondered about using the >blend of a sub-stack over the >background animation stack. >That approach might also work. > >Thanks for any suggestions. > >Rick > > > >On Dec 19, 2013, at 3:23 PM, Rick Harrison >wrote: > >> Hi there, >> >> Ok, so I?ve done a bunch of playing around with >> attempts at background animation and I?m running >> into the following problems. >> >> I started out with 3 separate animations. Each one >> was fairly large. Animation 1 was 241 frames >> minimum. Animation 2 was 455 frames, and >> Animation 3 was 447 frames. This was an >> important first step even though it presented >> some performance issues on an iOS device. >> >> Load time was 40 seconds = unacceptable. >> >> So then I captured the minimum number of >> frames that I needed to make it still work which >> was unfortunately still 241 frames. At least >> now it combined all three animations into one >> larger screen size. I had a savings of over 50%. >> >> Load time = 19 seconds. >> >> The problem was that this animation occurs only >> on one card and after going to another card >> and trying to come back to it again takes another >> 19 seconds to load that card. This is still >> unacceptable for a wait time. >> >> I thought about putting one image on >> each card so the load time for each card >> would drop by a factor of 240. The animation >> screams performance wise, and the load >> time for each card is great too. >> >> Now I?m stuck with how I?m going to do my >> overlaying sprite animations now that each card is >> changing in milliseconds. Do I have to copy each >> sprite to each card? I?ll have to manage all my >> control at the stack level instead of at the card >> level. This seems to be turning into a nightmare >> for me, and it occurred to me that surely others >> have gone down this same path before. >> >> Suggestions? >> >> Thanks in advance! >> >> Rick >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >>subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode > From devin_asay at byu.edu Thu Dec 19 16:36:02 2013 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 19 Dec 2013 21:36:02 +0000 Subject: Animation Nightmares In-Reply-To: <507C0004-4906-49EC-97F7-E2A7A3846F6B@all-auctions.com> References: <816300FC-CD6B-4322-9414-4996FCA1D76A@major-k.de> <507C0004-4906-49EC-97F7-E2A7A3846F6B@all-auctions.com> Message-ID: <0D56DF72-F3AA-4243-8D99-A4A52748C5AD@byu.edu> Rick, Are you by any chance using image objects with their resizeQuality set to Best? In my experience these load REEALLY slowly on mobile. Try setting image resizeQuality to Normal or Good. HTH Devin On Dec 19, 2013, at 1:23 PM, Rick Harrison wrote: > Hi there, > > Ok, so I?ve done a bunch of playing around with > attempts at background animation and I?m running > into the following problems. > > I started out with 3 separate animations. Each one > was fairly large. Animation 1 was 241 frames > minimum. Animation 2 was 455 frames, and > Animation 3 was 447 frames. This was an > important first step even though it presented > some performance issues on an iOS device. > > Load time was 40 seconds = unacceptable. > > So then I captured the minimum number of > frames that I needed to make it still work which > was unfortunately still 241 frames. At least > now it combined all three animations into one > larger screen size. I had a savings of over 50%. > > Load time = 19 seconds. > > The problem was that this animation occurs only > on one card and after going to another card > and trying to come back to it again takes another > 19 seconds to load that card. This is still > unacceptable for a wait time. > > I thought about putting one image on > each card so the load time for each card > would drop by a factor of 240. The animation > screams performance wise, and the load > time for each card is great too. > > Now I?m stuck with how I?m going to do my > overlaying sprite animations now that each card is > changing in milliseconds. Do I have to copy each > sprite to each card? I?ll have to manage all my > control at the stack level instead of at the card > level. This seems to be turning into a nightmare > for me, and it occurred to me that surely others > have gone down this same path before. > > Suggestions? > > Thanks in advance! > > Rick > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode Devin Asay Learn to code with LiveCode University http://university.livecode.com From harrison at all-auctions.com Thu Dec 19 16:43:57 2013 From: harrison at all-auctions.com (Rick Harrison) Date: Thu, 19 Dec 2013 16:43:57 -0500 Subject: Animation Nightmares In-Reply-To: References: <816300FC-CD6B-4322-9414-4996FCA1D76A@major-k.de> <507C0004-4906-49EC-97F7-E2A7A3846F6B@all-auctions.com> <12A87093-9C5F-4CC7-A0D5-1F4E9DE181AC@all-auctions.com> Message-ID: <835A5776-7B5A-4BFC-BC9A-750D2B080992@all-auctions.com> Hi Scott, Thanks for getting back to me so quickly! The substack thing might not work, but it might be worth trying since that test would only be about 10 minutes of my time. I?ll have to research the group idea more. It still isn?t remaining from card to card if I place it on more than one. I looked at the behave like a background option. All the images are in GIF format so I don?t think compressing them more would help much. Other than all images on one card or each image on a separate card I?m out of ideas. Suggestions? Rick On Dec 19, 2013, at 4:29 PM, Scott Rossi wrote: > Rick: > > If I understand what your saying, I don't believe it's possible to display > 2 stacks at once on mobile (no substack on top of a mainstack). At least > things used to be this way. > > For groups, I believe you're looking for the backgroundBehavior property, > which I think should get set automatically if you place a group on more > than one card. > > What other options have you tried besides placing all images on one card, > and each image on its own card? > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design From harrison at all-auctions.com Thu Dec 19 16:46:34 2013 From: harrison at all-auctions.com (Rick Harrison) Date: Thu, 19 Dec 2013 16:46:34 -0500 Subject: Animation Nightmares In-Reply-To: <0D56DF72-F3AA-4243-8D99-A4A52748C5AD@byu.edu> References: <816300FC-CD6B-4322-9414-4996FCA1D76A@major-k.de> <507C0004-4906-49EC-97F7-E2A7A3846F6B@all-auctions.com> <0D56DF72-F3AA-4243-8D99-A4A52748C5AD@byu.edu> Message-ID: <9F5323C2-5321-40F0-A7A4-6F0D88E600BB@all-auctions.com> Hi Devin, I?ll check on the reSizeQuality, but I?m not resizing the images. They are exactly the size they are supposed to be so I wouldn?t tax the power of the device. Thanks, Rick On Dec 19, 2013, at 4:36 PM, Devin Asay wrote: > Rick, > > Are you by any chance using image objects with their resizeQuality set to Best? In my experience these load REEALLY slowly on mobile. Try setting image resizeQuality to Normal or Good. > > HTH > > Devin > > On Dec 19, 2013, at 1:23 PM, Rick Harrison wrote: > >> Hi there, >> >> Ok, so I?ve done a bunch of playing around with >> attempts at background animation and I?m running >> into the following problems. >> >> I started out with 3 separate animations. Each one >> was fairly large. Animation 1 was 241 frames >> minimum. Animation 2 was 455 frames, and >> Animation 3 was 447 frames. This was an >> important first step even though it presented >> some performance issues on an iOS device. >> >> Load time was 40 seconds = unacceptable. >> >> So then I captured the minimum number of >> frames that I needed to make it still work which >> was unfortunately still 241 frames. At least >> now it combined all three animations into one >> larger screen size. I had a savings of over 50%. >> >> Load time = 19 seconds. >> >> The problem was that this animation occurs only >> on one card and after going to another card >> and trying to come back to it again takes another >> 19 seconds to load that card. This is still >> unacceptable for a wait time. >> >> I thought about putting one image on >> each card so the load time for each card >> would drop by a factor of 240. The animation >> screams performance wise, and the load >> time for each card is great too. >> >> Now I?m stuck with how I?m going to do my >> overlaying sprite animations now that each card is >> changing in milliseconds. Do I have to copy each >> sprite to each card? I?ll have to manage all my >> control at the stack level instead of at the card >> level. This seems to be turning into a nightmare >> for me, and it occurred to me that surely others >> have gone down this same path before. >> >> Suggestions? >> >> Thanks in advance! >> >> Rick >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > Devin Asay > Learn to code with LiveCode University > http://university.livecode.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From devin_asay at byu.edu Thu Dec 19 16:55:19 2013 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 19 Dec 2013 21:55:19 +0000 Subject: Animation Nightmares In-Reply-To: <9F5323C2-5321-40F0-A7A4-6F0D88E600BB@all-auctions.com> References: <816300FC-CD6B-4322-9414-4996FCA1D76A@major-k.de> <507C0004-4906-49EC-97F7-E2A7A3846F6B@all-auctions.com> <0D56DF72-F3AA-4243-8D99-A4A52748C5AD@byu.edu> <9F5323C2-5321-40F0-A7A4-6F0D88E600BB@all-auctions.com> Message-ID: On Dec 19, 2013, at 2:46 PM, Rick Harrison wrote: > Hi Devin, > > I?ll check on the reSizeQuality, but I?m not > resizing the images. They are exactly the > size they are supposed to be so I wouldn?t > tax the power of the device. I'm not sure it matters whether you are actually resizing the image; just which resizeQuality setting is active. D Devin Asay Learn to code with LiveCode University http://university.livecode.com From matthias_livecode_150811 at m-r-d.de Thu Dec 19 17:34:34 2013 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Thu, 19 Dec 2013 23:34:34 +0100 Subject: Kiosk mode in Android In-Reply-To: References: <54818AC5-BD60-4D4A-BA71-E8BF59F6917E@m-r-d.de> Message-ID: <76270B58-C3A4-402E-968C-8300D1716DC4@m-r-d.de> Roger, many thanks for your reply and that link. Looks really interesting. Regards, Matthias Am 19.12.2013 um 19:55 schrieb Roger Eller : > Unless you create a custom ROM that only contains your app, the best you > can do is try to make it impossible to access home with modified timers, > etc. This example quickly returns to the main app if a user tries to > navigate away. > > http://www.basic4ppc.com/android/forum/threads/android-kiosk-mode-tutorial.10839/ > > ~Roger > > On Wed, Dec 18, 2013 at 4:46 PM, Matthias Rebbe < > matthias_livecode_150811 at m-r-d.de> wrote: > >> Hi, >> >> does anyone if it?s possible to create a kiosk app for Android in LC? >> >> I can trap the backkey, but how to trap the home key? >> >> I know, it?s possible to make an app the "Home screen app". >> But is this also possible with LC? >> >> Regards, >> >> Matthias >> >> >> >> Matthias Rebbe >> Tel: +49 5741 310000 >> +49 160 5504462 >> eMail: matthias underscore livecode underscore 150811 at m dash r dash d >> dot de >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode Matthias Rebbe Tel: +49 5741 310000 +49 160 5504462 eMail: matthias underscore livecode underscore 150811 at m dash r dash d dot de From dochawk at gmail.com Thu Dec 19 18:21:26 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 19 Dec 2013 15:21:26 -0800 Subject: MySQL vs Joomla/Drupal/Wordpress re GPL requirements In-Reply-To: <52B35DB5.90906@fourthworld.com> References: <52B35DB5.90906@fourthworld.com> Message-ID: I don't think that using a database would be comparable to plugins for a program (or kernel, or . . .). You are creating a program that talks to the MySQL program. It could just as easily talk to another program. Such concerns, though, are one of the reasons I chose postgreSQL with it's freer license . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From bobsneidar at iotecdigital.com Thu Dec 19 19:58:52 2013 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 20 Dec 2013 00:58:52 +0000 Subject: MySQL vs Joomla/Drupal/Wordpress re GPL requirements - Found word(s) make money in the Text body In-Reply-To: References: Message-ID: <1D005486-D06D-422C-9E8F-47213506FE1C@iotecdigital.com> By that interpretation, every backend integration project that accessed a mySQL database would have to pay back royalties. That will never fly in a court of law. The question is, are you prepared to defend your position should it come to blows (legally speaking of course). Bob On Dec 19, 2013, at 12:57 , Richard Gaskin > wrote: However, a few years ago the Joomla team changed their interpretation of the license. The license itself didn't change - it was and still is GPL 2.0. What changed is their *interpretation* of the license, so that they've now joined the WordPress and Drupal teams in interpreting the GPL to consider add-ons like themes and plugins as "derivative works" which therefore inherit the GPL license requirement. Even if you write completely original code, merely making API calls to the Joomla, WordPress, or Drupal frameworks, those projects consider such calls to constitute a "derivative work": From capellan2000 at gmail.com Thu Dec 19 20:24:26 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Thu, 19 Dec 2013 17:24:26 -0800 (PST) Subject: =?UTF-8?Q?Re:_Eric_Chatonet=C2=B4s_website?= In-Reply-To: <9B8C63B3-736F-431A-9D4C-9EB6A8F6D977@m-r-d.de> References: <1387046181410-4673738.post@n4.nabble.com> <003101cefa33$31f44050$95dcc0f0$@de> <9B8C63B3-736F-431A-9D4C-9EB6A8F6D977@m-r-d.de> Message-ID: <1387502666909-4673927.post@n4.nabble.com> Matthias Rebbe-2 wrote > [snip] > But i have here an archive of all his tools and tutorials. > So if you are interested in one of them, then just send me > an private email and i will send it to you. Many Thanks, Matthias! I will check the archived site first and will look for the stacks that I have already among my archives. If I found one missing, I will write you. Could be possible to upload them to revOnline, for the benefit of all newcomers? Have a nice week! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Eric-Chatonet-s-website-tp4673738p4673927.html Sent from the Revolution - User mailing list archive at Nabble.com. From capellan2000 at gmail.com Thu Dec 19 21:12:00 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Thu, 19 Dec 2013 18:12:00 -0800 (PST) Subject: Animation Nightmares In-Reply-To: <835A5776-7B5A-4BFC-BC9A-750D2B080992@all-auctions.com> References: <816300FC-CD6B-4322-9414-4996FCA1D76A@major-k.de> <507C0004-4906-49EC-97F7-E2A7A3846F6B@all-auctions.com> <12A87093-9C5F-4CC7-A0D5-1F4E9DE181AC@all-auctions.com> <835A5776-7B5A-4BFC-BC9A-750D2B080992@all-auctions.com> Message-ID: <1387505520930-4673928.post@n4.nabble.com> Hi Rick, Scott is correct about using your animated gif (probably sprites) within a Background group, visible from all cards. By the way, recently, Scott posted this stack that shows how to animate an image using custom properties: go url "http://dl.dropbox.com/s/nmgwv1zqzvu5hqx/framebyframe.livecode" Did you already tested this technique? Have a nice day! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Players-and-Sounds-stuff-you-might-want-to-know-tp4673905p4673928.html Sent from the Revolution - User mailing list archive at Nabble.com. From lfredricks at proactive-intl.com Fri Dec 20 01:36:55 2013 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Thu, 19 Dec 2013 22:36:55 -0800 Subject: MySQL vs Joomla/Drupal/Wordpress re GPL requirements In-Reply-To: <52B35DB5.90906@fourthworld.com> References: <52B35DB5.90906@fourthworld.com> Message-ID: <2CFD4944F30344FB94DE6E742C8F8DB6@GATEWAY> > But speaking for myself only, until I can find clear legal > precedent on this, I'm erring on the conservative side, only > interfacing with any GPL-governed work within a server-side > product via GPL-governed code. > > Am I being too conservative? On what legal basis could I > have complete confidence in any other position? When it comes to IP, I don't think you can have complete confidence in any position outside of sticking a finger in and guessing the direction of the tide. I think this case is going to ultimately give us a direction: http://en.wikipedia.org/wiki/Oracle_v._Google This part especially: ' However, on the primary copyright issue of the APIs, the court ruled that "So long as the specific code used to implement a method is different, anyone is free under the Copyright Act to write his or her own code to carry out exactly the same function or specification of any methods used in the Java API. It does not matter that the declaration or method header lines are identical." The ruling found that the structure Oracle was claiming was not copyrightable under section 102(b) of the Copyright Act because it was a "system or method of operation." ' Which of course makes a lot of sense. What I find more concerning are patent claims. Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From dave at applicationinsight.com Fri Dec 20 04:10:59 2013 From: dave at applicationinsight.com (Dave Kilroy) Date: Fri, 20 Dec 2013 01:10:59 -0800 (PST) Subject: Animation Nightmares In-Reply-To: <1387505520930-4673928.post@n4.nabble.com> References: <816300FC-CD6B-4322-9414-4996FCA1D76A@major-k.de> <507C0004-4906-49EC-97F7-E2A7A3846F6B@all-auctions.com> <12A87093-9C5F-4CC7-A0D5-1F4E9DE181AC@all-auctions.com> <835A5776-7B5A-4BFC-BC9A-750D2B080992@all-auctions.com> <1387505520930-4673928.post@n4.nabble.com> Message-ID: <1387530659223-4673930.post@n4.nabble.com> Hi Alejandro, gosh that animation technique of Scott's is damned clever! ----- "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Players-and-Sounds-stuff-you-might-want-to-know-tp4673905p4673930.html Sent from the Revolution - User mailing list archive at Nabble.com. From coiin at verizon.net Fri Dec 20 05:37:46 2013 From: coiin at verizon.net (Colin Holgate) Date: Fri, 20 Dec 2013 10:37:46 +0000 Subject: Kiosk mode in Android In-Reply-To: <76270B58-C3A4-402E-968C-8300D1716DC4@m-r-d.de> References: <54818AC5-BD60-4D4A-BA71-E8BF59F6917E@m-r-d.de> <76270B58-C3A4-402E-968C-8300D1716DC4@m-r-d.de> Message-ID: iOS has a kiosk mode, so it?s worth keeping an eye on Android OS, no doubt it will get such a mode at some point. Meanwhile, if you don?t want to figure out all of the things to lock out yourself, you could look at this app: https://play.google.com/store/apps/details?id=com.gears42.surelock&hl=en It locks down the system, but still allows specified apps to work. From matthias_livecode_150811 at m-r-d.de Fri Dec 20 06:02:26 2013 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Fri, 20 Dec 2013 12:02:26 +0100 Subject: Kiosk mode in Android In-Reply-To: References: <54818AC5-BD60-4D4A-BA71-E8BF59F6917E@m-r-d.de> <76270B58-C3A4-402E-968C-8300D1716DC4@m-r-d.de> Message-ID: Thanks, Colin! I will look at it. Matthias Am 20.12.2013 um 11:37 schrieb Colin Holgate : > iOS has a kiosk mode, so it?s worth keeping an eye on Android OS, no doubt it will get such a mode at some point. > > Meanwhile, if you don?t want to figure out all of the things to lock out yourself, you could look at this app: > > https://play.google.com/store/apps/details?id=com.gears42.surelock&hl=en > > It locks down the system, but still allows specified apps to work. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode Matthias Rebbe Tel: +49 5741 310000 +49 160 5504462 eMail: matthias underscore livecode underscore 150811 at m dash r dash d dot de From effendi at wanadoo.fr Fri Dec 20 06:17:15 2013 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Fri, 20 Dec 2013 12:17:15 +0100 Subject: Players and Sounds - stuff you might want to know Message-ID: Hi from Beautiful Brittany, I was surprised when I read (2) of Grahams "stuff", because I noticed that my player continues when I move to another card, so I investigated. My tests were limited to the IDE mode ! I found that I can go to another card in the stack IF the card has the same background, and the player item is part of that background. If I go to a card (such as a stack header card) with no background, the player stops. I can execute commands to go to another card by button, or by entering the command manually, as long as the indicated card has the same background. Does this sound logical ? Can't say, but that's what I found. I don't have my player in a substack, and have been playing MP3 tracks in many stacks for some years, and have never had any problems. I was surprised at the wealth of comments on this subject, as I wrote my code in 5 minutes and it worked without any hassle. I can show my simple code if requested. Best Regards -Francis "Nothing should ever be done for the first time". From richmondmathewson at gmail.com Fri Dec 20 06:25:11 2013 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 20 Dec 2013 13:25:11 +0200 Subject: [OT] I wonder. Message-ID: <52B42917.3030502@gmail.com> http://hammer-language.com/ and http://stacksmith.org/ (they go together) worth a look, and a lot less bloody than Danton's head. Richmond. From m.schonewille at economy-x-talk.com Fri Dec 20 06:36:57 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 20 Dec 2013 12:36:57 +0100 Subject: [OT] I wonder. In-Reply-To: <52B42917.3030502@gmail.com> References: <52B42917.3030502@gmail.com> Message-ID: <0604184F-65F3-409A-80EC-0B428191B75A@economy-x-talk.com> Hi Richmond, As I already wrote at https://www.facebook.com/groups/runrev/permalink/10151894065103068/ there's no "Downloads" section. During the past decade, many "initiatives" popped up, which promised a lot and then disappeared without a trace. Don't hold your breath. -- 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 20 dec 2013, at 12:25, Richmond wrote: > http://hammer-language.com/ > > and > > http://stacksmith.org/ > > (they go together) > > worth a look, and a lot less bloody than Danton's head. > > Richmond. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dave at applicationinsight.com Fri Dec 20 06:50:27 2013 From: dave at applicationinsight.com (Dave Kilroy) Date: Fri, 20 Dec 2013 03:50:27 -0800 (PST) Subject: Your iOS Distribution Certificate will expire in 30 days. Message-ID: <1387540227036-4673936.post@n4.nabble.com> Hi, is it just me who finds Apple's guidance confusing? What do other people do? Let the distribution certificate expire and then refresh/renew it? Or revoke it early and generate a new one? Kind regards Dave ----- "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Your-iOS-Distribution-Certificate-will-expire-in-30-days-tp4673936.html Sent from the Revolution - User mailing list archive at Nabble.com. From richmondmathewson at gmail.com Fri Dec 20 06:52:40 2013 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 20 Dec 2013 13:52:40 +0200 Subject: [OT] I wonder. In-Reply-To: <0604184F-65F3-409A-80EC-0B428191B75A@economy-x-talk.com> References: <52B42917.3030502@gmail.com> <0604184F-65F3-409A-80EC-0B428191B75A@economy-x-talk.com> Message-ID: <52B42F88.8020503@gmail.com> On 20/12/13 13:36, Mark Schonewille wrote: > Hi Richmond, > > As I already wrote at https://www.facebook.com/groups/runrev/permalink/10151894065103068/ there's no "Downloads" section. During the past decade, many "initiatives" popped up, which promised a lot and then disappeared without a trace. Don't hold your breath. Here: http://stacksmith.org/ (the second URL) there is a way to download the code and attempt to build it. Always good to check everything (meaning in this case both URLs) before jumping to concs. Richmond. > -- > 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 20 dec 2013, at 12:25, Richmond wrote: > >> http://hammer-language.com/ >> >> and >> >> http://stacksmith.org/ >> >> (they go together) >> >> worth a look, and a lot less bloody than Danton's head. >> >> Richmond. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From livfoss at mac.com Fri Dec 20 07:07:51 2013 From: livfoss at mac.com (Graham Samuel) Date: Fri, 20 Dec 2013 13:07:51 +0100 Subject: Players and Sounds - stuff you might want to know In-Reply-To: References: Message-ID: <1FE51634-148B-464F-BA96-17AF78C5E1D7@mac.com> Hi Francis What one finds in discussions like this is that different people have very different styles of programming, and of course different aims in the projects they get involved in, so one person's "it was easy" doesn't necessarily work for someone else. I must say when I started out with the idea of using MP3s, I thought I could just do a simple 'play' without creating my own player, and the whole job would be done in 5 minutes, as you say. That turned out to be a no-no (I really didn't want to know about players in this case since they have a rich functionality which is wasted on me), and then I stumbled across all sorts of gotchas that I never would have imagined. I hardly ever use backgrounds for example, so that exposed me to the "card switching" issue; I wanted to let the whole sound continue before any further script execution (which I guess you don't), so that got me into the "wait until the playing has stopped" issue. Etcetera. Frankly without a lot of help from the generous folk on this list, and some from RunRev itself, I would have remained thoroughly stuck. Anyway I'd love to see your code. If it's long, maybe you should email it to me off list, but if not, please just include it in your reply. Best Graham On 20 Dec 2013, at 12:17, Francis Nugent Dixon wrote: > Hi from Beautiful Brittany, > > I was surprised when I read (2) of Grahams "stuff", because > I noticed that my player continues when I move to another card, > so I investigated. My tests were limited to the IDE mode ! > > I found that I can go to another card in the stack IF the card > has the same background, and the player item is part of that > background. If I go to a card (such as a stack header card) > with no background, the player stops. I can execute commands > to go to another card by button, or by entering the command > manually, as long as the indicated card has the same background. > > Does this sound logical ? Can't say, but that's what I found. > > I don't have my player in a substack, and have been playing MP3 > tracks in many stacks for some years, and have never had any > problems. I was surprised at the wealth of comments on this > subject, as I wrote my code in 5 minutes and it worked without > any hassle. > > I can show my simple code if requested. > > Best Regards > > -Francis > > "Nothing should ever be done for the first time". > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From m.schonewille at economy-x-talk.com Fri Dec 20 07:08:14 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 20 Dec 2013 13:08:14 +0100 Subject: [OT] I wonder. In-Reply-To: <52B42F88.8020503@gmail.com> References: <52B42917.3030502@gmail.com> <0604184F-65F3-409A-80EC-0B428191B75A@economy-x-talk.com> <52B42F88.8020503@gmail.com> Message-ID: <9D38CDBB-9588-4CE3-9020-4FCB330758FC@economy-x-talk.com> Hi Richmond, Usually, I don't follow secondary links. If something isn't immediately available, I assume it doesn't exist. I don't have time to check out every next link. Web designers should take that into consideration, especially if they try to promote something. -- 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 20 dec 2013, at 12:52, Richmond wrote: > On 20/12/13 13:36, Mark Schonewille wrote: >> Hi Richmond, >> >> As I already wrote at https://www.facebook.com/groups/runrev/permalink/10151894065103068/ there's no "Downloads" section. During the past decade, many "initiatives" popped up, which promised a lot and then disappeared without a trace. Don't hold your breath. > > Here: http://stacksmith.org/ (the second URL) there is a way to download the code and attempt to build it. > > Always good to check everything (meaning in this case both URLs) before jumping to concs. > > Richmond. From richmondmathewson at gmail.com Fri Dec 20 07:17:39 2013 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 20 Dec 2013 14:17:39 +0200 Subject: [OT] I wonder. In-Reply-To: <9D38CDBB-9588-4CE3-9020-4FCB330758FC@economy-x-talk.com> References: <52B42917.3030502@gmail.com> <0604184F-65F3-409A-80EC-0B428191B75A@economy-x-talk.com> <52B42F88.8020503@gmail.com> <9D38CDBB-9588-4CE3-9020-4FCB330758FC@economy-x-talk.com> Message-ID: <52B43563.3080101@gmail.com> On 20/12/13 14:08, Mark Schonewille wrote: > Hi Richmond, > > Usually, I don't follow secondary links. If something isn't immediately available, I assume it doesn't exist. I don't have time to check out every next link. Web designers should take that into consideration, especially if they try to promote something. You are right about secondary links; except in this case I got to the Hammer site via the Stacksmith site, not the other way round. Richmond. > > -- > 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 20 dec 2013, at 12:52, Richmond wrote: > >> On 20/12/13 13:36, Mark Schonewille wrote: >>> Hi Richmond, >>> >>> As I already wrote at https://www.facebook.com/groups/runrev/permalink/10151894065103068/ there's no "Downloads" section. During the past decade, many "initiatives" popped up, which promised a lot and then disappeared without a trace. Don't hold your breath. >> Here: http://stacksmith.org/ (the second URL) there is a way to download the code and attempt to build it. >> >> Always good to check everything (meaning in this case both URLs) before jumping to concs. >> >> Richmond. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ben at runrev.com Fri Dec 20 09:43:47 2013 From: ben at runrev.com (Benjamin Beaumont) Date: Fri, 20 Dec 2013 14:43:47 +0000 Subject: RELEASE LiveCode 6.5.1 Message-ID: Dear List Members, We are pleased to announce the release of LiveCode 6.5.1. This is a stable release and recommended for all LiveCode users. *Release Contents* Control the screen pixel scaling. 26 bug fixes: *- 11564 - Italic text on Windows clips for certain fonts* - 11609 - Getting the rect of Android native controls returns empty rect - 11606 - Text wrapping and metrics issues. - 11604 - Image rotate, move, rotate resets image location to that of first rotation. - 11592 - Import / export snapshot not working on Windows & Linux - 11590 - Fullscreen stacks on multiple monitors always appear on the same screen. - 11586 - Android native controls are positioned incorrectly for certain fullscreen modes - 11572 - Certain iOS fonts clip vertically - 11571 - iPhoneUseDeviceResolution does not update the current pixelScale - 11568 - Bitmap effect colors are incorrect on iOS and Android - 11567 - Scaled OS themed parts render aren\'t filtered - 11563 - Drag-n-drop hotspot is in wrong location on OS X stack with menubar - 11560 - Fix graphical anomalies in outer glow effect - 11559 - Crash of standalone -ui mode and server engine on some Linux distributions - 11558 - Artefacts when drawing Windows checkmarks - 11553 - Fill overlaps borders for arcs - 11551 - Stacks with many referenced images can take a long time to save. - 11549 - Text fails to render if a single native encoded character is followed by a unicode character in a field in certain cases. - 11547 - Setting the textColor of a line in a field doesn\'t work - 11535 - Monospaced fonts do not have consistent character width. - 11528 - Gradient colors incorrect on Android - 11527 - Unicode text on Android clipped - 11513 - If a stack has font attributes set, then ideal text layout is not used in fullscreen mode. - 11507 - Prevent crash in revBrowser on OSX when there is no data source - 11505 - Multiply blend mode does not work correctly for graphic effects - 11447 - \'put the MCSSendString of\' crashes *pixelScale Property* We have added a new ?pixelScale? property (global) that allows you to control the density at which your stack is rendered. This property deprecates iphoneUseDeviceResolution. By default, LiveCode will automatically set the density of your stack to the density of the device it is running on. For example: - iPad (1.0) - iPad retina (2.0) In the example above, the height of the stack (in portrait) will report back at 1024 on both devices, even though the iPad retina has 2048 physical pixels. To access all the devices pixels in previous version of LiveCode you set the ?iphoneUseDeviceResolution? property to true. However, with the changes made in 6.5 Android developers needed a similar feature to iOS. So, to turn off automatic scaling on a high-density display you can set the pixelScale to ?1.0?. *Getting this release* To upgrade to this release please select "check for updates" from the help menu in LiveCode or download the installers directly at: http://downloads.livecode.com/livecode/6_5_1/ Warm regards, The LiveCode Team From richmondmathewson at gmail.com Fri Dec 20 09:49:26 2013 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 20 Dec 2013 16:49:26 +0200 Subject: Polling/probing the keyboard? Message-ID: <52B458F6.4030300@gmail.com> I have a North American English keyboard attached to my machine, but Dr Savov has a Russian one attached to his machine. I don't know what sort of keyboard and/or layout Dr Savov uses; but I would like my Livecode standalone to find out. Now I can use a script like this: send "mouseUp" to btn "BTTN" but I cannot do this: send "keyDown" to key 112 where 112 is the rawKeyDown value of that key on my keyboard. Does anybody know whether this sort of thing can be achieved in Livecode? From MikeKerner at roadrunner.com Fri Dec 20 10:16:11 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Fri, 20 Dec 2013 10:16:11 -0500 Subject: Your iOS Distribution Certificate will expire in 30 days. In-Reply-To: <1387540227036-4673936.post@n4.nabble.com> References: <1387540227036-4673936.post@n4.nabble.com> Message-ID: I haven't had it become a problem, yet. I just renew them. On Fri, Dec 20, 2013 at 6:50 AM, Dave Kilroy wrote: > Hi, is it just me who finds Apple's guidance confusing? > > What do other people do? Let the distribution certificate expire and then > refresh/renew it? Or revoke it early and generate a new one? > > Kind regards > > Dave > > > > ----- > "Some are born coders, some achieve coding, and some have coding thrust > upon them." - William Shakespeare & Hugh Senior > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/Your-iOS-Distribution-Certificate-will-expire-in-30-days-tp4673936.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From shoreagent at gmail.com Fri Dec 20 10:17:40 2013 From: shoreagent at gmail.com (William Humphrey) Date: Fri, 20 Dec 2013 11:17:40 -0400 Subject: Polling/probing the keyboard? In-Reply-To: <52B458F6.4030300@gmail.com> References: <52B458F6.4030300@gmail.com> Message-ID: <368398E6-73F1-431B-A082-36FA47CC4EE2@gmail.com> When you set up a new keyboard on an apple computer it tells you to hit the left most key next to space bar and then right most key. Then based on that information it knows what kind of keyboard you have. Brevity and errors in this email probably the result of being sent by a mobile device. > On Dec 20, 2013, at 10:49 AM, Richmond wrote: > > I have a North American English keyboard attached to my machine, but Dr Savov > has a Russian one attached to his machine. I don't know what sort of keyboard > and/or layout Dr Savov uses; but I would like my Livecode standalone to find out. > > Now I can use a script like this: > > send "mouseUp" to btn "BTTN" > > but I cannot do this: > > send "keyDown" to key 112 > > where 112 is the rawKeyDown value of that key on my keyboard. > > Does anybody know whether this sort of thing can be achieved in Livecode? > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dave at applicationinsight.com Fri Dec 20 10:53:02 2013 From: dave at applicationinsight.com (Dave Kilroy) Date: Fri, 20 Dec 2013 07:53:02 -0800 (PST) Subject: Your iOS Distribution Certificate will expire in 30 days. In-Reply-To: References: <1387540227036-4673936.post@n4.nabble.com> Message-ID: <1387554782464-4673945.post@n4.nabble.com> Hi Mike - yes I THINK I've done that in the past (can't be 100% sure though) - and distribution are different to development certificates and Apple send you a big important-looking warning email - and when I went to read Apple's guidance notes I became less and less sure. Anyway thanks for the reality check! Dave ----- "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Your-iOS-Distribution-Certificate-will-expire-in-30-days-tp4673936p4673945.html Sent from the Revolution - User mailing list archive at Nabble.com. From dochawk at gmail.com Fri Dec 20 12:00:36 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 20 Dec 2013 09:00:36 -0800 Subject: RELEASE LiveCode 6.5.1 In-Reply-To: References: Message-ID: On Fri, Dec 20, 2013 at 6:43 AM, Benjamin Beaumont wrote: > *pixelScale Property* > We have added a new ?pixelScale? property (global) that allows you to > control the density at which your stack is rendered. This property > deprecates iphoneUseDeviceResolution. > > By default, LiveCode will automatically set the density of your stack to > the density of the device it is running on. For example: > - iPad (1.0) > - iPad retina (2.0) Is this for all platforms, or just mobile? And must it be an integer? Given the size of a piece of paper (my output), it would be nice to be able to set it to 1.25 on a 30" iMac. For that matter, it would be nice to be able to set it by stak . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From pete at lcsql.com Fri Dec 20 13:44:12 2013 From: pete at lcsql.com (Peter Haworth) Date: Fri, 20 Dec 2013 10:44:12 -0800 Subject: RELEASE LiveCode 6.5.1 In-Reply-To: References: Message-ID: Bug # 11620. pixelScale is not in the dictionary or the message box globals tab. Pete lcSQL Software On Fri, Dec 20, 2013 at 6:43 AM, Benjamin Beaumont wrote: > Dear List Members, > > We are pleased to announce the release of LiveCode 6.5.1. This is a stable > release and recommended for all LiveCode users. > > *Release Contents* > Control the screen pixel scaling. > 26 bug fixes: > *- 11564 - Italic text on Windows clips for certain fonts* > - 11609 - Getting the rect of Android native controls returns empty rect > - 11606 - Text wrapping and metrics issues. > - 11604 - Image rotate, move, rotate resets image location to that of first > rotation. > - 11592 - Import / export snapshot not working on Windows & Linux > - 11590 - Fullscreen stacks on multiple monitors always appear on the same > screen. > - 11586 - Android native controls are positioned incorrectly for certain > fullscreen modes > - 11572 - Certain iOS fonts clip vertically > - 11571 - iPhoneUseDeviceResolution does not update the current pixelScale > - 11568 - Bitmap effect colors are incorrect on iOS and Android > - 11567 - Scaled OS themed parts render aren\'t filtered > - 11563 - Drag-n-drop hotspot is in wrong location on OS X stack with > menubar > - 11560 - Fix graphical anomalies in outer glow effect > - 11559 - Crash of standalone -ui mode and server engine on some Linux > distributions > - 11558 - Artefacts when drawing Windows checkmarks > - 11553 - Fill overlaps borders for arcs > - 11551 - Stacks with many referenced images can take a long time to save. > - 11549 - Text fails to render if a single native encoded character is > followed by a unicode character in a field in certain cases. > - 11547 - Setting the textColor of a line in a field doesn\'t work > - 11535 - Monospaced fonts do not have consistent character width. > - 11528 - Gradient colors incorrect on Android > - 11527 - Unicode text on Android clipped > - 11513 - If a stack has font attributes set, then ideal text layout is not > used in fullscreen mode. > - 11507 - Prevent crash in revBrowser on OSX when there is no data source > - 11505 - Multiply blend mode does not work correctly for graphic effects > - 11447 - \'put the MCSSendString of\' crashes > > *pixelScale Property* > We have added a new ?pixelScale? property (global) that allows you to > control the density at which your stack is rendered. This property > deprecates iphoneUseDeviceResolution. > > By default, LiveCode will automatically set the density of your stack to > the density of the device it is running on. For example: > - iPad (1.0) > - iPad retina (2.0) > > In the example above, the height of the stack (in portrait) will report > back at 1024 on both devices, even though the iPad retina has 2048 physical > pixels. To access all the devices pixels in previous version of LiveCode > you set the ?iphoneUseDeviceResolution? property to true. However, with the > changes made in 6.5 Android developers needed a similar feature to iOS. > > So, to turn off automatic scaling on a high-density display you can set the > pixelScale to ?1.0?. > > *Getting this release* > To upgrade to this release please select "check for updates" from the help > menu in LiveCode or download the installers directly at: > http://downloads.livecode.com/livecode/6_5_1/ > > Warm regards, > > The LiveCode Team > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dochawk at gmail.com Fri Dec 20 14:49:25 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 20 Dec 2013 11:49:25 -0800 Subject: RELEASE LiveCode 6.5.1 In-Reply-To: References: Message-ID: On Fri, Dec 20, 2013 at 9:00 AM, Dr. Hawkins wrote: > Given the size of a piece of paper (my output), it would be nice to be > able to set it to 1.25 on a 30" iMac. Hmm, this seems to work! > For that matter, it would be > nice to be able to set it by stack . . I'd still like this . . . perhaps the "effective pixelScale" of a stack could be the global if the stack property is not set, and the stack property if it is -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From richmondmathewson at gmail.com Fri Dec 20 16:16:31 2013 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 20 Dec 2013 23:16:31 +0200 Subject: RELEASE LiveCode 6.5.1 In-Reply-To: References: Message-ID: <52B4B3AF.5010508@gmail.com> On 20/12/13 20:44, Peter Haworth wrote: > Bug # 11620. pixelScale is not in the dictionary or the message box > globals tab. There is a school of thought that the Dictionary lags behind versions; in some parts as much as 5 years. Mind you, I'd like to be wrong. Richmond. 50 grammes Rakia at 60 percent, 2 bottle of Rose, 2 big fat gross cigars, and half a pint of strong black coffee. > Pete > lcSQL Software > > > On Fri, Dec 20, 2013 at 6:43 AM, Benjamin Beaumont wrote: > >> Dear List Members, >> >> We are pleased to announce the release of LiveCode 6.5.1. This is a stable >> release and recommended for all LiveCode users. >> >> *Release Contents* >> Control the screen pixel scaling. >> 26 bug fixes: >> *- 11564 - Italic text on Windows clips for certain fonts* >> - 11609 - Getting the rect of Android native controls returns empty rect >> - 11606 - Text wrapping and metrics issues. >> - 11604 - Image rotate, move, rotate resets image location to that of first >> rotation. >> - 11592 - Import / export snapshot not working on Windows & Linux >> - 11590 - Fullscreen stacks on multiple monitors always appear on the same >> screen. >> - 11586 - Android native controls are positioned incorrectly for certain >> fullscreen modes >> - 11572 - Certain iOS fonts clip vertically >> - 11571 - iPhoneUseDeviceResolution does not update the current pixelScale >> - 11568 - Bitmap effect colors are incorrect on iOS and Android >> - 11567 - Scaled OS themed parts render aren\'t filtered >> - 11563 - Drag-n-drop hotspot is in wrong location on OS X stack with >> menubar >> - 11560 - Fix graphical anomalies in outer glow effect >> - 11559 - Crash of standalone -ui mode and server engine on some Linux >> distributions >> - 11558 - Artefacts when drawing Windows checkmarks >> - 11553 - Fill overlaps borders for arcs >> - 11551 - Stacks with many referenced images can take a long time to save. >> - 11549 - Text fails to render if a single native encoded character is >> followed by a unicode character in a field in certain cases. >> - 11547 - Setting the textColor of a line in a field doesn\'t work >> - 11535 - Monospaced fonts do not have consistent character width. >> - 11528 - Gradient colors incorrect on Android >> - 11527 - Unicode text on Android clipped >> - 11513 - If a stack has font attributes set, then ideal text layout is not >> used in fullscreen mode. >> - 11507 - Prevent crash in revBrowser on OSX when there is no data source >> - 11505 - Multiply blend mode does not work correctly for graphic effects >> - 11447 - \'put the MCSSendString of\' crashes >> >> *pixelScale Property* >> We have added a new ?pixelScale? property (global) that allows you to >> control the density at which your stack is rendered. This property >> deprecates iphoneUseDeviceResolution. >> >> By default, LiveCode will automatically set the density of your stack to >> the density of the device it is running on. For example: >> - iPad (1.0) >> - iPad retina (2.0) >> >> In the example above, the height of the stack (in portrait) will report >> back at 1024 on both devices, even though the iPad retina has 2048 physical >> pixels. To access all the devices pixels in previous version of LiveCode >> you set the ?iphoneUseDeviceResolution? property to true. However, with the >> changes made in 6.5 Android developers needed a similar feature to iOS. >> >> So, to turn off automatic scaling on a high-density display you can set the >> pixelScale to ?1.0?. >> >> *Getting this release* >> To upgrade to this release please select "check for updates" from the help >> menu in LiveCode or download the installers directly at: >> http://downloads.livecode.com/livecode/6_5_1/ >> >> Warm regards, >> >> The LiveCode Team >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Fri Dec 20 16:24:41 2013 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 20 Dec 2013 23:24:41 +0200 Subject: RELEASE LiveCode 6.5.1 In-Reply-To: References: Message-ID: <52B4B599.2060708@gmail.com> This may seem quite a moronic question, but . . . after this should we expect beta releases of 7.0.0 or some sort of 6.5.2 or 6.6.0? Richmond. From monte at sweattechnologies.com Fri Dec 20 16:39:15 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Sat, 21 Dec 2013 08:39:15 +1100 Subject: RELEASE LiveCode 6.5.1 In-Reply-To: <52B4B599.2060708@gmail.com> References: <52B4B599.2060708@gmail.com> Message-ID: <5DBF8DCA-E7F9-47F2-952D-5DF73D1326DE@sweattechnologies.com> On 21/12/2013, at 8:24 AM, Richmond wrote: > This may seem quite a moronic question, but . . . > > after this should we expect beta releases of 7.0.0 or some sort of 6.5.2 or 6.6.0? We should expect nothing for about 3 weeks. I believe there's a planned 6.6.0 before 7 but I wouldn't be surprised if we were seeing 6.5.2, 6.6.0 and 7.0.0 releases at different stages through Jan. Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From capellan2000 at gmail.com Fri Dec 20 16:57:45 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Fri, 20 Dec 2013 13:57:45 -0800 (PST) Subject: Animation Nightmares In-Reply-To: <1387530659223-4673930.post@n4.nabble.com> References: <816300FC-CD6B-4322-9414-4996FCA1D76A@major-k.de> <507C0004-4906-49EC-97F7-E2A7A3846F6B@all-auctions.com> <12A87093-9C5F-4CC7-A0D5-1F4E9DE181AC@all-auctions.com> <835A5776-7B5A-4BFC-BC9A-750D2B080992@all-auctions.com> <1387505520930-4673928.post@n4.nabble.com> <1387530659223-4673930.post@n4.nabble.com> Message-ID: <1387576665111-4673952.post@n4.nabble.com> Dave Kilroy wrote > Hi Alejandro, gosh that animation technique of Scott's is damned clever! Yes, I believe the same! :D If this could be extended to use groups of controls, like multiple vector graphics and bitmap images the possibilities opens to the infinite... Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Players-and-Sounds-stuff-you-might-want-to-know-tp4673905p4673952.html Sent from the Revolution - User mailing list archive at Nabble.com. From ben at runrev.com Fri Dec 20 17:03:55 2013 From: ben at runrev.com (Benjamin Beaumont) Date: Fri, 20 Dec 2013 22:03:55 +0000 Subject: RELEASE LiveCode 6.5.1 In-Reply-To: References: Message-ID: Hi Peter, That's a mistake on our part. We'll get this resolved ASAP. Warm regards, Ben On 20 December 2013 18:44, Peter Haworth wrote: > Bug # 11620. pixelScale is not in the dictionary or the message box > globals tab. > > Pete > lcSQL Software > > > On Fri, Dec 20, 2013 at 6:43 AM, Benjamin Beaumont wrote: > > > Dear List Members, > > > > We are pleased to announce the release of LiveCode 6.5.1. This is a > stable > > release and recommended for all LiveCode users. > > > > *Release Contents* > > Control the screen pixel scaling. > > 26 bug fixes: > > *- 11564 - Italic text on Windows clips for certain fonts* > > - 11609 - Getting the rect of Android native controls returns empty rect > > - 11606 - Text wrapping and metrics issues. > > - 11604 - Image rotate, move, rotate resets image location to that of > first > > rotation. > > - 11592 - Import / export snapshot not working on Windows & Linux > > - 11590 - Fullscreen stacks on multiple monitors always appear on the > same > > screen. > > - 11586 - Android native controls are positioned incorrectly for certain > > fullscreen modes > > - 11572 - Certain iOS fonts clip vertically > > - 11571 - iPhoneUseDeviceResolution does not update the current > pixelScale > > - 11568 - Bitmap effect colors are incorrect on iOS and Android > > - 11567 - Scaled OS themed parts render aren\'t filtered > > - 11563 - Drag-n-drop hotspot is in wrong location on OS X stack with > > menubar > > - 11560 - Fix graphical anomalies in outer glow effect > > - 11559 - Crash of standalone -ui mode and server engine on some Linux > > distributions > > - 11558 - Artefacts when drawing Windows checkmarks > > - 11553 - Fill overlaps borders for arcs > > - 11551 - Stacks with many referenced images can take a long time to > save. > > - 11549 - Text fails to render if a single native encoded character is > > followed by a unicode character in a field in certain cases. > > - 11547 - Setting the textColor of a line in a field doesn\'t work > > - 11535 - Monospaced fonts do not have consistent character width. > > - 11528 - Gradient colors incorrect on Android > > - 11527 - Unicode text on Android clipped > > - 11513 - If a stack has font attributes set, then ideal text layout is > not > > used in fullscreen mode. > > - 11507 - Prevent crash in revBrowser on OSX when there is no data source > > - 11505 - Multiply blend mode does not work correctly for graphic effects > > - 11447 - \'put the MCSSendString of\' crashes > > > > *pixelScale Property* > > We have added a new ?pixelScale? property (global) that allows you to > > control the density at which your stack is rendered. This property > > deprecates iphoneUseDeviceResolution. > > > > By default, LiveCode will automatically set the density of your stack to > > the density of the device it is running on. For example: > > - iPad (1.0) > > - iPad retina (2.0) > > > > In the example above, the height of the stack (in portrait) will report > > back at 1024 on both devices, even though the iPad retina has 2048 > physical > > pixels. To access all the devices pixels in previous version of LiveCode > > you set the ?iphoneUseDeviceResolution? property to true. However, with > the > > changes made in 6.5 Android developers needed a similar feature to iOS. > > > > So, to turn off automatic scaling on a high-density display you can set > the > > pixelScale to ?1.0?. > > > > *Getting this release* > > To upgrade to this release please select "check for updates" from the > help > > menu in LiveCode or download the installers directly at: > > http://downloads.livecode.com/livecode/6_5_1/ > > > > Warm regards, > > > > The LiveCode Team > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- _____________________________________________ Benjamin Beaumont . RunRev Ltd LiveCode Product Manager mail : 25a Thistle Street Lane South West, Edinburgh, EH2 1EW email : ben at runrev.com company : +44(0) 845 219 89 23 fax : +44(0) 845 458 8487 web : www.runrev.com LiveCode - Programming made simple From ben at runrev.com Fri Dec 20 17:05:22 2013 From: ben at runrev.com (Benjamin Beaumont) Date: Fri, 20 Dec 2013 22:05:22 +0000 Subject: RELEASE LiveCode 6.5.1 In-Reply-To: <5DBF8DCA-E7F9-47F2-952D-5DF73D1326DE@sweattechnologies.com> References: <52B4B599.2060708@gmail.com> <5DBF8DCA-E7F9-47F2-952D-5DF73D1326DE@sweattechnologies.com> Message-ID: Hi Monte, We had planned to do a 6.6 DP1 today but it wasn't quite ready. As you have suggested, we'll likely do a 6.5.2 and 6.6 in January. Warm regards, Ben On 20 December 2013 21:39, Monte Goulding wrote: > > On 21/12/2013, at 8:24 AM, Richmond wrote: > > > This may seem quite a moronic question, but . . . > > > > after this should we expect beta releases of 7.0.0 or some sort of 6.5.2 > or 6.6.0? > > We should expect nothing for about 3 weeks. I believe there's a planned > 6.6.0 before 7 but I wouldn't be surprised if we were seeing 6.5.2, 6.6.0 > and 7.0.0 releases at different stages through Jan. > > Cheers > > -- > Monte Goulding > > M E R Goulding - software development services > mergExt - There's an external for that! > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- _____________________________________________ Benjamin Beaumont . RunRev Ltd LiveCode Product Manager mail : 25a Thistle Street Lane South West, Edinburgh, EH2 1EW email : ben at runrev.com company : +44(0) 845 219 89 23 fax : +44(0) 845 458 8487 web : www.runrev.com LiveCode - Programming made simple From pete at lcsql.com Fri Dec 20 17:52:01 2013 From: pete at lcsql.com (Peter Haworth) Date: Fri, 20 Dec 2013 14:52:01 -0800 Subject: RELEASE LiveCode 6.5.1 In-Reply-To: <52B4B3AF.5010508@gmail.com> References: <52B4B3AF.5010508@gmail.com> Message-ID: Unfortunately, that's true but perhaps if more people file bug reports, more attention will be paid to omissions like this. Pete lcSQL Software On Fri, Dec 20, 2013 at 1:16 PM, Richmond wrote: > On 20/12/13 20:44, Peter Haworth wrote: > >> Bug # 11620. pixelScale is not in the dictionary or the message box >> globals tab. >> > > There is a school of thought that the Dictionary lags behind versions; in > some parts as much as 5 years. > > Mind you, I'd like to be wrong. > > Richmond. > > 50 grammes Rakia at 60 percent, 2 bottle of Rose, 2 big fat gross cigars, > and half a pint of strong black coffee. > > Pete >> lcSQL Software >> >> >> On Fri, Dec 20, 2013 at 6:43 AM, Benjamin Beaumont >> wrote: >> >> Dear List Members, >>> >>> We are pleased to announce the release of LiveCode 6.5.1. This is a >>> stable >>> release and recommended for all LiveCode users. >>> >>> *Release Contents* >>> Control the screen pixel scaling. >>> 26 bug fixes: >>> *- 11564 - Italic text on Windows clips for certain fonts* >>> - 11609 - Getting the rect of Android native controls returns empty rect >>> - 11606 - Text wrapping and metrics issues. >>> - 11604 - Image rotate, move, rotate resets image location to that of >>> first >>> rotation. >>> - 11592 - Import / export snapshot not working on Windows & Linux >>> - 11590 - Fullscreen stacks on multiple monitors always appear on the >>> same >>> screen. >>> - 11586 - Android native controls are positioned incorrectly for certain >>> fullscreen modes >>> - 11572 - Certain iOS fonts clip vertically >>> - 11571 - iPhoneUseDeviceResolution does not update the current >>> pixelScale >>> - 11568 - Bitmap effect colors are incorrect on iOS and Android >>> - 11567 - Scaled OS themed parts render aren\'t filtered >>> - 11563 - Drag-n-drop hotspot is in wrong location on OS X stack with >>> menubar >>> - 11560 - Fix graphical anomalies in outer glow effect >>> - 11559 - Crash of standalone -ui mode and server engine on some Linux >>> distributions >>> - 11558 - Artefacts when drawing Windows checkmarks >>> - 11553 - Fill overlaps borders for arcs >>> - 11551 - Stacks with many referenced images can take a long time to >>> save. >>> - 11549 - Text fails to render if a single native encoded character is >>> followed by a unicode character in a field in certain cases. >>> - 11547 - Setting the textColor of a line in a field doesn\'t work >>> - 11535 - Monospaced fonts do not have consistent character width. >>> - 11528 - Gradient colors incorrect on Android >>> - 11527 - Unicode text on Android clipped >>> - 11513 - If a stack has font attributes set, then ideal text layout is >>> not >>> used in fullscreen mode. >>> - 11507 - Prevent crash in revBrowser on OSX when there is no data source >>> - 11505 - Multiply blend mode does not work correctly for graphic effects >>> - 11447 - \'put the MCSSendString of\' crashes >>> >>> *pixelScale Property* >>> We have added a new ?pixelScale? property (global) that allows you to >>> control the density at which your stack is rendered. This property >>> deprecates iphoneUseDeviceResolution. >>> >>> By default, LiveCode will automatically set the density of your stack to >>> the density of the device it is running on. For example: >>> - iPad (1.0) >>> - iPad retina (2.0) >>> >>> In the example above, the height of the stack (in portrait) will report >>> back at 1024 on both devices, even though the iPad retina has 2048 >>> physical >>> pixels. To access all the devices pixels in previous version of LiveCode >>> you set the ?iphoneUseDeviceResolution? property to true. However, with >>> the >>> changes made in 6.5 Android developers needed a similar feature to iOS. >>> >>> So, to turn off automatic scaling on a high-density display you can set >>> the >>> pixelScale to ?1.0?. >>> >>> *Getting this release* >>> To upgrade to this release please select "check for updates" from the >>> help >>> menu in LiveCode or download the installers directly at: >>> http://downloads.livecode.com/livecode/6_5_1/ >>> >>> Warm regards, >>> >>> The LiveCode Team >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From monte at sweattechnologies.com Fri Dec 20 18:04:20 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Sat, 21 Dec 2013 10:04:20 +1100 Subject: OpenShift Message-ID: Hi Folks I'm wondering if anyone has experience with OpenShift? A project I'm working on where I setup a git based deployment of a web app to a VPS via push to the server and a post update hook got me intrigued with deploying web apps with git. It's quite a popular idea (Heroku, AWS Elastic Beanstalk, OpenShift, AppFog, CloudFoundry etc). I had a little play with Heroku which looks like a neat service although quite expensive once you leave the free levels. I implemented a build pack for LC Server on Heroku which is available here: https://github.com/montegoulding/heroku-buildpack-livecode. If you use revIgniter then the build pack will deploy the latest version from github and you just need the application and assets directory in your repo. One of the cool things about these services is they are designed around scaling the web app so you can easily change the resources assigned to it and scale horizontally by running multiple instances all connecting to the same database. In order to implement the build pack I needed compile LC Server 64bit and thanks to the work of Mark Wieder and others it wasn't all that complicated to do. It's available here: http://mergext.com/lcserver.tar.gz I deployed revIgniter here http://evening-lowlands-1899.herokuapp.com Anyway, back to OpenShift... The pricing of OpenShift seems much better than Heroku and it also supports a small amount of local data storage (1GB scalable) so I'm contemplating making a thing like the Heroku build pack which is called a cartridge in OpenShift terminology. However, it all seems more complicated than the Heroku way of doing things so if there's someone out there that has an interest and/or experience in making an OpenShift cartridge for LC server then I'd be interested to hear from you. Basically I'm thinking of starting with the php cartridge and removing the php stuff and adding lc server stuff. Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From john at splash21.com Fri Dec 20 18:49:21 2013 From: john at splash21.com (John Craig) Date: Fri, 20 Dec 2013 23:49:21 +0000 Subject: [ANN] MobGUI with iOS7 palette In-Reply-To: <52B0A26B.4070008@splash21.com> References: <52B0A26B.4070008@splash21.com> Message-ID: <52B4D781.3000507@splash21.com> I'll update this forum announcement post with changes, so if you're looking for an updated version to download, just check here; http://forums.runrev.com/viewtopic.php?f=54&t=18517 :) On 17/12/2013 19:13, John Craig wrote: > License holders can download a preview of the new behaviors driven > MobGUI from the mobgui.com homepage. It's not GPL, but will run > happily on both commercial and community. There is also some > additional info at http://forums.runrev.com/viewtopic.php?f=54&t=18431 > > :) > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From klaus at major-k.de Fri Dec 20 19:15:44 2013 From: klaus at major-k.de (Klaus major-k) Date: Sat, 21 Dec 2013 01:15:44 +0100 Subject: RELEASE LiveCode 6.5.1 In-Reply-To: References: Message-ID: Hi Richard, Am 20.12.2013 um 20:49 schrieb Dr. Hawkins : > On Fri, Dec 20, 2013 at 9:00 AM, Dr. Hawkins wrote: >> Given the size of a piece of paper (my output), it would be nice to be >> able to set it to 1.25 on a 30" iMac. > Hmm, this seems to work! yes, it does indeed work on the desktop, too!? Wow, this is way cool, please try this at home, folks! :-D Enter this into the msg and see yourself: set the pixelscale to 1.25 > ... >> For that matter, it would be >> nice to be able to set it by stack . . > I'd still like this . . . perhaps the "effective pixelScale" of a > stack could be the global if the stack property is not set, and the > stack property if it is Yes, having more control over this cool new feature would be great. > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From dochawk at gmail.com Fri Dec 20 19:52:36 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 20 Dec 2013 16:52:36 -0800 Subject: pixelScale [was: RELEASE LiveCode 6.5.1] Message-ID: On Fri, Dec 20, 2013 at 4:15 PM, Klaus major-k wrote: > Hi Richard, > > Am 20.12.2013 um 20:49 schrieb Dr. Hawkins : > >> On Fri, Dec 20, 2013 at 9:00 AM, Dr. Hawkins wrote: >>> Given the size of a piece of paper (my output), it would be nice to be >>> able to set it to 1.25 on a 30" iMac. >> Hmm, this seems to work! > > yes, it does indeed work on the desktop, too!? > Wow, this is way cool, please try this at home, folks! :-D > > Enter this into the msg and see yourself: > set the pixelscale to 1.25 > >> ... >>> For that matter, it would be >>> nice to be able to set it by stack . . >> I'd still like this . . . perhaps the "effective pixelScale" of a >> stack could be the global if the stack property is not set, and the >> stack property if it is > > Yes, having more control over this cool new feature would be great. > >> -- >> Dr. Richard E. Hawkins, Esq. >> (702) 508-8462 > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Fri Dec 20 19:59:19 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 20 Dec 2013 16:59:19 -0800 Subject: RELEASE LiveCode 6.5.1 In-Reply-To: References: Message-ID: On Fri, Dec 20, 2013 at 4:15 PM, Klaus major-k wrote: >> On Fri, Dec 20, 2013 at 9:00 AM, Dr. Hawkins wrote: >>> Given the size of a piece of paper (my output), it would be nice to be >>> able to set it to 1.25 on a 30" iMac. >> Hmm, this seems to work! > > yes, it does indeed work on the desktop, too!? > Wow, this is way cool, please try this at home, folks! :-D Hmm, "work" may be too small a word. I happily added buttons to rescale to my output windows. They use handlers with "set the pixelScale to the pixelScale * 1.1" The results are, well, quirky. In some cases, every stack *except* the substacks in that family are resized and rerdrawn, including the entire IDE. These stacks seem *not* to get redrawn, but sometimes they do. And sometimes they just become blank--and stay that way until the mainstack is purged from memory. And sometimes they get rescaled, but the size of the stack on screen doesn't change. Something isn't quite right yet . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From mwieder at ahsoftware.net Fri Dec 20 21:32:06 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 20 Dec 2013 18:32:06 -0800 Subject: OpenShift In-Reply-To: References: Message-ID: <66-1503559788.20131220183206@ahsoftware.net> Monte- Friday, December 20, 2013, 3:04:20 PM, you wrote: > I'm wondering if anyone has experience with OpenShift? Haven't looked at OpenShift, but there's a lot you can do with Heroku's free levels. I haven't yet hit the walls, but I have pretty limited resource needs. -- -Mark Wieder ahsoftware at gmail.com From monte at sweattechnologies.com Fri Dec 20 22:27:57 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Sat, 21 Dec 2013 14:27:57 +1100 Subject: OpenShift In-Reply-To: <66-1503559788.20131220183206@ahsoftware.net> References: <66-1503559788.20131220183206@ahsoftware.net> Message-ID: On 21/12/2013, at 1:32 PM, Mark Wieder wrote: > Haven't looked at OpenShift, but there's a lot you can do with > Heroku's free levels. I haven't yet hit the walls, but I have pretty > limited resource needs. Yeah, I like what I've seen of Heroku and free app hosting shouldn't be seezed at but I'm not positive about the model where the build pack runs every time you push a change to the server. It would be good if there were a bit more control than that. I think OpenShift cartridges only run setup once when the gear is created but I'm not positive on that... Anyway, feel free to send in a pull request if there's something else you need in the build pack. Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From MikeKerner at roadrunner.com Fri Dec 20 22:57:12 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Fri, 20 Dec 2013 22:57:12 -0500 Subject: [ANN] MobGUI with iOS7 palette In-Reply-To: <52B4D781.3000507@splash21.com> References: <52B0A26B.4070008@splash21.com> <52B4D781.3000507@splash21.com> Message-ID: See forum - I think you have a typo on the navBar controls. On Fri, Dec 20, 2013 at 6:49 PM, John Craig wrote: > I'll update this forum announcement post with changes, so if you're > looking for an updated version to download, just check here; > > http://forums.runrev.com/viewtopic.php?f=54&t=18517 > > :) > > > On 17/12/2013 19:13, John Craig wrote: > >> License holders can download a preview of the new behaviors driven MobGUI >> from the mobgui.com homepage. It's not GPL, but will run happily on >> both commercial and community. There is also some additional info at >> http://forums.runrev.com/viewtopic.php?f=54&t=18431 >> >> :) >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From simon at asato-media.com Sat Dec 21 02:39:29 2013 From: simon at asato-media.com (As_Simon) Date: Fri, 20 Dec 2013 23:39:29 -0800 (PST) Subject: Polling/probing the keyboard? In-Reply-To: <52B458F6.4030300@gmail.com> References: <52B458F6.4030300@gmail.com> Message-ID: <1387611569122-4673964.post@n4.nabble.com> Hi Richond, I just did a vb script for send keys today; Set WshShell = WScript.CreateObject("WScript.Shell") WshShell.AppActivate "Untitled 1 *" Wscript.Sleep 1000 'wait 1 seconds WshShell.SendKeys "abcdefghijklmnopqrstuvwxyz" WshShell.SendKeys "{ENTER}" WScript.Quit With that and a running exe (title bar "Untitled 1 *) the keys get caught by the stack. Not sure if that helps you but I figure you might then be able to map the keys. Simon -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Polling-probing-the-keyboard-tp4673942p4673964.html Sent from the Revolution - User mailing list archive at Nabble.com. From richmondmathewson at gmail.com Sat Dec 21 04:11:53 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 21 Dec 2013 11:11:53 +0200 Subject: Polling/probing the keyboard? In-Reply-To: <1387611569122-4673964.post@n4.nabble.com> References: <52B458F6.4030300@gmail.com> <1387611569122-4673964.post@n4.nabble.com> Message-ID: <52B55B59.8070508@gmail.com> On 21/12/13 09:39, As_Simon wrote: > Hi Richond, > I just did a vb script for send keys today; > > Set WshShell = WScript.CreateObject("WScript.Shell") > WshShell.AppActivate "Untitled 1 *" > Wscript.Sleep 1000 'wait 1 seconds > WshShell.SendKeys "abcdefghijklmnopqrstuvwxyz" > WshShell.SendKeys "{ENTER}" > WScript.Quit > > With that and a running exe (title bar "Untitled 1 *) the keys get caught by > the stack. > Not sure if that helps you but I figure you might then be able to map the > keys. > > Simon > > That's jolly clever. However, at the risk of being a damp squib, I am wondering if there is a way to do this inwith Livecode for 2 sound reasons: 1. vb script would tie one to Windows; as pretty well any script would tie one to a specific operating system. 2. Livecode's greatest strength is that one develop something on one platform and then deploy it all over the place. Richmond. From john at splash21.com Sat Dec 21 04:25:28 2013 From: john at splash21.com (John Craig) Date: Sat, 21 Dec 2013 09:25:28 +0000 Subject: [ANN] MobGUI with iOS7 palette In-Reply-To: References: <52B0A26B.4070008@splash21.com> <52B4D781.3000507@splash21.com> Message-ID: <52B55E88.6090401@splash21.com> Hi, Mike - if that's the only bug so far, I'm happy! ;) On 21/12/2013 03:57, Mike Kerner wrote: > See forum - I think you have a typo on the navBar controls. > > > On Fri, Dec 20, 2013 at 6:49 PM, John Craig wrote: > >> I'll update this forum announcement post with changes, so if you're >> looking for an updated version to download, just check here; >> >> http://forums.runrev.com/viewtopic.php?f=54&t=18517 >> >> :) >> >> From livfoss at mac.com Sat Dec 21 07:13:52 2013 From: livfoss at mac.com (Graham Samuel) Date: Sat, 21 Dec 2013 13:13:52 +0100 Subject: OT: Re: OpenShift In-Reply-To: References: Message-ID: Just to say, perhaps frivolously, that I am amazed but also glad that there are people on this list who are enhancing the experience of the ordinary LC user (you could hardly get more ordinary than me) by venturing so very far away from "Programming Made Simple" - it's programming, Jim, but not as we know it. I really have absolutely no idea what Monte's message is about. That is not a criticism. Go Monte! Graham On 21 Dec 2013, at 00:04, Monte Goulding wrote: > Hi Folks > > I'm wondering if anyone has experience with OpenShift? > > A project I'm working on where I setup a git based deployment of a web app to a VPS via push to the server and a post update hook got me intrigued with deploying web apps with git. It's quite a popular idea (Heroku, AWS Elastic Beanstalk, OpenShift, AppFog, CloudFoundry etc). > > I had a little play with Heroku which looks like a neat service although quite expensive once you leave the free levels. I implemented a build pack for LC Server on Heroku which is available here: https://github.com/montegoulding/heroku-buildpack-livecode. If you use revIgniter then the build pack will deploy the latest version from github and you just need the application and assets directory in your repo. One of the cool things about these services is they are designed around scaling the web app so you can easily change the resources assigned to it and scale horizontally by running multiple instances all connecting to the same database. > > In order to implement the build pack I needed compile LC Server 64bit and thanks to the work of Mark Wieder and others it wasn't all that complicated to do. It's available here: http://mergext.com/lcserver.tar.gz > > I deployed revIgniter here http://evening-lowlands-1899.herokuapp.com > > Anyway, back to OpenShift... The pricing of OpenShift seems much better than Heroku and it also supports a small amount of local data storage (1GB scalable) so I'm contemplating making a thing like the Heroku build pack which is called a cartridge in OpenShift terminology. However, it all seems more complicated than the Heroku way of doing things so if there's someone out there that has an interest and/or experience in making an OpenShift cartridge for LC server then I'd be interested to hear from you. Basically I'm thinking of starting with the php cartridge and removing the php stuff and adding lc server stuff. > > Cheers > > -- > Monte Goulding > From andrew at ctech.me Sat Dec 21 10:22:35 2013 From: andrew at ctech.me (Andrew Kluthe) Date: Sat, 21 Dec 2013 09:22:35 -0600 Subject: OpenShift In-Reply-To: References: <66-1503559788.20131220183206@ahsoftware.net> Message-ID: I use it for hosting a couple web apps and a REST API done in nodejs. They change their cartridge format a whole lot but I like it for its ease of use. Andrew On Fri, Dec 20, 2013 at 9:27 PM, Monte Goulding wrote: > > On 21/12/2013, at 1:32 PM, Mark Wieder wrote: > > > Haven't looked at OpenShift, but there's a lot you can do with > > Heroku's free levels. I haven't yet hit the walls, but I have pretty > > limited resource needs. > > Yeah, I like what I've seen of Heroku and free app hosting shouldn't be > seezed at but I'm not positive about the model where the build pack runs > every time you push a change to the server. It would be good if there were > a bit more control than that. I think OpenShift cartridges only run setup > once when the gear is created but I'm not positive on that... > > Anyway, feel free to send in a pull request if there's something else you > need in the build pack. > > Cheers > > -- > Monte Goulding > > M E R Goulding - software development services > mergExt - There's an external for that! > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Regards, Andrew Kluthe andrew at ctech.me From MikeKerner at roadrunner.com Sat Dec 21 11:09:19 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sat, 21 Dec 2013 11:09:19 -0500 Subject: [ANN] MobGUI with iOS7 palette In-Reply-To: <52B55E88.6090401@splash21.com> References: <52B0A26B.4070008@splash21.com> <52B4D781.3000507@splash21.com> <52B55E88.6090401@splash21.com> Message-ID: I'm just getting started playing with it, buddy :-) On Sat, Dec 21, 2013 at 4:25 AM, John Craig wrote: > Hi, Mike - if that's the only bug so far, I'm happy! ;) > > > > On 21/12/2013 03:57, Mike Kerner wrote: > >> See forum - I think you have a typo on the navBar controls. >> >> >> On Fri, Dec 20, 2013 at 6:49 PM, John Craig wrote: >> >> I'll update this forum announcement post with changes, so if you're >>> looking for an updated version to download, just check here; >>> >>> http://forums.runrev.com/viewtopic.php?f=54&t=18517 >>> >>> :) >>> >>> >>> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From roger.e.eller at sealedair.com Sat Dec 21 13:16:55 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sat, 21 Dec 2013 13:16:55 -0500 Subject: [ANN] MobGUI with iOS7 palette In-Reply-To: <52B55E88.6090401@splash21.com> References: <52B0A26B.4070008@splash21.com> <52B4D781.3000507@splash21.com> <52B55E88.6090401@splash21.com> Message-ID: The stack size keeps reverting to 320 x 240 when landscape is chosen. On Sat, Dec 21, 2013 at 4:25 AM, John Craig wrote: > Hi, Mike - if that's the only bug so far, I'm happy! ;) > > > > On 21/12/2013 03:57, Mike Kerner wrote: > >> See forum - I think you have a typo on the navBar controls. >> >> >> On Fri, Dec 20, 2013 at 6:49 PM, John Craig wrote: >> >> I'll update this forum announcement post with changes, so if you're >>> looking for an updated version to download, just check here; >>> >>> http://forums.runrev.com/viewtopic.php?f=54&t=18517 >>> >>> :) >>> >>> >>> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dochawk at gmail.com Sat Dec 21 13:28:30 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 21 Dec 2013 10:28:30 -0800 Subject: pasting from LibreOffice triggers unsavable loop in 6.5.1 Message-ID: I pasted a snippet from the editor to LibreOffice to do some global search & replace. I pasted it back in--and when I try to save, I get a message that the script was changed outside the editor, do I want to reload or cancel. There is no option to accept the change. OK, damnit, I'm trying to do it from 5.5.4 now, and it won't let me, either. I want control over my own code. It isn't any of the *(^*(_ IDE's business where I edit it! -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From martyknappster at gmail.com Sat Dec 21 13:33:21 2013 From: martyknappster at gmail.com (Marty Knapp) Date: Sat, 21 Dec 2013 10:33:21 -0800 Subject: pasting from LibreOffice triggers unsavable loop in 6.5.1 In-Reply-To: References: Message-ID: <52B5DEF1.60008@gmail.com> I often copy from LC and paste into a text editor (TextEdit or TextWrangler on Mac) then paste back into LC without a problem. I wonder if you're getting some invisible characters when you bring it back in from LibreOffice? Marty > I pasted a snippet from the editor to LibreOffice to do some global > search & replace. > > I pasted it back in--and when I try to save, I get a message that the > script was changed outside the editor, do I want to reload or cancel. > > There is no option to accept the change. > > OK, damnit, I'm trying to do it from 5.5.4 now, and it won't let me, either. > > I want control over my own code. It isn't any of the *(^*(_ IDE's > business where I edit it! > From dochawk at gmail.com Sat Dec 21 13:41:40 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 21 Dec 2013 10:41:40 -0800 Subject: pasting from LibreOffice triggers unsavable loop in 6.5.1 In-Reply-To: <52B5DEF1.60008@gmail.com> References: <52B5DEF1.60008@gmail.com> Message-ID: On Sat, Dec 21, 2013 at 10:33 AM, Marty Knapp wrote: > I often copy from LC and paste into a text editor (TextEdit or TextWrangler > on Mac) then paste back into LC without a problem. I wonder if you're > getting some invisible characters when you bring it back in from > LibreOffice? I never did before today, and I do this all the time. Finally, I had to paste from LO to vim, save, and set the script of my stack to that file. grr. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From john at splash21.com Sat Dec 21 14:06:25 2013 From: john at splash21.com (John Craig) Date: Sat, 21 Dec 2013 19:06:25 +0000 Subject: [ANN] MobGUI with iOS7 palette In-Reply-To: References: <52B0A26B.4070008@splash21.com> <52B4D781.3000507@splash21.com> <52B55E88.6090401@splash21.com> Message-ID: <52B5E6B1.5020300@splash21.com> I can't see that one happening here, Roger - what OS are you on? I do notice that the slider button doesn't jump back to the correct position when switching between stacks and dragging it - maybe that's causing the problem. It doesn't cause the stack to revert back on my machine (MBP), but I'm checking it out... Just updated around 7pm this evening to fix a previous bug. On 21/12/2013 18:16, Roger Eller wrote: > The stack size keeps reverting to 320 x 240 when landscape is chosen. > > > On Sat, Dec 21, 2013 at 4:25 AM, John Craig wrote: > >> Hi, Mike - if that's the only bug so far, I'm happy! ;) >> >> >> >> On 21/12/2013 03:57, Mike Kerner wrote: >> >>> See forum - I think you have a typo on the navBar controls. >>> >>> >>> On Fri, Dec 20, 2013 at 6:49 PM, John Craig wrote: >>> >>> I'll update this forum announcement post with changes, so if you're >>>> looking for an updated version to download, just check here; >>>> >>>> http://forums.runrev.com/viewtopic.php?f=54&t=18517 >>>> >>>> :) >>>> >>>> >>>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From vclement at gmail.com Sat Dec 21 14:09:53 2013 From: vclement at gmail.com (Vaughn Clement) Date: Sat, 21 Dec 2013 12:09:53 -0700 Subject: [ANN] MobGUI with iOS7 palette In-Reply-To: <52B5E6B1.5020300@splash21.com> References: <52B0A26B.4070008@splash21.com> <52B4D781.3000507@splash21.com> <52B55E88.6090401@splash21.com> <52B5E6B1.5020300@splash21.com> Message-ID: Hi John I hope you do YouTube videos for the new version that are as good as your prior version. It was the answer to several questions I had about scrollers. Thank you Vaughn Clement Apps by Vaughn Clement (Support) *http://www.appsbyvaughnclement.com/tools/home-page/ * Skype: vaughn.clement https://secure.join.me/appsbyvclement FaceTime: vclement at gmail.com LogMeIn also avaialble Call on "ooVoo" at address: vaughnclement or 9282549062 Ph. 928-254-9062 Cloud Hosting Registration Web Site: https://my.oditech.com/cart.php?a=add&pid=41 On Sat, Dec 21, 2013 at 12:06 PM, John Craig wrote: > I can't see that one happening here, Roger - what OS are you on? I do > notice that the slider button doesn't jump back to the correct position > when switching between stacks and dragging it - maybe that's causing the > problem. It doesn't cause the stack to revert back on my machine (MBP), > but I'm checking it out... > > Just updated around 7pm this evening to fix a previous bug. > > > > On 21/12/2013 18:16, Roger Eller wrote: > >> The stack size keeps reverting to 320 x 240 when landscape is chosen. >> >> >> On Sat, Dec 21, 2013 at 4:25 AM, John Craig wrote: >> >> Hi, Mike - if that's the only bug so far, I'm happy! ;) >>> >>> >>> >>> On 21/12/2013 03:57, Mike Kerner wrote: >>> >>> See forum - I think you have a typo on the navBar controls. >>>> >>>> >>>> On Fri, Dec 20, 2013 at 6:49 PM, John Craig wrote: >>>> >>>> I'll update this forum announcement post with changes, so if you're >>>> >>>>> looking for an updated version to download, just check here; >>>>> >>>>> http://forums.runrev.com/viewtopic.php?f=54&t=18517 >>>>> >>>>> :) >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From effendi at wanadoo.fr Sat Dec 21 14:33:56 2013 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Sat, 21 Dec 2013 20:33:56 +0100 Subject: Players and Sounds - stuff you might want to know Message-ID: Hi from Beautiful Brittany, Graham, I totally agree with your comments. If we all had the same way of approaching and solving a problem, life would be so dull. Which makes "stumbling" a part of life. We say just say that progress is just a series of monumental F**k-ups I send you a script offline which I humbly offer as my effort at playing MP3 files. Best Regards -Francis From roger.e.eller at sealedair.com Sat Dec 21 14:45:59 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sat, 21 Dec 2013 14:45:59 -0500 Subject: [ANN] MobGUI with iOS7 palette In-Reply-To: <52B5E6B1.5020300@splash21.com> References: <52B0A26B.4070008@splash21.com> <52B4D781.3000507@splash21.com> <52B55E88.6090401@splash21.com> <52B5E6B1.5020300@splash21.com> Message-ID: OS X Mavericks 10.9 LC 6.5.1 build 3012 Commercial On Dec 21, 2013 2:06 PM, "John Craig" wrote: > I can't see that one happening here, Roger - what OS are you on? I do > notice that the slider button doesn't jump back to the correct position > when switching between stacks and dragging it - maybe that's causing the > problem. It doesn't cause the stack to revert back on my machine (MBP), > but I'm checking it out... > > Just updated around 7pm this evening to fix a previous bug. > > > On 21/12/2013 18:16, Roger Eller wrote: > >> The stack size keeps reverting to 320 x 240 when landscape is chosen. >> >> >> On Sat, Dec 21, 2013 at 4:25 AM, John Craig wrote: >> >> Hi, Mike - if that's the only bug so far, I'm happy! ;) >>> >>> >>> >>> On 21/12/2013 03:57, Mike Kerner wrote: >>> >>> See forum - I think you have a typo on the navBar controls. >>>> >>>> >>>> On Fri, Dec 20, 2013 at 6:49 PM, John Craig wrote: >>>> >>>> I'll update this forum announcement post with changes, so if you're >>>> >>>>> looking for an updated version to download, just check here; >>>>> >>>>> http://forums.runrev.com/viewtopic.php?f=54&t=18517 >>>>> >>>>> :) >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From roger.e.eller at sealedair.com Sat Dec 21 14:53:54 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sat, 21 Dec 2013 14:53:54 -0500 Subject: [ANN] MobGUI with iOS7 palette In-Reply-To: References: <52B0A26B.4070008@splash21.com> <52B4D781.3000507@splash21.com> <52B55E88.6090401@splash21.com> <52B5E6B1.5020300@splash21.com> Message-ID: It's all about the details. The size reverts only if the "Slider resizes" is also checked. I made a screen recording if you are not able to reproduce. On Dec 21, 2013 2:45 PM, "Roger Eller" wrote: > OS X Mavericks 10.9 > LC 6.5.1 build 3012 Commercial > On Dec 21, 2013 2:06 PM, "John Craig" wrote: > >> I can't see that one happening here, Roger - what OS are you on? I do >> notice that the slider button doesn't jump back to the correct position >> when switching between stacks and dragging it - maybe that's causing the >> problem. It doesn't cause the stack to revert back on my machine (MBP), >> but I'm checking it out... >> >> Just updated around 7pm this evening to fix a previous bug. >> >> >> On 21/12/2013 18:16, Roger Eller wrote: >> >>> The stack size keeps reverting to 320 x 240 when landscape is chosen. >>> >>> >>> On Sat, Dec 21, 2013 at 4:25 AM, John Craig wrote: >>> >>> Hi, Mike - if that's the only bug so far, I'm happy! ;) >>>> >>>> >>>> >>>> On 21/12/2013 03:57, Mike Kerner wrote: >>>> >>>> See forum - I think you have a typo on the navBar controls. >>>>> >>>>> >>>>> On Fri, Dec 20, 2013 at 6:49 PM, John Craig wrote: >>>>> >>>>> I'll update this forum announcement post with changes, so if you're >>>>> >>>>>> looking for an updated version to download, just check here; >>>>>> >>>>>> http://forums.runrev.com/viewtopic.php?f=54&t=18517 >>>>>> >>>>>> :) >>>>>> >>>>>> >>>>>> >>>>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > From gcanyon at gmail.com Sat Dec 21 15:10:44 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Sat, 21 Dec 2013 15:10:44 -0500 Subject: Animation Nightmares In-Reply-To: References: <816300FC-CD6B-4322-9414-4996FCA1D76A@major-k.de> <507C0004-4906-49EC-97F7-E2A7A3846F6B@all-auctions.com> <12A87093-9C5F-4CC7-A0D5-1F4E9DE181AC@all-auctions.com> Message-ID: On Thu, Dec 19, 2013 at 4:29 PM, Scott Rossi wrote: > For groups, I believe you're looking for the backgroundBehavior property, > which I think should get set automatically if you place a group on more > than one card. > The backgroundBehavior does get set to true when you place a group onto more than one card, but it has other ramifications, and isn't actually necessary. For example, this will work: 1. create a new stack 2. place a button onto cd 1 3. group that button 4. create a new card in the message box: 5. place group 1 of cd 1 onto this cd 6. put the backgroundBehavior of group 1 -- true 7. set the backgroundBehavior of group 1 to false 8. put the backgroundBehavior of group 1 -- false the group is on both cards, the sharedBehavior of the group is true, but the backgroundBehavior is false The backgroundBehavior being true has several effects, including: 1. auto-placing the background/group onto new cards 2. being able to refer to it as a "background" and it being listed as a background of the stack 3. it getting messages the card doesn't intercept 4. openBackground messages and similar 5. there are a few more I think From gcanyon at gmail.com Sat Dec 21 15:17:28 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Sat, 21 Dec 2013 15:17:28 -0500 Subject: [OT] I wonder. In-Reply-To: <0604184F-65F3-409A-80EC-0B428191B75A@economy-x-talk.com> References: <52B42917.3030502@gmail.com> <0604184F-65F3-409A-80EC-0B428191B75A@economy-x-talk.com> Message-ID: On Fri, Dec 20, 2013 at 6:36 AM, Mark Schonewille < m.schonewille at economy-x-talk.com> wrote: > Don't hold your breath Whatever happened to that project by the guy who worked on SuperCard at one point, and years later, maybe around 2000, was on this list (or similar) saying Rev, or MC, was nothing special and he would code something new, better, in just a few months? From roger.e.eller at sealedair.com Sat Dec 21 15:43:40 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sat, 21 Dec 2013 15:43:40 -0500 Subject: [ANN] MobGUI with iOS7 palette In-Reply-To: References: <52B0A26B.4070008@splash21.com> <52B4D781.3000507@splash21.com> <52B55E88.6090401@splash21.com> <52B5E6B1.5020300@splash21.com> Message-ID: Aha moment! Only when the slider is left in its default (smallest) position, and larger dimensions are typed into the fields, then press Enter on the keyboard. The slider doesn't adjust to acknowledge the manual change, so it reverts to small size when landscape is toggled. ~Roger On Dec 21, 2013 2:53 PM, "Roger Eller" wrote: > > It's all about the details. > > The size reverts only if the "Slider resizes" is also checked. I made a screen recording if you are not able to reproduce. From dochawk at gmail.com Sat Dec 21 16:27:59 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 21 Dec 2013 13:27:59 -0800 Subject: Can't call functions from messagebox in 6.5.1 Message-ID: I've tried calling functions from the messagebox in 6.5.1, both from my mainstack and builtins, such as revDataFromQuery(), and get messages like: Message execution error: Error description: Function: error in function handler Hint: getVal This was never a problem with 5.5 (yes, this is the first time I've used 6.x; the previous versions all had serious show-stoppers [which this will be if I can't resolve it]) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Sat Dec 21 16:28:56 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 21 Dec 2013 13:28:56 -0800 Subject: [OT] I wonder. In-Reply-To: References: <52B42917.3030502@gmail.com> <0604184F-65F3-409A-80EC-0B428191B75A@economy-x-talk.com> Message-ID: On Sat, Dec 21, 2013 at 12:17 PM, Geoff Canyon wrote: > Whatever happened to that project by the guy who worked on SuperCard at one > point, and years later, maybe around 2000, was on this list (or similar) > saying Rev, or MC, was nothing special and he would code something new, > better, in just a few months? > Did he specify *which* few months? Perhaps he has it slated for sometime in 2017 . . . :) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From ambassador at fourthworld.com Sat Dec 21 16:33:15 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 21 Dec 2013 13:33:15 -0800 Subject: pasting from LibreOffice triggers unsavable loop in 6.5.1 In-Reply-To: References: Message-ID: <52B6091B.4040801@fourthworld.com> Dr. Hawkins wrote: > On Sat, Dec 21, 2013 at 10:33 AM, Marty Knapp wrote: >> I often copy from LC and paste into a text editor (TextEdit or TextWrangler >> on Mac) then paste back into LC without a problem. I wonder if you're >> getting some invisible characters when you bring it back in from >> LibreOffice? > > > I never did before today, and I do this all the time. > > Finally, I had to paste from LO to vim, save, and set the script of my > stack to that file. Pasting should be pasting, and one should be allowed to paste garbage (NULLs or other special byte values) into their script just as though they'd typed the garbage by hand. It may not be able to compile garbage, but it should throw a compilation error only. The error about "script was changed outside the editor" should normally be triggered by very different circumstances, completely unrelated to the content of the script you're trying to compile. Ordinarily we would expect that error to show itself only when the circumstance is as described: while you're editing, something else changes the script of the object in question. If you have a recipe for reproducing that error in circumstances other than what it describes, that would be an error in itself - please considering filing a bug report if you have a moment to do so. They had a bug that would trigger that error incorrectly several builds ago, and while it was fixed for me and others you may have stumbled across an edge case we haven't considered. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From roger.e.eller at sealedair.com Sat Dec 21 16:38:32 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sat, 21 Dec 2013 16:38:32 -0500 Subject: tmControls Tab object on Android Message-ID: How do I get the tab object (Moonbase Alpha theme) to respond in Android? On the desktop, it just works. I added this script to the group as shown in the documentation. *on* mouseUp *answer* the tmMenuHistory of me *end* mouseUp Of the 3 tabs, on desktop, it returns 1, 2, or 3, and the tab clicked turns blue. On Android, it only returns 1, and the first tab color stays blue. ~Roger From jacque at hyperactivesw.com Sat Dec 21 16:42:08 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 21 Dec 2013 15:42:08 -0600 Subject: Can't call functions from messagebox in 6.5.1 In-Reply-To: References: Message-ID: <52B60B30.9040106@hyperactivesw.com> On 12/21/13 3:27 PM, Dr. Hawkins wrote: > I've tried calling functions from the messagebox in 6.5.1, both from my > mainstack and builtins, such as revDataFromQuery(), and get messages like: > > Message execution error: > Error description: Function: error in function handler > Hint: getVal > > This was never a problem with 5.5 Are you using "put getVal()" ? That was changed. Now you just type "getVal()". No idea why this was changed, maybe it's a feature. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From john at splash21.com Sat Dec 21 17:17:14 2013 From: john at splash21.com (John Craig) Date: Sat, 21 Dec 2013 22:17:14 +0000 Subject: [ANN] MobGUI with iOS7 palette In-Reply-To: References: <52B0A26B.4070008@splash21.com> <52B4D781.3000507@splash21.com> <52B55E88.6090401@splash21.com> <52B5E6B1.5020300@splash21.com> Message-ID: <52B6136A.4080909@splash21.com> New docs are in the works, but here's how the resize controls operate at the moment... The 'Landscape' checkbox is only there as part of the slider resizing function; The slider has a list of portrait sizes that it steps through as you drag the button. If you want to switch to landscape, then the 'Landscape' checkbox is there to tell the slider to transpose the widths and heights. I'm thinking that what you might be after is a button that just swaps the stack width and height, switching between portrait and landscape - separate from the slider functionality? On 21/12/2013 20:43, Roger Eller wrote: > Aha moment! Only when the slider is left in its default (smallest) > position, and larger dimensions are typed into the fields, then press Enter > on the keyboard. The slider doesn't adjust to acknowledge the manual > change, so it reverts to small size when landscape is toggled. > > ~Roger > > On Dec 21, 2013 2:53 PM, "Roger Eller" wrote: >> It's all about the details. >> >> The size reverts only if the "Slider resizes" is also checked. I made a > screen recording if you are not able to reproduce. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From roger.e.eller at sealedair.com Sat Dec 21 17:31:55 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sat, 21 Dec 2013 17:31:55 -0500 Subject: [ANN] MobGUI with iOS7 palette In-Reply-To: <52B6136A.4080909@splash21.com> References: <52B0A26B.4070008@splash21.com> <52B4D781.3000507@splash21.com> <52B55E88.6090401@splash21.com> <52B5E6B1.5020300@splash21.com> <52B6136A.4080909@splash21.com> Message-ID: Not exactly. I'm ok with the way it works now, but if I manually enter a width or height into the fields, I would expect the slider to move to the correct location as well. I opened an existing stack which is 1280 x 800 (wide orientation by default), then opened MobGUI. It read my stack size, but it didn't auto-check Landscape, nor did it move the resize slider to an appropriate position like I would expect it to. I only expect this because it read my stack name and size, so why not also read and show the rest? ~Roger On Sat, Dec 21, 2013 at 5:17 PM, John Craig wrote: > New docs are in the works, but here's how the resize controls operate at > the moment... > > The 'Landscape' checkbox is only there as part of the slider resizing > function; > The slider has a list of portrait sizes that it steps through as you drag > the button. If you want to switch to landscape, then the 'Landscape' > checkbox is there to tell the slider to transpose the widths and heights. > > I'm thinking that what you might be after is a button that just swaps the > stack width and height, switching between portrait and landscape - separate > from the slider functionality? > > > > > On 21/12/2013 20:43, Roger Eller wrote: > >> Aha moment! Only when the slider is left in its default (smallest) >> position, and larger dimensions are typed into the fields, then press >> Enter >> on the keyboard. The slider doesn't adjust to acknowledge the manual >> change, so it reverts to small size when landscape is toggled. >> >> ~Roger >> >> On Dec 21, 2013 2:53 PM, "Roger Eller" wrote: >> >>> It's all about the details. >>> >>> The size reverts only if the "Slider resizes" is also checked. I made a >>> >> screen recording if you are not able to reproduce. >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dochawk at gmail.com Sat Dec 21 17:43:28 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 21 Dec 2013 14:43:28 -0800 Subject: pasting from LibreOffice triggers unsavable loop in 6.5.1 In-Reply-To: <52B6091B.4040801@fourthworld.com> References: <52B6091B.4040801@fourthworld.com> Message-ID: On Sat, Dec 21, 2013 at 1:33 PM, Richard Gaskin wrote: > > If you have a recipe for reproducing that error in circumstances other > than what it describes, that would be an error in itself - please > considering filing a bug report if you have a moment to do so. > Bug 11625: http://quality.runrev.com/show_bug.cgi?id=11625 Even just a script of comments is dong this. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From scott at tactilemedia.com Sat Dec 21 17:46:32 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Sat, 21 Dec 2013 14:46:32 -0800 Subject: tmControls Tab object on Android In-Reply-To: References: Message-ID: Hi Roger: None of the controls has ever been developed/tested against Android, only iOS. What's likely happening is there is some platform/environment detection going on that may be finding "mobile" but not finding expected iOS-specific properties. Did you receive the recent newsletter sent out about tmControl? If you haven't seen it, most everything is being rebuilt, and the big push for tmControl 2 is iOS 7. http://tmtools.tactilemedia.com/tmcontrol/newsletter2014/update5.html If I get a chance over the holidays, I'll try to take a look at what's happening on Android. Happy Holidays, Scott Rossi Creative Director Tactile Media, UX/UI Design On 12/21/13 1:38 PM, "Roger Eller" wrote: > How do I get the tab object (Moonbase Alpha theme) to respond in Android? > On the desktop, it just works. > >I added this script to the group as shown in the documentation. > >*on* mouseUp > > *answer* the tmMenuHistory of me > >*end* mouseUp >Of the 3 tabs, on desktop, it returns 1, 2, or 3, and the tab clicked >turns >blue. > >On Android, it only returns 1, and the first tab color stays blue. > >~Roger >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode > From livfoss at mac.com Sat Dec 21 17:48:16 2013 From: livfoss at mac.com (Graham Samuel) Date: Sat, 21 Dec 2013 23:48:16 +0100 Subject: MacToISO is still confusing me Message-ID: <00D39165-7F60-4E2C-A432-6AE731B40479@mac.com> In a last desperate attempt to avoid both HTML and Unicode in translating just a few key characters from Mac to PC, I'm trying to use the built-in function MacToISO, as suggested recently by Jacque Gay. Sadly I'm having trouble. Take the Greek letter pi, often used in mathematics. There is a native Mac encoding for it, which turns out to be decimal 185. But if you do this in the LiveCode message box running on a PC: put MacToISO(numToChar(185)) you don't get a pi symbol. This is not a good start. The LC dictionary says that MacToISO translates those characters whose codes are above 127 from the Mac encoding to the Windows Latin 1 character set, which I assume is always available on PCs in Europe and the US (and maybe everywhere else). When I look up this character set in Wikipedia, it does contain the odd Greek letter, but not pi. And in fact there are very few maths symbols (no 'less than or equal to' or 'greater than or equal to', for example). So a lot of stuff easily available on the Mac just isn't there on PCs. I hadn't expected this - am I doing something wrong? Probably, but I'd like to know what. Meanwhile, it's time for HTML, I suppose. TIA for any clarification. Graham From roger.e.eller at sealedair.com Sat Dec 21 17:53:05 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sat, 21 Dec 2013 17:53:05 -0500 Subject: tmControls Tab object on Android In-Reply-To: References: Message-ID: Hi Scott, Good to know you are working on an update. I did read the FAQ, "after" I posted my question. In the FAQ you mention the resizing issues with mobile, but I think that was written before we had fullScreenMode. It resized beautifully, so I was hopeful that it would also "just work". Don't spend too much time on iOS 7; Android needs you too. :-) ~Roger On Sat, Dec 21, 2013 at 5:46 PM, Scott Rossi wrote: > Hi Roger: > > None of the controls has ever been developed/tested against Android, only > iOS. What's likely happening is there is some platform/environment > detection going on that may be finding "mobile" but not finding expected > iOS-specific properties. > > Did you receive the recent newsletter sent out about tmControl? If you > haven't seen it, most everything is being rebuilt, and the big push for > tmControl 2 is iOS 7. > http://tmtools.tactilemedia.com/tmcontrol/newsletter2014/update5.html > > > If I get a chance over the holidays, I'll try to take a look at what's > happening on Android. > > Happy Holidays, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 12/21/13 1:38 PM, "Roger Eller" wrote: > > > How do I get the tab object (Moonbase Alpha theme) to respond in Android? > > On the desktop, it just works. > > > >I added this script to the group as shown in the documentation. > > > >*on* mouseUp > > > > *answer* the tmMenuHistory of me > > > >*end* mouseUp > >Of the 3 tabs, on desktop, it returns 1, 2, or 3, and the tab clicked > >turns > >blue. > > > >On Android, it only returns 1, and the first tab color stays blue. > > > >~Roger > >_______________________________________________ > >use-livecode mailing list > >use-livecode at lists.runrev.com > >Please visit this url to subscribe, unsubscribe and manage your > >subscription preferences: > >http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From paulhibbert at mac.com Sat Dec 21 18:24:47 2013 From: paulhibbert at mac.com (Paul Hibbert) Date: Sat, 21 Dec 2013 15:24:47 -0800 Subject: IDE Menu Shortcuts Message-ID: <22B8A99E-B5DE-4E15-927D-32BB74DF00B1@mac.com> Has anybody produced a plug-in, utility or instructions for editing or adding shortcuts to the IDE? The one I would really like to add is Shift-Ctrl-A. I constantly find myself wishing the IDE had this shortcut for 'Edit > Deselect All' as many other apps do. I'm sure it wouldn't be too difficult to edit the menubar used in the IDE, but that would mean editing every new version that RR release, so I was hoping there may be a better way. It would be even better for the LC IDE to have configurable shortcuts so users can choose their own in prefs, I'm tempted to submit this as an enhancement request, I'm surprised nobody has already (AFAICS), but I thought it would be useful to ask the list first. Thanks, Paul From dunbarx at aol.com Sat Dec 21 18:24:59 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Sat, 21 Dec 2013 18:24:59 -0500 (EST) Subject: Can't call functions from messagebox in 6.5.1 In-Reply-To: <52B60B30.9040106@hyperactivesw.com> References: <52B60B30.9040106@hyperactivesw.com> Message-ID: <8D0CCBB00344583-F84-33C2C@webmail-m296.sysops.aol.com> This is AWFUL, and I will tell you why. You can no longer say: put yourFunction() into fld 1 --from the message box So I see how absolutely cool a feature it is, saving enormous energy to only have to write yourFunction() and have it appear in msg, but what if I want to test the function and have the answer appear in a field? Oh, well then, just make a button and put a handler in its script. No problem. None at all. (Or, er, am I overdoing this and there is in fact a way to do this from msg?) Craig -----Original Message----- From: J. Landman Gay To: How to use LiveCode Sent: Sat, Dec 21, 2013 4:42 pm Subject: Re: Can't call functions from messagebox in 6.5.1 On 12/21/13 3:27 PM, Dr. Hawkins wrote: > I've tried calling functions from the messagebox in 6.5.1, both from my > mainstack and builtins, such as revDataFromQuery(), and get messages like: > > Message execution error: > Error description: Function: error in function handler > Hint: getVal > > This was never a problem with 5.5 Are you using "put getVal()" ? That was changed. Now you just type "getVal()". No idea why this was changed, maybe it's a feature. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Sat Dec 21 18:34:49 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 21 Dec 2013 15:34:49 -0800 Subject: IDE Menu Shortcuts In-Reply-To: <22B8A99E-B5DE-4E15-927D-32BB74DF00B1@mac.com> References: <22B8A99E-B5DE-4E15-927D-32BB74DF00B1@mac.com> Message-ID: <52B62599.7030404@fourthworld.com> Paul Hibbert wrote: > Has anybody produced a plug-in, utility or instructions for editing or adding shortcuts to the IDE? > > The one I would really like to add is Shift-Ctrl-A. I constantly find myself wishing the IDE had this shortcut for 'Edit > Deselect All' as many other apps do. > > I'm sure it wouldn't be too difficult to edit the menubar used in the IDE, but that would mean editing every new version that RR release, so I was hoping there may be a better way. > > It would be even better for the LC IDE to have configurable shortcuts so users can choose their own in prefs, I'm tempted to submit this as an enhancement request, I'm surprised nobody has already (AFAICS), but I thought it would be useful to ask the list first. I doubt there's a plugin for that, as it would be some deep IDE script changes (lots of menu update code). Please do submit a request for that. Or better still, if you have time on your hands to dive into the code enough to find where to patch it, if you include the patch with your request it may be implemented that much faster. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From scott at tactilemedia.com Sat Dec 21 19:40:07 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Sat, 21 Dec 2013 16:40:07 -0800 Subject: IDE Menu Shortcuts In-Reply-To: <22B8A99E-B5DE-4E15-927D-32BB74DF00B1@mac.com> References: <22B8A99E-B5DE-4E15-927D-32BB74DF00B1@mac.com> Message-ID: Hi Paul: Maybe a quick-and-dirty option would work for you. 1) Create a small stack with a checkbox control named "Enable Deselect All" 2) Add this script to the checkbox: on mouseUp if the hilite of me then insert script of this stack into front else remove script of this stack from front end mouseUp 3) Add this script to the stack script: on controlKeyDown K if K = "a" and the shiftKey is down then select empty pass controlKeyDown end controlKeyDown 4) Name the stack something like "My IDE Enhancements" and save it. Now set the style of the stack to "palette", and in the message box execute "save stack "My IDE Enhancements" to save the stack with its palette mode. Now (hopefully) after enabling the checkbox, you should be able to use the key combination you want to deselect any selected objects. You could add this palette to your plugins folder, restart LiveCode, and then configure the palette to auto-open every time you launch LiveCode using the options under Development > Plugins > Plugin Settings. Happy Holidays, Scott Rossi Creative Director Tactile Media, UX/UI Design On 12/21/13 3:24 PM, "Paul Hibbert" wrote: >Has anybody produced a plug-in, utility or instructions for editing or >adding shortcuts to the IDE? > >The one I would really like to add is Shift-Ctrl-A. I constantly find >myself wishing the IDE had this shortcut for 'Edit > Deselect All' as >many other apps do. > >I'm sure it wouldn't be too difficult to edit the menubar used in the >IDE, but that would mean editing every new version that RR release, so I >was hoping there may be a better way. > >It would be even better for the LC IDE to have configurable shortcuts so >users can choose their own in prefs, I'm tempted to submit this as an >enhancement request, I'm surprised nobody has already (AFAICS), but I >thought it would be useful to ask the list first. > >Thanks, > >Paul >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode > From mwieder at ahsoftware.net Sat Dec 21 20:01:17 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 21 Dec 2013 17:01:17 -0800 Subject: Can't call functions from messagebox in 6.5.1 In-Reply-To: <8D0CCBB00344583-F84-33C2C@webmail-m296.sysops.aol.com> References: <52B60B30.9040106@hyperactivesw.com> <8D0CCBB00344583-F84-33C2C@webmail-m296.sysops.aol.com> Message-ID: <151-1422609062.20131221170117@ahsoftware.net> Craig- Saturday, December 21, 2013, 3:24:59 PM, you wrote: > (Or, er, am I overdoing this and there is in fact a way to do this from msg?) Nope, you're not overdoing it. There's a simple fix for this and I documented it in the bug report, but it hasn't yet been addressed. I'm sure someone thought this was a good idea at the time, but... -- -Mark Wieder ahsoftware at gmail.com From pete at lcsql.com Sat Dec 21 20:10:03 2013 From: pete at lcsql.com (Peter Haworth) Date: Sat, 21 Dec 2013 17:10:03 -0800 Subject: Can't call functions from messagebox in 6.5.1 In-Reply-To: <8D0CCBB00344583-F84-33C2C@webmail-m296.sysops.aol.com> References: <52B60B30.9040106@hyperactivesw.com> <8D0CCBB00344583-F84-33C2C@webmail-m296.sysops.aol.com> Message-ID: Seems like the "right" way to make this change would have been to allow both formats. Without a put, the result appears in the message but you can still type "put yourfunction(parms) into the selobj(). Pete lcSQL Software On Sat, Dec 21, 2013 at 3:24 PM, wrote: > This is AWFUL, and I will tell you why. > > > You can no longer say: > > > put yourFunction() into fld 1 --from the message box > > > So I see how absolutely cool a feature it is, saving enormous energy to > only have to write > > > yourFunction() > > > and have it appear in msg, but what if I want to test the function and > have the answer appear in a field? Oh, well then, just make a button and > put a handler in its script. No problem. None at all. > > > (Or, er, am I overdoing this and there is in fact a way to do this from > msg?) > > > Craig > > > -----Original Message----- > From: J. Landman Gay > To: How to use LiveCode > Sent: Sat, Dec 21, 2013 4:42 pm > Subject: Re: Can't call functions from messagebox in 6.5.1 > > > On 12/21/13 3:27 PM, Dr. Hawkins wrote: > > I've tried calling functions from the messagebox in 6.5.1, both from my > > mainstack and builtins, such as revDataFromQuery(), and get messages > like: > > > > Message execution error: > > Error description: Function: error in function handler > > Hint: getVal > > > > This was never a problem with 5.5 > > Are you using "put getVal()" ? That was changed. Now you just type > "getVal()". > > No idea why this was changed, maybe it's a feature. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Sat Dec 21 20:25:12 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 21 Dec 2013 19:25:12 -0600 Subject: IDE Menu Shortcuts In-Reply-To: References: <22B8A99E-B5DE-4E15-927D-32BB74DF00B1@mac.com> Message-ID: <52B63F78.9050509@hyperactivesw.com> On 12/21/13 6:40 PM, Scott Rossi wrote: > You could add this palette to your plugins folder, restart LiveCode, and > then configure the palette to auto-open every time you launch LiveCode > using the options under Development > Plugins > Plugin Settings. That's what I do too, and have been for years. I've got a custom plugin that inserts both front and back scripts. My frontscript has all sorts of custom menu and script editor triggers. My backscript contains development handlers that automate some common tasks I do often, which I call from the message box. I've been tinkering with it for years, it's a mess, but it's my mess and I love it. The stack is set in the plugins settings to open invisibly. There's a handler on the first card that inserts the scripts when it opens and removes them when it closes (but I never close it.) I forget it's there but I'm lost without it. This kind of thing is really easy to do and you can make it into anything you need. You can add a handler at any time and it is instantly available everywhere. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sat Dec 21 20:31:08 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 21 Dec 2013 19:31:08 -0600 Subject: Can't call functions from messagebox in 6.5.1 In-Reply-To: <8D0CCBB00344583-F84-33C2C@webmail-m296.sysops.aol.com> References: <52B60B30.9040106@hyperactivesw.com> <8D0CCBB00344583-F84-33C2C@webmail-m296.sysops.aol.com> Message-ID: <52B640DC.9070708@hyperactivesw.com> On 12/21/13 5:24 PM, dunbarx at aol.com wrote: > You can no longer say: > > put yourFunction() into fld 1 --from the message box Depending on the function, you can sometimes do that from the multi-line message box. That one parses commands differently than the single line one. I tried this function: function putTime return the time end putTime In the multi-line msg I get an error, because the msg box doesn't parse "7:20 PM" properly. But if I change the function to return simply "hello" then it works. So, sort of a workaround. Sometimes, maybe. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sat Dec 21 20:56:44 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 21 Dec 2013 19:56:44 -0600 Subject: MacToISO is still confusing me In-Reply-To: <00D39165-7F60-4E2C-A432-6AE731B40479@mac.com> References: <00D39165-7F60-4E2C-A432-6AE731B40479@mac.com> Message-ID: <52B646DC.80703@hyperactivesw.com> On 12/21/13 4:48 PM, Graham Samuel wrote: > Sadly I'm having trouble. Take the Greek letter pi, often used in > mathematics. There is a native Mac encoding for it, which turns out > to be decimal 185. But if you do this in the LiveCode message box > running on a PC: > > put MacToISO(numToChar(185)) > > you don't get a pi symbol. This is not a good start. You might try passing the actual Mac character instead of the ascii number. I don't have high hopes, but it's worth a test. Numbers over 128 will vary by font. I looked at a couple of character maps for Windows and most of the math symbols seem to be in there, but they change locations. I found >= in the unicode section for one font, and at ascii position 179 in another. That's pretty much why I ended up using html. Most special characters have entity names, and the OS translates those into the right symbols. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Sat Dec 21 21:14:43 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 21 Dec 2013 18:14:43 -0800 Subject: Can't call functions from messagebox in 6.5.1 In-Reply-To: <52B640DC.9070708@hyperactivesw.com> References: <52B60B30.9040106@hyperactivesw.com> <8D0CCBB00344583-F84-33C2C@webmail-m296.sysops.aol.com> <52B640DC.9070708@hyperactivesw.com> Message-ID: <48-1418203117.20131221181443@ahsoftware.net> Jacque- Saturday, December 21, 2013, 5:31:08 PM, you wrote: > So, sort of a workaround. Sometimes, maybe. Bug 11286. -- -Mark Wieder ahsoftware at gmail.com From jacque at hyperactivesw.com Sat Dec 21 22:21:26 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 21 Dec 2013 21:21:26 -0600 Subject: Can't call functions from messagebox in 6.5.1 In-Reply-To: <48-1418203117.20131221181443@ahsoftware.net> References: <52B60B30.9040106@hyperactivesw.com> <8D0CCBB00344583-F84-33C2C@webmail-m296.sysops.aol.com> <52B640DC.9070708@hyperactivesw.com> <48-1418203117.20131221181443@ahsoftware.net> Message-ID: <52B65AB6.7080004@hyperactivesw.com> On 12/21/13 8:14 PM, Mark Wieder wrote: > Jacque- > > Saturday, December 21, 2013, 5:31:08 PM, you wrote: > >> So, sort of a workaround. Sometimes, maybe. > > Bug 11286. > Good. There's another bug with the message box. RR said they couldn't repro it but I can't avoid it. If the message box doesn't have focus, when you type Cmd-M, the msg box hides instead of getting the focus. Then you have to show it again. I can't find my report about it but it started somewhere around version 6. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Sat Dec 21 23:45:38 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 21 Dec 2013 20:45:38 -0800 Subject: Can't call functions from messagebox in 6.5.1 In-Reply-To: <52B65AB6.7080004@hyperactivesw.com> References: <52B60B30.9040106@hyperactivesw.com> <8D0CCBB00344583-F84-33C2C@webmail-m296.sysops.aol.com> <52B640DC.9070708@hyperactivesw.com> <48-1418203117.20131221181443@ahsoftware.net> <52B65AB6.7080004@hyperactivesw.com> Message-ID: <133-1409147787.20131221204538@ahsoftware.net> Jacque- Saturday, December 21, 2013, 7:21:26 PM, you wrote: > Good. There's another bug with the message box. RR said they couldn't > repro it but I can't avoid it. If the message box doesn't have focus, > when you type Cmd-M, the msg box hides instead of getting the focus. > Then you have to show it again. > I can't find my report about it but it started somewhere around version 6. Yeah. I get that one all the time, especially if the updater grabs focus. -- -Mark Wieder ahsoftware at gmail.com From paulhibbert at mac.com Sat Dec 21 23:58:37 2013 From: paulhibbert at mac.com (Paul Hibbert) Date: Sat, 21 Dec 2013 20:58:37 -0800 Subject: IDE Menu Shortcuts In-Reply-To: <52B63F78.9050509@hyperactivesw.com> References: <22B8A99E-B5DE-4E15-927D-32BB74DF00B1@mac.com> <52B63F78.9050509@hyperactivesw.com> Message-ID: Many thanks Scott, Jacque and Richard, I have made the plugin and it works perfectly, so in the spirit of Christmas I have uploaded it to RevOnline for all to share. I will submit an enhancement request over the holidays along with a couple of new bugs, 1 is RevOnline locks up in 6.5.1rc2 and the other is, mouseColor is broken when using pixelScale <> 1. I guess RR will be very busy in the new year. Thanks again, Paul On 2013-12-21, at 5:25 PM, "J. Landman Gay" wrote: > On 12/21/13 6:40 PM, Scott Rossi wrote: > >> You could add this palette to your plugins folder, restart LiveCode, and >> then configure the palette to auto-open every time you launch LiveCode >> using the options under Development > Plugins > Plugin Settings. > > That's what I do too, and have been for years. I've got a custom plugin that inserts both front and back scripts. My frontscript has all sorts of custom menu and script editor triggers. My backscript contains development handlers that automate some common tasks I do often, which I call from the message box. I've been tinkering with it for years, it's a mess, but it's my mess and I love it. > > The stack is set in the plugins settings to open invisibly. There's a handler on the first card that inserts the scripts when it opens and removes them when it closes (but I never close it.) I forget it's there but I'm lost without it. > > This kind of thing is really easy to do and you can make it into anything you need. You can add a handler at any time and it is instantly available everywhere. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From john at splash21.com Sun Dec 22 03:35:26 2013 From: john at splash21.com (John Craig) Date: Sun, 22 Dec 2013 08:35:26 +0000 Subject: [ANN] MobGUI with iOS7 palette In-Reply-To: References: <52B0A26B.4070008@splash21.com> <52B4D781.3000507@splash21.com> <52B55E88.6090401@splash21.com> <52B5E6B1.5020300@splash21.com> <52B6136A.4080909@splash21.com> Message-ID: <52B6A44E.9040406@splash21.com> Thanks, Roger - you're right - that makes more sense. I suppose that if a stack is resized to dimensions that the slider doesn't have a record of, it can adjust to the closest value that it has. On 21/12/2013 22:31, Roger Eller wrote: > Not exactly. I'm ok with the way it works now, but if I manually enter a > width or height into the fields, I would expect the slider to move to the > correct location as well. > > I opened an existing stack which is 1280 x 800 (wide orientation by > default), then opened MobGUI. It read my stack size, but it didn't > auto-check Landscape, nor did it move the resize slider to an appropriate > position like I would expect it to. I only expect this because it read my > stack name and size, so why not also read and show the rest? > > ~Roger > > On Sat, Dec 21, 2013 at 5:17 PM, John Craig wrote: > >> New docs are in the works, but here's how the resize controls operate at >> the moment... >> >> The 'Landscape' checkbox is only there as part of the slider resizing >> function; >> The slider has a list of portrait sizes that it steps through as you drag >> the button. If you want to switch to landscape, then the 'Landscape' >> checkbox is there to tell the slider to transpose the widths and heights. >> >> I'm thinking that what you might be after is a button that just swaps the >> stack width and height, switching between portrait and landscape - separate >> from the slider functionality? >> >> >> >> >> On 21/12/2013 20:43, Roger Eller wrote: >> >>> Aha moment! Only when the slider is left in its default (smallest) >>> position, and larger dimensions are typed into the fields, then press >>> Enter >>> on the keyboard. The slider doesn't adjust to acknowledge the manual >>> change, so it reverts to small size when landscape is toggled. >>> >>> ~Roger >>> >>> On Dec 21, 2013 2:53 PM, "Roger Eller" wrote: >>> >>>> It's all about the details. >>>> >>>> The size reverts only if the "Slider resizes" is also checked. I made a >>>> >>> screen recording if you are not able to reproduce. >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From richmondmathewson at gmail.com Sun Dec 22 03:50:52 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 22 Dec 2013 10:50:52 +0200 Subject: [OT] I wonder. In-Reply-To: References: <52B42917.3030502@gmail.com> <0604184F-65F3-409A-80EC-0B428191B75A@economy-x-talk.com> Message-ID: <52B6A7EC.4010801@gmail.com> On 21/12/13 22:17, Geoff Canyon wrote: > On Fri, Dec 20, 2013 at 6:36 AM, Mark Schonewille < > m.schonewille at economy-x-talk.com> wrote: > >> Don't hold your breath > > Whatever happened to that project by the guy who worked on SuperCard at one > point, and years later, maybe around 2000, was on this list (or similar) > saying Rev, or MC, was nothing special and he would code something new, > better, in just a few months? Easier said than done. Why do I have a feeling that Kevin Miller and Co. would feel "a bit miffed" if somebody said that? And, as my Granny used to say; "The proof of the pudding is in the eating." And that chap didn't even show any signs of assembling the ingredients. Richmond. From mblivecode at harbourhosting.co.uk Sun Dec 22 05:16:41 2013 From: mblivecode at harbourhosting.co.uk (Martin Baxter) Date: Sun, 22 Dec 2013 10:16:41 +0000 Subject: MacToISO is still confusing me In-Reply-To: <00D39165-7F60-4E2C-A432-6AE731B40479@mac.com> References: <00D39165-7F60-4E2C-A432-6AE731B40479@mac.com> Message-ID: <52B6BC09.1030909@harbourhosting.co.uk> Graham, This page shows the differences between mac roman, ansi and iso-8891 You will see that PI characters are one of the numerous differences. obviously, mactoiso isn't magic and if there is no equivalent character in the set, it cannot help. I use html references for this. π or π gives lowercase pi Π or Π should give Capital PI So you could replace chartonum(185) with "π" in yourMacText as a workaround. After putting yourMacText through mactosio() that is. You would then wrap paragraphs with

and

and anything else you need to do and then set the htmltext. It will depend which version of livecode you are using. Recent versions support the above references in htmltext, but older versions did not. I just tried these with livecode 4.5 and 6.1 The above work in 6.1, but not in 4.5 which appears to use [character position] mod 256 to produce an 8 bit value and displays the resulting completely incorrect glyph as if that was somehow a helpful thing to do. (e.g. π shows character 192 - Agrave instead of pi). If you need to be thorough, you will want to cater for all the differences between the character sets as shown in the alanwood.net link above. What that page calls ANSI is, in practise, what mactoiso attempts to translate to. It should be possible to deal with this by converting to some flavour of unicode I would think, but I can't help you with that. Hope this helps Martin BAxter On 21/12/13 22:48, Graham Samuel wrote: > In a last desperate attempt to avoid both HTML and Unicode in > translating just a few key characters from Mac to PC, I'm trying to > use the built-in function MacToISO, as suggested recently by Jacque > Gay. > > Sadly I'm having trouble. Take the Greek letter pi, often used in > mathematics. There is a native Mac encoding for it, which turns out > to be decimal 185. But if you do this in the LiveCode message box > running on a PC: > > put MacToISO(numToChar(185)) > > you don't get a pi symbol. This is not a good start. > > The LC dictionary says that MacToISO translates those characters > whose codes are above 127 from the Mac encoding to the Windows Latin > 1 character set, which I assume is always available on PCs in Europe > and the US (and maybe everywhere else). When I look up this character > set in Wikipedia, it does contain the odd Greek letter, but not pi. > And in fact there are very few maths symbols (no 'less than or equal > to' or 'greater than or equal to', for example). So a lot of stuff > easily available on the Mac just isn't there on PCs. > > I hadn't expected this - am I doing something wrong? Probably, but > I'd like to know what. Meanwhile, it's time for HTML, I suppose. > > TIA for any clarification. > > Graham _______________________________________________ use-livecode From jacque at hyperactivesw.com Sun Dec 22 09:25:34 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 22 Dec 2013 08:25:34 -0600 Subject: Can't call functions from messagebox in 6.5.1 In-Reply-To: <133-1409147787.20131221204538@ahsoftware.net> References: <52B60B30.9040106@hyperactivesw.com> <8D0CCBB00344583-F84-33C2C@webmail-m296.sysops.aol.com> <52B640DC.9070708@hyperactivesw.com> <48-1418203117.20131221181443@ahsoftware.net> <52B65AB6.7080004@hyperactivesw.com> <133-1409147787.20131221204538@ahsoftware.net> Message-ID: <9594c593-2e84-4205-b664-b2c6554c8275@email.android.com> Mark Wieder wrote: > >Yeah. I get that one all the time, especially if the updater grabs >focus. Which updater? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From klaus at major-k.de Sun Dec 22 09:32:22 2013 From: klaus at major-k.de (Klaus major-k) Date: Sun, 22 Dec 2013 15:32:22 +0100 Subject: pasting from LibreOffice triggers unsavable loop in 6.5.1 In-Reply-To: References: Message-ID: <7E12C4C0-DE04-4B9A-883C-92696CF735EF@major-k.de> Hi all, Am 21.12.2013 um 19:28 schrieb Dr. Hawkins : > I pasted a snippet from the editor to LibreOffice to do some global > search & replace. > > I pasted it back in--and when I try to save, I get a message that the > script was changed outside the editor, do I want to reload or cancel. > > There is no option to accept the change. > > OK, damnit, I'm trying to do it from 5.5.4 now, and it won't let me, either. > > I want control over my own code. It isn't any of the *(^*(_ IDE's > business where I edit it! :-) In my experience (Mac) there are always some problems when pasting text (formatted or not) from outside sources like TextEdit etc. in the IDE. Whenever I paste some text from "outside" this takes a couple of seconds until the text appears in the target field and most of the time even the "Beachball Of Death" appears for a short moment, not inspiring much confidence really! > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From roger.e.eller at sealedair.com Sun Dec 22 09:50:09 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sun, 22 Dec 2013 09:50:09 -0500 Subject: [ANN] MobGUI with iOS7 palette In-Reply-To: <52B6A44E.9040406@splash21.com> References: <52B0A26B.4070008@splash21.com> <52B4D781.3000507@splash21.com> <52B55E88.6090401@splash21.com> <52B5E6B1.5020300@splash21.com> <52B6136A.4080909@splash21.com> <52B6A44E.9040406@splash21.com> Message-ID: Could you perhaps have a + button to add user-defined sizes to the standards, which would persist for future use? On Dec 22, 2013 3:36 AM, "John Craig" wrote: > Thanks, Roger - you're right - that makes more sense. I suppose that if a > stack is resized to dimensions that the slider doesn't have a record of, it > can adjust to the closest value that it has. > > > On 21/12/2013 22:31, Roger Eller wrote: > >> Not exactly. I'm ok with the way it works now, but if I manually enter a >> width or height into the fields, I would expect the slider to move to the >> correct location as well. >> >> I opened an existing stack which is 1280 x 800 (wide orientation by >> default), then opened MobGUI. It read my stack size, but it didn't >> auto-check Landscape, nor did it move the resize slider to an appropriate >> position like I would expect it to. I only expect this because it read my >> stack name and size, so why not also read and show the rest? >> >> ~Roger >> >> On Sat, Dec 21, 2013 at 5:17 PM, John Craig wrote: >> >> New docs are in the works, but here's how the resize controls operate at >>> the moment... >>> >>> The 'Landscape' checkbox is only there as part of the slider resizing >>> function; >>> The slider has a list of portrait sizes that it steps through as you drag >>> the button. If you want to switch to landscape, then the 'Landscape' >>> checkbox is there to tell the slider to transpose the widths and heights. >>> >>> I'm thinking that what you might be after is a button that just swaps the >>> stack width and height, switching between portrait and landscape - >>> separate >>> from the slider functionality? >>> >>> >>> >>> >>> On 21/12/2013 20:43, Roger Eller wrote: >>> >>> Aha moment! Only when the slider is left in its default (smallest) >>>> position, and larger dimensions are typed into the fields, then press >>>> Enter >>>> on the keyboard. The slider doesn't adjust to acknowledge the manual >>>> change, so it reverts to small size when landscape is toggled. >>>> >>>> ~Roger >>>> >>>> On Dec 21, 2013 2:53 PM, "Roger Eller" wrote: >>>> >>>> It's all about the details. >>>>> >>>>> The size reverts only if the "Slider resizes" is also checked. I made >>>>> a >>>>> >>>>> screen recording if you are not able to reproduce. >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From gcanyon at gmail.com Sun Dec 22 10:32:49 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Sun, 22 Dec 2013 10:32:49 -0500 Subject: [OT] I wonder. In-Reply-To: <52B6A7EC.4010801@gmail.com> References: <52B42917.3030502@gmail.com> <0604184F-65F3-409A-80EC-0B428191B75A@economy-x-talk.com> <52B6A7EC.4010801@gmail.com> Message-ID: On Sun, Dec 22, 2013 at 3:50 AM, Richmond wrote: > And that chap didn't even show any signs of assembling the ingredients. > Well, he didn't finish, that's for sure, but he did start out reasonably well. He had a prototype that did a fair number of things, poorly and buggily. From gcanyon at gmail.com Sun Dec 22 10:35:46 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Sun, 22 Dec 2013 10:35:46 -0500 Subject: Can't call functions from messagebox in 6.5.1 In-Reply-To: <9594c593-2e84-4205-b664-b2c6554c8275@email.android.com> References: <52B60B30.9040106@hyperactivesw.com> <8D0CCBB00344583-F84-33C2C@webmail-m296.sysops.aol.com> <52B640DC.9070708@hyperactivesw.com> <48-1418203117.20131221181443@ahsoftware.net> <52B65AB6.7080004@hyperactivesw.com> <133-1409147787.20131221204538@ahsoftware.net> <9594c593-2e84-4205-b664-b2c6554c8275@email.android.com> Message-ID: I think he means the live code updater, as in there's a newer version available. On Sun, Dec 22, 2013 at 9:25 AM, J. Landman Gay wrote: > Mark Wieder wrote: > > > >Yeah. I get that one all the time, especially if the updater grabs > >focus. > > Which updater? > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dochawk at gmail.com Sun Dec 22 10:51:59 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sun, 22 Dec 2013 07:51:59 -0800 Subject: pasting from LibreOffice triggers unsavable loop in 6.5.1 In-Reply-To: <7E12C4C0-DE04-4B9A-883C-92696CF735EF@major-k.de> References: <7E12C4C0-DE04-4B9A-883C-92696CF735EF@major-k.de> Message-ID: On Sun, Dec 22, 2013 at 6:32 AM, Klaus major-k wrote: > In my experience (Mac) there are always some problems when pasting > text (formatted or not) from outside sources like TextEdit etc. in the IDE. > and in this case, a few lines of comments, not even modified before being copied & pasted back > > Whenever I paste some text from "outside" this takes a couple of seconds > until the text appears in the target field and most of the time even the > "Beachball Of Death" appears for a short moment, not inspiring much > confidence really! > TO get it back, I had to paste it into vim (the .txt option seems gone from LO's save as)--which itself took a while, scrolling along (the script was several thousand lines), and then set the script to the file. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From richmondmathewson at gmail.com Sun Dec 22 10:56:21 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 22 Dec 2013 17:56:21 +0200 Subject: [OT] I wonder. In-Reply-To: References: <52B42917.3030502@gmail.com> <0604184F-65F3-409A-80EC-0B428191B75A@economy-x-talk.com> <52B6A7EC.4010801@gmail.com> Message-ID: <52B70BA5.9040604@gmail.com> On 22/12/13 17:32, Geoff Canyon wrote: > On Sun, Dec 22, 2013 at 3:50 AM, Richmond wrote: > >> And that chap didn't even show any signs of assembling the ingredients. >> > Well, he didn't finish, that's for sure, but he did start out reasonably > well. He had a prototype that did a fair number of things, poorly and > buggily. > _______________________________________________ > Hammer does seem to go a bit further than that. Richmond. From richmondmathewson at gmail.com Sun Dec 22 11:03:54 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 22 Dec 2013 18:03:54 +0200 Subject: [OT] Office Suites Message-ID: <52B70D6A.4010804@gmail.com> This data is crude and unreliable yet may still have some bearing on pasting back and forth from the Livecode script editor: 1. My older son runs Windows 7 on his laptop and says that LibreOffice is way to buggy to use, and so uses Apache Open Office. 2. I run Mac OS 10.6 inside VMware and have had some pretty rough moments with LibreOffice there; so switched to Apache Open Office. My younger son runs Mac OS 10.4 on an old INTEL MacBook and reports similar findings. 3. LibreOffice seems better on Linux than Apache Open Office. SoftMaker Free Office is way lighter on the RAM consumption on Linux, and a deal faster than either LibreOffice or OpenOffice. --------------- One way to make this data slightly less crude and unreliable is for other people on this Use-List to chip in with their experiences. Richmond. From MikeKerner at roadrunner.com Sun Dec 22 11:24:30 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sun, 22 Dec 2013 11:24:30 -0500 Subject: [OT] Office Suites In-Reply-To: <52B70D6A.4010804@gmail.com> References: <52B70D6A.4010804@gmail.com> Message-ID: what specifically have they found with libre? We have a pile of people using libre and nobody using open On Sun, Dec 22, 2013 at 11:03 AM, Richmond wrote: > This data is crude and unreliable yet may still have some bearing on > pasting > back and forth from the Livecode script editor: > > 1. My older son runs Windows 7 on his laptop and says that LibreOffice is > way to buggy to use, and so uses > Apache Open Office. > > 2. I run Mac OS 10.6 inside VMware and have had some pretty rough moments > with LibreOffice there; so > switched to Apache Open Office. > > My younger son runs Mac OS 10.4 on an old INTEL MacBook and reports > similar findings. > > 3. LibreOffice seems better on Linux than Apache Open Office. > > SoftMaker Free Office is way lighter on the RAM consumption on Linux, and > a deal faster than either > LibreOffice or OpenOffice. > > --------------- > > One way to make this data slightly less crude and unreliable is for other > people on this > Use-List to chip in with their experiences. > > Richmond. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From richmondmathewson at gmail.com Sun Dec 22 11:28:07 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 22 Dec 2013 18:28:07 +0200 Subject: [OT] I wonder. In-Reply-To: <0604184F-65F3-409A-80EC-0B428191B75A@economy-x-talk.com> References: <52B42917.3030502@gmail.com> <0604184F-65F3-409A-80EC-0B428191B75A@economy-x-talk.com> Message-ID: <52B71317.20200@gmail.com> I don't know whether Hammer is going anywhere terribly productive: http://hammer-language.com/ but having a dig in the functions yields a few that would be useful if rolled into Livecode: numToHex and hexToNum converting back and forth between Hexadecimal and Decimal numbers. ----------------- I'm not quite so sure about how useful binaryToNum and numToBinary might be. ---------------- There is a number of things about timers and the constant 'interval': "set the interval of card part 1 to 60 Specifies the pause between a timer part's messages. The interval is specified in /ticks/ i.e. 60ths of a second. To stop a timer, set its interval to 0." ---------------- This is probably a place to visit, "nick ideas" and then leave. Richmond. From MikeKerner at roadrunner.com Sun Dec 22 11:28:17 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sun, 22 Dec 2013 11:28:17 -0500 Subject: [ANN] MobGUI with iOS7 palette In-Reply-To: References: <52B0A26B.4070008@splash21.com> <52B4D781.3000507@splash21.com> <52B55E88.6090401@splash21.com> <52B5E6B1.5020300@splash21.com> <52B6136A.4080909@splash21.com> <52B6A44E.9040406@splash21.com> Message-ID: You could also dumb-down the slider so it states what device the size or relative dimensions are for. I realize that LC can resize on the fly, but when the controls are placed, they are a set size, regardless of the dimensions of the stack. On Sun, Dec 22, 2013 at 9:50 AM, Roger Eller wrote: > Could you perhaps have a + button to add user-defined sizes to the > standards, which would persist for future use? > On Dec 22, 2013 3:36 AM, "John Craig" wrote: > > > Thanks, Roger - you're right - that makes more sense. I suppose that if > a > > stack is resized to dimensions that the slider doesn't have a record of, > it > > can adjust to the closest value that it has. > > > > > > On 21/12/2013 22:31, Roger Eller wrote: > > > >> Not exactly. I'm ok with the way it works now, but if I manually enter a > >> width or height into the fields, I would expect the slider to move to > the > >> correct location as well. > >> > >> I opened an existing stack which is 1280 x 800 (wide orientation by > >> default), then opened MobGUI. It read my stack size, but it didn't > >> auto-check Landscape, nor did it move the resize slider to an > appropriate > >> position like I would expect it to. I only expect this because it read > my > >> stack name and size, so why not also read and show the rest? > >> > >> ~Roger > >> > >> On Sat, Dec 21, 2013 at 5:17 PM, John Craig wrote: > >> > >> New docs are in the works, but here's how the resize controls operate > at > >>> the moment... > >>> > >>> The 'Landscape' checkbox is only there as part of the slider resizing > >>> function; > >>> The slider has a list of portrait sizes that it steps through as you > drag > >>> the button. If you want to switch to landscape, then the 'Landscape' > >>> checkbox is there to tell the slider to transpose the widths and > heights. > >>> > >>> I'm thinking that what you might be after is a button that just swaps > the > >>> stack width and height, switching between portrait and landscape - > >>> separate > >>> from the slider functionality? > >>> > >>> > >>> > >>> > >>> On 21/12/2013 20:43, Roger Eller wrote: > >>> > >>> Aha moment! Only when the slider is left in its default (smallest) > >>>> position, and larger dimensions are typed into the fields, then press > >>>> Enter > >>>> on the keyboard. The slider doesn't adjust to acknowledge the manual > >>>> change, so it reverts to small size when landscape is toggled. > >>>> > >>>> ~Roger > >>>> > >>>> On Dec 21, 2013 2:53 PM, "Roger Eller" wrote: > >>>> > >>>> It's all about the details. > >>>>> > >>>>> The size reverts only if the "Slider resizes" is also checked. I > made > >>>>> a > >>>>> > >>>>> screen recording if you are not able to reproduce. > >>>> _______________________________________________ > >>>> use-livecode mailing list > >>>> use-livecode at lists.runrev.com > >>>> Please visit this url to subscribe, unsubscribe and manage your > >>>> subscription preferences: > >>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>>> > >>>> > >>>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > >>> subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>> > >>> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >> > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From richmondmathewson at gmail.com Sun Dec 22 11:31:14 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 22 Dec 2013 18:31:14 +0200 Subject: [OT] Office Suites In-Reply-To: References: <52B70D6A.4010804@gmail.com> Message-ID: <52B713D2.7020204@gmail.com> On 22/12/13 18:24, Mike Kerner wrote: > what specifically have they found with libre? We have a pile of people > using libre and nobody using open Crashing on Windows 7 Richmond. > > > On Sun, Dec 22, 2013 at 11:03 AM, Richmond wrote: > >> This data is crude and unreliable yet may still have some bearing on >> pasting >> back and forth from the Livecode script editor: >> >> 1. My older son runs Windows 7 on his laptop and says that LibreOffice is >> way to buggy to use, and so uses >> Apache Open Office. >> >> 2. I run Mac OS 10.6 inside VMware and have had some pretty rough moments >> with LibreOffice there; so >> switched to Apache Open Office. >> >> My younger son runs Mac OS 10.4 on an old INTEL MacBook and reports >> similar findings. >> >> 3. LibreOffice seems better on Linux than Apache Open Office. >> >> SoftMaker Free Office is way lighter on the RAM consumption on Linux, and >> a deal faster than either >> LibreOffice or OpenOffice. >> >> --------------- >> >> One way to make this data slightly less crude and unreliable is for other >> people on this >> Use-List to chip in with their experiences. >> >> Richmond. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > From fraser.gordon at runrev.com Sun Dec 22 11:51:49 2013 From: fraser.gordon at runrev.com (Fraser Gordon) Date: Sun, 22 Dec 2013 16:51:49 +0000 Subject: [OT] I wonder. In-Reply-To: <52B71317.20200@gmail.com> References: <52B42917.3030502@gmail.com> <0604184F-65F3-409A-80EC-0B428191B75A@economy-x-talk.com> <52B71317.20200@gmail.com> Message-ID: <52B718A5.2020908@runrev.com> On 22/12/2013 16:28, Richmond wrote: > > numToHex and hexToNum > function numToHex pNum local tHex get binaryEncode("H8", pNum, tHex) return tHex end numToHex Not quite as user-friendly, I'll admit, but it's possible at least. From MikeKerner at roadrunner.com Sun Dec 22 11:52:57 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sun, 22 Dec 2013 11:52:57 -0500 Subject: [OT] Office Suites In-Reply-To: <52B713D2.7020204@gmail.com> References: <52B70D6A.4010804@gmail.com> <52B713D2.7020204@gmail.com> Message-ID: Do you have a recipe and/or version with the issue? I'd have to count the number of LO users we have, but I haven't had any crash reports. On Sun, Dec 22, 2013 at 11:31 AM, Richmond wrote: > On 22/12/13 18:24, Mike Kerner wrote: > >> what specifically have they found with libre? We have a pile of people >> using libre and nobody using open >> > > Crashing on Windows 7 > > Richmond. > > > >> >> On Sun, Dec 22, 2013 at 11:03 AM, Richmond >> wrote: >> >> This data is crude and unreliable yet may still have some bearing on >>> pasting >>> back and forth from the Livecode script editor: >>> >>> 1. My older son runs Windows 7 on his laptop and says that LibreOffice is >>> way to buggy to use, and so uses >>> Apache Open Office. >>> >>> 2. I run Mac OS 10.6 inside VMware and have had some pretty rough moments >>> with LibreOffice there; so >>> switched to Apache Open Office. >>> >>> My younger son runs Mac OS 10.4 on an old INTEL MacBook and reports >>> similar findings. >>> >>> 3. LibreOffice seems better on Linux than Apache Open Office. >>> >>> SoftMaker Free Office is way lighter on the RAM consumption on Linux, and >>> a deal faster than either >>> LibreOffice or OpenOffice. >>> >>> --------------- >>> >>> One way to make this data slightly less crude and unreliable is for other >>> people on this >>> Use-List to chip in with their experiences. >>> >>> Richmond. >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >> >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From MikeKerner at roadrunner.com Sun Dec 22 11:54:49 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sun, 22 Dec 2013 11:54:49 -0500 Subject: [OT] Office Suites In-Reply-To: References: <52B70D6A.4010804@gmail.com> <52B713D2.7020204@gmail.com> Message-ID: And while we're on the topic, have you noticed any other significant differences between LO and OO? On Mobile, our folks prefer Pages and Numbers, but even those folks are using QuickOffice for some things. Nobody likes Google Drive on mobile. On Sun, Dec 22, 2013 at 11:52 AM, Mike Kerner wrote: > Do you have a recipe and/or version with the issue? I'd have to count the > number of LO users we have, but I haven't had any crash reports. > > > On Sun, Dec 22, 2013 at 11:31 AM, Richmond wrote: > >> On 22/12/13 18:24, Mike Kerner wrote: >> >>> what specifically have they found with libre? We have a pile of people >>> using libre and nobody using open >>> >> >> Crashing on Windows 7 >> >> Richmond. >> >> >> >>> >>> On Sun, Dec 22, 2013 at 11:03 AM, Richmond >>> wrote: >>> >>> This data is crude and unreliable yet may still have some bearing on >>>> pasting >>>> back and forth from the Livecode script editor: >>>> >>>> 1. My older son runs Windows 7 on his laptop and says that LibreOffice >>>> is >>>> way to buggy to use, and so uses >>>> Apache Open Office. >>>> >>>> 2. I run Mac OS 10.6 inside VMware and have had some pretty rough >>>> moments >>>> with LibreOffice there; so >>>> switched to Apache Open Office. >>>> >>>> My younger son runs Mac OS 10.4 on an old INTEL MacBook and reports >>>> similar findings. >>>> >>>> 3. LibreOffice seems better on Linux than Apache Open Office. >>>> >>>> SoftMaker Free Office is way lighter on the RAM consumption on Linux, >>>> and >>>> a deal faster than either >>>> LibreOffice or OpenOffice. >>>> >>>> --------------- >>>> >>>> One way to make this data slightly less crude and unreliable is for >>>> other >>>> people on this >>>> Use-List to chip in with their experiences. >>>> >>>> Richmond. >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>> >>> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From richmondmathewson at gmail.com Sun Dec 22 12:14:40 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 22 Dec 2013 19:14:40 +0200 Subject: [OT] Office Suites In-Reply-To: References: <52B70D6A.4010804@gmail.com> <52B713D2.7020204@gmail.com> Message-ID: <52B71E00.4030105@gmail.com> On 22/12/13 18:52, Mike Kerner wrote: > Do you have a recipe and/or version with the issue? I'd have to count the > number of LO users we have, but I haven't had any crash reports. Like I said: crude and unreliable. Just that my kids (one with Win 7, the other with Mac 10.4) and I on Mac 10.6 have had sudden crashes with LibreOffice, and since installing OpenOffice instead have not. In your situation I would not get too worked up about my rather limited data. I hoped that my posting would elicit an "outpouring" of many people's expereince with Free Office Suites rather than sending you off into a horrible panic. Indeed I am extremely sorry if my posting has upset you; it wasn't meant to do that. Richmond. > > > On Sun, Dec 22, 2013 at 11:31 AM, Richmond wrote: > >> On 22/12/13 18:24, Mike Kerner wrote: >> >>> what specifically have they found with libre? We have a pile of people >>> using libre and nobody using open >>> >> Crashing on Windows 7 >> >> Richmond. >> >> >> >>> On Sun, Dec 22, 2013 at 11:03 AM, Richmond >>> wrote: >>> >>> This data is crude and unreliable yet may still have some bearing on >>>> pasting >>>> back and forth from the Livecode script editor: >>>> >>>> 1. My older son runs Windows 7 on his laptop and says that LibreOffice is >>>> way to buggy to use, and so uses >>>> Apache Open Office. >>>> >>>> 2. I run Mac OS 10.6 inside VMware and have had some pretty rough moments >>>> with LibreOffice there; so >>>> switched to Apache Open Office. >>>> >>>> My younger son runs Mac OS 10.4 on an old INTEL MacBook and reports >>>> similar findings. >>>> >>>> 3. LibreOffice seems better on Linux than Apache Open Office. >>>> >>>> SoftMaker Free Office is way lighter on the RAM consumption on Linux, and >>>> a deal faster than either >>>> LibreOffice or OpenOffice. >>>> >>>> --------------- >>>> >>>> One way to make this data slightly less crude and unreliable is for other >>>> people on this >>>> Use-List to chip in with their experiences. >>>> >>>> Richmond. >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > From richmondmathewson at gmail.com Sun Dec 22 12:15:35 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 22 Dec 2013 19:15:35 +0200 Subject: [OT] I wonder. In-Reply-To: <52B718A5.2020908@runrev.com> References: <52B42917.3030502@gmail.com> <0604184F-65F3-409A-80EC-0B428191B75A@economy-x-talk.com> <52B71317.20200@gmail.com> <52B718A5.2020908@runrev.com> Message-ID: <52B71E37.60801@gmail.com> On 22/12/13 18:51, Fraser Gordon wrote: > On 22/12/2013 16:28, Richmond wrote: >> numToHex and hexToNum >> > function numToHex pNum > local tHex > get binaryEncode("H8", pNum, tHex) > return tHex > end numToHex > > Not quite as user-friendly, I'll admit, but it's possible at least. Jolly useful; Thanks for that. Richmond. From mblivecode at harbourhosting.co.uk Sun Dec 22 12:42:24 2013 From: mblivecode at harbourhosting.co.uk (Martin Baxter) Date: Sun, 22 Dec 2013 17:42:24 +0000 Subject: livecode on xubuntu 13.10 Message-ID: <52B72480.6050407@harbourhosting.co.uk> This weekend I've been trying to get Livecode 6.1 running on xubuntu 13.10 64bit After installng 32 bit compatibility stuff and manually copying 32bit dependency libraries from another ubuntu machine as I couldn't immediately figure out how else to install them, I did succeed in getting it to run. However there was a problem where the mouse pointer (cursor if you will) disappeared the moment the mouse entered any livecode stack either in the ide or otherwise. I deleted the revcursors stacks and the pointer then returned albeit showing a pointing hand with the pointing finger missing, by default, which was maybe coming from the system itself. Out of curiosity I then copied over a standalone that was made in livecode 4.5 and has run happily on Ubuntu 10.0.4 LTS. But on Xubuntu 13.10 it wouldn't run. When double-clicked nothing happened. It is set as executable. When I tried to run it from the terminal the immediate result was: "exiting on signal 11". Has anyone else encountered these or similar symptoms, either on Xubuntu or some other distro? Martin Baxter From mwieder at ahsoftware.net Sun Dec 22 12:57:22 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 22 Dec 2013 09:57:22 -0800 Subject: Can't call functions from messagebox in 6.5.1 In-Reply-To: References: <52B60B30.9040106@hyperactivesw.com> <8D0CCBB00344583-F84-33C2C@webmail-m296.sysops.aol.com> <52B640DC.9070708@hyperactivesw.com> <48-1418203117.20131221181443@ahsoftware.net> <52B65AB6.7080004@hyperactivesw.com> <133-1409147787.20131221204538@ahsoftware.net> <9594c593-2e84-4205-b664-b2c6554c8275@email.android.com> Message-ID: <73-1361643723.20131222095722@ahsoftware.net> Geoff- Sunday, December 22, 2013, 7:35:46 AM, you wrote: > I think he means the live code updater, as in there's a newer version > available. Yeah, that one. Thanks. -- -Mark Wieder ahsoftware at gmail.com From mwieder at ahsoftware.net Sun Dec 22 13:07:53 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 22 Dec 2013 10:07:53 -0800 Subject: livecode on xubuntu 13.10 In-Reply-To: <52B72480.6050407@harbourhosting.co.uk> References: <52B72480.6050407@harbourhosting.co.uk> Message-ID: <104-1361012947.20131222100753@ahsoftware.net> Martin- Sunday, December 22, 2013, 9:42:24 AM, you wrote: > This weekend I've been trying to get Livecode 6.1 running on xubuntu > 13.10 64bit > After installng 32 bit compatibility stuff and manually copying 32bit > dependency libraries from another ubuntu machine as I couldn't > immediately figure out how else to install them, I did succeed in > getting it to run. Stuff like this is why I left Xubuntu for the happier climes of linux mint. Did you install the ia32 or ia32arch libraries? What dependency libraries did you have to copy? If you're not building the engine from source I don't know what else would be required, although it's been a while since I did this and may not be remembering properly. -- -Mark Wieder ahsoftware at gmail.com From mwieder at ahsoftware.net Sun Dec 22 13:12:38 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 22 Dec 2013 10:12:38 -0800 Subject: [OT] Office Suites In-Reply-To: <52B70D6A.4010804@gmail.com> References: <52B70D6A.4010804@gmail.com> Message-ID: <26-1360727331.20131222101238@ahsoftware.net> Richmond- Sunday, December 22, 2013, 8:03:54 AM, you wrote: > SoftMaker Free Office is way lighter on the RAM consumption on Linux, > and a deal faster than either > LibreOffice or OpenOffice. After I banished Microsoft from my computers I went with Open Office. Then I later dumped Oracle in favor of Libre Office. It's a bit quirky (that's a fairly high-scoring scrabble word if you're lucky enough to get the tiles), and I usually have to do some reformatting by hand, but it gets the job done, has never crashed (yet) and I haven't looked back. But then my main computer runs a reasonable operating system. I'll give SFO a try. Thanks. -- -Mark Wieder ahsoftware at gmail.com From bill at bluewatermaritime.com Sun Dec 22 13:59:01 2013 From: bill at bluewatermaritime.com (william humphrey) Date: Sun, 22 Dec 2013 14:59:01 -0400 Subject: Polling/probing the keyboard? In-Reply-To: <52B55B59.8070508@gmail.com> References: <52B458F6.4030300@gmail.com> <1387611569122-4673964.post@n4.nabble.com> <52B55B59.8070508@gmail.com> Message-ID: If this was possible to do on Mac OS why does Apple have you physically hit the keys on the keyboard when you add a new keyboard (by plugging it in USB or over Bluetooth). If the keyboard could be told to send that data it would be much easier. On Sat, Dec 21, 2013 at 5:11 AM, Richmond wrote: > On 21/12/13 09:39, As_Simon wrote: >> >> Hi Richond, >> I just did a vb script for send keys today; >> >> Set WshShell = WScript.CreateObject("WScript.Shell") >> WshShell.AppActivate "Untitled 1 *" >> Wscript.Sleep 1000 'wait 1 seconds >> WshShell.SendKeys "abcdefghijklmnopqrstuvwxyz" >> WshShell.SendKeys "{ENTER}" >> WScript.Quit >> >> With that and a running exe (title bar "Untitled 1 *) the keys get caught >> by >> the stack. >> Not sure if that helps you but I figure you might then be able to map the >> keys. >> >> Simon >> >> > That's jolly clever. > > However, at the risk of being a damp squib, I am wondering if there is a way > to do this inwith Livecode for 2 sound reasons: > > 1. vb script would tie one to Windows; as pretty well any script would tie > one to a specific operating system. > > 2. Livecode's greatest strength is that one develop something on one > platform and then deploy it all over the place. > > Richmond. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- http://www.bluewatermaritime.com From richmondmathewson at gmail.com Sun Dec 22 14:42:48 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 22 Dec 2013 21:42:48 +0200 Subject: livecode on xubuntu 13.10 In-Reply-To: <104-1361012947.20131222100753@ahsoftware.net> References: <52B72480.6050407@harbourhosting.co.uk> <104-1361012947.20131222100753@ahsoftware.net> Message-ID: <52B740B8.8070105@gmail.com> On 22/12/13 20:07, Mark Wieder wrote: > Martin- > > Sunday, December 22, 2013, 9:42:24 AM, you wrote: > >> This weekend I've been trying to get Livecode 6.1 running on xubuntu >> 13.10 64bit >> After installng 32 bit compatibility stuff and manually copying 32bit >> dependency libraries from another ubuntu machine as I couldn't >> immediately figure out how else to install them, I did succeed in >> getting it to run. > Stuff like this is why I left Xubuntu for the happier climes of linux > mint. Did you install the ia32 or ia32arch libraries? What dependency > libraries did you have to copy? If you're not building the engine from > source I don't know what else would be required, although it's been a > while since I did this and may not be remembering properly. > And I stayed with the happier climes of UbuntuStudio; the good folk who made this flavoured Ubuntu stayed with XFCE (sensibly as far as I am concerned). As Livecode is 32 bit I wonder why anybody would setup a production machine they intend to use with Livecode with a 64 bit variant of Linux ???? Running 32 bit stuff on 64 bit Linux is, inevitably, going to be a fudge. My experience of this (having flirted with 64 bit Linux before slipping back to 32 bit) is that running 32 bit Linux software on 64 bit Linux is actually more problematic than running Windows software using WINE on Linux. Richmond. From richmondmathewson at gmail.com Sun Dec 22 14:53:01 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 22 Dec 2013 21:53:01 +0200 Subject: [OT] Office Suites In-Reply-To: <26-1360727331.20131222101238@ahsoftware.net> References: <52B70D6A.4010804@gmail.com> <26-1360727331.20131222101238@ahsoftware.net> Message-ID: <52B7431D.9060303@gmail.com> On 22/12/13 20:12, Mark Wieder wrote: > Richmond- > > Sunday, December 22, 2013, 8:03:54 AM, you wrote: > >> SoftMaker Free Office is way lighter on the RAM consumption on Linux, >> and a deal faster than either >> LibreOffice or OpenOffice. > After I banished Microsoft from my computers I went with Open Office. > Then I later dumped Oracle in favor of Libre Office. It's a bit quirky > (that's a fairly high-scoring scrabble word if you're lucky enough to > get the tiles), and I usually have to do some reformatting by hand, > but it gets the job done, has never crashed (yet) and I haven't looked > back. > > But then my main computer runs a reasonable operating system. > > I'll give SFO a try. Thanks. > Mark! I, personally, have no problems at all running LibreOffice on my 6 Gigs-O-RAM-UbuntuStudio-Dual-Core-thing; and even on the cranky second-hand stuff I use over at my language school (800 MHz Intel, 512 MB RAM, Ubuntu 6.10 thru 12.04) it does OK-ish. On the school machines I have replaced LibreOffice with Softmaker's free offering not because it is better (it isn't), but because it does pretty well everything that Word for Mac OS 9 did at a significantly smaller chunk of RAM. My 2 boys are anti-LibreOffice because they both say (one on Win7, the other on Mac OS 10.4.11) that it crashes all over the place. My experience is that L-Office did me no great favours on Mac OS 10.6.7 (but as that was a mucked-around install on VMware I wouldn't read too much into it). I do everything-but-everything on UbuntuStudio EXCEPT Livecode development as I have found that that suits me best, mainly because of my reliance on a couple of old Nostromo gamepads for repetitive tasks (the Nostromo 'things' for Linux stink) and because the standalone builders on Mac produce standalones that work on Linux and Windows without subsequent mucking around. Richmond. From richmondmathewson at gmail.com Sun Dec 22 14:55:04 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 22 Dec 2013 21:55:04 +0200 Subject: Polling/probing the keyboard? In-Reply-To: References: <52B458F6.4030300@gmail.com> <1387611569122-4673964.post@n4.nabble.com> <52B55B59.8070508@gmail.com> Message-ID: <52B74398.8060704@gmail.com> On 22/12/13 20:59, william humphrey wrote: > If this was possible to do on Mac OS why does Apple have you > physically hit the keys on the keyboard when you add a new keyboard > (by plugging it in USB or over Bluetooth). If the keyboard could be > told to send that data it would be much easier. I don't know what you are talking about; I happily swap keyboards around amongst my various machines (which include 2 PPC Macs) with no observable problems, nor what you describe. Richmond. > > On Sat, Dec 21, 2013 at 5:11 AM, Richmond wrote: >> On 21/12/13 09:39, As_Simon wrote: >>> Hi Richond, >>> I just did a vb script for send keys today; >>> >>> Set WshShell = WScript.CreateObject("WScript.Shell") >>> WshShell.AppActivate "Untitled 1 *" >>> Wscript.Sleep 1000 'wait 1 seconds >>> WshShell.SendKeys "abcdefghijklmnopqrstuvwxyz" >>> WshShell.SendKeys "{ENTER}" >>> WScript.Quit >>> >>> With that and a running exe (title bar "Untitled 1 *) the keys get caught >>> by >>> the stack. >>> Not sure if that helps you but I figure you might then be able to map the >>> keys. >>> >>> Simon >>> >>> >> That's jolly clever. >> >> However, at the risk of being a damp squib, I am wondering if there is a way >> to do this inwith Livecode for 2 sound reasons: >> >> 1. vb script would tie one to Windows; as pretty well any script would tie >> one to a specific operating system. >> >> 2. Livecode's greatest strength is that one develop something on one >> platform and then deploy it all over the place. >> >> Richmond. >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > From fraser.gordon at runrev.com Sun Dec 22 15:13:27 2013 From: fraser.gordon at runrev.com (Fraser Gordon) Date: Sun, 22 Dec 2013 20:13:27 +0000 Subject: MacToISO is still confusing me In-Reply-To: <00D39165-7F60-4E2C-A432-6AE731B40479@mac.com> References: <00D39165-7F60-4E2C-A432-6AE731B40479@mac.com> Message-ID: <52B747E7.5020103@runrev.com> On 21/12/2013 22:48, Graham Samuel wrote: > put MacToISO(numToChar(185)) > > you don't get a pi symbol. This is not a good start. > Hi Graham, I know this isn't much use to you at the moment, but we're hard at work adding "proper" Unicode support to the LiveCode engine. One of the functions that has been implemented in doing this is numToUnicodeChar which takes a Unicode codepoint value and turns it into a string, e.g.: put "The value of" && numToUnicodeChar(0x3C0) && "is approximately 3.14" into tVar Alternatively, you could just paste the pi character into the string literal itself as scripts and the script editor will support direct entry of Unicode text. With this support, dealing with Unicode strings is no different from working with strings using the native 8-bit encodings like MacRoman and ISO-8859-1. Regards, Fraser From mwieder at ahsoftware.net Sun Dec 22 15:20:34 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 22 Dec 2013 12:20:34 -0800 Subject: livecode on xubuntu 13.10 In-Reply-To: <52B740B8.8070105@gmail.com> References: <52B72480.6050407@harbourhosting.co.uk> <104-1361012947.20131222100753@ahsoftware.net> <52B740B8.8070105@gmail.com> Message-ID: <91-1353052218.20131222122034@ahsoftware.net> Richmond- Sunday, December 22, 2013, 11:42:48 AM, you wrote: > Running 32 bit stuff on 64 bit Linux is, inevitably, going to be a fudge. I am happy to send a 64-bit version of the 6.x engine to anyone who doesn't want to fiddle around with the ia32 libraries. The 32-bit engines run fine for me on 64-bit linux, but I mostly stick with the 64-bit build unless I need to do some compatibility testing. -- -Mark Wieder ahsoftware at gmail.com From mblivecode at harbourhosting.co.uk Sun Dec 22 15:29:54 2013 From: mblivecode at harbourhosting.co.uk (Martin Baxter) Date: Sun, 22 Dec 2013 20:29:54 +0000 Subject: livecode on xubuntu 13.10 In-Reply-To: <104-1361012947.20131222100753@ahsoftware.net> References: <52B72480.6050407@harbourhosting.co.uk> <104-1361012947.20131222100753@ahsoftware.net> Message-ID: <52B74BC2.8080400@harbourhosting.co.uk> On 22/12/13 18:07, Mark Wieder wrote: > Martin- > > Sunday, December 22, 2013, 9:42:24 AM, you wrote: > >> This weekend I've been trying to get Livecode 6.1 running on >> xubuntu 13.10 64bit > >> After installng 32 bit compatibility stuff and manually copying >> 32bit dependency libraries from another ubuntu machine as I >> couldn't immediately figure out how else to install them, I did >> succeed in getting it to run. > > Stuff like this is why I left Xubuntu for the happier climes of > linux mint. Did you install the ia32 or ia32arch libraries? What > dependency libraries did you have to copy? If you're not building the > engine from source I don't know what else would be required, although > it's been a while since I did this and may not be remembering > properly. > It was a struggle trying to figure out what to install. I first tried ia32-lib via apt, but got the reply that it had been "replaced" by 3 other libraries whose names I can't immediately recall (it was late last night), which anyway I duly installed. The multiarch package didn't seem to be avialable either, I couldn't find it listed in Synaptic anyway. Some *possibly* related things but... Anyway that still left the livecode installer not running. I ran ldd to see what it needed and where it might like them to be, found those libs on my other machine and copied them over, until eventually the installer ran. Those were: libX11.so.6.3.0 libXau.so.6.0.0 libxcb.so.6.0.0 libXdmcp.so.6.0.0 libXext.so.6.4.0 (with symlinks in each case for e.g xxxxx.so, xxxxx.so.6) The ide then also ran, but as I say, with mouse pointer issues. As for the standalone, I wonder if the 4.5 engine is not usable on a more recent Linux, or if Xubuntu is just dodgy. I'm leaning to the latter explanation currently. I'm wondering whether to wipe it and start again with some other distro, indeed I'd like to, or if it's just that I'm unfamiliar with this distro. I wanted to install CentOS originally, but the LiveDVD of 6.4 was flaky enough to eat (assuming enough cream on it ;) so I balked. I only installed Xubuntu because a) installation actually worked and b) I can't be doing with them new-fangled Ubuntu versions. I may try with a slightly earlier version of CentOS. I've tried Live CDs and DVDs of current offerings from Mint and OpenSuze, but all exhibit issues. The machine I'm installing on is not new, in fact it was home made and back in the day it ran Red Hat. It may of course have BadBIOS disease, maybe that's the problem. Martin From livfoss at mac.com Sun Dec 22 15:38:44 2013 From: livfoss at mac.com (Graham Samuel) Date: Sun, 22 Dec 2013 21:38:44 +0100 Subject: MacToISO is still confusing me In-Reply-To: <52B6BC09.1030909@harbourhosting.co.uk> References: <00D39165-7F60-4E2C-A432-6AE731B40479@mac.com> <52B6BC09.1030909@harbourhosting.co.uk> Message-ID: <60608F80-414C-45FC-B178-E1BD8ACA5474@mac.com> Thank Martin, that's helpful. I see that HTML is really the way to go. I am still puzzled by a number of things, but I trust these will become clearer when I do some more experimentation. For example: - if any old PC can display pi (the Greek letter) etc as part of its ability to render web pages, the why aren't these symbols available to all users in whatever default font is used in browsers? The feeling is that the PC is saying "sure, I've got them in the box, but I'm not letting oddballs like you access them - whatever next?" - I now see how powerful the idea of htmlText is in extracting styled text from a field in LC (it really does the whole job for you, so I don't have to go through my old text by hand turning it into HTML, as I had thought), but I am still uncertain how to display that field in its full glory (i.e. including characters that aren't 'naturally' available in PC fonts) without using a browser. - again, I am not keen on using Unicode for the simple reason that I don't understand LC's apparent ability to let one mix one-byte and two-byte characters; and if this is allowed, how character counting works in chunk expressions. But as I've said, I'll just use HTML if i can. Thanks again for that good info. Back to the Brandy Butter. Graham On 22 Dec 2013, at 11:16, Martin Baxter wrote: > Graham, > > This page shows the differences between mac roman, ansi and iso-8891 > > > > You will see that PI characters are one of the numerous differences. > obviously, mactoiso isn't magic and if there is no equivalent character > in the set, it cannot help. > > I use html references for this. > > π or π gives lowercase pi > Π or Π should give Capital PI > > So you could > > replace chartonum(185) with "π" in yourMacText > > as a workaround. After putting yourMacText through mactosio() that is. > You would then wrap paragraphs with

and

and anything else you > need to do and then set the htmltext. > > It will depend which version of livecode you are using. Recent versions > support the above references in htmltext, but older versions did not. > > I just tried these with livecode 4.5 and 6.1 > > The above work in 6.1, but not in 4.5 which appears to use [character > position] mod 256 to produce an 8 bit value and displays the resulting > completely incorrect glyph as if that was somehow a helpful thing to do. > (e.g. π shows character 192 - Agrave instead of pi). > > If you need to be thorough, you will want to cater for all the > differences between the character sets as shown in the alanwood.net link > above. What that page calls ANSI is, in practise, what mactoiso attempts > to translate to. > > It should be possible to deal with this by converting to some flavour of > unicode I would think, but I can't help you with that. > > Hope this helps > > Martin BAxter > > > > > On 21/12/13 22:48, Graham Samuel wrote: >> In a last desperate attempt to avoid both HTML and Unicode in >> translating just a few key characters from Mac to PC, I'm trying to >> use the built-in function MacToISO, as suggested recently by Jacque >> Gay. >> >> Sadly I'm having trouble. Take the Greek letter pi, often used in >> mathematics. There is a native Mac encoding for it, which turns out >> to be decimal 185. But if you do this in the LiveCode message box >> running on a PC: >> >> put MacToISO(numToChar(185)) >> >> you don't get a pi symbol. This is not a good start. >> >> The LC dictionary says that MacToISO translates those characters >> whose codes are above 127 from the Mac encoding to the Windows Latin >> 1 character set, which I assume is always available on PCs in Europe >> and the US (and maybe everywhere else). When I look up this character >> set in Wikipedia, it does contain the odd Greek letter, but not pi. >> And in fact there are very few maths symbols (no 'less than or equal >> to' or 'greater than or equal to', for example). So a lot of stuff >> easily available on the Mac just isn't there on PCs. >> >> I hadn't expected this - am I doing something wrong? Probably, but >> I'd like to know what. Meanwhile, it's time for HTML, I suppose. >> >> TIA for any clarification. >> >> Graham _______________________________________________ use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Sun Dec 22 15:40:56 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 22 Dec 2013 22:40:56 +0200 Subject: MacToISO is still confusing me In-Reply-To: <52B747E7.5020103@runrev.com> References: <00D39165-7F60-4E2C-A432-6AE731B40479@mac.com> <52B747E7.5020103@runrev.com> Message-ID: <52B74E58.6020600@gmail.com> On 22/12/13 22:13, Fraser Gordon wrote: > On 21/12/2013 22:48, Graham Samuel wrote: >> put MacToISO(numToChar(185)) >> >> you don't get a pi symbol. This is not a good start. >> > Hi Graham, > > I know this isn't much use to you at the moment, but we're hard at work > adding "proper" Unicode support to the LiveCode engine. One of the > functions that has been implemented in doing this is numToUnicodeChar > which takes a Unicode codepoint value and turns it into a string, e.g.: > > put "The value of" && numToUnicodeChar(0x3C0) && "is approximately 3.14" > into tVar > > Alternatively, you could just paste the pi character into the string > literal itself as scripts and the script editor will support direct > entry of Unicode text. With this support, dealing with Unicode strings > is no different from working with strings using the native 8-bit > encodings like MacRoman and ISO-8859-1. > > Regards, > Fraser > > > I just did this: on mouseUp set the useUnicode to true put numToChar(42001) into CH42001 set the unicodeText of fld "OOT" to CH42001 end mouseUp and everything worked perfectly alright, I am aware that that is just a fancy way of doing this: on mouseUp set the useUnicode to true set the unicodeText of fld "OOT" to numToChar(42001) end mouseUp but set the useUnicode to true put numToChar(42001) into CH42001 converts a Unicode codepoint into a string without there being a need for anything new at all. Of course one can build up a long string (i.e. longer than a single Unicode char) in an extremely obvious way: set the useUnicode to true put numToChar(471) & numToChar(567) & numToChar(9925) into UNICODEstring Richmond. From richmondmathewson at gmail.com Sun Dec 22 15:41:40 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 22 Dec 2013 22:41:40 +0200 Subject: livecode on xubuntu 13.10 In-Reply-To: <91-1353052218.20131222122034@ahsoftware.net> References: <52B72480.6050407@harbourhosting.co.uk> <104-1361012947.20131222100753@ahsoftware.net> <52B740B8.8070105@gmail.com> <91-1353052218.20131222122034@ahsoftware.net> Message-ID: <52B74E84.7030102@gmail.com> On 22/12/13 22:20, Mark Wieder wrote: > Richmond- > > Sunday, December 22, 2013, 11:42:48 AM, you wrote: > >> Running 32 bit stuff on 64 bit Linux is, inevitably, going to be a fudge. > I am happy to send a 64-bit version of the 6.x engine to anyone who > doesn't want to fiddle around with the ia32 libraries. The 32-bit > engines run fine for me on 64-bit linux, but I mostly stick with the > 64-bit build unless I need to do some compatibility testing. > Now that sounds rather a good thing. From livfoss at mac.com Sun Dec 22 15:42:45 2013 From: livfoss at mac.com (Graham Samuel) Date: Sun, 22 Dec 2013 21:42:45 +0100 Subject: MacToISO is still confusing me In-Reply-To: <52B747E7.5020103@runrev.com> References: <00D39165-7F60-4E2C-A432-6AE731B40479@mac.com> <52B747E7.5020103@runrev.com> Message-ID: Thanks Fraser. That's really encouraging. I'm sure that I'll be using UniCode quite a bit when this bit of LC evolution matures. I take it that in the example you give, one could directly display the contents of tVar to a user (by putting it into a field, for example), and that this would work cross-platform. That must be the aim, no? Graham On 22 Dec 2013, at 21:13, Fraser Gordon wrote: > On 21/12/2013 22:48, Graham Samuel wrote: >> put MacToISO(numToChar(185)) >> >> you don't get a pi symbol. This is not a good start. >> > Hi Graham, > > I know this isn't much use to you at the moment, but we're hard at work > adding "proper" Unicode support to the LiveCode engine. One of the > functions that has been implemented in doing this is numToUnicodeChar > which takes a Unicode codepoint value and turns it into a string, e.g.: > > put "The value of" && numToUnicodeChar(0x3C0) && "is approximately 3.14" > into tVar > > Alternatively, you could just paste the pi character into the string > literal itself as scripts and the script editor will support direct > entry of Unicode text. With this support, dealing with Unicode strings > is no different from working with strings using the native 8-bit > encodings like MacRoman and ISO-8859-1. > > Regards, > Fraser > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From livfoss at mac.com Sun Dec 22 15:44:38 2013 From: livfoss at mac.com (Graham Samuel) Date: Sun, 22 Dec 2013 21:44:38 +0100 Subject: MacToISO is still confusing me In-Reply-To: <52B74E58.6020600@gmail.com> References: <00D39165-7F60-4E2C-A432-6AE731B40479@mac.com> <52B747E7.5020103@runrev.com> <52B74E58.6020600@gmail.com> Message-ID: <45CC77BE-182D-4A09-B77C-A8B6A0446DB9@mac.com> Yes, but can you **see** the string (in a field, presumably) cross-platform without mucking about with fonts? And if so, which of the now rich collection of platforms? Search me. Graham On 22 Dec 2013, at 21:40, Richmond wrote: > On 22/12/13 22:13, Fraser Gordon wrote: >> On 21/12/2013 22:48, Graham Samuel wrote: >>> put MacToISO(numToChar(185)) >>> >>> you don't get a pi symbol. This is not a good start. >>> >> Hi Graham, >> >> I know this isn't much use to you at the moment, but we're hard at work >> adding "proper" Unicode support to the LiveCode engine. One of the >> functions that has been implemented in doing this is numToUnicodeChar >> which takes a Unicode codepoint value and turns it into a string, e.g.: >> >> put "The value of" && numToUnicodeChar(0x3C0) && "is approximately 3.14" >> into tVar >> >> Alternatively, you could just paste the pi character into the string >> literal itself as scripts and the script editor will support direct >> entry of Unicode text. With this support, dealing with Unicode strings >> is no different from working with strings using the native 8-bit >> encodings like MacRoman and ISO-8859-1. >> >> Regards, >> Fraser >> >> >> > > I just did this: > > on mouseUp > set the useUnicode to true > put numToChar(42001) into CH42001 > set the unicodeText of fld "OOT" to CH42001 > end mouseUp > > and everything worked perfectly alright, > > I am aware that that is just a fancy way of doing this: > > on mouseUp > set the useUnicode to true > set the unicodeText of fld "OOT" to numToChar(42001) > end mouseUp > > but > > set the useUnicode to true > put numToChar(42001) into CH42001 > > converts a Unicode codepoint into a string without there being a need for anything new at all. > > Of course one can build up a long string (i.e. longer than a single Unicode char) in an extremely obvious > way: > > set the useUnicode to true > put numToChar(471) & numToChar(567) & numToChar(9925) into UNICODEstring > > Richmond. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mblivecode at harbourhosting.co.uk Sun Dec 22 15:50:28 2013 From: mblivecode at harbourhosting.co.uk (Martin Baxter) Date: Sun, 22 Dec 2013 20:50:28 +0000 Subject: livecode on xubuntu 13.10 In-Reply-To: <52B740B8.8070105@gmail.com> References: <52B72480.6050407@harbourhosting.co.uk> <104-1361012947.20131222100753@ahsoftware.net> <52B740B8.8070105@gmail.com> Message-ID: <52B75094.50205@harbourhosting.co.uk> On 22/12/13 19:42, Richmond wrote: > On 22/12/13 20:07, Mark Wieder wrote: >> Martin- >> >> Sunday, December 22, 2013, 9:42:24 AM, you wrote: >> >>> This weekend I've been trying to get Livecode 6.1 running on >>> xubuntu 13.10 64bit After installng 32 bit compatibility stuff >>> and manually copying 32bit dependency libraries from another >>> ubuntu machine as I couldn't immediately figure out how else to >>> install them, I did succeed in getting it to run. >> Stuff like this is why I left Xubuntu for the happier climes of >> linux mint. Did you install the ia32 or ia32arch libraries? What >> dependency libraries did you have to copy? If you're not building >> the engine from source I don't know what else would be required, >> although it's been a while since I did this and may not be >> remembering properly. >> > > And I stayed with the happier climes of UbuntuStudio; the good folk > who made this flavoured Ubuntu stayed with XFCE (sensibly as far as I > am concerned). > > As Livecode is 32 bit I wonder why anybody would setup a production > machine they intend to use with Livecode with a 64 bit variant of > Linux ???? > > Running 32 bit stuff on 64 bit Linux is, inevitably, going to be a > fudge. > > My experience of this (having flirted with 64 bit Linux before > slipping back to 32 bit) is that running 32 bit Linux software on 64 > bit Linux is actually more problematic than running Windows software > using WINE on Linux. > > Richmond. > Running 32bit on 64bit architecture certainly could be easier. I will say it has been fairly plain sailing on my Ubuntu Lucid machine though, once I figured out what to install. I do like being able to use all the installed ram however, and 32bit of course can't. Livecode is probably not the only app I will have in memory once I get down to work. At this point I'm not committed to using any particular distro. Xubuntu seemed worth a tryout, and it is bearable I suppose, and more or less functional (plus points), but so far I'm a little wary of committing to it. If it comes to it, I do have a few 32bit distros kicking around that may in fact work better, so I haven't actually ruled that option out. Martin From fraser.gordon at runrev.com Sun Dec 22 15:52:15 2013 From: fraser.gordon at runrev.com (Fraser Gordon) Date: Sun, 22 Dec 2013 20:52:15 +0000 Subject: MacToISO is still confusing me In-Reply-To: References: <00D39165-7F60-4E2C-A432-6AE731B40479@mac.com> <52B747E7.5020103@runrev.com> Message-ID: <52B750FF.2080806@runrev.com> On 22/12/2013 20:42, Graham Samuel wrote: > I take it that in the example you give, one could directly display the contents of tVar to a user (by putting it into a field, for example), and that this would work cross-platform. That must be the aim, no? That is exactly the aim. Different platforms use different encodings for Unicode strings (UTF-16 on iOS, Windows and OSX; UTF-8 on Linux and Android, IIRC) but this is handled by the engine and should not be visible in any way to scripts. In fact, the encoding used by the engine itself should also be invisible (as it could depend on the contents of the string). One thing we can't control is what fonts are installed on the various devices but I'd be extremely surprised if you found something that doesn't include the Greek alphabet. Some more obscure characters may not display on all devices, unfortunately. In other words, I'm too much of an engineer to give an unqualified answer, but the answer is "yes" ;) From dochawk at gmail.com Sun Dec 22 15:54:52 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sun, 22 Dec 2013 12:54:52 -0800 Subject: [OT] Office Suites In-Reply-To: References: <52B70D6A.4010804@gmail.com> Message-ID: On Sun, Dec 22, 2013 at 8:24 AM, Mike Kerner wrote: > what specifically have they found with libre? We have a pile of people > using libre and nobody using open > Once forked, LO was a *huge* step dow on stability from OO. However, the mac version, at least, has gotten steadily better. Versions from late this year are as stable as any OO I've ever used, and more stable than the MS I've used over the years (Granted, 5.1 Mac was the last I used extensively . . .) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From fraser.gordon at runrev.com Sun Dec 22 15:57:13 2013 From: fraser.gordon at runrev.com (Fraser Gordon) Date: Sun, 22 Dec 2013 20:57:13 +0000 Subject: livecode on xubuntu 13.10 In-Reply-To: <52B75094.50205@harbourhosting.co.uk> References: <52B72480.6050407@harbourhosting.co.uk> <104-1361012947.20131222100753@ahsoftware.net> <52B740B8.8070105@gmail.com> <52B75094.50205@harbourhosting.co.uk> Message-ID: <52B75229.2040704@runrev.com> On 22/12/2013 20:50, Martin Baxter wrote: > I do like being able to use all the installed ram however, and 32bit of > course can't. Livecode is probably not the only app I will have in > memory once I get down to work. Unlike Windows XP (which originally had, but later removed the feature due to buggy drivers), any modern 32-bit Linux distro should support and use PAE, a CPU feature that allows use of more than 32-bits-worth/4GB of RAM. (Enabling PAE is in fact required on the x86 architecture for supporting no-execute pages). This doesn't allow for use of more than 4GB of RAM per process (unless you're running some sort of enterprise database that uses special techniques) but it does mean all your RAM gets used. From mblivecode at harbourhosting.co.uk Sun Dec 22 16:04:13 2013 From: mblivecode at harbourhosting.co.uk (Martin Baxter) Date: Sun, 22 Dec 2013 21:04:13 +0000 Subject: livecode on xubuntu 13.10 In-Reply-To: <52B75229.2040704@runrev.com> References: <52B72480.6050407@harbourhosting.co.uk> <104-1361012947.20131222100753@ahsoftware.net> <52B740B8.8070105@gmail.com> <52B75094.50205@harbourhosting.co.uk> <52B75229.2040704@runrev.com> Message-ID: <52B753CD.8050103@harbourhosting.co.uk> On 22/12/13 20:57, Fraser Gordon wrote: > On 22/12/2013 20:50, Martin Baxter wrote: >> I do like being able to use all the installed ram however, and 32bit of >> course can't. Livecode is probably not the only app I will have in >> memory once I get down to work. > > Unlike Windows XP (which originally had, but later removed the feature > due to buggy drivers), any modern 32-bit Linux distro should support and > use PAE, a CPU feature that allows use of more than 32-bits-worth/4GB of > RAM. (Enabling PAE is in fact required on the x86 architecture for > supporting no-execute pages). > > This doesn't allow for use of more than 4GB of RAM per process (unless > you're running some sort of enterprise database that uses special > techniques) but it does mean all your RAM gets used. > Well that's great to know. I think the last time I actually checked my facts on this *WAS* indeed some years ago. Martin From mblivecode at harbourhosting.co.uk Sun Dec 22 16:27:43 2013 From: mblivecode at harbourhosting.co.uk (Martin Baxter) Date: Sun, 22 Dec 2013 21:27:43 +0000 Subject: MacToISO is still confusing me In-Reply-To: <60608F80-414C-45FC-B178-E1BD8ACA5474@mac.com> References: <00D39165-7F60-4E2C-A432-6AE731B40479@mac.com> <52B6BC09.1030909@harbourhosting.co.uk> <60608F80-414C-45FC-B178-E1BD8ACA5474@mac.com> Message-ID: <52B7594F.4080709@harbourhosting.co.uk> On 22/12/13 20:38, Graham Samuel wrote: > - if any old PC can display pi (the Greek letter) etc as part of its > ability to render web pages, the why aren't these symbols available > to all users in whatever default font is used in browsers? The > feeling is that the PC is saying "sure, I've got them in the box, but > I'm not letting oddballs like you access them - whatever next?" > I'm not certain about this but it may be that (some?) web browsers contain an embedded default font that they can use in case a specific glyph is not available in the system font in use. You can occasionally see unusual characters rendered in a web page in a clearly different font from the surrounding text. mactosio() is of course a product of the 8bit character set era and remains stuck in it, but that doesn't mean that Windows OS is nowadays still limited to single byte characters any more than the Mac is nowadays limited only to the characters available in the venerable Mac Roman character set. When Livecode gets the promised transparent multibyte support, these issues should become historic. Martin From MikeKerner at roadrunner.com Sun Dec 22 17:16:15 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sun, 22 Dec 2013 17:16:15 -0500 Subject: [OT] Office Suites In-Reply-To: <52B71E00.4030105@gmail.com> References: <52B70D6A.4010804@gmail.com> <52B713D2.7020204@gmail.com> <52B71E00.4030105@gmail.com> Message-ID: Not at all, Richmond, I was more surprised that you were having problems, since we haven't had any reports of stability issues internally. On Sun, Dec 22, 2013 at 12:14 PM, Richmond wrote: > On 22/12/13 18:52, Mike Kerner wrote: > >> Do you have a recipe and/or version with the issue? I'd have to count the >> number of LO users we have, but I haven't had any crash reports. >> > > Like I said: crude and unreliable. > > Just that my kids (one with Win 7, the other with Mac 10.4) and I on Mac > 10.6 have had sudden crashes > with LibreOffice, and since installing OpenOffice instead have not. > > In your situation I would not get too worked up about my rather limited > data. > > I hoped that my posting would elicit an "outpouring" of many people's > expereince with Free Office Suites > rather than sending you off into a horrible panic. > > Indeed I am extremely sorry if my posting has upset you; it wasn't meant > to do that. > > > Richmond. > > >> >> On Sun, Dec 22, 2013 at 11:31 AM, Richmond >> wrote: >> >> On 22/12/13 18:24, Mike Kerner wrote: >>> >>> what specifically have they found with libre? We have a pile of people >>>> using libre and nobody using open >>>> >>>> Crashing on Windows 7 >>> >>> Richmond. >>> >>> >>> >>> On Sun, Dec 22, 2013 at 11:03 AM, Richmond >>> > >>>> wrote: >>>> >>>> This data is crude and unreliable yet may still have some bearing on >>>> >>>>> pasting >>>>> back and forth from the Livecode script editor: >>>>> >>>>> 1. My older son runs Windows 7 on his laptop and says that LibreOffice >>>>> is >>>>> way to buggy to use, and so uses >>>>> Apache Open Office. >>>>> >>>>> 2. I run Mac OS 10.6 inside VMware and have had some pretty rough >>>>> moments >>>>> with LibreOffice there; so >>>>> switched to Apache Open Office. >>>>> >>>>> My younger son runs Mac OS 10.4 on an old INTEL MacBook and >>>>> reports >>>>> similar findings. >>>>> >>>>> 3. LibreOffice seems better on Linux than Apache Open Office. >>>>> >>>>> SoftMaker Free Office is way lighter on the RAM consumption on Linux, >>>>> and >>>>> a deal faster than either >>>>> LibreOffice or OpenOffice. >>>>> >>>>> --------------- >>>>> >>>>> One way to make this data slightly less crude and unreliable is for >>>>> other >>>>> people on this >>>>> Use-List to chip in with their experiences. >>>>> >>>>> Richmond. >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>>> >>>>> >>>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >> >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From jiml at netrin.com Sun Dec 22 19:13:31 2013 From: jiml at netrin.com (Jim Lambert) Date: Sun, 22 Dec 2013 16:13:31 -0800 Subject: Scalini - image scaler for resolution independence In-Reply-To: References: Message-ID: I?ve uploaded a stack called ?Scalini? to revOnline (User Samples | Sample Stacks). Give it a folder of images. It will create scaled and properly named versions of those images to take advantage of LiveCode?s resolution independence. Create your art at 4X the ?natural density?. Scalini will scale your images down to .25x, .5x, .75x, 1x, 1.5x, 2x and 4x. The images in your stack should reference the 1x (@medium) version. Hope you find Scalini useful. Jim Lambert From roger.e.eller at sealedair.com Sun Dec 22 19:27:54 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sun, 22 Dec 2013 19:27:54 -0500 Subject: Scalini - image scaler for resolution independence In-Reply-To: References: Message-ID: It is an honor to be the first downloader of such a great productivity tool. Thank you for this! ~Roger On Dec 22, 2013 7:14 PM, "Jim Lambert" wrote: > I?ve uploaded a stack called ?Scalini? to revOnline (User Samples | Sample > Stacks). > > Give it a folder of images. It will create scaled and properly named > versions of those images to take advantage of LiveCode?s resolution > independence. > > Create your art at 4X the ?natural density?. Scalini will scale your > images down to .25x, .5x, .75x, 1x, 1.5x, 2x and 4x. > The images in your stack should reference the 1x (@medium) version. > > Hope you find Scalini useful. > > Jim Lambert > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From peterwawood at gmail.com Sun Dec 22 19:55:16 2013 From: peterwawood at gmail.com (Peter W A Wood) Date: Mon, 23 Dec 2013 08:55:16 +0800 Subject: MacToISO is still confusing me In-Reply-To: <52B750FF.2080806@runrev.com> References: <00D39165-7F60-4E2C-A432-6AE731B40479@mac.com> <52B747E7.5020103@runrev.com> <52B750FF.2080806@runrev.com> Message-ID: <40D75976-38DE-410C-99E4-D9DC269362DD@gmail.com> Fraser On 23 Dec 2013, at 04:52, Fraser Gordon wrote: > Different platforms use different encodings for > Unicode strings (UTF-16 on iOS, Windows and OSX; UTF-8 on Linux and > Android, IIRC) but this is handled by the engine and should not be > visible in any way to scripts. Will the Unicode support cope with OS X encoding being UTF-16 for Cocoa (LiveCode Desktop) and UTf-8 for Darwin (LiveCode Server)? Regards Peter From capellan2000 at gmail.com Sun Dec 22 20:45:06 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sun, 22 Dec 2013 17:45:06 -0800 (PST) Subject: Scalini - image scaler for resolution independence In-Reply-To: References: Message-ID: <1387763106551-4674052.post@n4.nabble.com> Just followed your instructions and found it at once in RevOnline. :) This is a real time saver! Would you consider to include png as an option too? Keep Up your great work! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Scalini-image-scaler-for-resolution-independence-tp4674049p4674052.html Sent from the Revolution - User mailing list archive at Nabble.com. From fraser.gordon at runrev.com Mon Dec 23 07:34:20 2013 From: fraser.gordon at runrev.com (Fraser Gordon) Date: Mon, 23 Dec 2013 12:34:20 +0000 Subject: MacToISO is still confusing me In-Reply-To: <40D75976-38DE-410C-99E4-D9DC269362DD@gmail.com> References: <00D39165-7F60-4E2C-A432-6AE731B40479@mac.com> <52B747E7.5020103@runrev.com> <52B750FF.2080806@runrev.com> <40D75976-38DE-410C-99E4-D9DC269362DD@gmail.com> Message-ID: <52B82DCC.3030900@runrev.com> On 23/12/2013 00:55, Peter W A Wood wrote: > Will the Unicode support cope with OS X encoding being UTF-16 for Cocoa (LiveCode Desktop) and UTf-8 for Darwin (LiveCode Server)? As implemented, things get re-encoded (if required) at the boundary when calls are made to the OS. Currently, UTF-16 is being used for strings that can't be represented in the native 8-bit encoding so, for Cocoa and Win32, this is passed straight to the OS while on Linux it gets converted to the system's default encoding (UTF-8 on most recent Linux distros but it could be something else). Darwin will be the same (except fixed as UTF-8). All of this should be invisible to scripts, of course. Ideally, the use of Unicode should be entirely transparent - something that works on the native 8-bit encoding should also work identically on Unicode. Similarly, the choice of encoding at the OS level should not make any visible differences. (As an example, "char x to y of" doesn't depend on the encoding; whole characters are always selected, even if they are encoded as multiple bytes or 16-bit words). From peterwawood at gmail.com Mon Dec 23 07:52:52 2013 From: peterwawood at gmail.com (Peter W A Wood) Date: Mon, 23 Dec 2013 20:52:52 +0800 Subject: MacToISO is still confusing me In-Reply-To: <52B82DCC.3030900@runrev.com> References: <00D39165-7F60-4E2C-A432-6AE731B40479@mac.com> <52B747E7.5020103@runrev.com> <52B750FF.2080806@runrev.com> <40D75976-38DE-410C-99E4-D9DC269362DD@gmail.com> <52B82DCC.3030900@runrev.com> Message-ID: <5AD57B56-5B13-406B-BE76-67EC34B5290D@gmail.com> Many thanks for the comprehensive reply Fraser. Have a good break. Peter On 23 Dec 2013, at 20:34, Fraser Gordon wrote: > On 23/12/2013 00:55, Peter W A Wood wrote: >> Will the Unicode support cope with OS X encoding being UTF-16 for Cocoa (LiveCode Desktop) and UTf-8 for Darwin (LiveCode Server)? > > As implemented, things get re-encoded (if required) at the boundary when > calls are made to the OS. Currently, UTF-16 is being used for strings > that can't be represented in the native 8-bit encoding so, for Cocoa and > Win32, this is passed straight to the OS while on Linux it gets > converted to the system's default encoding (UTF-8 on most recent Linux > distros but it could be something else). Darwin will be the same (except > fixed as UTF-8). > > All of this should be invisible to scripts, of course. Ideally, the use > of Unicode should be entirely transparent - something that works on the > native 8-bit encoding should also work identically on Unicode. > Similarly, the choice of encoding at the OS level should not make any > visible differences. (As an example, "char x to y of" doesn't depend on > the encoding; whole characters are always selected, even if they are > encoded as multiple bytes or 16-bit words). > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dochawk at gmail.com Mon Dec 23 12:23:22 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Mon, 23 Dec 2013 09:23:22 -0800 Subject: pasting from LibreOffice triggers unsavable loop in 6.5.1 In-Reply-To: References: <52B6091B.4040801@fourthworld.com> Message-ID: On Sat, Dec 21, 2013 at 2:43 PM, Dr. Hawkins wrote: > Bug 11625: > http://quality.runrev.com/show_bug.cgi?id=11625 > > Just got notice that they've confirmed the bug from both LO and OO -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From richmondmathewson at gmail.com Mon Dec 23 12:25:02 2013 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 23 Dec 2013 19:25:02 +0200 Subject: pasting from LibreOffice triggers unsavable loop in 6.5.1 In-Reply-To: References: <52B6091B.4040801@fourthworld.com> Message-ID: <52B871EE.6080904@gmail.com> On 23/12/13 19:23, Dr. Hawkins wrote: > On Sat, Dec 21, 2013 at 2:43 PM, Dr. Hawkins wrote: > >> Bug 11625: >> http://quality.runrev.com/show_bug.cgi?id=11625 >> >> > Just got notice that they've confirmed the bug from both LO and OO > > I suppose that is hardly surprising as LO and OO are 'kissing cousins' au fond. Richmond. From jacque at hyperactivesw.com Mon Dec 23 12:36:25 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 23 Dec 2013 11:36:25 -0600 Subject: pasting from LibreOffice triggers unsavable loop in 6.5.1 In-Reply-To: References: <7E12C4C0-DE04-4B9A-883C-92696CF735EF@major-k.de> Message-ID: <52B87499.9000904@hyperactivesw.com> On 12/22/13 9:51 AM, Dr. Hawkins wrote: > On Sun, Dec 22, 2013 at 6:32 AM, Klaus major-k wrote: > >> In my experience (Mac) there are always some problems when pasting >> text (formatted or not) from outside sources like TextEdit etc. in the IDE. >> > > and in this case, a few lines of comments, not even modified before > being copied & pasted back This doesn't exactly address the problem, but I think you said you were only doing some global replacements in the script. You can do that directly in the script editor and avoid the external editor issue. Cmd-F will bring up the Find pane in the editor, and clicking the "More" button will allow lots of ways to replace text, including a regex option (expand the little toggle arrow to see them.) Cmd-Shift-F will bring up the replace dialog directly. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Dec 23 12:38:25 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 23 Dec 2013 11:38:25 -0600 Subject: [OT] I wonder. In-Reply-To: <52B70BA5.9040604@gmail.com> References: <52B42917.3030502@gmail.com> <0604184F-65F3-409A-80EC-0B428191B75A@economy-x-talk.com> <52B6A7EC.4010801@gmail.com> <52B70BA5.9040604@gmail.com> Message-ID: <52B87511.9020509@hyperactivesw.com> On 12/22/13 9:56 AM, Richmond wrote: > On 22/12/13 17:32, Geoff Canyon wrote: >> On Sun, Dec 22, 2013 at 3:50 AM, Richmond >> wrote: >> >>> And that chap didn't even show any signs of assembling the ingredients. >>> >> Well, he didn't finish, that's for sure, but he did start out reasonably >> well. He had a prototype that did a fair number of things, poorly and >> buggily. >> _______________________________________________ >> > > Hammer does seem to go a bit further than that. I wonder if we're talking about the guy on the HC list (he never worked for SC, but he did work at AOL for a brief period.) He wrote a couple of different "HC replacements". He abandoned the first one and barely started the second. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Dec 23 12:46:23 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 23 Dec 2013 11:46:23 -0600 Subject: livecode on xubuntu 13.10 In-Reply-To: <91-1353052218.20131222122034@ahsoftware.net> References: <52B72480.6050407@harbourhosting.co.uk> <104-1361012947.20131222100753@ahsoftware.net> <52B740B8.8070105@gmail.com> <91-1353052218.20131222122034@ahsoftware.net> Message-ID: <52B876EF.7050505@hyperactivesw.com> On 12/22/13 2:20 PM, Mark Wieder wrote: > Richmond- > > Sunday, December 22, 2013, 11:42:48 AM, you wrote: > >> Running 32 bit stuff on 64 bit Linux is, inevitably, going to be a fudge. > > I am happy to send a 64-bit version of the 6.x engine to anyone who > doesn't want to fiddle around with the ia32 libraries. The 32-bit > engines run fine for me on 64-bit linux, but I mostly stick with the > 64-bit build unless I need to do some compatibility testing. > Does your build support old-style text-based CGI scripts? Is this the engine I've been waiting for? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Dec 23 12:49:21 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 23 Dec 2013 11:49:21 -0600 Subject: MacToISO is still confusing me In-Reply-To: <60608F80-414C-45FC-B178-E1BD8ACA5474@mac.com> References: <00D39165-7F60-4E2C-A432-6AE731B40479@mac.com> <52B6BC09.1030909@harbourhosting.co.uk> <60608F80-414C-45FC-B178-E1BD8ACA5474@mac.com> Message-ID: <52B877A1.1090901@hyperactivesw.com> On 12/22/13 2:38 PM, Graham Samuel wrote: > - I now see how powerful the idea of htmlText is in extracting styled > text from a field in LC (it really does the whole job for you, so I > don't have to go through my old text by hand turning it into HTML, as > I had thought), but I am still uncertain how to display that field in > its full glory (i.e. including characters that aren't 'naturally' > available in PC fonts) without using a browser. It's pretty easy to display html in a field. Once you create the string with the html entities (i.e., you've replaced the pi symbol with "π") you just do this: set the htmltext of fld x to tHTMLString Somehow the engine seems to find everything on either OS. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jiml at netrin.com Mon Dec 23 12:51:03 2013 From: jiml at netrin.com (Jim Lambert) Date: Mon, 23 Dec 2013 09:51:03 -0800 Subject: Scalini - image scaler for resolution independence In-Reply-To: References: Message-ID: <90C77759-BBEF-46EE-9C0C-9A9C85CEA943@netrin.com> RogerE wrote: > It is an honor to be the first downloader of such a great productivity > tool. Thank you for this! You?re welcome. Thanks for the kind words. AlejandroT wrote: > This is a real time saver! Would you consider to > include png as an option too? Hi Alejandro, If your source images are PNG and you don?t select the Export as JPEG checkbox, then the scaled images will retain their PNG format. But I think you may want an option to Export as PNG. That is a good idea. I will add it over the holiday. Jim Lambert From richmondmathewson at gmail.com Mon Dec 23 12:52:21 2013 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 23 Dec 2013 19:52:21 +0200 Subject: pasting from LibreOffice triggers unsavable loop in 6.5.1 In-Reply-To: <52B87499.9000904@hyperactivesw.com> References: <7E12C4C0-DE04-4B9A-883C-92696CF735EF@major-k.de> <52B87499.9000904@hyperactivesw.com> Message-ID: <52B87855.9050709@gmail.com> On 23/12/13 19:36, J. Landman Gay wrote: > On 12/22/13 9:51 AM, Dr. Hawkins wrote: >> On Sun, Dec 22, 2013 at 6:32 AM, Klaus major-k wrote: >> >>> In my experience (Mac) there are always some problems when pasting >>> text (formatted or not) from outside sources like TextEdit etc. in >>> the IDE. >>> >> >> and in this case, a few lines of comments, not even modified before >> being copied & pasted back > > This doesn't exactly address the problem, but I think you said you > were only doing some global replacements in the script. You can do > that directly in the script editor and avoid the external editor > issue. Cmd-F will bring up the Find pane in the editor, and clicking > the "More" button will allow lots of ways to replace text, including a > regex option (expand the little toggle arrow to see them.) Cmd-Shift-F > will bring up the replace dialog directly. > I haven'\t had that problem with Appleworks (!!!!) on Mac OS 10.6. Richmond. From m.schonewille at economy-x-talk.com Mon Dec 23 12:53:50 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 23 Dec 2013 18:53:50 +0100 Subject: [OT] Office Suites In-Reply-To: <52B70D6A.4010804@gmail.com> References: <52B70D6A.4010804@gmail.com> Message-ID: <52B878AE.5080504@economy-x-talk.com> Hi Richmond, I use all components of LibreOffice regularly. I use it on Mac OS X and Windows most of the time, occasionally on Linux. Sometimes it works slightly differently from what I would expect, but it (almost) never crashes. The biggest problem I have with both LibreOffice and OpenOffice is their lack of speed. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi Fill out this survey please http://livecodebeginner.economy-x-talk.com/survey/ On 12/22/2013 17:03, Richmond wrote: > This data is crude and unreliable yet may still have some bearing on > pasting > back and forth from the Livecode script editor: > > 1. My older son runs Windows 7 on his laptop and says that LibreOffice > is way to buggy to use, and so uses > Apache Open Office. > > 2. I run Mac OS 10.6 inside VMware and have had some pretty rough > moments with LibreOffice there; so > switched to Apache Open Office. > > My younger son runs Mac OS 10.4 on an old INTEL MacBook and reports > similar findings. > > 3. LibreOffice seems better on Linux than Apache Open Office. > > SoftMaker Free Office is way lighter on the RAM consumption on Linux, > and a deal faster than either > LibreOffice or OpenOffice. > From richmondmathewson at gmail.com Mon Dec 23 12:59:59 2013 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 23 Dec 2013 19:59:59 +0200 Subject: [OT] Office Suites In-Reply-To: <52B878AE.5080504@economy-x-talk.com> References: <52B70D6A.4010804@gmail.com> <52B878AE.5080504@economy-x-talk.com> Message-ID: <52B87A1F.8010009@gmail.com> On 23/12/13 19:53, Mark Schonewille wrote: > Hi Richmond, > > I use all components of LibreOffice regularly. I use it on Mac OS X > and Windows most of the time, occasionally on Linux. Sometimes it > works slightly differently from what I would expect, but it (almost) > never crashes. The biggest problem I have with both LibreOffice and > OpenOffice is their lack of speed. Abiword is faster, although it is only really any good for word-processing. http://www.abisource.com/ Richmond. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other > colour spaces. http://www.color-converter.com > > Buy my new book "Programming LiveCode for the Real Beginner" > http://qery.us/3fi > > Fill out this survey please > http://livecodebeginner.economy-x-talk.com/survey/ > > On 12/22/2013 17:03, Richmond wrote: >> This data is crude and unreliable yet may still have some bearing on >> pasting >> back and forth from the Livecode script editor: >> >> 1. My older son runs Windows 7 on his laptop and says that LibreOffice >> is way to buggy to use, and so uses >> Apache Open Office. >> >> 2. I run Mac OS 10.6 inside VMware and have had some pretty rough >> moments with LibreOffice there; so >> switched to Apache Open Office. >> >> My younger son runs Mac OS 10.4 on an old INTEL MacBook and reports >> similar findings. >> >> 3. LibreOffice seems better on Linux than Apache Open Office. >> >> SoftMaker Free Office is way lighter on the RAM consumption on Linux, >> and a deal faster than either >> LibreOffice or OpenOffice. >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From gcanyon at gmail.com Mon Dec 23 13:14:23 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Mon, 23 Dec 2013 13:14:23 -0500 Subject: [OT] I wonder. In-Reply-To: <52B87511.9020509@hyperactivesw.com> References: <52B42917.3030502@gmail.com> <0604184F-65F3-409A-80EC-0B428191B75A@economy-x-talk.com> <52B6A7EC.4010801@gmail.com> <52B70BA5.9040604@gmail.com> <52B87511.9020509@hyperactivesw.com> Message-ID: On Mon, Dec 23, 2013 at 12:38 PM, J. Landman Gay wrote: > I wonder if we're talking about the guy on the HC list (he never worked > for SC, but he did work at AOL for a brief period.) He wrote a couple of > different "HC replacements". He abandoned the first one and barely started > the second. > Could be. Long time ago. I actually downloaded one of his builds and experimented for a time. Abandoned the first and barely started the second sounds familiar. From pete at lcsql.com Mon Dec 23 13:55:06 2013 From: pete at lcsql.com (Peter Haworth) Date: Mon, 23 Dec 2013 10:55:06 -0800 Subject: pasting from LibreOffice triggers unsavable loop in 6.5.1 In-Reply-To: <52B87499.9000904@hyperactivesw.com> References: <7E12C4C0-DE04-4B9A-883C-92696CF735EF@major-k.de> <52B87499.9000904@hyperactivesw.com> Message-ID: Seems like there are two problems here, the paste issue and the message about reloading scripts modified externally. I have a couple of handlers that modify scripts outside the script editor and sometimes I get the reload message and sometimes not. I've never quite tied it down but it feels like if I save the stack containing the object whose script I modified, I don't get the message. Pete lcSQL Software On Mon, Dec 23, 2013 at 9:36 AM, J. Landman Gay wrote: > On 12/22/13 9:51 AM, Dr. Hawkins wrote: > >> On Sun, Dec 22, 2013 at 6:32 AM, Klaus major-k wrote: >> >> In my experience (Mac) there are always some problems when pasting >>> text (formatted or not) from outside sources like TextEdit etc. in the >>> IDE. >>> >>> >> and in this case, a few lines of comments, not even modified before >> being copied & pasted back >> > > This doesn't exactly address the problem, but I think you said you were > only doing some global replacements in the script. You can do that directly > in the script editor and avoid the external editor issue. Cmd-F will bring > up the Find pane in the editor, and clicking the "More" button will allow > lots of ways to replace text, including a regex option (expand the little > toggle arrow to see them.) Cmd-Shift-F will bring up the replace dialog > directly. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From gcanyon at gmail.com Mon Dec 23 15:04:09 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Mon, 23 Dec 2013 15:04:09 -0500 Subject: Polling/probing the keyboard? In-Reply-To: <52B458F6.4030300@gmail.com> References: <52B458F6.4030300@gmail.com> Message-ID: On Fri, Dec 20, 2013 at 9:49 AM, Richmond wrote: > send "mouseUp" to btn "BTTN" > > but I cannot do this: > > send "keyDown" to key 112 > > where 112 is the rawKeyDown value of that key on my keyboard. > In both cases (unless there's something really unusual about what you're doing) it would be better to define a separate handler to do and then call that handler from within the mouseUp or rawKeyDown, so that when you want that thing to happen *apart* from those instances, you can just call the handler. From richmondmathewson at gmail.com Mon Dec 23 15:22:41 2013 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 23 Dec 2013 22:22:41 +0200 Subject: Polling/probing the keyboard? In-Reply-To: References: <52B458F6.4030300@gmail.com> Message-ID: <52B89B91.1000108@gmail.com> On 23/12/13 22:04, Geoff Canyon wrote: > On Fri, Dec 20, 2013 at 9:49 AM, Richmond wrote: > >> send "mouseUp" to btn "BTTN" >> >> but I cannot do this: >> >> send "keyDown" to key 112 >> >> where 112 is the rawKeyDown value of that key on my keyboard. >> > In both cases (unless there's something really unusual about what you're > doing) it would be better to define a separate handler to do and > then call that handler from within the mouseUp or rawKeyDown, so that when > you want that thing to happen *apart* from those instances, you can just > call the handler. > _______________________________________________ > My problem is that I have a range of programs that allow end-users to type material in dead or rather unusual writing systems, using a "normal" keyboard. Now on my UK English keyboard I happen to be using at the moment where I, having been using US English keyboards for the last 20 years, expect to see a '@' there is a double-quote mark. I want to be able to signal to end-users which key they should press on their keyboards to send a mouseUp to one of my virtual keys. Now what has a 'w' on my keyboard may, for the sake of argument have a '?' on Professor Malenkov's keyboard and '?' on Professor Ustinov's keyboard; so putting a 'w' into a "window" on my interface is not going to help either of those imaginary professors at all. So I need to get the keyDown char that a rawKeyDown of 119 will generate on whosoever's computer my program is running on. I can, however, do this sort of thing: on rawKeyDown RKD put RKD into fld "rkd" end rawKeyDown on keyUp KD put KD into fld "kd" put fld "rkd" & " = " & fld "kd" into fld "equiv" end keyUp which I just worked out while answering your message, and feel "fairly bl**dy stupid" that is took me so long to work that one out! Anyway, thousands of thanks for your posting as it kicked my lazy brain into doing something vaguely constructive at last. Richmond. From richmondmathewson at gmail.com Mon Dec 23 15:33:29 2013 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 23 Dec 2013 22:33:29 +0200 Subject: Polling/probing the keyboard? In-Reply-To: <52B89B91.1000108@gmail.com> References: <52B458F6.4030300@gmail.com> <52B89B91.1000108@gmail.com> Message-ID: <52B89E19.2050002@gmail.com> On 23/12/13 22:22, Richmond wrote: > On 23/12/13 22:04, Geoff Canyon wrote: >> On Fri, Dec 20, 2013 at 9:49 AM, Richmond >> wrote: >> >>> send "mouseUp" to btn "BTTN" >>> >>> but I cannot do this: >>> >>> send "keyDown" to key 112 >>> >>> where 112 is the rawKeyDown value of that key on my keyboard. >>> >> In both cases (unless there's something really unusual about what you're >> doing) it would be better to define a separate handler to do >> and >> then call that handler from within the mouseUp or rawKeyDown, so that >> when >> you want that thing to happen *apart* from those instances, you can just >> call the handler. >> _______________________________________________ >> > > My problem is that I have a range of programs that allow end-users to > type material in > dead or rather unusual writing systems, using a "normal" keyboard. > > Now on my UK English keyboard I happen to be using at the moment where I, > having been using US English keyboards for the last 20 years, expect > to see a '@' > there is a double-quote mark. > > I want to be able to signal to end-users which key they should press > on their keyboards > to send a mouseUp to one of my virtual keys. Now what has a 'w' on my > keyboard may, > for the sake of argument have a '?' on Professor Malenkov's keyboard > and '?' on > Professor Ustinov's keyboard; so putting a 'w' into a "window" on my > interface is not going to help > either of those imaginary professors at all. > > So I need to get the keyDown char that a rawKeyDown of 119 will > generate on whosoever's > computer my program is running on. > > I can, however, do this sort of thing: > > on rawKeyDown RKD > put RKD into fld "rkd" > end rawKeyDown > > on keyUp KD > put KD into fld "kd" > put fld "rkd" & " = " & fld "kd" into fld "equiv" > end keyUp > > which I just worked out while answering your message, and feel "fairly > bl**dy stupid" that is took > me so long to work that one out! > > Anyway, thousands of thanks for your posting as it kicked my lazy > brain into doing something vaguely constructive at last. > > Richmond. > The main snag about this is that if one has a rawKeyUp routine in, say, one's cardScript, it will block a keyUp routine. I would like to have a cardScript that contains rawKeyDown, keyDown and rawKeyUp, and, just now cannot quite see my way round that. From janschenkel at yahoo.com Mon Dec 23 15:50:42 2013 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon, 23 Dec 2013 12:50:42 -0800 (PST) Subject: Polling/probing the keyboard? In-Reply-To: <52B89E19.2050002@gmail.com> Message-ID: <1387831842.55274.YahooMailBasic@web141102.mail.bf1.yahoo.com> You need to 'pass' the rawKeyDown, rawKeyUp and keyDown messages or LiveCode will stop processing the key event. This allows you to discard illegal characters. Try the following: on rawKeyDown RKD put RKD into fld "rkd" pass rawKeyDown end rawKeyDown on keyUp KD put KD into fld "kd" put fld "rkd" & " = " & fld "kd" into fld "equiv" end keyUp HTH, Jan Schenkel. ===== Quartam Reports & PDF Library for LiveCode www.quartam.com ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) -------------------------------------------- On Mon, 12/23/13, Richmond wrote: Subject: Re: Polling/probing the keyboard? To: "How to use LiveCode" Date: Monday, December 23, 2013, 12:33 PM On 23/12/13 22:22, Richmond wrote: > On 23/12/13 22:04, Geoff Canyon wrote: >> On Fri, Dec 20, 2013 at 9:49 AM, Richmond wrote: >> >>> send "mouseUp" to btn "BTTN" >>> >>> but I cannot do this: >>> >>> send "keyDown" to key 112 >>> >>> where 112 is the rawKeyDown value of that key on my keyboard. >>> >> In both cases (unless there's something really unusual about what you're >> doing) it would be better to define a separate handler to do and >> then call that handler from within the mouseUp or rawKeyDown, so that when >> you want that thing to happen *apart* from those instances, you can just >> call the handler. >> _______________________________________________ >> > > My problem is that I have a range of programs that allow end-users to type material in > dead or rather unusual writing systems, using a "normal" keyboard. > > Now on my UK English keyboard I happen to be using at the moment where I, > having been using US English keyboards for the last 20 years, expect to see a '@' > there is a double-quote mark. > > I want to be able to signal to end-users which key they should press on their keyboards > to send a mouseUp to one of my virtual keys. Now what has a 'w' on my keyboard may, > for the sake of argument have a '?' on Professor Malenkov's keyboard and '?' on > Professor Ustinov's keyboard; so putting a 'w' into a "window" on my interface is not going to help > either of those imaginary professors at all. > > So I need to get the keyDown char that a rawKeyDown of 119 will generate on whosoever's > computer my program is running on. > > I can, however, do this sort of thing: > > on rawKeyDown RKD > put RKD into fld "rkd" > end rawKeyDown > > on keyUp KD > put KD into fld "kd" > put fld "rkd" & " = " & fld "kd" into fld "equiv" > end keyUp > > which I just worked out while answering your message, and feel "fairly bl**dy stupid" that is took > me so long to work that one out! > > Anyway, thousands of thanks for your posting as it kicked my lazy brain into doing something vaguely constructive at last. > > Richmond. > The main snag about this is that if one has a rawKeyUp routine in, say, one's cardScript, it will block a keyUp routine. I would like to have a cardScript that contains rawKeyDown, keyDown and rawKeyUp, and, just now cannot quite see my way round that. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Mon Dec 23 15:52:45 2013 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 23 Dec 2013 22:52:45 +0200 Subject: rawKeyDown slightly cooked Message-ID: <52B8A29D.5050907@gmail.com> If I run a script like this: on rawKeyDown RKD put RKD into fld "RKD" end rawKeyDown on Linux (UbuntuStudio 13.10) using the standard US English layout I get the raw keycodes. when I switch over into a Bulgarian keyboard layout I get numbers that are: 1. not raw keycodes and 2. on numToChar with them end up with Arabic letters. Now that is a bit odd. on changing the script to this: on keyDown RKD put RKD into fld "RKD" end keyDown with US English I get the letters I would expect, with the Bulgarian keyboard layout I get nothing. Richmond. From richmondmathewson at gmail.com Mon Dec 23 15:56:29 2013 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 23 Dec 2013 22:56:29 +0200 Subject: Polling/probing the keyboard? In-Reply-To: <1387831842.55274.YahooMailBasic@web141102.mail.bf1.yahoo.com> References: <1387831842.55274.YahooMailBasic@web141102.mail.bf1.yahoo.com> Message-ID: <52B8A37D.2080506@gmail.com> On 23/12/13 22:50, Jan Schenkel wrote: > You need to 'pass' the rawKeyDown, rawKeyUp and keyDown messages or LiveCode will stop processing the key event. > This allows you to discard illegal characters. Try the following: > > on rawKeyDown RKD > put RKD into fld "rkd" > pass rawKeyDown > end rawKeyDown > > on keyUp KD > put KD into fld "kd" > put fld "rkd" & " = " & fld "kd" into fld "equiv" > end keyUp > > HTH, > > Jan Schenkel. Thank you very much; that does allow me to trap both rawKeyDown and rawKeyUp for US English; but still mucks up badly on other keyboard layouts. Richmond. > > ===== > Quartam Reports & PDF Library for LiveCode > www.quartam.com > > ===== > "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) > > -------------------------------------------- > On Mon, 12/23/13, Richmond wrote: > > Subject: Re: Polling/probing the keyboard? > To: "How to use LiveCode" > Date: Monday, December 23, 2013, 12:33 PM > > On 23/12/13 22:22, Richmond wrote: > > On 23/12/13 22:04, Geoff Canyon wrote: > >> On Fri, Dec 20, 2013 at 9:49 AM, Richmond wrote: > >> > >>> send "mouseUp" to btn "BTTN" > >>> > >>> but I cannot do this: > >>> > >>> send "keyDown" to key 112 > >>> > >>> where 112 is the rawKeyDown value of that key > on my keyboard. > >>> > >> In both cases (unless there's something really > unusual about what you're > >> doing) it would be better to define a separate > handler to do and > >> then call that handler from within the mouseUp or > rawKeyDown, so that when > >> you want that thing to happen *apart* from those > instances, you can just > >> call the handler. > >> _______________________________________________ > >> > > > > My problem is that I have a range of programs that > allow end-users to type material in > > dead or rather unusual writing systems, using a > "normal" keyboard. > > > > Now on my UK English keyboard I happen to be using at > the moment where I, > > having been using US English keyboards for the last 20 > years, expect to see a '@' > > there is a double-quote mark. > > > > I want to be able to signal to end-users which key they > should press on their keyboards > > to send a mouseUp to one of my virtual keys. Now what > has a 'w' on my keyboard may, > > for the sake of argument have a '?' on Professor > Malenkov's keyboard and '?' on > > Professor Ustinov's keyboard; so putting a 'w' into a > "window" on my interface is not going to help > > either of those imaginary professors at all. > > > > So I need to get the keyDown char that a rawKeyDown of > 119 will generate on whosoever's > > computer my program is running on. > > > > I can, however, do this sort of thing: > > > > on rawKeyDown RKD > > put RKD into fld "rkd" > > end rawKeyDown > > > > on keyUp KD > > put KD into fld "kd" > > put fld "rkd" & " = " & fld "kd" into fld > "equiv" > > end keyUp > > > > which I just worked out while answering your message, > and feel "fairly bl**dy stupid" that is took > > me so long to work that one out! > > > > Anyway, thousands of thanks for your posting as it > kicked my lazy brain into doing something vaguely > constructive at last. > > > > Richmond. > > > > The main snag about this is that if one has a rawKeyUp > routine in, say, one's cardScript, it will block > a keyUp routine. > > I would like to have a cardScript that contains rawKeyDown, > keyDown and rawKeyUp, and, just now > cannot quite see my way round that. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dunbarx at aol.com Mon Dec 23 16:20:03 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Mon, 23 Dec 2013 16:20:03 -0500 (EST) Subject: rawKeyDown slightly cooked In-Reply-To: <52B8A29D.5050907@gmail.com> References: <52B8A29D.5050907@gmail.com> Message-ID: <8D0CE3BE10101A8-9CC-3CDBC@webmail-d204.sysops.aol.com> Richmond, I live in the United States. All these issues would go away if everyone would just learn English. Sheesh. Craig -----Original Message----- From: Richmond To: How to use LiveCode Sent: Mon, Dec 23, 2013 3:53 pm Subject: rawKeyDown slightly cooked If I run a script like this: on rawKeyDown RKD put RKD into fld "RKD" end rawKeyDown on Linux (UbuntuStudio 13.10) using the standard US English layout I get the raw keycodes. when I switch over into a Bulgarian keyboard layout I get numbers that are: 1. not raw keycodes and 2. on numToChar with them end up with Arabic letters. Now that is a bit odd. on changing the script to this: on keyDown RKD put RKD into fld "RKD" end keyDown with US English I get the letters I would expect, with the Bulgarian keyboard layout I get nothing. Richmond. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Mon Dec 23 16:54:40 2013 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 23 Dec 2013 23:54:40 +0200 Subject: rawKeyDown slightly cooked In-Reply-To: <8D0CE3BE10101A8-9CC-3CDBC@webmail-d204.sysops.aol.com> References: <52B8A29D.5050907@gmail.com> <8D0CE3BE10101A8-9CC-3CDBC@webmail-d204.sysops.aol.com> Message-ID: <52B8B120.9090603@gmail.com> On 23/12/13 23:20, dunbarx at aol.com wrote: > Richmond, > > > > > I live in the United States. All these issues would go away if everyone would just learn English. > > > > Sheesh. > > > Craig The funny thing is that I spent 3 years in the States, and a lot of people were trying very hard indeed to convince me they spoke English there. I have yet to be convinced. H.L.Mencken thought they spoke "American". Richmond. > > -----Original Message----- > From: Richmond > To: How to use LiveCode > Sent: Mon, Dec 23, 2013 3:53 pm > Subject: rawKeyDown slightly cooked > > > If I run a script like this: > > on rawKeyDown RKD > put RKD into fld "RKD" > end rawKeyDown > > on Linux (UbuntuStudio 13.10) using the standard US English layout I get > the raw keycodes. > > when I switch over into a Bulgarian keyboard layout I get > numbers that are: > > 1. not raw keycodes > > and > > 2. on numToChar with them end up with Arabic letters. > > Now that is a bit odd. > > on changing the script to this: > > on keyDown RKD > put RKD into fld "RKD" > end keyDown > > with US English I get the letters I would expect, > > with the Bulgarian keyboard layout I get nothing. > > Richmond. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Mon Dec 23 17:10:41 2013 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 24 Dec 2013 00:10:41 +0200 Subject: rawKeyDown slightly cooked In-Reply-To: <8D0CE3BE10101A8-9CC-3CDBC@webmail-d204.sysops.aol.com> References: <52B8A29D.5050907@gmail.com> <8D0CE3BE10101A8-9CC-3CDBC@webmail-d204.sysops.aol.com> Message-ID: <52B8B4E1.1020603@gmail.com> On 23/12/13 23:20, dunbarx at aol.com wrote: > Richmond, > > > I live in the United States. All these issues would go away if everyone would just learn English. > > > Sheesh. > > > Craig > This means that Livecode does NOT really trap rawKey codes at all, and that 'rawKeyDown' and 'rawKeyUp' are just fudges. If I write with a US English keyboard layout, an Armenian keyboard layout (that is giving me 12 figure 'keycodes'), or a Russian keyboard layout I am still typing with the same physical keyboard and it is sending the same electronic signals down the wire into the computer. I have been naive enough to believe that: "Handle the rawKeyDown message if you want to intercept raw events from the keyboard, or from a mouse wheel, or if you want to handle keys that aren't mapped to any character." obviously that "just isn't so", to put it extremely politely. Now rawKey codes should be exactly that, they should not be 'cooked' by being strained through somebody's keyboard layout. Funny how RunRev are shouting jolly stuff from the rooftops anent getting Unicode to behave itself better when something that is actually fairly fundamental to that is still not what it should be. Richmond. > > > If I run a script like this: > > on rawKeyDown RKD > put RKD into fld "RKD" > end rawKeyDown > > on Linux (UbuntuStudio 13.10) using the standard US English layout I get > the raw keycodes. > > when I switch over into a Bulgarian keyboard layout I get > numbers that are: > > 1. not raw keycodes > > and > > 2. on numToChar with them end up with Arabic letters. > > Now that is a bit odd. > > on changing the script to this: > > on keyDown RKD > put RKD into fld "RKD" > end keyDown > > with US English I get the letters I would expect, > > with the Bulgarian keyboard layout I get nothing. > > Richmond. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Mon Dec 23 17:22:38 2013 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 24 Dec 2013 00:22:38 +0200 Subject: rawKeyDown slightly cooked In-Reply-To: <52B8B4E1.1020603@gmail.com> References: <52B8A29D.5050907@gmail.com> <8D0CE3BE10101A8-9CC-3CDBC@webmail-d204.sysops.aol.com> <52B8B4E1.1020603@gmail.com> Message-ID: <52B8B7AE.2070806@gmail.com> On 24/12/13 00:10, Richmond wrote: > On 23/12/13 23:20, dunbarx at aol.com wrote: >> Richmond, >> >> >> I live in the United States. All these issues would go away if >> everyone would just learn English. >> >> >> Sheesh. >> >> >> Craig >> > > This means that Livecode does NOT really trap rawKey codes at all, and > that 'rawKeyDown' and > 'rawKeyUp' are just fudges. > > If I write with a US English keyboard layout, an Armenian keyboard > layout (that is giving me 12 figure > 'keycodes'), or a Russian keyboard layout I am still typing with the > same physical keyboard and it is sending the same electronic signals > down the wire into the computer. > > I have been naive enough to believe that: > > "Handle the rawKeyDown message if you want to intercept raw events > from the keyboard, or from a mouse wheel, or if you want to handle > keys that aren't mapped to any character." > > obviously that "just isn't so", to put it extremely politely. > > Now rawKey codes should be exactly that, they should not be 'cooked' > by being strained through > somebody's keyboard layout. > > Funny how RunRev are shouting jolly stuff from the rooftops anent > getting Unicode to behave itself > better when something that is actually fairly fundamental to that is > still not what it should be. > > Richmond. In fact, I just cranked up the G3 iMac slot-loader running RR/LC 2 on Mac OS 9.2.2 and read that 'rawKeyDown' worked on Mac OS 'Classic' just as well as elsewhere; so wrote a script in a stack: on rawKeyDown RKD put RKD into fld "GGG" end rawKeyDown and it DIDN'T work. So, quite a few wobbly bits lying around and about. Richmond. From devin_asay at byu.edu Mon Dec 23 17:57:51 2013 From: devin_asay at byu.edu (Devin Asay) Date: Mon, 23 Dec 2013 22:57:51 +0000 Subject: Filtering one list out of another Message-ID: Hello LiveCode savants, I'm pretty sure this can be done, but I've puzzled over this for a while and my brain asplode. I have two lists of integers: A B -- -- 1 2 2 5 3 7 4 8 5 6 7 8 9 10 I want to get only the lines in list A that are not in list B: Result desired: -------------------- 1 3 4 6 9 10 Will filter work for this? I already tried, without much hope of success, 'filter A without B'. As expected, no go. Any ideas? Devin Devin Asay Learn to code with LiveCode University http://university.livecode.com From m.schonewille at economy-x-talk.com Mon Dec 23 18:08:37 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 24 Dec 2013 00:08:37 +0100 Subject: Filtering one list out of another In-Reply-To: References: Message-ID: <52B8C275.5020705@economy-x-talk.com> Hi Devin, Filter, intersect and union won't work for this. I have never understood why there isn't something like a negative intersect, e.g. an exclude command. I think you will have to use repeat for each. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi Fill out this survey please http://livecodebeginner.economy-x-talk.com/survey/ On 12/23/2013 23:57, Devin Asay wrote: > Hello LiveCode savants, > > I'm pretty sure this can be done, but I've puzzled over this for a while and my brain asplode. > > I have two lists of integers: > > A B > -- -- > 1 2 > 2 5 > 3 7 > 4 8 > 5 > 6 > 7 > 8 > 9 > 10 > > I want to get only the lines in list A that are not in list B: > > Result desired: > -------------------- > 1 > 3 > 4 > 6 > 9 > 10 > > Will filter work for this? I already tried, without much hope of success, 'filter A without B'. As expected, no go. > > Any ideas? > > Devin From terry.judd at unimelb.edu.au Mon Dec 23 18:12:56 2013 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Mon, 23 Dec 2013 23:12:56 +0000 Subject: Filtering one list out of another In-Reply-To: References: Message-ID: <82F07D70-80C1-44B3-96B5-FAE7040FD13E@unimelb.edu.au> I'm sure there are lots of ways to do it but this should work... put empty into tList repeat for each line tValue in A if not(cr&B&cr contains cr&tValue&cr) then put tValue &cr after tList end if end repeat delete last char of tList Terry... On 24/12/2013, at 09:57 AM, Devin Asay wrote: > Hello LiveCode savants, > > I'm pretty sure this can be done, but I've puzzled over this for a while and my brain asplode. > > I have two lists of integers: > > A B > -- -- > 1 2 > 2 5 > 3 7 > 4 8 > 5 > 6 > 7 > 8 > 9 > 10 > > I want to get only the lines in list A that are not in list B: > > Result desired: > -------------------- > 1 > 3 > 4 > 6 > 9 > 10 > > Will filter work for this? I already tried, without much hope of success, 'filter A without B'. As expected, no go. > > Any ideas? > > Devin > > > Devin Asay > Learn to code with LiveCode University > http://university.livecode.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > Dr Terry Judd Senior Lecturer in Medical Education Medical Education Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne From dick.kriesel at mail.com Mon Dec 23 18:24:29 2013 From: dick.kriesel at mail.com (Dick Kriesel) Date: Mon, 23 Dec 2013 15:24:29 -0800 Subject: Filtering one list out of another In-Reply-To: References: Message-ID: <86F327FB-A94B-48D9-821C-293CC0F902E9@mail.com> Hi, Devin. Here's a version that uses arrays for speed. command difference @rList1, @rList2 local tArray1, tArray2 repeat for each line tLine in rList2 put "true" into tArray2[ tLine ] end repeat repeat for each line tLine in rList1 if not tArray2[ tLine ] then put "true" into tArray1[ tLine ] end if end repeat put the keys of tArray1 into rList1 end difference -- Dick From devin_asay at byu.edu Mon Dec 23 18:29:22 2013 From: devin_asay at byu.edu (Devin Asay) Date: Mon, 23 Dec 2013 23:29:22 +0000 Subject: Filtering one list out of another In-Reply-To: <52B8C275.5020705@economy-x-talk.com> References: <52B8C275.5020705@economy-x-talk.com> Message-ID: <0B1CCDD7-9F25-492B-9C0F-10FF58C69A17@byu.edu> On Dec 23, 2013, at 4:08 PM, Mark Schonewille wrote: > Hi Devin, > > Filter, intersect and union won't work for this. I have never understood why there isn't something like a negative intersect, e.g. an exclude command. > > I think you will have to use repeat for each. I was afraid of that. :( Fortunately the lists aren't very long. Devin Devin Asay Learn to code with LiveCode University http://university.livecode.com From devin_asay at byu.edu Mon Dec 23 18:50:04 2013 From: devin_asay at byu.edu (Devin Asay) Date: Mon, 23 Dec 2013 23:50:04 +0000 Subject: Filtering one list out of another In-Reply-To: <86F327FB-A94B-48D9-821C-293CC0F902E9@mail.com> References: <86F327FB-A94B-48D9-821C-293CC0F902E9@mail.com> Message-ID: <98C15649-91FA-4CAF-9CFE-1516D98DC28E@byu.edu> On Dec 23, 2013, at 4:24 PM, Dick Kriesel wrote: > Hi, Devin. Here's a version that uses arrays for speed. > > command difference @rList1, @rList2 > local tArray1, tArray2 > repeat for each line tLine in rList2 > put "true" into tArray2[ tLine ] > end repeat > repeat for each line tLine in rList1 > if not tArray2[ tLine ] then > put "true" into tArray1[ tLine ] > end if > end repeat > put the keys of tArray1 into rList1 > end difference Clever approach. Thanks, Dick. Devin Devin Asay Learn to code with LiveCode University http://university.livecode.com From lfredricks at proactive-intl.com Mon Dec 23 18:50:33 2013 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Mon, 23 Dec 2013 15:50:33 -0800 Subject: Videos: Setting up Valentina ADK for LiveCode: Database and Reports Message-ID: Hello all, We've posted three new videos (one for each operating system) for downloading, installing and getting started with Valentina ADK, including Valentina Database and Valentina Reports. Mac OS X: https://www.youtube.com/watch?v=D1OKJQGtcsE Windows: https://www.youtube.com/watch?v=b6q_ycM_-q0 Linux: https://www.youtube.com/watch?v=P8y6o-BewqA Have a great holiday! Best regards, Lynn Fredricks Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From jiml at netrin.com Mon Dec 23 18:54:11 2013 From: jiml at netrin.com (Jim Lambert) Date: Mon, 23 Dec 2013 15:54:11 -0800 Subject: iltering one list out of anothe In-Reply-To: References: Message-ID: <9CECDBCB-7A71-4539-A677-84F3E1EEB529@netrin.com> And Ken Ray has a variation on differencing arrays. function difference pArray1,pArray2 put pArray1 into tempA intersect tempA with pArray2 repeat for each line tKey in (the keys of tempA) delete local pArray1[tKey] delete local pArray2[tKey] end repeat union pArray1 with pArray2 return pArray1 end difference JIm Lambert From fraserjgordon at gmail.com Mon Dec 23 20:00:31 2013 From: fraserjgordon at gmail.com (Fraser Gordon) Date: Tue, 24 Dec 2013 01:00:31 +0000 Subject: rawKeyDown slightly cooked Message-ID: Hi Richmond, I'm typing this off the top of my head as I'm not in the office to confirm this is exactly what is happening (hence the non-RunRev email address), but here goes... RawKeyDown is indeed raw but is a different meaning of "raw" from what you are expecting - it isn't the key scancode from the keyboard hardware; it is a number that uniquely identifies every character and non-character key. For example, the control key generates a particular raw key code that is the same regardless of how the keyboard is laid out. Similarly, the letter A always generates the 'A' raw key code, regardless of whether you have a QWERTY, AZERTY or some other layout. The exact numbers generated for each raw key code are those specified in the X11 standard so that is the place to look for mappings between numerical values and key names. The reason that you sometimes see very large-valued numbers is because Unicode codepoints that weren't originally assigned X11 keycodes are assigned a raw key value of 0x10000000 (IIRC) + their codepoint. Given the above, "raw" in this case means "before any part of LiveCode has had the chance to intercept and handle the key". For example, accelerator combinations used to access menu items. One case to think about is input methods that do not use physical input devices, e.g various input method editors (IMEs) for Asian languages or even the on-screen software keyboards used on mobile platforms - a scancode does not make sense for these devices but a raw key event is still generated (at least in some cases; I believe IME input skips raw key handling currently, something that may change in the Unicode engine). Another problem with getting scancodes is that the correspondence between keystrokes and characters is not one-to-one; a dead-key accent plus a base letter takes two keystrokes but may result in the engine only receiving one (pre-composed) character from the operating system. This, unfortunately, doesn't help much with your problem of producing shortcuts based on physical key locations. One (admittedly poor) solution might be to use shortcuts and accelerators based on symbols common to all the keyboards you expect to use. It is definitely one of the most frustrating aspects of dealing with keyboard input that there is no good solution to the question of how to assign keys to shortcuts; even if you avoid or overcome the problem of making the symbols appropriate for the user's language, you can't guarantee that they actually have the physical buttons that correspond to those symbols. I apologise for the wall of text that is this explanation but I guessed that the "because..." part of "this doesn't work" is sometimes needed so that it isn't assumed that the answer is "because we say so" ;) ----- The TL;DR version for those who skipped the above is that raw key events are symbols like Control, Tab, Backspace, A, etc rather than raw scan codes from the keyboard hardware. Regards, Fraser (hoping he hasn't gotten the above entirely wrong!) From james at thehales.id.au Mon Dec 23 21:14:00 2013 From: james at thehales.id.au (James Hale) Date: Tue, 24 Dec 2013 13:14:00 +1100 Subject: Great MacFormat intro article Message-ID: <44B4B5B1-2554-4CB2-AAE9-4E45A6241C3A@thehales.id.au> The latest issue of MacFormat (Christmas 2013) has a great getting started article featuring LiveCode. Even better, there is a promise of more to come! James From paulhibbert at mac.com Mon Dec 23 21:19:16 2013 From: paulhibbert at mac.com (Paul Hibbert) Date: Mon, 23 Dec 2013 18:19:16 -0800 Subject: Filtering one list out of another In-Reply-To: <98C15649-91FA-4CAF-9CFE-1516D98DC28E@byu.edu> References: <86F327FB-A94B-48D9-821C-293CC0F902E9@mail.com> <98C15649-91FA-4CAF-9CFE-1516D98DC28E@byu.edu> Message-ID: If they are only short lists there's the simple approach? function filterList pListA pListB repeat for each line i in pListB delete line lineOffset(i,pListA) of pListA end repeat return pListA end filterList ?or am I missing something? Paul On 2013-12-23, at 3:50 PM, Devin Asay wrote: > > On Dec 23, 2013, at 4:24 PM, Dick Kriesel wrote: > >> Hi, Devin. Here's a version that uses arrays for speed. >> >> command difference @rList1, @rList2 >> local tArray1, tArray2 >> repeat for each line tLine in rList2 >> put "true" into tArray2[ tLine ] >> end repeat >> repeat for each line tLine in rList1 >> if not tArray2[ tLine ] then >> put "true" into tArray1[ tLine ] >> end if >> end repeat >> put the keys of tArray1 into rList1 >> end difference > > Clever approach. Thanks, Dick. > > Devin > > Devin Asay > Learn to code with LiveCode University > http://university.livecode.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dochawk at gmail.com Mon Dec 23 21:28:42 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Mon, 23 Dec 2013 18:28:42 -0800 Subject: pasting from LibreOffice triggers unsavable loop in 6.5.1 In-Reply-To: <52B87499.9000904@hyperactivesw.com> References: <7E12C4C0-DE04-4B9A-883C-92696CF735EF@major-k.de> <52B87499.9000904@hyperactivesw.com> Message-ID: On Mon, Dec 23, 2013 at 9:36 AM, J. Landman Gay wrote: > This doesn't exactly address the problem, but I think you said you were > only doing some global replacements in the script. You can do that directly > in the script editor and avoid the external editor issue. Cmd-F will bring > up the Find pane in the editor, and clicking the "More" button will allow > lots of ways to replace text, including a regex option (expand the little > toggle arrow to see them.) Cmd-Shift-F will bring up the replace dialog > directly. I do some regexp in the IDE, but when I only want part of a 7k line script, it's unwieldy . . . (Have I mentioned lately that I want to be able to use vim within the IDE?) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Mon Dec 23 21:30:50 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Mon, 23 Dec 2013 18:30:50 -0800 Subject: pasting from LibreOffice triggers unsavable loop in 6.5.1 In-Reply-To: References: <7E12C4C0-DE04-4B9A-883C-92696CF735EF@major-k.de> <52B87499.9000904@hyperactivesw.com> Message-ID: On Mon, Dec 23, 2013 at 10:55 AM, Peter Haworth wrote: > I've never quite > tied it down but it feels like if I save the stack containing the object > whose script I modified, I don't get the message. > But when this one bites, that isn't possible--I get the message for trying to save, and have to either give up my changes, or ancel the save . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Mon Dec 23 21:50:50 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Mon, 23 Dec 2013 18:50:50 -0800 Subject: rawKeyDown slightly cooked In-Reply-To: <52B8B120.9090603@gmail.com> References: <52B8A29D.5050907@gmail.com> <8D0CE3BE10101A8-9CC-3CDBC@webmail-d204.sysops.aol.com> <52B8B120.9090603@gmail.com> Message-ID: On Mon, Dec 23, 2013 at 1:54 PM, Richmond wrote: > H.L.Mencken thought they spoke "American". > Churchill noted that the US and Britain were two countries separated by a common language . . . (I stumbled across a study a few years ago that found that New England speaks something closer to 18th century british english than anything else spoken today--including all of Britain) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From mwieder at ahsoftware.net Mon Dec 23 23:09:04 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 23 Dec 2013 20:09:04 -0800 Subject: livecode on xubuntu 13.10 In-Reply-To: <52B876EF.7050505@hyperactivesw.com> References: <52B72480.6050407@harbourhosting.co.uk> <104-1361012947.20131222100753@ahsoftware.net> <52B740B8.8070105@gmail.com> <91-1353052218.20131222122034@ahsoftware.net> <52B876EF.7050505@hyperactivesw.com> Message-ID: <35-1238541316.20131223200904@ahsoftware.net> Jacque- Monday, December 23, 2013, 9:46:23 AM, you wrote: > Does your build support old-style text-based CGI scripts? Is this the > engine I've been waiting for? I don't think so. I see that Mr. Waddingham has a branch to add this feature back in, but it doesn't look like it's made it into the official build yet. -- -Mark Wieder ahsoftware at gmail.com From monte at sweattechnologies.com Tue Dec 24 00:14:07 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 24 Dec 2013 16:14:07 +1100 Subject: livecode on xubuntu 13.10 In-Reply-To: <35-1238541316.20131223200904@ahsoftware.net> References: <52B72480.6050407@harbourhosting.co.uk> <104-1361012947.20131222100753@ahsoftware.net> <52B740B8.8070105@gmail.com> <91-1353052218.20131222122034@ahsoftware.net> <52B876EF.7050505@hyperactivesw.com> <35-1238541316.20131223200904@ahsoftware.net> Message-ID: On 24/12/2013, at 3:09 PM, Mark Wieder wrote: > I don't think so. I see that Mr. Waddingham has a branch to add this > feature back in, but it doesn't look like it's made it into the > official build yet. That could be something different I think. It looks to me like it's a player type support so the community standalone engine could run stacks. I'm not sure what would need to be added to get it to run a script like the old CGI mode did. I'm not sure why the feature would be community only either but it appears to be limited to it. Perhaps RunRev don't want a player of protected stacks in the wild? Anyway, I think you could get something pretty close to the old CGI now by just adding one line to your file. I think you just need to add something to the global script to call startUp: #! startUp on startUp -- do whatcha like end startUp You will want to modify your scripts to remove all the stuff that server does for you though. Cheers -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From monte at sweattechnologies.com Tue Dec 24 00:25:15 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 24 Dec 2013 16:25:15 +1100 Subject: livecode on xubuntu 13.10 In-Reply-To: References: <52B72480.6050407@harbourhosting.co.uk> <104-1361012947.20131222100753@ahsoftware.net> <52B740B8.8070105@gmail.com> <91-1353052218.20131222122034@ahsoftware.net> <52B876EF.7050505@hyperactivesw.com> <35-1238541316.20131223200904@ahsoftware.net> Message-ID: <53F68FC0-0710-4F44-9895-FA7ED69DA24F@sweattechnologies.com> On 24/12/2013, at 4:14 PM, Monte Goulding wrote: > > On 24/12/2013, at 3:09 PM, Mark Wieder wrote: > >> I don't think so. I see that Mr. Waddingham has a branch to add this >> feature back in, but it doesn't look like it's made it into the >> official build yet. > > That could be something different I think. It looks to me like it's a player type support so the community standalone engine could run stacks. I'm not sure what would need to be added to get it to run a script like the old CGI mode did. I'm not sure why the feature would be community only either but it appears to be limited to it. Perhaps RunRev don't want a player of protected stacks in the wild? > > Anyway, I think you could get something pretty close to the old CGI now by just adding one line to your file. I think you just need to add something to the global script to call startUp: > > #! > > startUp > > on startUp > -- do whatcha like > end startUp > > You will want to modify your scripts to remove all the stuff that server does for you though. > Ah.. no, it also needs to be modified to skip the first line and add an implied References: <52B72480.6050407@harbourhosting.co.uk> <104-1361012947.20131222100753@ahsoftware.net> <52B740B8.8070105@gmail.com> <91-1353052218.20131222122034@ahsoftware.net> <52B876EF.7050505@hyperactivesw.com> <35-1238541316.20131223200904@ahsoftware.net> <53F68FC0-0710-4F44-9895-FA7ED69DA24F@sweattechnologies.com> Message-ID: On 24/12/2013, at 4:25 PM, Monte Goulding wrote: > Ah.. no, it also needs to be modified to skip the first line and add an implied References: <86F327FB-A94B-48D9-821C-293CC0F902E9@mail.com> <98C15649-91FA-4CAF-9CFE-1516D98DC28E@byu.edu> Message-ID: On Dec 23, 2013, at 6:19 PM, Paul Hibbert wrote: > ?or am I missing something? Yes, because of the way lineOffset works. For example, if pListA is "12" and pListB is "2", then lineOffset(2,12) is 1, and an unintended delete occurs. Avoid that by first setting the wholeMatches to true. Then lineOffset(2,12) is 0. -- Dick From devin_asay at byu.edu Tue Dec 24 02:29:43 2013 From: devin_asay at byu.edu (Devin Asay) Date: Tue, 24 Dec 2013 07:29:43 +0000 Subject: Filtering one list out of another In-Reply-To: References: <86F327FB-A94B-48D9-821C-293CC0F902E9@mail.com> <98C15649-91FA-4CAF-9CFE-1516D98DC28E@byu.edu> Message-ID: <86E7248D-3F08-4DBC-8751-5801AF84F570@byu.edu> On Dec 24, 2013, at 12:17 AM, Dick Kriesel wrote: > On Dec 23, 2013, at 6:19 PM, Paul Hibbert wrote: > >> ?or am I missing something? > > Yes, because of the way lineOffset works. For example, if pListA is "12" and pListB is "2", then lineOffset(2,12) is 1, and an unintended delete occurs. Avoid that by first setting the wholeMatches to true. Then lineOffset(2,12) is 0. This is what I ended up with: function filterList1WithoutList2 pMainList, pExcludeList put pMainList into tMain repeat for each line tLine in pExcludeList set the wholeMatches to true put lineOffset(tLine, tMain) into tMatchedLine if tMatchedLine > 0 then delete line tMatchedLine of tMain end if end repeat return tMain end filterList1WithoutList2 Works plenty fast for my fairly short lists--max number of lines to filter out is less than 36. Thanks all for your help. Merry Christmas! Devin Devin Asay Learn to code with LiveCode University http://university.livecode.com From richmondmathewson at gmail.com Tue Dec 24 03:15:07 2013 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 24 Dec 2013 10:15:07 +0200 Subject: rawKeyDown slightly cooked In-Reply-To: References: <52B8A29D.5050907@gmail.com> <8D0CE3BE10101A8-9CC-3CDBC@webmail-d204.sysops.aol.com> <52B8B120.9090603@gmail.com> Message-ID: <52B9428B.4010807@gmail.com> On 24/12/13 04:50, Dr. Hawkins wrote: > On Mon, Dec 23, 2013 at 1:54 PM, Richmond wrote: > >> H.L.Mencken thought they spoke "American". >> > Churchill noted that the US and Britain were two countries separated by a > common language . . . > > (I stumbled across a study a few years ago that found that New England > speaks something closer to 18th century british english than anything else > spoken today--including all of Britain) > > That would not surprise me in the least. There is a school of thought that the best 'British' English (never quite worked out what that meant) is spoken in Inverness, in the Highlands of Scotland. Richmond. From richmondmathewson at gmail.com Tue Dec 24 05:00:08 2013 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 24 Dec 2013 12:00:08 +0200 Subject: rawKeyDown slightly cooked In-Reply-To: <52B8B7AE.2070806@gmail.com> References: <52B8A29D.5050907@gmail.com> <8D0CE3BE10101A8-9CC-3CDBC@webmail-d204.sysops.aol.com> <52B8B4E1.1020603@gmail.com> <52B8B7AE.2070806@gmail.com> Message-ID: <52B95B28.1050907@gmail.com> On 24/12/13 00:22, Richmond wrote: > On 24/12/13 00:10, Richmond wrote: >> On 23/12/13 23:20, dunbarx at aol.com wrote: >>> >>> >> >> This means that Livecode does NOT really trap rawKey codes at all, >> and that 'rawKeyDown' and >> 'rawKeyUp' are just fudges. >> >> If I write with a US English keyboard layout, an Armenian keyboard >> layout (that is giving me 12 figure >> 'keycodes'), or a Russian keyboard layout I am still typing with the >> same physical keyboard and it is sending the same electronic signals >> down the wire into the computer. >> >> I have been naive enough to believe that: >> >> "Handle the rawKeyDown message if you want to intercept raw events >> from the keyboard, or from a mouse wheel, or if you want to handle >> keys that aren't mapped to any character." >> >> obviously that "just isn't so", to put it extremely politely. >> >> Now rawKey codes should be exactly that, they should not be 'cooked' >> by being strained through >> somebody's keyboard layout. >> >> Funny how RunRev are shouting jolly stuff from the rooftops anent >> getting Unicode to behave itself >> better when something that is actually fairly fundamental to that is >> still not what it should be. >> >> Richmond. > > In fact, I just cranked up the G3 iMac slot-loader running RR/LC 2 on > Mac OS 9.2.2 and read that > 'rawKeyDown' worked on Mac OS 'Classic' just as well as elsewhere; > > so wrote a script in a stack: > > on rawKeyDown RKD > put RKD into fld "GGG" > end rawKeyDown > > and it DIDN'T work. > > So, quite a few wobbly bits lying around and about. > > Richmond. Oddly enough . . . . this DOES work in a standalone on UbuntuStudio 13.10. Have yet to try this out on Mac and Win. This means that one can have a really crap time doing Beta testing, having to belt off standalones for every millimetre of the way, shuffling/skipping back and froth between the original stack(s) and the increMENTAL standalones. I dread to think what would happen with a stack and a player; presumably the same as in the Dev. IDE. Richmond. From bill at bluewatermaritime.com Tue Dec 24 06:49:41 2013 From: bill at bluewatermaritime.com (william humphrey) Date: Tue, 24 Dec 2013 07:49:41 -0400 Subject: Videos: Setting up Valentina ADK for LiveCode: Database and Reports In-Reply-To: References: Message-ID: Very nice Christmas present from Paradigma! On Mon, Dec 23, 2013 at 7:50 PM, Lynn Fredricks wrote: > Hello all, > > We've posted three new videos (one for each operating system) for > downloading, installing and getting started with Valentina ADK, including > Valentina Database and Valentina Reports. > > Mac OS X: https://www.youtube.com/watch?v=D1OKJQGtcsE > Windows: https://www.youtube.com/watch?v=b6q_ycM_-q0 > Linux: https://www.youtube.com/watch?v=P8y6o-BewqA > > Have a great holiday! > > Best regards, > > Lynn Fredricks > Paradigma Software > http://www.paradigmasoft.com > > Valentina SQL Server: The Ultra-fast, Royalty Free Database Server > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- http://www.bluewatermaritime.com From vclement at gmail.com Tue Dec 24 10:30:27 2013 From: vclement at gmail.com (Vaughn Clement) Date: Tue, 24 Dec 2013 08:30:27 -0700 Subject: Managing Images in the Image Control Message-ID: Hi All Did you ever have a technical issue where you just could not find the technical support data to solve it? I recently asked a technical question on this forum and I did not get any response? The issue: 1. I am using the image control in a shared background where each card will have one image. 2. The image script to add the image performs as expected, but when I go to the next card and paste in an image the prior and all other cards with the image control shows the newly added image. 3. The check box for the shared background can be set to true or false and it does not change the image issue. 4. This image script is used in IOS and Android stacks. 5. The simulator and the live testing both resulted in the same image issue. 6. The placing of an image lesson in LiveCode and research found no relief from this issue. 7. The images are from the Photo Library on the device. 8. The storage of the image in the image control is retained for the current image placed when you view the cards. So it is not a case where the image is gone when you return to view the card. These are the scripts that work to show the image in the card, and does not retain the image at the end of the addition on the next new card. Stack script: None Card Script: None Button Script: *on* mouseUp mobilePickPhoto "library" -- a second script uses the mobilePickPhoto "Camera" and this also works *lock* screen *set* the text of image "PhotoImage" of this cd to the text of the last image of this card -- Photoimage is the image control *delete* the last image of this cd *end* mouseUp Thank you Vaughn Clement Apps by Vaughn Clement (Support) *http://www.appsbyvaughnclement.com/tools/home-page/ * Skype: vaughn.clement https://secure.join.me/appsbyvclement FaceTime: vclement at gmail.com LogMeIn also avaialble Call on "ooVoo" at address: vaughnclement or 9282549062 Ph. 928-254-9062 Cloud Hosting Registration Web Site: https://my.oditech.com/cart.php?a=add&pid=41 From livfoss at mac.com Tue Dec 24 10:38:40 2013 From: livfoss at mac.com (Graham Samuel) Date: Tue, 24 Dec 2013 16:38:40 +0100 Subject: MacToISO is still confusing me In-Reply-To: <52B877A1.1090901@hyperactivesw.com> References: <00D39165-7F60-4E2C-A432-6AE731B40479@mac.com> <52B6BC09.1030909@harbourhosting.co.uk> <60608F80-414C-45FC-B178-E1BD8ACA5474@mac.com> <52B877A1.1090901@hyperactivesw.com> Message-ID: <4F6E805A-C513-448F-8E89-516A496979E7@mac.com> Wow Jacque! That's what I wanted to hear. Thanks, as ever. Graham Back to Christmas preparations. 16 people already here, only two still to come. Sent from my iPhone > On 23 Dec 2013, at 18:49, "J. Landman Gay" wrote: > >> On 12/22/13 2:38 PM, Graham Samuel wrote: >> >> - I now see how powerful the idea of htmlText is in extracting styled >> text from a field in LC (it really does the whole job for you, so I >> don't have to go through my old text by hand turning it into HTML, as >> I had thought), but I am still uncertain how to display that field in >> its full glory (i.e. including characters that aren't 'naturally' >> available in PC fonts) without using a browser. > > It's pretty easy to display html in a field. Once you create the string with the html entities (i.e., you've replaced the pi symbol with "π") you just do this: > > set the htmltext of fld x to tHTMLString > > Somehow the engine seems to find everything on either OS. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Tue Dec 24 10:43:40 2013 From: klaus at major-k.de (Klaus major-k) Date: Tue, 24 Dec 2013 16:43:40 +0100 Subject: Managing Images in the Image Control In-Reply-To: References: Message-ID: <501D26DC-A204-4B8D-B5D8-4BEA20F54256@major-k.de> Hi Vaughn, Am 24.12.2013 um 16:30 schrieb Vaughn Clement : > Hi All > > Did you ever have a technical issue where you just could not find the > technical support data to solve it? > > I recently asked a technical question on this forum and I did not get any > response? > > The issue: > 1. I am using the image control in a shared background where each card will > have one image. > 2. The image script to add the image performs as expected, but when I go to > the next card and paste in an image the prior and all other cards with the > image control shows the newly added image. > 3. The check box for the shared background can be set to true or false and > it does not change the image issue. > 4. This image script is used in IOS and Android stacks. > 5. The simulator and the live testing both resulted in the same image issue. > 6. The placing of an image lesson in LiveCode and research found no relief > from this issue. > 7. The images are from the Photo Library on the device. > 8. The storage of the image in the image control is retained for the > current image placed when you view the cards. So it is not a case where the > image is gone when you return to view the card. > > These are the scripts that work to show the image in the card, and does not > retain the image at the end of the addition on the next new card. > > Stack script: > None > > Card Script: > None > > Button Script: > > *on* mouseUp > > mobilePickPhoto "library" -- a second script uses the mobilePickPhoto > "Camera" and this also works > > *lock* screen > > *set* the text of image "PhotoImage" of this cd to the text of the last > image of this card -- Photoimage is the image control > > *delete* the last image of this cd > > *end* mouseUp not sure I get you right, but FIELDS in a shared bg can have different text on different cards, but images CANNOT! So you need to take care of managing the different background images. Well, if that is what you mean :-) > Thank you > > Vaughn Clement Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From vclement at gmail.com Tue Dec 24 10:50:47 2013 From: vclement at gmail.com (Vaughn Clement) Date: Tue, 24 Dec 2013 08:50:47 -0700 Subject: Managing Images in the Image Control In-Reply-To: <501D26DC-A204-4B8D-B5D8-4BEA20F54256@major-k.de> References: <501D26DC-A204-4B8D-B5D8-4BEA20F54256@major-k.de> Message-ID: Hi Klaus Where can I find the control limits where it says the image control does or does not work in a background? If the image control does not work in a background for different cards, how can a card retain the image if it was added to cards if it was not a part of the background? Would you add it with the location specified as an image alone? Thank you Vaughn Clement Apps by Vaughn Clement (Support) *http://www.appsbyvaughnclement.com/tools/home-page/ * Skype: vaughn.clement https://secure.join.me/appsbyvclement FaceTime: vclement at gmail.com LogMeIn also avaialble Call on "ooVoo" at address: vaughnclement or 9282549062 Ph. 928-254-9062 Cloud Hosting Registration Web Site: https://my.oditech.com/cart.php?a=add&pid=41 On Tue, Dec 24, 2013 at 8:43 AM, Klaus major-k wrote: > Hi Vaughn, > > Am 24.12.2013 um 16:30 schrieb Vaughn Clement : > > > Hi All > > > > Did you ever have a technical issue where you just could not find the > > technical support data to solve it? > > > > I recently asked a technical question on this forum and I did not get any > > response? > > > > The issue: > > 1. I am using the image control in a shared background where each card > will > > have one image. > > 2. The image script to add the image performs as expected, but when I go > to > > the next card and paste in an image the prior and all other cards with > the > > image control shows the newly added image. > > 3. The check box for the shared background can be set to true or false > and > > it does not change the image issue. > > 4. This image script is used in IOS and Android stacks. > > 5. The simulator and the live testing both resulted in the same image > issue. > > 6. The placing of an image lesson in LiveCode and research found no > relief > > from this issue. > > 7. The images are from the Photo Library on the device. > > 8. The storage of the image in the image control is retained for the > > current image placed when you view the cards. So it is not a case where > the > > image is gone when you return to view the card. > > > > These are the scripts that work to show the image in the card, and does > not > > retain the image at the end of the addition on the next new card. > > > > Stack script: > > None > > > > Card Script: > > None > > > > Button Script: > > > > *on* mouseUp > > > > mobilePickPhoto "library" -- a second script uses the mobilePickPhoto > > "Camera" and this also works > > > > *lock* screen > > > > *set* the text of image "PhotoImage" of this cd to the text of the last > > image of this card -- Photoimage is the image control > > > > *delete* the last image of this cd > > > > *end* mouseUp > > not sure I get you right, but FIELDS in a shared bg can have different text > on different cards, but images CANNOT! > > So you need to take care of managing the different background images. > Well, if that is what you mean :-) > > > Thank you > > > > Vaughn Clement > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Tue Dec 24 10:58:53 2013 From: pete at lcsql.com (Peter Haworth) Date: Tue, 24 Dec 2013 07:58:53 -0800 Subject: Filtering one list out of another In-Reply-To: <86E7248D-3F08-4DBC-8751-5801AF84F570@byu.edu> References: <86F327FB-A94B-48D9-821C-293CC0F902E9@mail.com> <98C15649-91FA-4CAF-9CFE-1516D98DC28E@byu.edu> <86E7248D-3F08-4DBC-8751-5801AF84F570@byu.edu> Message-ID: I think "is among" implies wholematches = true so another way would be: repeat with x=the number of lines in tMain down to 1 if line x of tMain is among the lines of tExcludeList then delete line x of tMain end if end repeat Pete lcSQL Software On Dec 23, 2013 11:29 PM, "Devin Asay" wrote: > > On Dec 24, 2013, at 12:17 AM, Dick Kriesel wrote: > > > On Dec 23, 2013, at 6:19 PM, Paul Hibbert wrote: > > > >> ?or am I missing something? > > > > Yes, because of the way lineOffset works. For example, if pListA is > "12" and pListB is "2", then lineOffset(2,12) is 1, and an unintended > delete occurs. Avoid that by first setting the wholeMatches to true. Then > lineOffset(2,12) is 0. > > This is what I ended up with: > > function filterList1WithoutList2 pMainList, pExcludeList > put pMainList into tMain > repeat for each line tLine in pExcludeList > set the wholeMatches to true > put lineOffset(tLine, tMain) into tMatchedLine > if tMatchedLine > 0 then > delete line tMatchedLine of tMain > end if > end repeat > return tMain > end filterList1WithoutList2 > > Works plenty fast for my fairly short lists--max number of lines to filter > out is less than 36. > > Thanks all for your help. > > Merry Christmas! > > Devin > > > Devin Asay > Learn to code with LiveCode University > http://university.livecode.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From klaus at major-k.de Tue Dec 24 10:59:40 2013 From: klaus at major-k.de (Klaus major-k) Date: Tue, 24 Dec 2013 16:59:40 +0100 Subject: Managing Images in the Image Control In-Reply-To: References: <501D26DC-A204-4B8D-B5D8-4BEA20F54256@major-k.de> Message-ID: <140B0AA0-587C-4BAD-AD58-12BA3680C63C@major-k.de> Hi Vaughn, Am 24.12.2013 um 16:50 schrieb Vaughn Clement : > Hi Klaus > > Where can I find the control limits where it says the image control does or > does not work in a background? > If the image control does not work in a background for different cards, how > can a card retain the image if it was added to cards if it was not a part > of the background? Would you add it with the location specified as an image > alone? again not sure I get you right 8-) But in this case (different images on different cards as a background) I would store the images in custom properties of each card and "load" them into the image object of the "background" group: on opencard put the cStoredCardImage of this cd into omg "your background imnage here" of grp "your be here" ... end opencard This way you would not have to deal with more than ONE image object :-) > Thank you > > Vaughn Clement Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From vclement at gmail.com Tue Dec 24 12:03:37 2013 From: vclement at gmail.com (Vaughn Clement) Date: Tue, 24 Dec 2013 10:03:37 -0700 Subject: Managing Images in the Image Control In-Reply-To: <140B0AA0-587C-4BAD-AD58-12BA3680C63C@major-k.de> References: <501D26DC-A204-4B8D-B5D8-4BEA20F54256@major-k.de> <140B0AA0-587C-4BAD-AD58-12BA3680C63C@major-k.de> Message-ID: Hi Klaus I will try that next. I was really lost as a new user trying to find a way to store the images. Thank you Vaughn Clement Apps by Vaughn Clement (Support) *http://www.appsbyvaughnclement.com/tools/home-page/ * Skype: vaughn.clement https://secure.join.me/appsbyvclement FaceTime: vclement at gmail.com LogMeIn also avaialble Call on "ooVoo" at address: vaughnclement or 9282549062 Ph. 928-254-9062 Cloud Hosting Registration Web Site: https://my.oditech.com/cart.php?a=add&pid=41 On Tue, Dec 24, 2013 at 8:59 AM, Klaus major-k wrote: > Hi Vaughn, > > Am 24.12.2013 um 16:50 schrieb Vaughn Clement : > > > Hi Klaus > > > > Where can I find the control limits where it says the image control does > or > > does not work in a background? > > If the image control does not work in a background for different cards, > how > > can a card retain the image if it was added to cards if it was not a part > > of the background? Would you add it with the location specified as an > image > > alone? > > again not sure I get you right 8-) > > But in this case (different images on different cards as a background) > I would store the images in custom properties of each card and "load" > them into the image object of the "background" group: > > on opencard > put the cStoredCardImage of this cd into omg "your background imnage > here" of grp "your be here" > ... > end opencard > > This way you would not have to deal with more than ONE image object :-) > > > Thank you > > > > Vaughn Clement > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From klaus at major-k.de Tue Dec 24 12:07:30 2013 From: klaus at major-k.de (Klaus major-k) Date: Tue, 24 Dec 2013 18:07:30 +0100 Subject: Managing Images in the Image Control In-Reply-To: References: <501D26DC-A204-4B8D-B5D8-4BEA20F54256@major-k.de> <140B0AA0-587C-4BAD-AD58-12BA3680C63C@major-k.de> Message-ID: <70A7CE9D-0D8A-462C-85D7-ADB416436CA8@major-k.de> Hi Vaughn, Am 24.12.2013 um 18:03 schrieb Vaughn Clement : > Hi Klaus > > I will try that next. I was really lost as a new user trying to find a way > to store the images. Okie Dokie :-) to store use this syntax: ... set the cStoredCardImage of this cd to the text of last img delete last img ... > Thank you My pleasure! Happy holidays! :-) > Vaughn Clement Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From paulhibbert at mac.com Tue Dec 24 12:23:46 2013 From: paulhibbert at mac.com (Paul Hibbert) Date: Tue, 24 Dec 2013 09:23:46 -0800 Subject: Filtering one list out of another In-Reply-To: References: <86F327FB-A94B-48D9-821C-293CC0F902E9@mail.com> <98C15649-91FA-4CAF-9CFE-1516D98DC28E@byu.edu> Message-ID: Thanks Dick, I had that niggling feeling I was missing something, I totally forgot about wholeMatches, doing too many things at once I guess. Paul On 2013-12-23, at 11:17 PM, Dick Kriesel wrote: > On Dec 23, 2013, at 6:19 PM, Paul Hibbert wrote: > >> ?or am I missing something? > > Yes, because of the way lineOffset works. For example, if pListA is "12" and pListB is "2", then lineOffset(2,12) is 1, and an unintended delete occurs. Avoid that by first setting the wholeMatches to true. Then lineOffset(2,12) is 0. > > -- Dick > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From vclement at gmail.com Tue Dec 24 12:48:22 2013 From: vclement at gmail.com (Vaughn Clement) Date: Tue, 24 Dec 2013 10:48:22 -0700 Subject: Managing Images in the Image Control In-Reply-To: <70A7CE9D-0D8A-462C-85D7-ADB416436CA8@major-k.de> References: <501D26DC-A204-4B8D-B5D8-4BEA20F54256@major-k.de> <140B0AA0-587C-4BAD-AD58-12BA3680C63C@major-k.de> <70A7CE9D-0D8A-462C-85D7-ADB416436CA8@major-k.de> Message-ID: Hi Klaus Being new to LC I have not created a custom property yet. I reviewed the properties in the dictionary but I was overwhelmed by the number of choices of which none seem to fit? Can you point me in the right direction (lesson or reference) where this might be used? Thank you Vaughn Clement Apps by Vaughn Clement (Support) *http://www.appsbyvaughnclement.com/tools/home-page/ * Skype: vaughn.clement https://secure.join.me/appsbyvclement FaceTime: vclement at gmail.com LogMeIn also avaialble Call on "ooVoo" at address: vaughnclement or 9282549062 Ph. 928-254-9062 Cloud Hosting Registration Web Site: https://my.oditech.com/cart.php?a=add&pid=41 On Tue, Dec 24, 2013 at 10:07 AM, Klaus major-k wrote: > Hi Vaughn, > > Am 24.12.2013 um 18:03 schrieb Vaughn Clement : > > > Hi Klaus > > > > I will try that next. I was really lost as a new user trying to find a > way > > to store the images. > > Okie Dokie :-) > > to store use this syntax: > ... > set the cStoredCardImage of this cd to the text of last img > delete last img > ... > > > Thank you > > My pleasure! > > Happy holidays! :-) > > > Vaughn Clement > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mwieder at ahsoftware.net Tue Dec 24 13:04:04 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 24 Dec 2013 10:04:04 -0800 Subject: livecode on xubuntu 13.10 In-Reply-To: References: <52B72480.6050407@harbourhosting.co.uk> <104-1361012947.20131222100753@ahsoftware.net> <52B740B8.8070105@gmail.com> <91-1353052218.20131222122034@ahsoftware.net> <52B876EF.7050505@hyperactivesw.com> <35-1238541316.20131223200904@ahsoftware.net> <53F68FC0-0710-4F44-9895-FA7ED69DA24F@sweattechnologies.com> Message-ID: <199-1188441996.20131224100404@ahsoftware.net> Monte- Monday, December 23, 2013, 9:58:26 PM, you wrote: > And... I couldn't help myself... > https://github.com/runrev/livecode/pull/439 Ha! Thanks for the pull request. And you're right, now that I've looked over the feature branch, it's something else. But Mark and I have talked about this issue (I think there's a thread on the forum somewhere) and he's committed to putting the feature back in place. My guess is that it was removed as a marketing thing to differentiate the LC server product from the desktop engine. I'll ping him after the holiday break to jog his memory. -- -Mark Wieder ahsoftware at gmail.com From jacque at hyperactivesw.com Tue Dec 24 13:27:20 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 24 Dec 2013 12:27:20 -0600 Subject: rawKeyDown slightly cooked In-Reply-To: <52B9428B.4010807@gmail.com> References: <52B8A29D.5050907@gmail.com> <8D0CE3BE10101A8-9CC-3CDBC@webmail-d204.sysops.aol.com> <52B8B120.9090603@gmail.com> <52B9428B.4010807@gmail.com> Message-ID: <52B9D208.6050003@hyperactivesw.com> On 12/24/13 2:15 AM, Richmond wrote: > There is a school of thought that the best 'British' English (never > quite worked out what that meant) > is spoken in Inverness, in the Highlands of Scotland. We took a trip up to Inverness during the first RevLive conference in Edinburgh. What a gorgeous place, but I couldn't understand a word some of them said. It may as well have been, say, Bulgarian. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From paulhibbert at mac.com Tue Dec 24 13:29:03 2013 From: paulhibbert at mac.com (Paul Hibbert) Date: Tue, 24 Dec 2013 10:29:03 -0800 Subject: Managing Images in the Image Control In-Reply-To: References: <501D26DC-A204-4B8D-B5D8-4BEA20F54256@major-k.de> <140B0AA0-587C-4BAD-AD58-12BA3680C63C@major-k.de> <70A7CE9D-0D8A-462C-85D7-ADB416436CA8@major-k.de> Message-ID: <17794F5A-83D5-4416-8124-5C372DC342B8@mac.com> Hi Vaughn, Not wishing to butt in, I've just sent this reply in case Klaus is away from his computer for a while, he'll probably have some better insights, but this should get you going. The simplest lesson is: http://lessons.runrev.com/s/lessons/m/4603/l/44049-livecode-properties Scroll down to the Custom Properties section near the bottom of the lesson. Another lesson here: http://lessons.runrev.com/s/lessons/m/4071/l/13158-what-are-the-alternatives-to-using-global-variables Another: http://lessons.runrev.com/s/lessons/m/4071/l/17375-how-do-i-save-custom-properties-in-a-standalone-application A little more advanced: http://lessons.runrev.com/s/lessons/m/4071/l/11900-how-do-i-define-my-own-properties-for-an-object Custom Properties are extremely useful at times, you can think of them as a container, a bit like a global variable because they can be accessed from anywhere in your app, but they are also more versatile as you can store data that doesn't disappear between launches in saved stacks, or you can store data as you build you app in the IDE that is accessible in your final standalone. Custom properties work extremely well alongside behaviour scripts too. There are a few simple rules to remember with custom properties, you can't simply put a value into a custom prop, you have to "set" the custom property in one go. e.g.: put "10" into the cNumber of this stack --< doesn't work set the cNumber of this stack to "10" --< does work You can't modify part of a custom prop, you need to read out the whole value, modify it and then replace it. e.g.: set line 2 of the cNumber of this stack to "20" --< doesn't work get the cNumber of this stack --/ Read the Custom Prop put "20" into line 2 of it --| Modify the values set the cNumber of this stack to it --\ Then replace the values - does work Most LC programmers use a "c" (for custom) or "u" (for user) prefix to denote a custom property, but like most of LC you are free to work your own way. Once the penny drops you will find Custom Properties very useful, but just ask about anything you are unsure of. Have fun. Paul On 2013-12-24, at 9:48 AM, Vaughn Clement wrote: > Hi Klaus > > Being new to LC I have not created a custom property yet. I reviewed the > properties in the dictionary but I was overwhelmed by the number of choices > of which none seem to fit? Can you point me in the right direction (lesson > or reference) where this might be used? > > Thank you > > Vaughn Clement > > Apps by Vaughn Clement (Support) > *http://www.appsbyvaughnclement.com/tools/home-page/ > * > Skype: vaughn.clement > https://secure.join.me/appsbyvclement > FaceTime: vclement at gmail.com > LogMeIn also avaialble > Call on "ooVoo" at address: vaughnclement or 9282549062 > Ph. 928-254-9062 > Cloud Hosting Registration Web Site: > https://my.oditech.com/cart.php?a=add&pid=41 > > > On Tue, Dec 24, 2013 at 10:07 AM, Klaus major-k wrote: > >> Hi Vaughn, >> >> Am 24.12.2013 um 18:03 schrieb Vaughn Clement : >> >>> Hi Klaus >>> >>> I will try that next. I was really lost as a new user trying to find a >> way >>> to store the images. >> >> Okie Dokie :-) >> >> to store use this syntax: >> ... >> set the cStoredCardImage of this cd to the text of last img >> delete last img >> ... >> >>> Thank you >> >> My pleasure! >> >> Happy holidays! :-) >> >>> Vaughn Clement >> >> Best >> >> Klaus >> >> -- >> Klaus Major >> http://www.major-k.de >> klaus at major-k.de >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Tue Dec 24 13:29:49 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 24 Dec 2013 12:29:49 -0600 Subject: livecode on xubuntu 13.10 In-Reply-To: <199-1188441996.20131224100404@ahsoftware.net> References: <52B72480.6050407@harbourhosting.co.uk> <104-1361012947.20131222100753@ahsoftware.net> <52B740B8.8070105@gmail.com> <91-1353052218.20131222122034@ahsoftware.net> <52B876EF.7050505@hyperactivesw.com> <35-1238541316.20131223200904@ahsoftware.net> <53F68FC0-0710-4F44-9895-FA7ED69DA24F@sweattechnologies.com> <199-1188441996.20131224100404@ahsoftware.net> Message-ID: <52B9D29D.5000502@hyperactivesw.com> On 12/24/13 12:04 PM, Mark Wieder wrote: > But Mark and I > have talked about this issue (I think there's a thread on the forum > somewhere) and he's committed to putting the feature back in place. My > guess is that it was removed as a marketing thing to differentiate the > LC server product from the desktop engine. I'll ping him after the > holiday break to jog his memory. > Thank you. I so much need this. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From vclement at gmail.com Tue Dec 24 13:34:10 2013 From: vclement at gmail.com (Vaughn Clement) Date: Tue, 24 Dec 2013 11:34:10 -0700 Subject: Managing Images in the Image Control In-Reply-To: <17794F5A-83D5-4416-8124-5C372DC342B8@mac.com> References: <501D26DC-A204-4B8D-B5D8-4BEA20F54256@major-k.de> <140B0AA0-587C-4BAD-AD58-12BA3680C63C@major-k.de> <70A7CE9D-0D8A-462C-85D7-ADB416436CA8@major-k.de> <17794F5A-83D5-4416-8124-5C372DC342B8@mac.com> Message-ID: Hi Paul This is very helpful! LiveCode is not learned it is absorbed from other users. I have bumps all over me from little bits I have absorbed for other developers. Thank you Vaughn Clement Apps by Vaughn Clement (Support) *http://www.appsbyvaughnclement.com/tools/home-page/ * Skype: vaughn.clement https://secure.join.me/appsbyvclement FaceTime: vclement at gmail.com LogMeIn also avaialble Call on "ooVoo" at address: vaughnclement or 9282549062 Ph. 928-254-9062 Cloud Hosting Registration Web Site: https://my.oditech.com/cart.php?a=add&pid=41 On Tue, Dec 24, 2013 at 11:29 AM, Paul Hibbert wrote: > Hi Vaughn, > > Not wishing to butt in, I've just sent this reply in case Klaus is away > from his computer for a while, he'll probably have some better insights, > but this should get you going. > > The simplest lesson is: > http://lessons.runrev.com/s/lessons/m/4603/l/44049-livecode-properties > > Scroll down to the Custom Properties section near the bottom of the lesson. > > Another lesson here: > http://lessons.runrev.com/s/lessons/m/4071/l/13158-what-are-the-alternatives-to-using-global-variables > Another: > http://lessons.runrev.com/s/lessons/m/4071/l/17375-how-do-i-save-custom-properties-in-a-standalone-application > A little more advanced: > http://lessons.runrev.com/s/lessons/m/4071/l/11900-how-do-i-define-my-own-properties-for-an-object > > Custom Properties are extremely useful at times, you can think of them as > a container, a bit like a global variable because they can be accessed from > anywhere in your app, but they are also more versatile as you can store > data that doesn't disappear between launches in saved stacks, or you can > store data as you build you app in the IDE that is accessible in your final > standalone. Custom properties work extremely well alongside behaviour > scripts too. > > There are a few simple rules to remember with custom properties, you can't > simply put a value into a custom prop, you have to "set" the custom > property in one go. e.g.: > > put "10" into the cNumber of this stack --< doesn't work > set the cNumber of this stack to "10" --< does work > > You can't modify part of a custom prop, you need to read out the whole > value, modify it and then replace it. e.g.: > > set line 2 of the cNumber of this stack to "20" --< doesn't work > > get the cNumber of this stack --/ Read the Custom Prop > put "20" into line 2 of it --| Modify the values > set the cNumber of this stack to it --\ Then replace the values - does work > > Most LC programmers use a "c" (for custom) or "u" (for user) prefix to > denote a custom property, but like most of LC you are free to work your own > way. > > Once the penny drops you will find Custom Properties very useful, but just > ask about anything you are unsure of. > > Have fun. > > Paul > > > On 2013-12-24, at 9:48 AM, Vaughn Clement wrote: > > > Hi Klaus > > > > Being new to LC I have not created a custom property yet. I reviewed the > > properties in the dictionary but I was overwhelmed by the number of > choices > > of which none seem to fit? Can you point me in the right direction > (lesson > > or reference) where this might be used? > > > > Thank you > > > > Vaughn Clement > > > > Apps by Vaughn Clement (Support) > > *http://www.appsbyvaughnclement.com/tools/home-page/ > > * > > Skype: vaughn.clement > > https://secure.join.me/appsbyvclement > > FaceTime: vclement at gmail.com > > LogMeIn also avaialble > > Call on "ooVoo" at address: vaughnclement or 9282549062 > > Ph. 928-254-9062 > > Cloud Hosting Registration Web Site: > > https://my.oditech.com/cart.php?a=add&pid=41 > > > > > > On Tue, Dec 24, 2013 at 10:07 AM, Klaus major-k > wrote: > > > >> Hi Vaughn, > >> > >> Am 24.12.2013 um 18:03 schrieb Vaughn Clement : > >> > >>> Hi Klaus > >>> > >>> I will try that next. I was really lost as a new user trying to find a > >> way > >>> to store the images. > >> > >> Okie Dokie :-) > >> > >> to store use this syntax: > >> ... > >> set the cStoredCardImage of this cd to the text of last img > >> delete last img > >> ... > >> > >>> Thank you > >> > >> My pleasure! > >> > >> Happy holidays! :-) > >> > >>> Vaughn Clement > >> > >> Best > >> > >> Klaus > >> > >> -- > >> Klaus Major > >> http://www.major-k.de > >> klaus at major-k.de > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Tue Dec 24 13:36:22 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 24 Dec 2013 12:36:22 -0600 Subject: rawKeyDown slightly cooked In-Reply-To: References: Message-ID: <52B9D426.9000105@hyperactivesw.com> On 12/23/13 7:00 PM, Fraser Gordon wrote: > I apologise for the wall of text that is this explanation but I guessed > that the "because..." part of "this doesn't work" is sometimes needed so > that it isn't assumed that the answer is "because we say so" ;) Please don't apologize. In fact, I'd love to see more walls of text from you. I'm delighted you're here, and appreciative of the terrific explanation. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Tue Dec 24 13:56:41 2013 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 24 Dec 2013 20:56:41 +0200 Subject: rawKeyDown slightly cooked In-Reply-To: <52B9D208.6050003@hyperactivesw.com> References: <52B8A29D.5050907@gmail.com> <8D0CE3BE10101A8-9CC-3CDBC@webmail-d204.sysops.aol.com> <52B8B120.9090603@gmail.com> <52B9428B.4010807@gmail.com> <52B9D208.6050003@hyperactivesw.com> Message-ID: <52B9D8E9.7080005@gmail.com> On 24/12/13 20:27, J. Landman Gay wrote: > On 12/24/13 2:15 AM, Richmond wrote: > >> There is a school of thought that the best 'British' English (never >> quite worked out what that meant) >> is spoken in Inverness, in the Highlands of Scotland. > > We took a trip up to Inverness during the first RevLive conference in > Edinburgh. What a gorgeous place, but I couldn't understand a word > some of them said. It may as well have been, say, Bulgarian. > "Gorgeous" is not the word that first springs to mind anent Inverness; but the country in behind is, indeed, gorgeous. I would suppose, in the bars and hotels the language is, if it is not Gaelic, Scots; however, in the schools I wid jalouse the dominies are fae fuin the ridgouns wi Sudron, an are awffy perticular wi the grammaticals. Richmond. From richmondmathewson at gmail.com Tue Dec 24 14:10:05 2013 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 24 Dec 2013 21:10:05 +0200 Subject: rawKeyDown slightly cooked In-Reply-To: <52B9D8E9.7080005@gmail.com> References: <52B8A29D.5050907@gmail.com> <8D0CE3BE10101A8-9CC-3CDBC@webmail-d204.sysops.aol.com> <52B8B120.9090603@gmail.com> <52B9428B.4010807@gmail.com> <52B9D208.6050003@hyperactivesw.com> <52B9D8E9.7080005@gmail.com> Message-ID: <52B9DC0D.8090404@gmail.com> Fraser, I'm sorry I missed your message, and accidentally deleted from my Thunderbird e-mail client, so am reposting your message and my reply: " Hi Richmond, I'm typing this off the top of my head as I'm not in the office to confirm this is exactly what is happening (hence the non-RunRev email address), but here goes... RawKeyDown is indeed raw but is a different meaning of "raw" from what you are expecting - it isn't the key scancode from the keyboard hardware; it is a number that uniquely identifies every character and non-character key. For example, the control key generates a particular raw key code that is the same regardless of how the keyboard is laid out. Similarly, the letter A always generates the 'A' raw key code, regardless of whether you have a QWERTY, AZERTY or some other layout. The exact numbers generated for each raw key code are those specified in the X11 standard so that is the place to look for mappings between numerical values and key names. The reason that you sometimes see very large-valued numbers is because Unicode codepoints that weren't originally assigned X11 keycodes are assigned a raw key value of 0x10000000 (IIRC) + their codepoint. Given the above, "raw" in this case means "before any part of LiveCode has had the chance to intercept and handle the key". For example, accelerator combinations used to access menu items. One case to think about is input methods that do not use physical input devices, e.g various input method editors (IMEs) for Asian languages or even the on-screen software keyboards used on mobile platforms - a scancode does not make sense for these devices but a raw key event is still generated (at least in some cases; I believe IME input skips raw key handling currently, something that may change in the Unicode engine). Another problem with getting scancodes is that the correspondence between keystrokes and characters is not one-to-one; a dead-key accent plus a base letter takes two keystrokes but may result in the engine only receiving one (pre-composed) character from the operating system. This, unfortunately, doesn't help much with your problem of producing shortcuts based on physical key locations. One (admittedly poor) solution might be to use shortcuts and accelerators based on symbols common to all the keyboards you expect to use. It is definitely one of the most frustrating aspects of dealing with keyboard input that there is no good solution to the question of how to assign keys to shortcuts; even if you avoid or overcome the problem of making the symbols appropriate for the user's language, you can't guarantee that they actually have the physical buttons that correspond to those symbols. I apologise for the wall of text that is this explanation but I guessed that the "because..." part of "this doesn't work" is sometimes needed so that it isn't assumed that the answer is "because we say so" ;) ----- The TL;DR version for those who skipped the above is that raw key events are symbols like Control, Tab, Backspace, A, etc rather than raw scan codes from the keyboard hardware. Regards, Fraser (hoping he hasn't gotten the above entirely wrong!)" That makes things a lot clearer (even if it does not make me particularly happy). However, I have subsequently found out that on Windows, Mac and Linux, a standalone picks up what ever key is depressed regardless of the keyboard layout in use - it is just that that doesn't happen in the IDE. --------------------------- WHAT I MEAN BY THAT is that when an end user presses the key which is in the place occupied by a 'W' key on a US English keyboard it ALWAYS results in the same rawKey code getting picked up by a Livecode standalone regardless of which keyboard layout the end-user is using whether on Windows, Macintosh or Linux . . . BUT in a stack opened in the IDE that does NOT happen. --------------------------- From a purely selfish point of view that doesn't really fuss me as I am producing standalones with code-protected stacks with LC 4.5. From a development point of view it makes things a bit forjeskit, an mun be maist be sairted oot alang the gate afore lang. Yours aye, Richmond. From lfredricks at proactive-intl.com Tue Dec 24 14:38:39 2013 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Tue, 24 Dec 2013 11:38:39 -0800 Subject: OT: Track Santa on NORAD Tracks Santa Message-ID: <64CFA43B4745454A8674C3143A5756C0@GATEWAY> Hello all, Please tune out if you are a OT scrooge :-) I want to share this with my friends in the LiveCode community... Not everyone knows this, but my Santa design can be seen right now on the NORAD Tracks Santa site at http://www.noradsanta.org. Go the the tracker now. You'll see a 3D santa flying the sleigh. Its been updated since by better 3D designers than me, but that's my original 3D design. What's incredible is knowing that its being watched by millions of people (the site got over 22 million unique visitors last December). My other company is a corporate contributor to the NORAD Tracks Santa program - it is funded out of pro bono contributions. Its supported by very large, very small (yeah, Im there), and various government and philanthropic organizations like Toys for Tots. This is year eight for us, likely making us one of the longest consecutive supporters. There are a bunch of downloadable games in html5 format, mobile games, etc. Sorry, none made with LiveCode. I suggest but its not my decision. Have a Merry Christmas everyone! Best regards, Lynn Fredricks President Proactive International, LLC - Because it is about who you know.(tm) http://www.proactive-intl.com From jhurley0305 at sbcglobal.net Tue Dec 24 16:32:43 2013 From: jhurley0305 at sbcglobal.net (Jim Hurley) Date: Tue, 24 Dec 2013 13:32:43 -0800 Subject: Open a stack from DropBox In-Reply-To: References: Message-ID: I think I've seen this on the list but wasn't paying attention. Is it possible to put a stack into a DropBox Public folder and have it open in the recipients IDE? What is it you do the the html link to get it to open as a stack. Jim From pmbrig at gmail.com Tue Dec 24 16:41:07 2013 From: pmbrig at gmail.com (Peter M. Brigham) Date: Tue, 24 Dec 2013 16:41:07 -0500 Subject: Managing Images in the Image Control In-Reply-To: <17794F5A-83D5-4416-8124-5C372DC342B8@mac.com> References: <501D26DC-A204-4B8D-B5D8-4BEA20F54256@major-k.de> <140B0AA0-587C-4BAD-AD58-12BA3680C63C@major-k.de> <70A7CE9D-0D8A-462C-85D7-ADB416436CA8@major-k.de> <17794F5A-83D5-4416-8124-5C372DC342B8@mac.com> Message-ID: I looooooove custom properties. One of the truly inspired additions to the old Hypercard framework. You can store anything in a custom property, a simple value, a string, htmlText, an image, an array, even a whole stack, and then access it whenever you need to. If you get comfortable with customprops you will cut way down on your use of global variables, which have the disadvantage of cluttering up the variable space and getting overwritten by accident unless you use a proprietary naming convention. I use them for storing user preferences, I use them to store images associated with various things, for lists that need to be maintained between launches. I use them to store platform-specific stuff like help text -- set up a closefield handler in your help text field that takes the text of the field and replaces things like "command-click" with "control-click" and stores the result as "the winHelp of this stack", so you never have to write two help texts again. Etc., etc. Once you get familiar with customprops you'll keep discovering more and more ways to use them. It's definitely worth the time to get comfortable with custom properties. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Dec 24, 2013, at 1:29 PM, Paul Hibbert wrote: > Hi Vaughn, > > Not wishing to butt in, I've just sent this reply in case Klaus is away from his computer for a while, he'll probably have some better insights, but this should get you going. > > The simplest lesson is: http://lessons.runrev.com/s/lessons/m/4603/l/44049-livecode-properties > > Scroll down to the Custom Properties section near the bottom of the lesson. > > Another lesson here: http://lessons.runrev.com/s/lessons/m/4071/l/13158-what-are-the-alternatives-to-using-global-variables > Another: http://lessons.runrev.com/s/lessons/m/4071/l/17375-how-do-i-save-custom-properties-in-a-standalone-application > A little more advanced: http://lessons.runrev.com/s/lessons/m/4071/l/11900-how-do-i-define-my-own-properties-for-an-object > > Custom Properties are extremely useful at times, you can think of them as a container, a bit like a global variable because they can be accessed from anywhere in your app, but they are also more versatile as you can store data that doesn't disappear between launches in saved stacks, or you can store data as you build you app in the IDE that is accessible in your final standalone. Custom properties work extremely well alongside behaviour scripts too. > > There are a few simple rules to remember with custom properties, you can't simply put a value into a custom prop, you have to "set" the custom property in one go. e.g.: > > put "10" into the cNumber of this stack --< doesn't work > set the cNumber of this stack to "10" --< does work > > You can't modify part of a custom prop, you need to read out the whole value, modify it and then replace it. e.g.: > > set line 2 of the cNumber of this stack to "20" --< doesn't work > > get the cNumber of this stack --/ Read the Custom Prop > put "20" into line 2 of it --| Modify the values > set the cNumber of this stack to it --\ Then replace the values - does work > > Most LC programmers use a "c" (for custom) or "u" (for user) prefix to denote a custom property, but like most of LC you are free to work your own way. > > Once the penny drops you will find Custom Properties very useful, but just ask about anything you are unsure of. > > Have fun. > > Paul > > > On 2013-12-24, at 9:48 AM, Vaughn Clement wrote: > >> Hi Klaus >> >> Being new to LC I have not created a custom property yet. I reviewed the >> properties in the dictionary but I was overwhelmed by the number of choices >> of which none seem to fit? Can you point me in the right direction (lesson >> or reference) where this might be used? >> >> Thank you >> >> Vaughn Clement >> >> Apps by Vaughn Clement (Support) >> *http://www.appsbyvaughnclement.com/tools/home-page/ >> * >> Skype: vaughn.clement >> https://secure.join.me/appsbyvclement >> FaceTime: vclement at gmail.com >> LogMeIn also avaialble >> Call on "ooVoo" at address: vaughnclement or 9282549062 >> Ph. 928-254-9062 >> Cloud Hosting Registration Web Site: >> https://my.oditech.com/cart.php?a=add&pid=41 >> >> >> On Tue, Dec 24, 2013 at 10:07 AM, Klaus major-k wrote: >> >>> Hi Vaughn, >>> >>> Am 24.12.2013 um 18:03 schrieb Vaughn Clement : >>> >>>> Hi Klaus >>>> >>>> I will try that next. I was really lost as a new user trying to find a >>> way >>>> to store the images. >>> >>> Okie Dokie :-) >>> >>> to store use this syntax: >>> ... >>> set the cStoredCardImage of this cd to the text of last img >>> delete last img >>> ... >>> >>>> Thank you >>> >>> My pleasure! >>> >>> Happy holidays! :-) >>> >>>> Vaughn Clement >>> >>> Best >>> >>> Klaus >>> >>> -- >>> Klaus Major >>> http://www.major-k.de >>> klaus at major-k.de >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From m.schonewille at economy-x-talk.com Tue Dec 24 17:09:11 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 24 Dec 2013 23:09:11 +0100 Subject: Open a stack from DropBox In-Reply-To: References: Message-ID: <52BA0607.2050807@economy-x-talk.com> Jim, Here's an example: go url "https://dl.dropboxusercontent.com/u/6398381/LiveCode/screengrab%20test.livecode" dl at the start of the URL downloads the file instead of a web page and the number is my user account number. LiveCode is a directory. If I right-click on a file in my public Dropbox folder, I get an option to copy the public link. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi Fill out this survey please http://livecodebeginner.economy-x-talk.com/survey/ On 12/24/2013 22:32, Jim Hurley wrote: > I think I've seen this on the list but wasn't paying attention. > > Is it possible to put a stack into a DropBox Public folder and have it open in the recipients IDE? > > What is it you do the the html link to get it to open as a stack. > > Jim > From vclement at gmail.com Tue Dec 24 17:17:31 2013 From: vclement at gmail.com (Vaughn Clement) Date: Tue, 24 Dec 2013 15:17:31 -0700 Subject: Open a stack from DropBox In-Reply-To: <52BA0607.2050807@economy-x-talk.com> References: <52BA0607.2050807@economy-x-talk.com> Message-ID: Hi Mark Did you put this in the book because I did not see it in there? Thank you Vaughn Clement Apps by Vaughn Clement (Support) *http://www.appsbyvaughnclement.com/tools/home-page/ * Skype: vaughn.clement https://secure.join.me/appsbyvclement FaceTime: vclement at gmail.com LogMeIn also avaialble Call on "ooVoo" at address: vaughnclement or 9282549062 Ph. 928-254-9062 Cloud Hosting Registration Web Site: https://my.oditech.com/cart.php?a=add&pid=41 On Tue, Dec 24, 2013 at 3:09 PM, Mark Schonewille < m.schonewille at economy-x-talk.com> wrote: > Jim, > > Here's an example: > > go url "https://dl.dropboxusercontent.com/u/6398381/LiveCode/screengrab% > 20test.livecode" > > dl at the start of the URL downloads the file instead of a web page and > the number is my user account number. LiveCode is a directory. > > If I right-click on a file in my public Dropbox folder, I get an option to > copy the public link. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour > spaces. http://www.color-converter.com > > Buy my new book "Programming LiveCode for the Real Beginner" > http://qery.us/3fi > > Fill out this survey please > http://livecodebeginner.economy-x-talk.com/survey/ > > > On 12/24/2013 22:32, Jim Hurley wrote: > >> I think I've seen this on the list but wasn't paying attention. >> >> Is it possible to put a stack into a DropBox Public folder and have it >> open in the recipients IDE? >> >> What is it you do the the html link to get it to open as a stack. >> >> Jim >> >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jhurley0305 at sbcglobal.net Tue Dec 24 17:46:31 2013 From: jhurley0305 at sbcglobal.net (Jim Hurley) Date: Tue, 24 Dec 2013 14:46:31 -0800 Subject: use-livecode Digest, Vol 123, Issue 49 In-Reply-To: References: Message-ID: Hi Mark, Thanks for the response. But it doesn't seem to work for me. I sent this to myself: go url "https://dl.dropboxusercontent.com/u/47044230/Managing%20lists.livecode" and I got back the text file the for the stack, and not the stack itself. What am I missing" Jim > ---------------------------- > > Message: 23 > Date: Tue, 24 Dec 2013 23:09:11 +0100 > From: Mark Schonewille > To: How to use LiveCode > Subject: Re: Open a stack from DropBox > Message-ID: <52BA0607.2050807 at economy-x-talk.com> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Jim, > > Here's an example: > > go url > "https://dl.dropboxusercontent.com/u/6398381/LiveCode/screengrab%20test.livecode" > > dl at the start of the URL downloads the file instead of a web page and > the number is my user account number. LiveCode is a directory. > > If I right-click on a file in my public Dropbox folder, I get an option > to copy the public link. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other > colour spaces. http://www.color-converter.com > > Buy my new book "Programming LiveCode for the Real Beginner" > http://qery.us/3fi > > Fill out this survey please > http://livecodebeginner.economy-x-talk.com/survey/ > > On 12/24/2013 22:32, Jim Hurley wrote: >> I think I've seen this on the list but wasn't paying attention. >> >> Is it possible to put a stack into a DropBox Public folder and have it open in the recipients IDE? >> >> What is it you do the the html link to get it to open as a stack. >> >> Jim >> > > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-livecode > > ------------------------------ > > End of use-livecode Digest, Vol 123, Issue 49 > ********************************************* From m.schonewille at economy-x-talk.com Tue Dec 24 18:14:17 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 25 Dec 2013 00:14:17 +0100 Subject: Open a stack from DropBox In-Reply-To: References: <52BA0607.2050807@economy-x-talk.com> Message-ID: <52BA1549.3050002@economy-x-talk.com> Hi Vaughn, This isn't in the introductory chapter, where basic syntax is explained, but later in the book, on page 172, where advanced subjects are discussed. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi Fill out this survey please http://livecodebeginner.economy-x-talk.com/survey/ On 12/24/2013 23:17, Vaughn Clement wrote: > Hi Mark > > Did you put this in the book because I did not see it in there? > > Thank you > > Vaughn Clement > > Apps by Vaughn Clement (Support) > *http://www.appsbyvaughnclement.com/tools/home-page/ > * > Skype: vaughn.clement > https://secure.join.me/appsbyvclement > FaceTime: vclement at gmail.com > LogMeIn also avaialble > Call on "ooVoo" at address: vaughnclement or 9282549062 > Ph. 928-254-9062 > Cloud Hosting Registration Web Site: > https://my.oditech.com/cart.php?a=add&pid=41 > From m.schonewille at economy-x-talk.com Tue Dec 24 18:17:39 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 25 Dec 2013 00:17:39 +0100 Subject: Open a stack from DropBox In-Reply-To: References: Message-ID: <52BA1613.7020005@economy-x-talk.com> Hi Jim, What does "sent this to myself" mean exactly? If you execute the code in the message box, it will work. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi Fill out this survey please http://livecodebeginner.economy-x-talk.com/survey/ On 12/24/2013 23:46, Jim Hurley wrote: > Hi Mark, > > Thanks for the response. But it doesn't seem to work for me. > > I sent this to myself: > > go url "https://dl.dropboxusercontent.com/u/47044230/Managing%20lists.livecode" > > and I got back the text file the for the stack, and not the stack itself. > > What am I missing" > > Jim > > From jhurley0305 at sbcglobal.net Tue Dec 24 18:46:50 2013 From: jhurley0305 at sbcglobal.net (Jim Hurley) Date: Tue, 24 Dec 2013 15:46:50 -0800 Subject: Filtering one list out of another In-Reply-To: References: Message-ID: Hi Devin, This isn't much use in solving your particular problem, but it may be a useful utility for others. I run an email newsletter, and do a bit of database work so I deal with lists is something I do quite a bit. Some time ago wrote an app for managing list. It's mostly for numeric lists, Voter ID numbes, but most of it can be altered to deal with text. In any case run this in the message box: go url "https://dl.dropboxusercontent.com/u/47044230/Managing%20lists.livecode" Jim And thanks to Mark for this shortcut for exchanging stacks over DropBox. God, I love DropBox. It make life with more than one computer so much easier to deal with. From monte at sweattechnologies.com Tue Dec 24 19:42:17 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed, 25 Dec 2013 11:42:17 +1100 Subject: livecode on xubuntu 13.10 In-Reply-To: <199-1188441996.20131224100404@ahsoftware.net> References: <52B72480.6050407@harbourhosting.co.uk> <104-1361012947.20131222100753@ahsoftware.net> <52B740B8.8070105@gmail.com> <91-1353052218.20131222122034@ahsoftware.net> <52B876EF.7050505@hyperactivesw.com> <35-1238541316.20131223200904@ahsoftware.net> <53F68FC0-0710-4F44-9895-FA7ED69DA24F@sweattechnologies.com> <199-1188441996.20131224100404@ahsoftware.net> Message-ID: I think there's still something to sort out in shebang mode because stdout doesn't seem to work right... At least new lines don't. -- M E R Goulding Software development services mergExt - There's an external for that! > On 25 Dec 2013, at 5:04 am, Mark Wieder wrote: > > Ha! Thanks for the pull request. From dochawk at gmail.com Tue Dec 24 20:58:19 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 24 Dec 2013 17:58:19 -0800 Subject: rawKeyDown slightly cooked In-Reply-To: <52B9DC0D.8090404@gmail.com> References: <52B8A29D.5050907@gmail.com> <8D0CE3BE10101A8-9CC-3CDBC@webmail-d204.sysops.aol.com> <52B8B120.9090603@gmail.com> <52B9428B.4010807@gmail.com> <52B9D208.6050003@hyperactivesw.com> <52B9D8E9.7080005@gmail.com> <52B9DC0D.8090404@gmail.com> Message-ID: On Tue, Dec 24, 2013 at 11:10 AM, Richmond wrote: > RawKeyDown is indeed raw but is a different meaning of "raw" from what you > are expecting - it isn't the key scancode from the keyboard hardware; it is > a number that uniquely identifies every character and non-character key. > so should we rename it "RareKeyDown" or "MediumRareKeyDown"? And what would "WellDoneKeyDown" do? :) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From richmondmathewson at gmail.com Wed Dec 25 07:32:58 2013 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 25 Dec 2013 14:32:58 +0200 Subject: rawKeyDown slightly cooked In-Reply-To: References: <52B8A29D.5050907@gmail.com> <8D0CE3BE10101A8-9CC-3CDBC@webmail-d204.sysops.aol.com> <52B8B120.9090603@gmail.com> <52B9428B.4010807@gmail.com> <52B9D208.6050003@hyperactivesw.com> <52B9D8E9.7080005@gmail.com> <52B9DC0D.8090404@gmail.com> Message-ID: <52BAD07A.7080706@gmail.com> On 25/12/13 03:58, Dr. Hawkins wrote: > On Tue, Dec 24, 2013 at 11:10 AM, Richmond wrote: > >> RawKeyDown is indeed raw but is a different meaning of "raw" from what you >> are expecting - it isn't the key scancode from the keyboard hardware; it is >> a number that uniquely identifies every character and non-character key. >> > so should we rename it "RareKeyDown" or "MediumRareKeyDown"? > > And what would "WellDoneKeyDown" do? > > :) > > Maybe ? l'anglais! Richmond. From andrew at ctech.me Wed Dec 25 08:39:10 2013 From: andrew at ctech.me (Andrew Kluthe) Date: Wed, 25 Dec 2013 07:39:10 -0600 Subject: use-livecode Digest, Vol 123, Issue 49 In-Reply-To: References: Message-ID: go stack url is maybe what is being looked for? Just doing go url only loads down the code file. On Tue, Dec 24, 2013 at 4:46 PM, Jim Hurley wrote: > Hi Mark, > > Thanks for the response. But it doesn't seem to work for me. > > I sent this to myself: > > go url " > https://dl.dropboxusercontent.com/u/47044230/Managing%20lists.livecode" > > and I got back the text file the for the stack, and not the stack itself. > > What am I missing" > > Jim > > > > > ---------------------------- > > > > Message: 23 > > Date: Tue, 24 Dec 2013 23:09:11 +0100 > > From: Mark Schonewille > > To: How to use LiveCode > > Subject: Re: Open a stack from DropBox > > Message-ID: <52BA0607.2050807 at economy-x-talk.com> > > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > > > Jim, > > > > Here's an example: > > > > go url > > " > https://dl.dropboxusercontent.com/u/6398381/LiveCode/screengrab%20test.livecode > " > > > > dl at the start of the URL downloads the file instead of a web page and > > the number is my user account number. LiveCode is a directory. > > > > If I right-click on a file in my public Dropbox folder, I get an option > > to copy the public link. > > > > -- > > Best regards, > > > > Mark Schonewille > > > > Economy-x-Talk Consulting and Software Engineering > > Homepage: http://economy-x-talk.com > > Twitter: http://twitter.com/xtalkprogrammer > > KvK: 50277553 > > > > Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other > > colour spaces. http://www.color-converter.com > > > > Buy my new book "Programming LiveCode for the Real Beginner" > > http://qery.us/3fi > > > > Fill out this survey please > > http://livecodebeginner.economy-x-talk.com/survey/ > > > > On 12/24/2013 22:32, Jim Hurley wrote: > >> I think I've seen this on the list but wasn't paying attention. > >> > >> Is it possible to put a stack into a DropBox Public folder and have it > open in the recipients IDE? > >> > >> What is it you do the the html link to get it to open as a stack. > >> > >> Jim > >> > > > > > > > > ------------------------------ > > > > Subject: Digest Footer > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > ------------------------------ > > > > End of use-livecode Digest, Vol 123, Issue 49 > > ********************************************* > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Regards, Andrew Kluthe andrew at ctech.me From gcanyon at gmail.com Wed Dec 25 19:13:53 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Wed, 25 Dec 2013 19:13:53 -0500 Subject: Filtering one list out of another In-Reply-To: <86E7248D-3F08-4DBC-8751-5801AF84F570@byu.edu> References: <86F327FB-A94B-48D9-821C-293CC0F902E9@mail.com> <98C15649-91FA-4CAF-9CFE-1516D98DC28E@byu.edu> <86E7248D-3F08-4DBC-8751-5801AF84F570@byu.edu> Message-ID: On Tue, Dec 24, 2013 at 2:29 AM, Devin Asay wrote: > > > This is what I ended up with: > > function filterList1WithoutList2 pMainList, pExcludeList > put pMainList into tMain > repeat for each line tLine in pExcludeList > set the wholeMatches to true > put lineOffset(tLine, tMain) into tMatchedLine > if tMatchedLine > 0 then > delete line tMatchedLine of tMain > end if > end repeat > return tMain > end filterList1WithoutList2 If your main list has any duplicate lines that need to be removed, the code above will remove only one of them. This removes duplicates, but de-dupes everything; if 3 is to be removed, it removes all 3s but if 3 isn't to be removed and the original list has four 3s, it will return just one of them: *function* filterWithout pMain, pExclude *split* pMain using cr as *set* *repeat* for each line tLine in pExclude *delete* variable pMain[tLine] *end* *repeat* *return* the keys of pMain *end* filterWithout This removes any duplicate lines that need to be removed, but leaves other duplicates in place. It also retains the order of the original list, which the one above doesn't: *function* filterWithout pMain, pExclude *split* pExclude using cr as *set* *repeat* for each line tLine in pMain *if* pExclude[tLine] *then* *next* *repeat* *put* tLine & cr after R *end* *repeat* *return* char 1 to -2 of R *end* filterWithout For your original routine above, you can speed it up a bit by putting the wholematches before the repeat. Each of these three routines can be faster or slower depending on the contents of the two lists: *function* filterList1WithoutList2 pMainList, pExcludeList *set* the wholeMatches to true *repeat* for each line tLine in pExcludeList *get* lineOffset(tLine, pMainList) *if* it > 0 *then* *delete* line it of pMainList *end* *repeat* *return* pMainList *end* filterList1WithoutList2 From gcanyon at gmail.com Wed Dec 25 19:22:20 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Wed, 25 Dec 2013 19:22:20 -0500 Subject: Polling/probing the keyboard? In-Reply-To: <52B8A37D.2080506@gmail.com> References: <1387831842.55274.YahooMailBasic@web141102.mail.bf1.yahoo.com> <52B8A37D.2080506@gmail.com> Message-ID: Would it be reasonable to have a setup screen where these messages are trapped, and have the user hit enough keys on that screen for you to identify the keyboard setup, and then proceed on to the screens where you do the actual work without trapping those messages anymore. From lan.kc.macmail at gmail.com Wed Dec 25 20:59:22 2013 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Thu, 26 Dec 2013 09:59:22 +0800 Subject: [mySQL] How to remove Fractional Seconds Message-ID: For the mySQL gurus. Have just updated from mySQL 5.5.x to 5.6.15 and see the root cause of my problem is that since 5.6.4 mySQL allows a fractional second part (fsp) at the end of times where as prior to this they were ignored. The latest version of mySQL allows dateTime, and time columns to be defined to include a fsp. My columns are old and do NOT include a fsp definition. So: SELECT startDT FROM schedule WHERE meeting = 'pointless' 2013-12-25 09:00:00 2013-12-26 09:00:00 2013-12-25 11:30:00 2013-12-26 11:30:00 2013-12-25 14:00:00 2013-12-25 17:00:00 As expected, same as my old 5.5.x, but if I do this: SELECT DISTINCT time(StartDT) FROM schedule WHERE meeting = 'pointless' 09:00:00.000000 11:30:00.000000 14:00:00.000000 17:00:00.000000 I now get fsp added to the time. I've since learnt that I can specify fspprecision: SELECT NOW() 2013-12-26 15:14:13 SELECT NOW(6) 2013-12-26 15:14:13.987654 SELECT NOW(0) 2013-12-26 15:14:13 So what I want to be able to do is use time() and specify 0 fsp: SELECT DISTINCT time(StartDT,0) FROM schedule WHERE meeting = 'pointless' OR SELECT DISTINCT time(0,StartDT) FROM schedule WHERE meeting = 'pointless' but neither of these work. How can I use the mySQL time() function AND specify no fsp? Is there a mySQL variable that I can set to return it to pre 5.6.4 functionality? I'm looking for a single mySQL statement solution. Whilst I appreciate that this may appear easy for LiveCode to fix, in this context I'd really prefer to solve this in mySQL. Basically I have a very long and convoluted script which builds 99 different SQL statements which progressively get more and more complex based on the result of the previous query. char -2 to -1 has always given me the seconds no matter the result is a DateTime, Time or time() output. Now I'm sporadically getting 00 when it should be a much larger number and it's screwing the results completely. Thankfully the final result was far enough off expectations that it prompted me to double check. I'm even considering downgrading to 5.6.3 because I've literally just upgraded, opened my first LC Stack and hit this problem within a minute. I do a LOT of LC + mySQL + dates and times, so I know this is just the tip of the iceberg. Thanks From richmondmathewson at gmail.com Thu Dec 26 02:32:24 2013 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 26 Dec 2013 09:32:24 +0200 Subject: Polling/probing the keyboard? In-Reply-To: References: <1387831842.55274.YahooMailBasic@web141102.mail.bf1.yahoo.com> <52B8A37D.2080506@gmail.com> Message-ID: <52BBDB88.3030103@gmail.com> On 26/12/13 02:22, Geoff Canyon wrote: > Would it be reasonable to have a setup screen where these messages are > trapped, and have the user hit enough keys on that screen for you to > identify the keyboard setup, and then proceed on to the screens where you > do the actual work without trapping those messages anymore. That doesn't sound a bad idea at all, in theory. But I'm not sure if I am prepared to spend ages building a database of all the possible keyboard layouts on Mac, Win and Linux; plus write the clunky code to deal with all of that. Richmond. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From palcibiades-first at yahoo.co.uk Thu Dec 26 08:49:12 2013 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Thu, 26 Dec 2013 05:49:12 -0800 (PST) Subject: livecode on xubuntu 13.10 In-Reply-To: <52B72480.6050407@harbourhosting.co.uk> References: <52B72480.6050407@harbourhosting.co.uk> Message-ID: <1388065751945-4674135.post@n4.nabble.com> Well... why Ubuntu? An inconvenient question? Why not Debian Stable with 32 bit libraries? 64 bit Seems to work perfectly. If you want XFCE just install it. That is a sensible choice given the total mess that Gnome has become. XFCE is fast and simple. I have replaced xfwm with metacity for one installation. Its pretty close to Gnome 2. Or there would also be cinnamon or mate as an alternative. Or, if you want to get really purist, Slackware with xfce. If it doesn't run on Slackware you know its the package. If it doesn't run on Ubuntu, all you really know is that you have a problem. Which may or may not go away or be replaced by a different one in six months time. The popularity of Ubuntu is quite baffling, but what is even more baffling is the fact that so many people see it as the only option. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/livecode-on-xubuntu-13-10-tp4674026p4674135.html Sent from the Revolution - User mailing list archive at Nabble.com. From richmondmathewson at gmail.com Thu Dec 26 09:31:41 2013 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 26 Dec 2013 16:31:41 +0200 Subject: livecode on xubuntu 13.10 In-Reply-To: <1388065751945-4674135.post@n4.nabble.com> References: <52B72480.6050407@harbourhosting.co.uk> <1388065751945-4674135.post@n4.nabble.com> Message-ID: <52BC3DCD.1070507@gmail.com> On 26/12/13 15:49, Peter Alcibiades wrote: > Well... why Ubuntu? An inconvenient question? Knickers! -- Why not Debian Stable with 32 bit libraries? 64 bit Seems to work perfectly. If you want XFCE just install it. That is a sensible choice given the total mess that Gnome has become. XFCE is fast and simple. I have replaced xfwm with metacity for one installation. Its pretty close to Gnome 2. Or there would also be cinnamon or mate as an alternative. Or, if you want to get really purist, Slackware with xfce. If it doesn't run on Slackware you know its the package. If it doesn't run on Ubuntu, all you really know is that you have a problem. Which may or may not go away or be replaced by a different one in six months time. The popularity of Ubuntu is quite baffling, but what is even more baffling is the fact that so many people see it as the only option. --- The popularity of Ubuntu is no more baffling than the popularity of Windows. The vast majority of people do not realise that a PC can do anything at all without Windows; those who have managed to break the mould far enough to embrace Ubuntu should be congratulated for escaping the Windows-only tyranny, not damned for thinking that Ubuntu is the sum-total of Linux. Both are rather substandard when compared with other operating systems if you are somebody who is trying to do something other than: Use an Office Suite surf the internet send e-mails use internet telephony apps play games Oddly enough (!!!!) the vast majority of desktop users do jolly-nicely-thank-you with Windows, and the vast majority of desktop Linux users do JNTY with Ubuntu. I, for one, use Ubuntu at my school for very banal reasons: 1. Not Windows which costs money and catches viruses. 2. Ubuntu is moronically easy to install and works 100% with the stuff I need for my school. This endless 'noise' that is anti-Windows (speaking as someone who was extremely anti-Windows for years) and, now, anti-Ubuntu begins to get like the vile, high-pitched shrieks coming from Richard Stallman, who, having made his point extremely well cannot let things be but must carry them to a ridiculous reductio that only serves to turn many people against him. Here are the facts, however much it may make Linux "purists" get their netherware in a twist: Windows rules the waves (for now), Macintosh computers are used by posers and people who have academic grants paying for their computers. Ubuntu rules the Linux desktop wavelets. I don't like Windows, Peter doesn't like Ubuntu, I don't like the fact that Elton John is gay: but, Hey, let's deal with it, because while de facto may not be the way we would have it, that's the way things are. I market products for Windows, and I listen to Elton John's (early) music: and, guess what, I'm still breathing :) Richmond. From mblivecode at harbourhosting.co.uk Thu Dec 26 10:15:45 2013 From: mblivecode at harbourhosting.co.uk (Martin Baxter) Date: Thu, 26 Dec 2013 15:15:45 +0000 Subject: livecode on xubuntu 13.10 In-Reply-To: <1388065751945-4674135.post@n4.nabble.com> References: <52B72480.6050407@harbourhosting.co.uk> <1388065751945-4674135.post@n4.nabble.com> Message-ID: <52BC4821.4010401@harbourhosting.co.uk> On 26/12/13 13:49, Peter Alcibiades wrote: > Well... why Ubuntu? An inconvenient question? > > Why not Debian Stable with 32 bit libraries? 64 bit Seems to work > perfectly. If you want XFCE just install it. That is a sensible > choice given the total mess that Gnome has become. XFCE is fast and > simple. I have replaced xfwm with metacity for one installation. > Its pretty close to Gnome 2. Or there would also be cinnamon or mate > as an alternative. > > Or, if you want to get really purist, Slackware with xfce. If it > doesn't run on Slackware you know its the package. If it doesn't run > on Ubuntu, all you really know is that you have a problem. Which may > or may not go away or be replaced by a different one in six months > time. > > The popularity of Ubuntu is quite baffling, but what is even more > baffling is the fact that so many people see it as the only option. > > Speaking only for myself, I have the hardware that I have, and the Linux that ends up installed on it is the Linux that installs without major issues. I don't really have the chops to resolve installations that go badly wrong and anyway of course that isn't even the only thing I have to do in my life. I have found that Ubunutu and derivatives are much more likely to install successfully on the hardware that I actually have than are distros that perhaps I would in fact prefer to use if only I could get them to even install, and my suggestion is that this is perhaps a major factor in the popularity of Ubuntu and its derivatives. The machine I was playing about with in this case reacted badly or inconsistently to pretty much every LIVE distro I tried to run on it, except for xubuntu, and that is the simple reason why that particular software got installed. I've somewhat changed my plans due to the niggling issues that have arisen and remain unresolved. I do in fact now plan to install Debian but on a separate machine, which seems happy to run wheezy live DVD. Just waiting for a new HD to be delivered before I go ahead. One issue with Debian in the past was that they did not provide ready made live media and I have had experience of Debian installation apparently going fine only to be decidedly pear-shaped once actually booted. Now that there are live dvd images I think it is easier for someone like myself to evealuate the chances of successful installation in advance. Essentially I completely agree with your sentiments Peter. I much prefer the idea of a stable platform with real long term support, to the fickle testbed that is Ubuntu. The decider though is the available skills and hardware. Martin From pete at lcsql.com Thu Dec 26 11:30:52 2013 From: pete at lcsql.com (Peter Haworth) Date: Thu, 26 Dec 2013 08:30:52 -0800 Subject: [mySQL] How to remove Fractional Seconds In-Reply-To: References: Message-ID: Maybe the DATE-FORMAT function will help? Pete lcSQL Software On Dec 25, 2013 5:59 PM, "Kay C Lan" wrote: > For the mySQL gurus. > > Have just updated from mySQL 5.5.x to 5.6.15 and see the root cause of my > problem is that since 5.6.4 mySQL allows a fractional second part (fsp) at > the end of times where as prior to this they were ignored. The latest > version of mySQL allows dateTime, and time columns to be defined to include > a fsp. My columns are old and do NOT include a fsp definition. > > So: > > SELECT startDT FROM schedule WHERE meeting = 'pointless' > > 2013-12-25 09:00:00 > 2013-12-26 09:00:00 > 2013-12-25 11:30:00 > 2013-12-26 11:30:00 > 2013-12-25 14:00:00 > 2013-12-25 17:00:00 > > As expected, same as my old 5.5.x, but if I do this: > > SELECT DISTINCT time(StartDT) FROM schedule WHERE meeting = 'pointless' > > 09:00:00.000000 > 11:30:00.000000 > 14:00:00.000000 > 17:00:00.000000 > > I now get fsp added to the time. I've since learnt that I can specify > fspprecision: > > SELECT NOW() > > 2013-12-26 15:14:13 > > SELECT NOW(6) > > 2013-12-26 15:14:13.987654 > > SELECT NOW(0) > > 2013-12-26 15:14:13 > > So what I want to be able to do is use time() and specify 0 fsp: > > SELECT DISTINCT time(StartDT,0) FROM schedule WHERE meeting = 'pointless' > > OR > > SELECT DISTINCT time(0,StartDT) FROM schedule WHERE meeting = 'pointless' > > but neither of these work. > > How can I use the mySQL time() function AND specify no fsp? > > Is there a mySQL variable that I can set to return it to pre 5.6.4 > functionality? > > I'm looking for a single mySQL statement solution. > > Whilst I appreciate that this may appear easy for LiveCode to fix, in this > context I'd really prefer to solve this in mySQL. Basically I have a very > long and convoluted script which builds 99 different SQL statements which > progressively get more and more complex based on the result of the previous > query. char -2 to -1 has always given me the seconds no matter the result > is a DateTime, Time or time() output. Now I'm sporadically getting 00 when > it should be a much larger number and it's screwing the results completely. > Thankfully the final result was far enough off expectations that it > prompted me to double check. > > I'm even considering downgrading to 5.6.3 because I've literally just > upgraded, opened my first LC Stack and hit this problem within a minute. I > do a LOT of LC + mySQL + dates and times, so I know this is just the tip of > the iceberg. > > Thanks > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dochawk at gmail.com Thu Dec 26 12:36:47 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 26 Dec 2013 09:36:47 -0800 Subject: livecode on xubuntu 13.10 In-Reply-To: <52BC3DCD.1070507@gmail.com> References: <52B72480.6050407@harbourhosting.co.uk> <1388065751945-4674135.post@n4.nabble.com> <52BC3DCD.1070507@gmail.com> Message-ID: On Thu, Dec 26, 2013 at 6:31 AM, Richmond wrote: > Macintosh computers are used by posers and people who have academic grants > paying for their computers. > ??? -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From jhurley0305 at sbcglobal.net Thu Dec 26 12:40:04 2013 From: jhurley0305 at sbcglobal.net (James Hurley) Date: Thu, 26 Dec 2013 09:40:04 -0800 Subject: Filtering one list out of another In-Reply-To: References: Message-ID: Hi Andrew, As it turns out you may use either in the message box: go url ?https://dl.dropboxusercontent.com/u/47044230/Managing%20lists.livecode" or go stack url ?https://dl.dropboxusercontent.com/u/47044230/Managing%20lists.livecode" LC is very forgiving on this matter. But the really good news is that the Dropbox Public folder provides a simple, convenient mechanism for exchanging LC stacks. Regards, Jim > ------------------------------ > > Message: 2 > Date: Wed, 25 Dec 2013 07:39:10 -0600 > From: Andrew Kluthe > To: How to use LiveCode > Subject: Re: use-livecode Digest, Vol 123, Issue 49 > Message-ID: > > Content-Type: text/plain; charset=ISO-8859-1 > > go stack url is maybe what is being looked for? Just doing go url only > loads down the code file. > > > On Tue, Dec 24, 2013 at 4:46 PM, Jim Hurley wrote: > >> Hi Mark, >> >> Thanks for the response. But it doesn't seem to work for me. >> >> I sent this to myself: >> >> go url " >> https://dl.dropboxusercontent.com/u/47044230/Managing%20lists.livecode" >> >> and I got back the text file the for the stack, and not the stack itself. >> >> What am I missing" >> >> Jim >> > > End of use-livecode Digest, Vol 123, Issue 51 > ********************************************* From richmondmathewson at gmail.com Thu Dec 26 12:48:27 2013 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 26 Dec 2013 19:48:27 +0200 Subject: livecode on xubuntu 13.10 In-Reply-To: References: <52B72480.6050407@harbourhosting.co.uk> <1388065751945-4674135.post@n4.nabble.com> <52BC3DCD.1070507@gmail.com> Message-ID: <52BC6BEB.2000507@gmail.com> On 26/12/13 19:36, Dr. Hawkins wrote: > On Thu, Dec 26, 2013 at 6:31 AM, Richmond wrote: > >> Macintosh computers are used by posers and people who have academic grants >> paying for their computers. >> > ??? > > > Round about the Balkans. Richmond. From pete at lcsql.com Thu Dec 26 13:12:49 2013 From: pete at lcsql.com (Peter Haworth) Date: Thu, 26 Dec 2013 10:12:49 -0800 Subject: [mySQL] How to remove Fractional Seconds In-Reply-To: References: Message-ID: That should, of course, have been DATE_FORMAT, or TIME _FORMAT will work equally well. Another thought - SELECT DISTINCT substr(time(StartDT,1,8))..... It does seem strange that you have to jump through artificial hoops like this to get what you want. Pete lcSQL Software On Thu, Dec 26, 2013 at 8:30 AM, Peter Haworth wrote: > Maybe the DATE-FORMAT function will help? > > Pete > lcSQL Software > On Dec 25, 2013 5:59 PM, "Kay C Lan" wrote: > >> For the mySQL gurus. >> >> Have just updated from mySQL 5.5.x to 5.6.15 and see the root cause of my >> problem is that since 5.6.4 mySQL allows a fractional second part (fsp) at >> the end of times where as prior to this they were ignored. The latest >> version of mySQL allows dateTime, and time columns to be defined to >> include >> a fsp. My columns are old and do NOT include a fsp definition. >> >> So: >> >> SELECT startDT FROM schedule WHERE meeting = 'pointless' >> >> 2013-12-25 09:00:00 >> 2013-12-26 09:00:00 >> 2013-12-25 11:30:00 >> 2013-12-26 11:30:00 >> 2013-12-25 14:00:00 >> 2013-12-25 17:00:00 >> >> As expected, same as my old 5.5.x, but if I do this: >> >> SELECT DISTINCT time(StartDT) FROM schedule WHERE meeting = 'pointless' >> >> 09:00:00.000000 >> 11:30:00.000000 >> 14:00:00.000000 >> 17:00:00.000000 >> >> I now get fsp added to the time. I've since learnt that I can specify >> fspprecision: >> >> SELECT NOW() >> >> 2013-12-26 15:14:13 >> >> SELECT NOW(6) >> >> 2013-12-26 15:14:13.987654 >> >> SELECT NOW(0) >> >> 2013-12-26 15:14:13 >> >> So what I want to be able to do is use time() and specify 0 fsp: >> >> SELECT DISTINCT time(StartDT,0) FROM schedule WHERE meeting = 'pointless' >> >> OR >> >> SELECT DISTINCT time(0,StartDT) FROM schedule WHERE meeting = 'pointless' >> >> but neither of these work. >> >> How can I use the mySQL time() function AND specify no fsp? >> >> Is there a mySQL variable that I can set to return it to pre 5.6.4 >> functionality? >> >> I'm looking for a single mySQL statement solution. >> >> Whilst I appreciate that this may appear easy for LiveCode to fix, in this >> context I'd really prefer to solve this in mySQL. Basically I have a very >> long and convoluted script which builds 99 different SQL statements which >> progressively get more and more complex based on the result of the >> previous >> query. char -2 to -1 has always given me the seconds no matter the result >> is a DateTime, Time or time() output. Now I'm sporadically getting 00 when >> it should be a much larger number and it's screwing the results >> completely. >> Thankfully the final result was far enough off expectations that it >> prompted me to double check. >> >> I'm even considering downgrading to 5.6.3 because I've literally just >> upgraded, opened my first LC Stack and hit this problem within a minute. I >> do a LOT of LC + mySQL + dates and times, so I know this is just the tip >> of >> the iceberg. >> >> Thanks >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > From prothero at earthednet.org Thu Dec 26 15:45:21 2013 From: prothero at earthednet.org (prothero at earthednet.org) Date: Thu, 26 Dec 2013 12:45:21 -0800 Subject: Script Debug mode setting oddity V6.5.1 In-Reply-To: References: Message-ID: <32EB4B02-6E12-4DFE-8F2D-49043B27C937@earthednet.org> Livecode version 6.5.1, OSX 10.8.5 I notice that if I set some breakpoints in a substack, then turn off script debug mode (when in the editor) for that substack, the breakpoints don't activate (which I expect) but then when I activate them again (from the drop down menu in the OSX menubar), the breakpoints are still inactive. I can get them to activate again by clicking a breakpoint on and off. This isn't a major deal, but could be confusing to some. Anybody else get this behavior? Regards, Bill William Prothero http://es.earthednet.org From prothero at earthednet.org Thu Dec 26 17:28:11 2013 From: prothero at earthednet.org (prothero at earthednet.org) Date: Thu, 26 Dec 2013 14:28:11 -0800 Subject: BvG Docu fails In-Reply-To: <2443A2ED-25B5-4FDE-BCEC-B6EB971CD116@mac.com> References: <529F0B94.9020505@tweedly.net> <2443A2ED-25B5-4FDE-BCEC-B6EB971CD116@mac.com> Message-ID: <472C7DCD-84F0-4FD3-AF4B-E6ED2238199A@earthednet.org> Bjornke: In LiveCode 6.5.1, BvG Docu, when I launch Livecode, puts up a "Please Wait" "Waiting for Processing 1700" dialog, which never goes away. It worked fine with previous versions of LiveCode. It starts the countdown, then the Livecode window comes up with BvG Docu's window behind it. Then it hangs. It worked fine in 6.5 but the livecode window didn't show before it finished updating the docs database. Could that be the problem? Bill William Prothero http://es.earthednet.org On Dec 4, 2013, at 6:59 AM, Bj?rnke von Gierke wrote: > Hi Alex (sending to you directly as well as the list, so you might get this twice in your inbox) > > The problem is that maxY doesn't work with stackedBar charts. I know it's kind of an unexpected feature to leave out for that particular type, but that's how it always has been :( > > To clean all 'settings' for ChartsEngine, you need to manipulate the custom property set of the group that shows the chart. Sometimes that can be confusing, so I suggest you browse trough the custom properties in the property inspector of the IDE and select the propertySet "charts" there. Then you can pick properties to delete one by one, or just delete the propertySet "charts" completely to start fresh. An approach that I use often would be to reset the properties and start completely over every time via script, it works like this: > > put "1,2,3" & return & "4,5,6" into chartsArray["data"] > put "barsStacked" into chartsArray["chartStyle"] > --etc. > set the customProperties["charts"] of group "example" to chartsArray > send "chartsRefresh" to group "example" > > > Also make sure to check out the documentation stack, it's supplied with every download. > > If you can't post to forums.runrev.com, then you probably need to ask RunRev support about that... But of course you can always contact me directly on chartsengine at chartsengine.com , or any other of my email addresses. All relevant information about ChartsEngine can always be found here: > > http://forums.runrev.com/viewtopic.php?f=36&t=6882 > > Cheers > Bjoernke > > PS: don't forget that ChartsEngine is part of the winter holiday sale that RunRev is having right now: http://livecode.com/mega-bundle-2013/ > > > On 04.12.2013, at 12:01, Alex Tweedly wrote: > >> (I know there's a forum specifically for ChartsEngine - if I could figure out how to post there, I might have used it :-) >> >> There was a problem (a long time ago) with setting maxY for a stacked line chart, causing the highest line to be drawn at the maxY rather than at its actual height ( http://forums.runrev.com/viewtopic.php?f=36&t=6144 ) but that was apparently fixed in 1.1.1 >> >> I seem to be getting a kind of similar problem with stacked bar charts - setting a value for maxY shifts all bars up to the top of the chart. (This is with ChartsEngine Demo, stacked bar chart sample - just setting maxY made it happen). >> Has anyone else seen this ? >> Or know a way round it ? >> >> Also - once you've set a value for maxY - how can you 'unset' it ? Simply setting >> set charts["maxY"] of tchart to empty >> doesn't seem to take it away properly. >> >> I'd give more detail - but I don't want to use up my limited number of tries with the demo version, so can't run it again just to give a better description. >> >> Thanks >> -- Alex. > > > -- > > Use an alternative Dictionary viewer: > http://bjoernke.com/bvgdocu/ > > Chat with other RunRev developers: > http://bjoernke.com/chatrev/ > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Thu Dec 26 17:53:33 2013 From: pete at lcsql.com (Peter Haworth) Date: Thu, 26 Dec 2013 14:53:33 -0800 Subject: BvG Docu fails In-Reply-To: <472C7DCD-84F0-4FD3-AF4B-E6ED2238199A@earthednet.org> References: <529F0B94.9020505@tweedly.net> <2443A2ED-25B5-4FDE-BCEC-B6EB971CD116@mac.com> <472C7DCD-84F0-4FD3-AF4B-E6ED2238199A@earthednet.org> Message-ID: Having the same problem here, also at record number 1700. Pete lcSQL Software On Thu, Dec 26, 2013 at 2:28 PM, prothero at earthednet.org < prothero at earthednet.org> wrote: > Bjornke: > In LiveCode 6.5.1, BvG Docu, when I launch Livecode, puts up a "Please > Wait" "Waiting for Processing 1700" dialog, which never goes away. It > worked fine with previous versions of LiveCode. It starts the countdown, > then the Livecode window comes up with BvG Docu's window behind it. Then it > hangs. It worked fine in 6.5 but the livecode window didn't show before it > finished updating the docs database. Could that be the problem? > Bill > > William Prothero > http://es.earthednet.org > > > > On Dec 4, 2013, at 6:59 AM, Bj?rnke von Gierke wrote: > > > Hi Alex (sending to you directly as well as the list, so you might get > this twice in your inbox) > > > > The problem is that maxY doesn't work with stackedBar charts. I know > it's kind of an unexpected feature to leave out for that particular type, > but that's how it always has been :( > > > > To clean all 'settings' for ChartsEngine, you need to manipulate the > custom property set of the group that shows the chart. Sometimes that can > be confusing, so I suggest you browse trough the custom properties in the > property inspector of the IDE and select the propertySet "charts" there. > Then you can pick properties to delete one by one, or just delete the > propertySet "charts" completely to start fresh. An approach that I use > often would be to reset the properties and start completely over every time > via script, it works like this: > > > > put "1,2,3" & return & "4,5,6" into chartsArray["data"] > > put "barsStacked" into chartsArray["chartStyle"] > > --etc. > > set the customProperties["charts"] of group "example" to chartsArray > > send "chartsRefresh" to group "example" > > > > > > Also make sure to check out the documentation stack, it's supplied with > every download. > > > > If you can't post to forums.runrev.com, then you probably need to ask > RunRev support about that... But of course you can always contact me > directly on chartsengine at chartsengine.com , or any other of my email > addresses. All relevant information about ChartsEngine can always be found > here: > > > > http://forums.runrev.com/viewtopic.php?f=36&t=6882 > > > > Cheers > > Bjoernke > > > > PS: don't forget that ChartsEngine is part of the winter holiday sale > that RunRev is having right now: http://livecode.com/mega-bundle-2013/ > > > > > > On 04.12.2013, at 12:01, Alex Tweedly wrote: > > > >> (I know there's a forum specifically for ChartsEngine - if I could > figure out how to post there, I might have used it :-) > >> > >> There was a problem (a long time ago) with setting maxY for a stacked > line chart, causing the highest line to be drawn at the maxY rather than at > its actual height ( http://forums.runrev.com/viewtopic.php?f=36&t=6144 ) > but that was apparently fixed in 1.1.1 > >> > >> I seem to be getting a kind of similar problem with stacked bar charts > - setting a value for maxY shifts all bars up to the top of the chart. > (This is with ChartsEngine Demo, stacked bar chart sample - just setting > maxY made it happen). > >> Has anyone else seen this ? > >> Or know a way round it ? > >> > >> Also - once you've set a value for maxY - how can you 'unset' it ? > Simply setting > >> set charts["maxY"] of tchart to empty > >> doesn't seem to take it away properly. > >> > >> I'd give more detail - but I don't want to use up my limited number of > tries with the demo version, so can't run it again just to give a better > description. > >> > >> Thanks > >> -- Alex. > > > > > > -- > > > > Use an alternative Dictionary viewer: > > http://bjoernke.com/bvgdocu/ > > > > Chat with other RunRev developers: > > http://bjoernke.com/chatrev/ > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jiml at netrin.com Thu Dec 26 18:48:38 2013 From: jiml at netrin.com (Jim Lambert) Date: Thu, 26 Dec 2013 15:48:38 -0800 Subject: Scalini - image scaler for resolution independence In-Reply-To: References: Message-ID: Following Alejandro?s suggestion, I?ve uploaded to revOnline (User Samples) a new version of Scalini that supports exporting all images as PNGs or JPEGs or 'Keep the Original File Formats'. Give Scalini a folder of images and it will create a set of scaled images that are properly named to take advantage of LiveCode?s resolution independence. JIm Lambert From lan.kc.macmail at gmail.com Thu Dec 26 19:22:45 2013 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Fri, 27 Dec 2013 08:22:45 +0800 Subject: [mySQL] How to remove Fractional Seconds In-Reply-To: References: Message-ID: Thanks Peter, saved the day!!! Yes, having already set the Date and Time format on db start up it is a bit of a hassle to again specify it every time you use a date/time function. Oh, in my hurry to solve this I was so rude to completely forget; Mary Christmas and Harry New Year to everyone on the List. I'm sure you all made it on Santa's good list so I hope you're all enjoying the season's goodies :-) On Fri, Dec 27, 2013 at 2:12 AM, Peter Haworth wrote: > That should, of course, have been DATE_FORMAT, or TIME _FORMAT will work > equally well. > > Another thought - SELECT DISTINCT substr(time(StartDT,1,8))..... > > It does seem strange that you have to jump through artificial hoops like > this to get what you want. > > Pete > lcSQL Software > > > On Thu, Dec 26, 2013 at 8:30 AM, Peter Haworth wrote: > > > Maybe the DATE-FORMAT function will help? > > > > Pete > > lcSQL Software > > On Dec 25, 2013 5:59 PM, "Kay C Lan" wrote: > > > >> For the mySQL gurus. > >> > >> Have just updated from mySQL 5.5.x to 5.6.15 and see the root cause of > my > >> problem is that since 5.6.4 mySQL allows a fractional second part (fsp) > at > >> the end of times where as prior to this they were ignored. The latest > >> version of mySQL allows dateTime, and time columns to be defined to > >> include > >> a fsp. My columns are old and do NOT include a fsp definition. > >> > >> So: > >> > >> SELECT startDT FROM schedule WHERE meeting = 'pointless' > >> > >> 2013-12-25 09:00:00 > >> 2013-12-26 09:00:00 > >> 2013-12-25 11:30:00 > >> 2013-12-26 11:30:00 > >> 2013-12-25 14:00:00 > >> 2013-12-25 17:00:00 > >> > >> As expected, same as my old 5.5.x, but if I do this: > >> > >> SELECT DISTINCT time(StartDT) FROM schedule WHERE meeting = 'pointless' > >> > >> 09:00:00.000000 > >> 11:30:00.000000 > >> 14:00:00.000000 > >> 17:00:00.000000 > >> > >> I now get fsp added to the time. I've since learnt that I can specify > >> fspprecision: > >> > >> SELECT NOW() > >> > >> 2013-12-26 15:14:13 > >> > >> SELECT NOW(6) > >> > >> 2013-12-26 15:14:13.987654 > >> > >> SELECT NOW(0) > >> > >> 2013-12-26 15:14:13 > >> > >> So what I want to be able to do is use time() and specify 0 fsp: > >> > >> SELECT DISTINCT time(StartDT,0) FROM schedule WHERE meeting = > 'pointless' > >> > >> OR > >> > >> SELECT DISTINCT time(0,StartDT) FROM schedule WHERE meeting = > 'pointless' > >> > >> but neither of these work. > >> > >> How can I use the mySQL time() function AND specify no fsp? > >> > >> Is there a mySQL variable that I can set to return it to pre 5.6.4 > >> functionality? > >> > >> I'm looking for a single mySQL statement solution. > >> > >> Whilst I appreciate that this may appear easy for LiveCode to fix, in > this > >> context I'd really prefer to solve this in mySQL. Basically I have a > very > >> long and convoluted script which builds 99 different SQL statements > which > >> progressively get more and more complex based on the result of the > >> previous > >> query. char -2 to -1 has always given me the seconds no matter the > result > >> is a DateTime, Time or time() output. Now I'm sporadically getting 00 > when > >> it should be a much larger number and it's screwing the results > >> completely. > >> Thankfully the final result was far enough off expectations that it > >> prompted me to double check. > >> > >> I'm even considering downgrading to 5.6.3 because I've literally just > >> upgraded, opened my first LC Stack and hit this problem within a > minute. I > >> do a LOT of LC + mySQL + dates and times, so I know this is just the tip > >> of > >> the iceberg. > >> > >> Thanks > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dochawk at gmail.com Thu Dec 26 21:22:38 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 26 Dec 2013 18:22:38 -0800 Subject: [mySQL] How to remove Fractional Seconds In-Reply-To: References: Message-ID: On Thu, Dec 26, 2013 at 4:22 PM, Kay C Lan wrote: > Oh, in my hurry to solve this I was so rude to completely forget; Mary > Christmas and Harry New Year to everyone on the List. > Shh! Harold the Angel is about to sing! -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Thu Dec 26 22:24:55 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 26 Dec 2013 19:24:55 -0800 Subject: livecode on xubuntu 13.10 In-Reply-To: <52BC6BEB.2000507@gmail.com> References: <52B72480.6050407@harbourhosting.co.uk> <1388065751945-4674135.post@n4.nabble.com> <52BC3DCD.1070507@gmail.com> <52BC6BEB.2000507@gmail.com> Message-ID: On Thu, Dec 26, 2013 at 9:48 AM, Richmond wrote: > > Round about the Balkans. > Ahh. That makes more sense. Here, I figure they cost me less than MS or unix machines would if I put any value on my time (and probably even if I didn't). -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From simon at asato-media.com Fri Dec 27 01:45:39 2013 From: simon at asato-media.com (As_Simon) Date: Thu, 26 Dec 2013 22:45:39 -0800 (PST) Subject: Scalini - image scaler for resolution independence In-Reply-To: References: Message-ID: <1388126739358-4674150.post@n4.nabble.com> Hi Jim, This is great! Can you tell there's a "but" coming? No no... Just I think you should add the word "Scale" in the description. Make it really easy to find. Simon -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Scalini-image-scaler-for-resolution-independence-tp4674049p4674150.html Sent from the Revolution - User mailing list archive at Nabble.com. From richmondmathewson at gmail.com Fri Dec 27 03:06:02 2013 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 27 Dec 2013 10:06:02 +0200 Subject: livecode on xubuntu 13.10 In-Reply-To: References: <52B72480.6050407@harbourhosting.co.uk> <1388065751945-4674135.post@n4.nabble.com> <52BC3DCD.1070507@gmail.com> <52BC6BEB.2000507@gmail.com> Message-ID: <52BD34EA.4020609@gmail.com> On 27/12/13 05:24, Dr. Hawkins wrote: > On Thu, Dec 26, 2013 at 9:48 AM, Richmond wrote: > >> Round about the Balkans. >> > Ahh. That makes more sense. > > Here, I figure they cost me less than MS or unix machines would if I put > any value on my time (and probably even if I didn't). > > Certainly the cost of ownership of a Mac or, for that matter, a machine running Linux is less than that of a machine running Windows. My parents, about 10 years ago, in one of those usual fits of "never trust your children", went out and bought a Toshiba top-of-the-range laptop with Windows XP pre-installed; [now, to be fair about Windows XP, if installed carefully, and then the whole system is hardened by somebody who knows what they are doing, there should be almost no problems at all] For 3 years father was running up and down the road to the "fixit" shop, on average once a month, costing about 50 pounds and a lost 3 days everytime. After those 3 years mother and father caved into to the badgering of their awful son. Now mother and father have been running various recensions of Ubuntu, Xubuntu or Ubuntustudio ever since. I fly over to see them every summer (which I did EVEN when they were running Windows on their laptop!!!) and do a backup and install a contemporary version. The guy in the "fixit" shop dislikes me intensely as he is earning some 600 pounds (!!!!!!!!!!!!!!!!!!!!!!!!) less a year. Right beside me is my G3 iMac that I use for all my day-to-day stuff such as WP, internet browsing and Music; as well as 3D modelling with antiquated versions of Bryce and Poser: running Mac OS 9. Just installed Mavericks (Mac OS 10.9.1) in VMware (second attempt) more from a "let's see if it works" rather than a great urge to work with it. But, should the great day come and I manage to have a "few spare bob" I will probably buy myself a macMini that runs OS 10.9. ------------------- However; here in Bulgaria I teach children, and have done for the last 8 years; and they are generally more upfront and direct, the value of lying not having got through to most of them yet. They all have Windows XP or 7 on their machines, whether Desktops or Laptops (well, with the exception of a few I have 'misled'). Why do they have Windows? Mainly because they and/or their parents are unaware of other operating systems (and no computer shop is going to tell them about them if they know that they will lose revenue from people coming back with virused or blue-screened machines), or if they are, are not prepared to try them because all their friend use Windows. They also believe all the "merry stories" about Mac and Linux that they have been spoon-fed by Microsoft. But one should not be surprised about that as the whole educational system here is geared to whipping people into "the" way of thinking, rather than teaching them how to think critically. Origal ideas round this neck of the woods are about as common as hen's teeth. But then, show me a state education system that does much more than that anywhere in the world. Never, never underestimate the force of peer pressure. ----------------- However, MacBooks and MakBook Airs have become fashion items. The latest thing in Bulgaria is to buy one of these, scrub Mac OS X and install Windows 7! To me that is just about as daft as one can get. Richmond. From palcibiades-first at yahoo.co.uk Fri Dec 27 05:47:37 2013 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Fri, 27 Dec 2013 02:47:37 -0800 (PST) Subject: livecode on xubuntu 13.10 In-Reply-To: <52BD34EA.4020609@gmail.com> References: <52B72480.6050407@harbourhosting.co.uk> <1388065751945-4674135.post@n4.nabble.com> <52BC3DCD.1070507@gmail.com> <52BC6BEB.2000507@gmail.com> <52BD34EA.4020609@gmail.com> Message-ID: <1388141257813-4674152.post@n4.nabble.com> Look, lets be scientific about it. We know there are problems with Xubuntu. So the first thing to do is find out is it the window manager, is it ubuntu, is it LC. Short way: try debian stable or slackware. With xfce or fluxbox or whatever. Do we still have the problem? Why will people not take the simple and obvious course to narrow down the problem? -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/livecode-on-xubuntu-13-10-tp4674026p4674152.html Sent from the Revolution - User mailing list archive at Nabble.com. From palcibiades-first at yahoo.co.uk Fri Dec 27 06:37:32 2013 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Fri, 27 Dec 2013 03:37:32 -0800 (PST) Subject: livecode on xubuntu 13.10 In-Reply-To: <52BC4821.4010401@harbourhosting.co.uk> References: <52B72480.6050407@harbourhosting.co.uk> <1388065751945-4674135.post@n4.nabble.com> <52BC4821.4010401@harbourhosting.co.uk> Message-ID: <1388144252154-4674153.post@n4.nabble.com> I've never had a problem installing Debian, but think in your case I would try either Debian or Slackware in a VM. Then if it still does it with XFCE, I'd first try changing the window manager. You can move to metacity easily enough - just install it, then enter 'metacity --replace' from a terminal. If that does not work, maybe try a completely different WM which is not XFCE, like Fluxbox or Openbox to eliminate XFCE as the source. Then at least you can tie down what is going on. Maybe even KDE too, though that is rather an heretical thought on this forum! I agree about Ubuntu basically being a test-bed. Slackware has its points but has always been a little too basic for my taste. Debian has disadvantages - particularly the non-free stuff, which can be a pain. I am running testing, which is probably not a good idea in a production environment, but have had no more than minor irritations on upgrades to do with privileges on usb sticks and privileges on shutdown. Easy enough to correct, but irritating that one has to. I've never had a Debian install go through and then not boot. Maybe on one early version there was a Grub problem? Can't remember now, whatever, if there was one it wasn't a show stopper. XFCE is very understandable choice. The newer versions are nice, quick, easy to configure, out of your way. They have occupied the same market niche as the old Gnome used to. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/livecode-on-xubuntu-13-10-tp4674026p4674153.html Sent from the Revolution - User mailing list archive at Nabble.com. From richmondmathewson at gmail.com Fri Dec 27 06:41:29 2013 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 27 Dec 2013 13:41:29 +0200 Subject: livecode on xubuntu 13.10 In-Reply-To: <1388141257813-4674152.post@n4.nabble.com> References: <52B72480.6050407@harbourhosting.co.uk> <1388065751945-4674135.post@n4.nabble.com> <52BC3DCD.1070507@gmail.com> <52BC6BEB.2000507@gmail.com> <52BD34EA.4020609@gmail.com> <1388141257813-4674152.post@n4.nabble.com> Message-ID: <52BD6769.1090304@gmail.com> On 27/12/13 12:47, Peter Alcibiades wrote: > Look, lets be scientific about it. That's what my Taekwondo teacher told me! She told me that Taekwondo was 'scientific', as did my Wado-Kai Karate teacher a few years earlier. Of course that is rubbish: Taekwondo was cooked up by Generral Hoi-Hong-Hi from bits of Jujitsu and other martial arts, but nothing scientific was involved. Wado-Kai Karate has evolved out of traditional martial arts practised on Okinawa. Folk medicine such as Ayurveda is not 'scientific' either; it is just a jumble of things that appear to work until proven otherwise. My Taekwondo teacher (3 Dan) mucked her knee and hip joints up really badly owing to her practising 'scientific' Taekwondo that she was told to stop, and had a long lecture from medical specialists as to exactly how much cr*p the claims of martial arts to be 'scientific' are. At least she had the honesty to tell all of us that, and promised she would shut-up about how scientific Taekwondo was from then on; but she didn't give it up, just cut down: God bless her. In fact every time anybody mentions the word 'scientific' anywhere but in the fields of the physical sciences my toes start curling up because it is a horrible misuse of the word; and that misuse is a way of claiming something that is not possible about a certain situation. There are: Hard sciences: Natural Philosophy (Physics), Chemistry, Biology. Social sciences: Psychology, Sociology and various distinctly wobbly subjects. Bogus sciences: shining example of this here: http://vedabase.com/en/ssr > We know there are problems with Xubuntu. That's a subjective judgement; not 'scientific'. Funnily enough I have never had any problems with LC and Xubuntu; but that is not a scientific observation; that's just my experience. > > So the first thing to do is find out is it the window manager, is it ubuntu, > is it LC. > > Short way: try debian stable or slackware. With xfce or fluxbox or > whatever. Do we still have the problem? That isn't scientific either: there are so many variables that are different between Ubuntu and Debian that one would probably find it impossible to narrow down to what, exactly, is the cause of the perceived problem. There probably is no short way. What is far more interesting than whether programmers have problems using Livecode on various Linux distros with various window managers with various enhancements (wow; variables to make you sick), is whether standalones made for Linux work everywhere! > > Why will people not take the simple and obvious course to narrow down the > problem? > Because it is neither simple nor obvious. > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/livecode-on-xubuntu-13-10-tp4674026p4674152.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Fri Dec 27 06:44:47 2013 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 27 Dec 2013 13:44:47 +0200 Subject: livecode on xubuntu 13.10 In-Reply-To: <1388144252154-4674153.post@n4.nabble.com> References: <52B72480.6050407@harbourhosting.co.uk> <1388065751945-4674135.post@n4.nabble.com> <52BC4821.4010401@harbourhosting.co.uk> <1388144252154-4674153.post@n4.nabble.com> Message-ID: <52BD682F.8080508@gmail.com> On 27/12/13 13:37, Peter Alcibiades wrote: > I've never had a problem installing Debian, but think in your case I would > try either Debian or Slackware in a VM. Then if it still does it with XFCE, > I'd first try changing the window manager. You can move to metacity easily > enough - just install it, then enter 'metacity --replace' from a terminal. > If that does not work, maybe try a completely different WM which is not > XFCE, like Fluxbox or Openbox to eliminate XFCE as the source. Then at > least you can tie down what is going on. > > Maybe even KDE too, though that is rather an heretical thought on this > forum! Why is that heretical? I, personally don't like KDE, but I don't see why it should be objected to as such. > > I agree about Ubuntu basically being a test-bed. Slackware has its points > but has always been a little too basic for my taste. I do feel that your use of the word 'taste' is far better and more accurate than your use of the word 'scientific'. > Debian has > disadvantages - particularly the non-free stuff, which can be a pain. I am > running testing, which is probably not a good idea in a production > environment, but have had no more than minor irritations on upgrades to do > with privileges on usb sticks and privileges on shutdown. Easy enough to > correct, but irritating that one has to. I've never had a Debian install go > through and then not boot. Maybe on one early version there was a Grub > problem? Can't remember now, whatever, if there was one it wasn't a show > stopper. > > XFCE is very understandable choice. The newer versions are nice, quick, > easy to configure, out of your way. They have occupied the same market > niche as the old Gnome used to. Indeed; and, recently I gave up Xubuntu for UbuntuStudio, which has XFCE as its window manager and seems less twitchy than Xubuntu. Richmond. From roger.e.eller at sealedair.com Fri Dec 27 07:53:50 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Fri, 27 Dec 2013 07:53:50 -0500 Subject: Great MacFormat intro article In-Reply-To: <44B4B5B1-2554-4CB2-AAE9-4E45A6241C3A@thehales.id.au> References: <44B4B5B1-2554-4CB2-AAE9-4E45A6241C3A@thehales.id.au> Message-ID: Very good intro article. Thanks. On Dec 23, 2013 9:14 PM, "James Hale" wrote: > The latest issue of MacFormat (Christmas 2013) has a great getting started > article featuring LiveCode. > > Even better, there is a promise of more to come! > > James > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jiml at netrin.com Fri Dec 27 10:26:05 2013 From: jiml at netrin.com (Jim Lambert) Date: Fri, 27 Dec 2013 07:26:05 -0800 Subject: Scalini - image scaler for resolution independence In-Reply-To: References: Message-ID: <452A523D-9611-41A2-8BAB-829A2BAC1871@netrin.com> Simon wrote: > I think you should add the word "Scale" in the description. > Make it really easy to find. Good idea. ?Scale? was in the tags but now I?ve added it to the title. Thanks. Jim Lambert From roger.e.eller at sealedair.com Fri Dec 27 11:20:24 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Fri, 27 Dec 2013 11:20:24 -0500 Subject: Flow/wrap text into an irregular shape Message-ID: Imagine a multi-line text field which overlays a triangle polygon, which is wide at the top, and comes to a point at the bottom. I want the text to detect the edges of the triangle and wrap at those edges. The result would be a triangle shaped body of text (centered). My question to you is "How can this be achieved?" ~Roger From mblivecode at harbourhosting.co.uk Fri Dec 27 12:17:04 2013 From: mblivecode at harbourhosting.co.uk (Martin Baxter) Date: Fri, 27 Dec 2013 17:17:04 +0000 Subject: livecode on xubuntu 13.10 In-Reply-To: <1388141257813-4674152.post@n4.nabble.com> References: <52B72480.6050407@harbourhosting.co.uk> <1388065751945-4674135.post@n4.nabble.com> <52BC3DCD.1070507@gmail.com> <52BC6BEB.2000507@gmail.com> <52BD34EA.4020609@gmail.com> <1388141257813-4674152.post@n4.nabble.com> Message-ID: <52BDB610.6080102@harbourhosting.co.uk> On 27/12/13 10:47, Peter Alcibiades wrote: > Look, lets be scientific about it. We know there are problems with > Xubuntu. So the first thing to do is find out is it the window > manager, is it ubuntu, is it LC. > > Short way: try debian stable or slackware. With xfce or fluxbox or > whatever. Do we still have the problem? > > Why will people not take the simple and obvious course to narrow down > the problem? > I'm inclining towards the military solution myself. :D As I wrote previously, the original purpose of this exercise has been reassigned to a different computer on which I should have more options regarding the distro that I use. As far as the problematic computer is concerned. I think that next I will start over and try to install 32bit Xubuntu on it as per Richmond's suggestion of a few days ago. I think the most likely cause of the problem is missing bits in the 32bit support. If I am right, a 32bit install should resolve it, hopefully with least hassle. I already know that distro should run, and Xfce is okay for me. Even if it succeeds however, I won't now be using it for anything very serious. I shall report how it goes. Resolving the issues in the current installation ought to be possible I suppose, ( maybe given more of a clue than I have ;) ), but as far as I can ascertain, installation of a general 32 bit compatibility layer in that x64 Xubuntu distro is not really supported - I think the expectation is that if a package requires it, the package manager will install (only) the parts it needs. Of course Livecode isn't packaged. As for other distros I already know that Debian stable live DVD doesn't boot on that machine, and the nearest I've been to Slackware was playing with Puppy for a bit a couple of years ago. Actually I just read the installation help page for Slackware and came away with the strong impression that I probably need to do a little research before I tackle that one. Ho ho, (understatement). Martin From stephenREVOLUTION2 at barncard.com Fri Dec 27 13:55:02 2013 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Fri, 27 Dec 2013 10:55:02 -0800 Subject: livecode on xubuntu 13.10 In-Reply-To: <52BC3DCD.1070507@gmail.com> References: <52B72480.6050407@harbourhosting.co.uk> <1388065751945-4674135.post@n4.nabble.com> <52BC3DCD.1070507@gmail.com> Message-ID: On Thu, Dec 26, 2013 at 6:31 AM, Richmond wrote: > Macintosh computers are used by posers and people who have academic grants > paying for their computers. you lost some credibility here, Richmond. That's a regrettable thing to say. *--* *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* From richmondmathewson at gmail.com Fri Dec 27 15:50:19 2013 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 27 Dec 2013 22:50:19 +0200 Subject: livecode on xubuntu 13.10 In-Reply-To: References: <52B72480.6050407@harbourhosting.co.uk> <1388065751945-4674135.post@n4.nabble.com> <52BC3DCD.1070507@gmail.com> Message-ID: <52BDE80B.9050804@gmail.com> On 27/12/13 20:55, stephen barncard wrote: > On Thu, Dec 26, 2013 at 6:31 AM, Richmond wrote: > >> Macintosh computers are used by posers and people who have academic grants >> paying for their computers. > > you lost some credibility here, Richmond. That's a regrettable thing to say. If you realised that my statement (and I own several Mac computers) is based on the situation here in Bulgaria, what I know from my visits to Britain and what my sons tell me about Germany you might reconsider that. Macintosh computers are, generally, better made, higher quality machines than most other computers. They are, also, much more expensive than most other computers, and the average Joe in Europe at least, is unaware of the possible advantages of owning one as far as a Mac is a computer over an ordinary PC. Therefore the people who tend to buy Macs are academics, who are far better aware of their strengths than the average Joe, and fashionistas. Now I am well aware that in the United States the situation is rather different. Richmond. From revdev at pdslabs.net Fri Dec 27 15:56:10 2013 From: revdev at pdslabs.net (Phil Davis) Date: Fri, 27 Dec 2013 12:56:10 -0800 Subject: livecode on xubuntu 13.10 In-Reply-To: References: <52B72480.6050407@harbourhosting.co.uk> <1388065751945-4674135.post@n4.nabble.com> <52BC3DCD.1070507@gmail.com> Message-ID: <52BDE96A.5080205@pdslabs.net> Hi Stephen, At least he "Balkanized" it: > Round about the Balkans. When I first saw the comment, I thought it was odd too. Most people in my experience who use Macs do so because their business is something unrelated to software/hardware, and they can't afford an IT department to maintain their tech world. In other words, they are normal business people and need tech that "just works". But HEY, it's Richmond. Do you suspect, like I do, that he's actually paid by RR to make provocative comments on the list? I mean, his comments are nothing if not engaging. ;-) Merry Christmas / Happy New Year - Phil Davis On 12/27/13, 10:55 AM, stephen barncard wrote: > On Thu, Dec 26, 2013 at 6:31 AM, Richmond wrote: > >> Macintosh computers are used by posers and people who have academic grants >> paying for their computers. > > you lost some credibility here, Richmond. That's a regrettable thing to say. > > *--* > *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Phil Davis From dunbarx at aol.com Fri Dec 27 17:22:29 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Fri, 27 Dec 2013 17:22:29 -0500 (EST) Subject: Flow/wrap text into an irregular shape In-Reply-To: References: Message-ID: <8D0D169433C59EE-13BC-4C719@webmail-d244.sysops.aol.com> Hi. This is doable. There are functions, like "the selectedLoc" that will work for you. If you have a field with this in its script: on keyDown put the selectedLoc pass keyDown end keyDown You can see the loc of the insertion point within whatever you are typing. You can determine the X value of the triangle as it crosses each line of text, and if less than or greater than those values, you can, perhaps, pad the field text with spaces until you are on the correct side of the graphic. Much more management will be required, especially with long words that might start outside the grc boundary but cross it before that word is finished, but, hey, you asked for it. Craig -----Original Message----- From: Roger Eller To: How to use LiveCode Sent: Fri, Dec 27, 2013 4:36 pm Subject: Flow/wrap text into an irregular shape Imagine a multi-line text field which overlays a triangle polygon, which is wide at the top, and comes to a point at the bottom. I want the text to detect the edges of the triangle and wrap at those edges. The result would be a triangle shaped body of text (centered). My question to you is "How can this be achieved?" ~Roger _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From roger.e.eller at sealedair.com Fri Dec 27 18:56:24 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Fri, 27 Dec 2013 18:56:24 -0500 Subject: Flow/wrap text into an irregular shape In-Reply-To: <8D0D169433C59EE-13BC-4C719@webmail-d244.sysops.aol.com> References: <8D0D169433C59EE-13BC-4C719@webmail-d244.sysops.aol.com> Message-ID: Thanks Craig. It might be simpler to just use a monospaced font, and know beforehand how many chars will fit each line of text, and wrap accordingly. ~Roger On Fri, Dec 27, 2013 at 5:22 PM, wrote: > Hi. > > > This is doable. There are functions, like "the selectedLoc" that will work > for you. If you have a field with this in its script: > > > > on keyDown > > put the selectedLoc > > > pass keyDown > end keyDown > > > You can see the loc of the insertion point within whatever you are typing. > You can determine the X value of the triangle as it crosses each line of > text, and if less than or greater than those values, you can, perhaps, pad > the field text with spaces until you are on the correct side of the > graphic. Much more management will be required, especially with long words > that might start outside the grc boundary but cross it before that word is > finished, but, hey, you asked for it. > > > Craig > > > > > > > > > -----Original Message----- > From: Roger Eller > To: How to use LiveCode > Sent: Fri, Dec 27, 2013 4:36 pm > Subject: Flow/wrap text into an irregular shape > > > Imagine a multi-line text field which overlays a triangle polygon, which > is wide at the top, and comes to a point at the bottom. I want the text to > detect the edges of the triangle and wrap at those edges. The result would > be a triangle shaped body of text (centered). My question to you is "How > can this be achieved?" > > ~Roger > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dunbarx at aol.com Fri Dec 27 20:11:28 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Fri, 27 Dec 2013 20:11:28 -0500 (EST) Subject: Flow/wrap text into an irregular shape In-Reply-To: References: <8D0D169433C59EE-13BC-4C719@webmail-d244.sysops.aol.com> Message-ID: <8D0D180DEDD5DD9-1B3C-4C850@webmail-vm039.sysops.aol.com> Roger. Sure. You could calculate a table of left and right char counts on each line, since I guess the field and grc sizes do not change (?). And then place successive chars. You can still use keyDown (semi-pseudo): on keyDown var put var into char nextCharLoc of me end keyDown Or something like that. But you will have to first pad your entire field with spaces. If you take a new field and do this: put "X" into char 5 of me The "X" will go into the first char. Same with any additional ones; they will follow the existing text. Such a command will find the correct line: put "X" into char 5 of line 4 of me but not the correct char location. If the field is padded, though, it should work fine. Craig -----Original Message----- From: Roger Eller To: How to use LiveCode Sent: Fri, Dec 27, 2013 6:57 pm Subject: Re: Flow/wrap text into an irregular shape Thanks Craig. It might be simpler to just use a monospaced font, and know beforehand how many chars will fit each line of text, and wrap accordingly. ~Roger On Fri, Dec 27, 2013 at 5:22 PM, wrote: > Hi. > > > This is doable. There are functions, like "the selectedLoc" that will work > for you. If you have a field with this in its script: > > > > on keyDown > > put the selectedLoc > > > pass keyDown > end keyDown > > > You can see the loc of the insertion point within whatever you are typing. > You can determine the X value of the triangle as it crosses each line of > text, and if less than or greater than those values, you can, perhaps, pad > the field text with spaces until you are on the correct side of the > graphic. Much more management will be required, especially with long words > that might start outside the grc boundary but cross it before that word is > finished, but, hey, you asked for it. > > > Craig > > > > > > > > > -----Original Message----- > From: Roger Eller > To: How to use LiveCode > Sent: Fri, Dec 27, 2013 4:36 pm > Subject: Flow/wrap text into an irregular shape > > > Imagine a multi-line text field which overlays a triangle polygon, which > is wide at the top, and comes to a point at the bottom. I want the text to > detect the edges of the triangle and wrap at those edges. The result would > be a triangle shaped body of text (centered). My question to you is "How > can this be achieved?" > > ~Roger > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From scott at tactilemedia.com Fri Dec 27 21:01:55 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 27 Dec 2013 18:01:55 -0800 Subject: Flow/wrap text into an irregular shape In-Reply-To: References: Message-ID: Hi Roger: I assume you're asking because you want to do this by script, rather than manually trimming text to fit. I've done text wrapping before using a combination of the formattedText property and counting lines of text that are displayed, wordOffsets, etc. The formattedRect property might be useful too. Two ways you might do this are 1) use a single field with htmlText and breaking lines using
, but you'll have to keep track of these (add/delete) if the text has to flow into the shape, or 2) use separate fields that vertically spaced using the desired line height of your text and break the text across the fields as needed. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 12/27/13 8:20 AM, "Roger Eller" wrote: > Imagine a multi-line text field which overlays a triangle polygon, which >is wide at the top, and comes to a point at the bottom. I want the text >to >detect the edges of the triangle and wrap at those edges. The result >would >be a triangle shaped body of text (centered). My question to you is "How >can this be achieved?" > >~Roger >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode > From roger.e.eller at sealedair.com Fri Dec 27 21:10:20 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Fri, 27 Dec 2013 21:10:20 -0500 Subject: Flow/wrap text into an irregular shape In-Reply-To: References: Message-ID: Scott, yes. I am just getting started with this "experiment". This script is just the basic setup. Next, I want a block of text to "flow" into the triangle, or at least appear to. And what to do about text overflow? Show a custom scroller... I haven't fully thought it through yet. *on* mouseUp *set* the style of the templateGraphic to polygon *if* there is a grc "PolyTriangle" *then* *delete* grc "PolyTriangle" *create* grc "PolyTriangle" *set* the points of grc "PolyTriangle" to \ "10,12" & cr \ & "387,12" & cr \ & "194,204" & cr \ & "10,12" *if* there is a fld "triangleText" *then* *delete* fld "triangleText" *create* fld "triangleText" *set* the opaque of fld "triangleText" to false *set* the rect of fld "triangleText" to the rect of grc "PolyTriangle" *end* mouseUp ~Roger On Fri, Dec 27, 2013 at 9:01 PM, Scott Rossi wrote: > Hi Roger: > > I assume you're asking because you want to do this by script, rather than > manually trimming text to fit. I've done text wrapping before using a > combination of the formattedText property and counting lines of text that > are displayed, wordOffsets, etc. The formattedRect property might be > useful too. > > Two ways you might do this are 1) use a single field with htmlText and > breaking lines using
, but you'll have to keep track of these > (add/delete) if the text has to flow into the shape, or 2) use separate > fields that vertically spaced using the desired line height of your text > and break the text across the fields as needed. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 12/27/13 8:20 AM, "Roger Eller" wrote: > > > Imagine a multi-line text field which overlays a triangle polygon, which > >is wide at the top, and comes to a point at the bottom. I want the text > >to > >detect the edges of the triangle and wrap at those edges. The result > >would > >be a triangle shaped body of text (centered). My question to you is "How > >can this be achieved?" > > > >~Roger > >_______________________________________________ > >use-livecode mailing list > >use-livecode at lists.runrev.com > >Please visit this url to subscribe, unsubscribe and manage your > >subscription preferences: > >http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From roger.e.eller at sealedair.com Fri Dec 27 21:28:23 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Fri, 27 Dec 2013 21:28:23 -0500 Subject: Flow/wrap text into an irregular shape In-Reply-To: References: Message-ID: The text should appear to flow into the triangle, rather than the usual boring rectangles we are accustomed to. To achieve this magical madness, some sophisticated algo will be necessary. It will somehow need to detect if a word is going to breach the boundary of the triangle or not. If so, then the word should go to the next line. Either a cr should be inserted where the text will break, or the specific line should be forced . ~Roger On Fri, Dec 27, 2013 at 9:10 PM, Roger Eller wrote: > Scott, yes. I am just getting started with this "experiment". This > script is just the basic setup. Next, I want a block of text to "flow" > into the triangle, or at least appear to. And what to do about text > overflow? Show a custom scroller... I haven't fully thought it through > yet. > > *on* mouseUp > > *set* the style of the templateGraphic to polygon > > *if* there is a grc "PolyTriangle" *then* *delete* grc "PolyTriangle" > > *create* grc "PolyTriangle" > > *set* the points of grc "PolyTriangle" to \ > > "10,12" & cr \ > > & "387,12" & cr \ > > & "194,204" & cr \ > > & "10,12" > > *if* there is a fld "triangleText" *then* *delete* fld "triangleText" > > *create* fld "triangleText" > > *set* the opaque of fld "triangleText" to false > > *set* the rect of fld "triangleText" to the rect of grc "PolyTriangle" > > *end* mouseUp > ~Roger > > > On Fri, Dec 27, 2013 at 9:01 PM, Scott Rossi wrote: > >> Hi Roger: >> >> I assume you're asking because you want to do this by script, rather than >> manually trimming text to fit. I've done text wrapping before using a >> combination of the formattedText property and counting lines of text that >> are displayed, wordOffsets, etc. The formattedRect property might be >> useful too. >> >> Two ways you might do this are 1) use a single field with htmlText and >> breaking lines using
, but you'll have to keep track of these >> (add/delete) if the text has to flow into the shape, or 2) use separate >> fields that vertically spaced using the desired line height of your text >> and break the text across the fields as needed. >> >> Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, UX/UI Design >> >> >> >> >> On 12/27/13 8:20 AM, "Roger Eller" wrote: >> >> > Imagine a multi-line text field which overlays a triangle polygon, which >> >is wide at the top, and comes to a point at the bottom. I want the text >> >to >> >detect the edges of the triangle and wrap at those edges. The result >> >would >> >be a triangle shaped body of text (centered). My question to you is "How >> >can this be achieved?" >> > >> >~Roger >> >_______________________________________________ >> >use-livecode mailing list >> >use-livecode at lists.runrev.com >> >Please visit this url to subscribe, unsubscribe and manage your >> >subscription preferences: >> >http://lists.runrev.com/mailman/listinfo/use-livecode >> > >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > From pete at lcsql.com Fri Dec 27 22:04:39 2013 From: pete at lcsql.com (Peter Haworth) Date: Fri, 27 Dec 2013 19:04:39 -0800 Subject: Flow/wrap text into an irregular shape In-Reply-To: References: <8D0D169433C59EE-13BC-4C719@webmail-d244.sysops.aol.com> Message-ID: Not sure if this is more complicated or not but perhaps you could have several fields vertically in the triangle, each the width of the triangle. Then you'd have to figure out how much text would fit in each field according to it's formatted width. Hmmm, maybe that is too complicated! Pete lcSQL Software On Dec 27, 2013 3:56 PM, "Roger Eller" wrote: > Thanks Craig. It might be simpler to just use a monospaced font, and know > beforehand how many chars will fit each line of text, and wrap accordingly. > > ~Roger > > On Fri, Dec 27, 2013 at 5:22 PM, wrote: > > > Hi. > > > > > > This is doable. There are functions, like "the selectedLoc" that will > work > > for you. If you have a field with this in its script: > > > > > > > > on keyDown > > > > put the selectedLoc > > > > > > pass keyDown > > end keyDown > > > > > > You can see the loc of the insertion point within whatever you are > typing. > > You can determine the X value of the triangle as it crosses each line of > > text, and if less than or greater than those values, you can, perhaps, > pad > > the field text with spaces until you are on the correct side of the > > graphic. Much more management will be required, especially with long > words > > that might start outside the grc boundary but cross it before that word > is > > finished, but, hey, you asked for it. > > > > > > Craig > > > > > > > > > > > > > > > > > > -----Original Message----- > > From: Roger Eller > > To: How to use LiveCode > > Sent: Fri, Dec 27, 2013 4:36 pm > > Subject: Flow/wrap text into an irregular shape > > > > > > Imagine a multi-line text field which overlays a triangle polygon, which > > is wide at the top, and comes to a point at the bottom. I want the text > to > > detect the edges of the triangle and wrap at those edges. The result > would > > be a triangle shaped body of text (centered). My question to you is "How > > can this be achieved?" > > > > ~Roger > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription > > preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From roger.e.eller at sealedair.com Fri Dec 27 22:17:27 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Fri, 27 Dec 2013 22:17:27 -0500 Subject: Flow/wrap text into an irregular shape In-Reply-To: References: <8D0D169433C59EE-13BC-4C719@webmail-d244.sysops.aol.com> Message-ID: I actually considered the multiple fields approach, but realizing that the text may need to scroll if there is more than what will fit, I have that one marked as having potential, but with some limitations. I need to keep the original text fully intact, and this triangle idea is only to be a "view" for a custom interface made up of various sizes of triangles throughout. ~Roger On Fri, Dec 27, 2013 at 10:04 PM, Peter Haworth wrote: > Not sure if this is more complicated or not but perhaps you could have > several fields vertically in the triangle, each the width of the triangle. > Then you'd have to figure out how much text would fit in each field > according to it's formatted width. Hmmm, maybe that is too complicated! > > Pete > lcSQL Software > On Dec 27, 2013 3:56 PM, "Roger Eller" > wrote: > > > Thanks Craig. It might be simpler to just use a monospaced font, and know > > beforehand how many chars will fit each line of text, and wrap > accordingly. > > > > ~Roger > > > > On Fri, Dec 27, 2013 at 5:22 PM, wrote: > > > > > Hi. > > > > > > > > > This is doable. There are functions, like "the selectedLoc" that will > > work > > > for you. If you have a field with this in its script: > > > > > > > > > > > > on keyDown > > > > > > put the selectedLoc > > > > > > > > > pass keyDown > > > end keyDown > > > > > > > > > You can see the loc of the insertion point within whatever you are > > typing. > > > You can determine the X value of the triangle as it crosses each line > of > > > text, and if less than or greater than those values, you can, perhaps, > > pad > > > the field text with spaces until you are on the correct side of the > > > graphic. Much more management will be required, especially with long > > words > > > that might start outside the grc boundary but cross it before that word > > is > > > finished, but, hey, you asked for it. > > > > > > > > > Craig > > > > > > > > > > > > > > > > > > > > > > > > > > > -----Original Message----- > > > From: Roger Eller > > > To: How to use LiveCode > > > Sent: Fri, Dec 27, 2013 4:36 pm > > > Subject: Flow/wrap text into an irregular shape > > > > > > > > > Imagine a multi-line text field which overlays a triangle polygon, > which > > > is wide at the top, and comes to a point at the bottom. I want the > text > > to > > > detect the edges of the triangle and wrap at those edges. The result > > would > > > be a triangle shaped body of text (centered). My question to you is > "How > > > can this be achieved?" > > > > > > ~Roger > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription > > > preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From roger.e.eller at sealedair.com Fri Dec 27 22:30:01 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Fri, 27 Dec 2013 22:30:01 -0500 Subject: Flow/wrap text into an irregular shape In-Reply-To: References: <8D0D169433C59EE-13BC-4C719@webmail-d244.sysops.aol.com> Message-ID: It has just occurred to me that scrolling within a shape will be very cpu-active, as the visible text would be reflowing with each line advance. This probably isn't worth the cpu hogging it would need, and probably wouldn't scroll very smoothly either. Maybe instead of wrapping the text, I could use the triangle as a mask, showing only the inside text. To read or edit it, click and it becomes a normal field again. Perhaps not as nifty looking, but definitely easier to achieve using graphic effects and/or ink blending. ~Roger On Fri, Dec 27, 2013 at 10:17 PM, Roger Eller wrote: > I actually considered the multiple fields approach, but realizing that the > text may need to scroll if there is more than what will fit, I have that > one marked as having potential, but with some limitations. I need to keep > the original text fully intact, and this triangle idea is only to be a > "view" for a custom interface made up of various sizes of triangles > throughout. > > ~Roger > > > On Fri, Dec 27, 2013 at 10:04 PM, Peter Haworth wrote: > >> Not sure if this is more complicated or not but perhaps you could have >> several fields vertically in the triangle, each the width of the triangle. >> Then you'd have to figure out how much text would fit in each field >> according to it's formatted width. Hmmm, maybe that is too complicated! >> >> Pete >> lcSQL Software >> On Dec 27, 2013 3:56 PM, "Roger Eller" >> wrote: >> >> > Thanks Craig. It might be simpler to just use a monospaced font, and >> know >> > beforehand how many chars will fit each line of text, and wrap >> accordingly. >> > >> > ~Roger >> > >> > On Fri, Dec 27, 2013 at 5:22 PM, wrote: >> > >> > > Hi. >> > > >> > > >> > > This is doable. There are functions, like "the selectedLoc" that will >> > work >> > > for you. If you have a field with this in its script: >> > > >> > > >> > > >> > > on keyDown >> > > >> > > put the selectedLoc >> > > >> > > >> > > pass keyDown >> > > end keyDown >> > > >> > > >> > > You can see the loc of the insertion point within whatever you are >> > typing. >> > > You can determine the X value of the triangle as it crosses each line >> of >> > > text, and if less than or greater than those values, you can, perhaps, >> > pad >> > > the field text with spaces until you are on the correct side of the >> > > graphic. Much more management will be required, especially with long >> > words >> > > that might start outside the grc boundary but cross it before that >> word >> > is >> > > finished, but, hey, you asked for it. >> > > >> > > >> > > Craig >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > -----Original Message----- >> > > From: Roger Eller >> > > To: How to use LiveCode >> > > Sent: Fri, Dec 27, 2013 4:36 pm >> > > Subject: Flow/wrap text into an irregular shape >> > > >> > > >> > > Imagine a multi-line text field which overlays a triangle polygon, >> which >> > > is wide at the top, and comes to a point at the bottom. I want the >> text >> > to >> > > detect the edges of the triangle and wrap at those edges. The result >> > would >> > > be a triangle shaped body of text (centered). My question to you is >> "How >> > > can this be achieved?" >> > > >> > > ~Roger >> > > _______________________________________________ >> > > use-livecode mailing list >> > > use-livecode at lists.runrev.com >> > > Please visit this url to subscribe, unsubscribe and manage your >> > > subscription >> > > preferences: >> > > http://lists.runrev.com/mailman/listinfo/use-livecode >> > > >> > > >> > > _______________________________________________ >> > > use-livecode mailing list >> > > use-livecode at lists.runrev.com >> > > Please visit this url to subscribe, unsubscribe and manage your >> > > subscription preferences: >> > > http://lists.runrev.com/mailman/listinfo/use-livecode >> > > >> > _______________________________________________ >> > use-livecode mailing list >> > use-livecode at lists.runrev.com >> > Please visit this url to subscribe, unsubscribe and manage your >> > subscription preferences: >> > http://lists.runrev.com/mailman/listinfo/use-livecode >> > >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > From dunbarx at aol.com Sat Dec 28 00:55:26 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Sat, 28 Dec 2013 00:55:26 -0500 (EST) Subject: Flow/wrap text into an irregular shape In-Reply-To: References: <8D0D169433C59EE-13BC-4C719@webmail-d244.sysops.aol.com> Message-ID: <8D0D1A887B0D231-1B3C-4D86B@webmail-vm039.sysops.aol.com> I would be concerned that the text would not fit well near the apex, even with short words. But if the point was truncated just a bit, it might be pleasing to read even down there. I do not think a modern computer would stall much with the reflow of scrolling text. I may try to fool around with this tomorrow. I know you are more than capable of making this as well. It certainly can be done. Craig -----Original Message----- From: Roger Eller To: How to use LiveCode Sent: Fri, Dec 27, 2013 10:30 pm Subject: Re: Flow/wrap text into an irregular shape It has just occurred to me that scrolling within a shape will be very cpu-active, as the visible text would be reflowing with each line advance. This probably isn't worth the cpu hogging it would need, and probably wouldn't scroll very smoothly either. Maybe instead of wrapping the text, I could use the triangle as a mask, showing only the inside text. To read or edit it, click and it becomes a normal field again. Perhaps not as nifty looking, but definitely easier to achieve using graphic effects and/or ink blending. ~Roger On Fri, Dec 27, 2013 at 10:17 PM, Roger Eller wrote: > I actually considered the multiple fields approach, but realizing that the > text may need to scroll if there is more than what will fit, I have that > one marked as having potential, but with some limitations. I need to keep > the original text fully intact, and this triangle idea is only to be a > "view" for a custom interface made up of various sizes of triangles > throughout. > > ~Roger > > > On Fri, Dec 27, 2013 at 10:04 PM, Peter Haworth wrote: > >> Not sure if this is more complicated or not but perhaps you could have >> several fields vertically in the triangle, each the width of the triangle. >> Then you'd have to figure out how much text would fit in each field >> according to it's formatted width. Hmmm, maybe that is too complicated! >> >> Pete >> lcSQL Software >> On Dec 27, 2013 3:56 PM, "Roger Eller" >> wrote: >> >> > Thanks Craig. It might be simpler to just use a monospaced font, and >> know >> > beforehand how many chars will fit each line of text, and wrap >> accordingly. >> > >> > ~Roger >> > >> > On Fri, Dec 27, 2013 at 5:22 PM, wrote: >> > >> > > Hi. >> > > >> > > >> > > This is doable. There are functions, like "the selectedLoc" that will >> > work >> > > for you. If you have a field with this in its script: >> > > >> > > >> > > >> > > on keyDown >> > > >> > > put the selectedLoc >> > > >> > > >> > > pass keyDown >> > > end keyDown >> > > >> > > >> > > You can see the loc of the insertion point within whatever you are >> > typing. >> > > You can determine the X value of the triangle as it crosses each line >> of >> > > text, and if less than or greater than those values, you can, perhaps, >> > pad >> > > the field text with spaces until you are on the correct side of the >> > > graphic. Much more management will be required, especially with long >> > words >> > > that might start outside the grc boundary but cross it before that >> word >> > is >> > > finished, but, hey, you asked for it. >> > > >> > > >> > > Craig >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > >> > > -----Original Message----- >> > > From: Roger Eller >> > > To: How to use LiveCode >> > > Sent: Fri, Dec 27, 2013 4:36 pm >> > > Subject: Flow/wrap text into an irregular shape >> > > >> > > >> > > Imagine a multi-line text field which overlays a triangle polygon, >> which >> > > is wide at the top, and comes to a point at the bottom. I want the >> text >> > to >> > > detect the edges of the triangle and wrap at those edges. The result >> > would >> > > be a triangle shaped body of text (centered). My question to you is >> "How >> > > can this be achieved?" >> > > >> > > ~Roger >> > > _______________________________________________ >> > > use-livecode mailing list >> > > use-livecode at lists.runrev.com >> > > Please visit this url to subscribe, unsubscribe and manage your >> > > subscription >> > > preferences: >> > > http://lists.runrev.com/mailman/listinfo/use-livecode >> > > >> > > >> > > _______________________________________________ >> > > use-livecode mailing list >> > > use-livecode at lists.runrev.com >> > > Please visit this url to subscribe, unsubscribe and manage your >> > > subscription preferences: >> > > http://lists.runrev.com/mailman/listinfo/use-livecode >> > > >> > _______________________________________________ >> > use-livecode mailing list >> > use-livecode at lists.runrev.com >> > Please visit this url to subscribe, unsubscribe and manage your >> > subscription preferences: >> > http://lists.runrev.com/mailman/listinfo/use-livecode >> > >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From palcibiades-first at yahoo.co.uk Sat Dec 28 03:16:03 2013 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Sat, 28 Dec 2013 00:16:03 -0800 (PST) Subject: Tracking LC problems with Linux Message-ID: <1388218563037-4674173.post@n4.nabble.com> This comes up from time to time, so here is my own approach to tracking down incompatibilities systematically. It is going to be either the base system, kernel and libraries, the window manager or the desktop environment. Or its going to be LC itself, and that is what one is trying to establish. So you need a reference base system. My own choice would be Slackware, because it is the least tweaked of all distributions. If something will not run properly on Slackware it is almost certainly a problem of the package itself. But, to establish that its the base system you have to eliminate the window manager and desktop environment. Ubuntu is heavily idiosyncratic in this respect. However in all cases of the big desktop managers you will be running a different window manager. KDE is kwin, XFCE is xfwm, Gnome used to use metacity but has now changed to something else. So to narrow this down, see if the problem occurs on Slackware without a desktop environment proper. One way would be to use metacity. Another would be fluxbox or openbox by themselves. These once again are very standards oriented packages. If you can reproduce the problem on more than one of them, running on Slackware, its almost certainly an LC problem. Suppose they all run perfectly? Then the next step is to add a desktop environment. You know at this point that metacity works, so run XFCE over metacity on Slackware. If that works, XFCE with its own wm. If that works, try KDE on Slackware. If that works, then the problem is almost certainly the distribution and not LC. In this case its Ubuntu. It is not surprising that most people report these issues on Ubuntu because first of all its heavily tweaked and second its release policy gives little time for whole system testing. Debian may go way over the top on this in the conservative direction, but Ubuntu is at quite the other extreme. Ubuntu also seems to be more widely used than any other, maybe this is a factor too? Lets say that as a result of an afternoon spent with Slackware, probably on a VM, we have not tracked down any problem. In that case, go to Debian, probably on a VM, and try first metacity and then, for instance, XFCE. If we now have two distros with completely different lines of descent both working fine, then the problem is Ubuntu. Where in Ubuntu we do not know. It could be in the base system or it could be in the desktop or window manager. But its certainly in Ubuntu (or the respin version, if that is what we are using). In the case people are writing about now, it seems to be a problem that shows up in one version of Ubuntu respun using XFCE but not in another. Surely what matters is to be using XFCE, if that's the desktop choice, so go to the most stable distribution you can get with that. That is probably to do a plain vanilla Debian or Slackware install, and manually install XFCE, and then tweak it to running over metacity. And have fluxbox or openbox installed alongside, just in case. If it were me I would spend all my energy finding out if its an LC problem. If I found it was an Ubuntu problem I would spend no time at all tracking down exactly where, because its a moving target and in six months time it will be something else. My priority would be getting a production system where I don't have to do this stuff. But, to each his own! -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Tracking-LC-problems-with-Linux-tp4674173.html Sent from the Revolution - User mailing list archive at Nabble.com. From richmondmathewson at gmail.com Sat Dec 28 05:11:23 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 28 Dec 2013 12:11:23 +0200 Subject: Tracking LC problems with Linux In-Reply-To: <1388218563037-4674173.post@n4.nabble.com> References: <1388218563037-4674173.post@n4.nabble.com> Message-ID: <52BEA3CB.6020905@gmail.com> On 28/12/13 10:16, Peter Alcibiades wrote: > This comes up from time to time, so here is my own approach to tracking down > incompatibilities systematically. > > It is going to be either the base system, kernel and libraries, the window > manager or the desktop environment. Or its going to be LC itself, and that > is what one is trying to establish. > > So you need a reference base system. My own choice would be Slackware, > because it is the least tweaked of all distributions. If something will not > run properly on Slackware it is almost certainly a problem of the package > itself. > > But, to establish that its the base system you have to eliminate the window > manager and desktop environment. Ubuntu is heavily idiosyncratic in this > respect. However in all cases of the big desktop managers you will be > running a different window manager. KDE is kwin, XFCE is xfwm, Gnome used > to use metacity but has now changed to something else. What you say makes very good sense. BUT . . . it presupposes that somebody has: 1. a free (as in 'available') PC on which to run a reference base system. 2. the time and inclination to do all these tests. And I'm not sure whether there is anybody (unless, just possibly, your good self) who has both #1 and #2. > > So to narrow this down, see if the problem occurs on Slackware without a > desktop environment proper. One way would be to use metacity. Another > would be fluxbox or openbox by themselves. These once again are very > standards oriented packages. If you can reproduce the problem on more than > one of them, running on Slackware, its almost certainly an LC problem. > > Suppose they all run perfectly? Then the next step is to add a desktop > environment. You know at this point that metacity works, so run XFCE over > metacity on Slackware. If that works, XFCE with its own wm. If that works, > try KDE on Slackware. If that works, then the problem is almost certainly > the distribution and not LC. In this case its Ubuntu. > > It is not surprising that most people report these issues on Ubuntu because > first of all its heavily tweaked and second its release policy gives little > time for whole system testing. Debian may go way over the top on this in > the conservative direction, but Ubuntu is at quite the other extreme. Ubuntu > also seems to be more widely used than any other, maybe this is a factor > too? > > Lets say that as a result of an afternoon Um, an afternoon. Let's see: Correct 50 essays. Empty the washing-machine and hang laundry on balcony. Wash dishes from lunch. Empty the cats' loo. Read sections of textbooks for next week's teaching. Do as much programming on one's latest thing as possible as people are breathing down my neck. Cook supper. Feed cats. Spend pleasant 30 minutes with similarly busy wife. Sorry, but I wonder how many people can manage "an afternoon spent with Slackware", not forgetting having to install it and LC GUI-less on a PC? > spent with Slackware, probably on > a VM, Aha; well that gets rid of requirement #1. Mind you there is a school of thought that running systems inside VMware or Vbox is not quite the same as doing it on the bare hardware. > we have not tracked down any problem. In that case, go to Debian, > probably on a VM, and try first metacity and then, for instance, XFCE. If > we now have two distros with completely different lines of descent both > working fine, then the problem is Ubuntu. Where in Ubuntu we do not know. > It could be in the base system or it could be in the desktop or window > manager. But its certainly in Ubuntu (or the respin version, if that is > what we are using). > > In the case people are writing about now, it seems to be a problem that > shows up in one version of Ubuntu respun using XFCE but not in another. > Surely what matters is to be using XFCE, if that's the desktop choice, so go > to the most stable distribution you can get with that. > > That is probably to do a plain vanilla Debian or Slackware install, and > manually install XFCE, and then tweak it to running over metacity. And have > fluxbox or openbox installed alongside, just in case. > > If it were me I would spend all my energy finding out if its an LC problem. > If I found it was an Ubuntu problem I would spend no time at all tracking > down exactly where, because its a moving target and in six months time it > will be something else. My priority would be getting a production system > where I don't have to do this stuff. > > But, to each his own! > I have recently discovered a number of discrepancies between how LC runs in the IDE and in a standalone. So I did something that is probably by your standards a bit moronic: I ran the original stack and the standalone side by side and did a compare and contrast exercise; and, as my target is to end up with a standalone that does what I want rather than a stack, I noted down the differences and worked out, by good old trial and error how to get what I want in the standalone by producing the equivalent but different effects in the IDE. ------------------------------------------ I understand your objections to Ubuntu, and you probably understand my objections to Windows XP [I had an enquiry the other day from someone running Windows Millennium !!!!!]; but, like it or not, the installed base of desktop computers running Linux is largely Ubuntu, just as my target demographic for my latest thing consists of an installed base of around 90% Windows XP. If one sells [/gives away] a LC standalone like this: Product XXX from QQQQQ costs $50 for an individual licence and the requirement that if you have a fairly manky old PC struggling along with Windows XP you have to chuck it out and buy something more contemporary with Windows 7, or a type of Linux that is not one of the ones on this list here (where top of the list is Ubuntu). Your product, however good it may be will probably float around like a dead duck in the water. Over here, in Bulgaria, Laptops (which are all the rage) are offered with Windows 7 OEM, Ubuntu or DOS (this option for folk who want to buy something and install pirate Windows - the wee man in one of the shops told me that 90% of their sales are laptops with DOS: and there is not a strange resorgamenta in DOS use in the Balkans, I assure you). You cannot kick against the pricks. ---- Beyond this, with reference to Linux. Linux is not, as we are all well aware, a monolithic thing (beyond the kernel) and almost everybody who has Linux installed on a Desktop PC and/or laptop has a variation on the central theme, or a variation on a variation on that theme; and, admittedly, Ubuntu feels at times like Andrew Lloyd-Webber's variations on Paganini's A minor caprice; not a patch on Lutoslawki's and so on; but I don't honestly see how RunRev can be expected to produce something that will work ALL of the time on ALL installed Linux systems. Now were I Kevin Miller [a situation about which he and I mutually agree is thankfully not the case] I would be concerned about making sure my Linux IDE, and more importantly my Linux standalones [and, by-the-way, I do 99% of my development with Livecode on Macintosh regardless of where any resultant standalones are going to be deployed] run on the most widely used Linux distros; which [bite down hard Peter] is, unfortunately Slugworth's Ubuntu and its variations. ------------ Oh, while I'm here; a quick note to people who were miffed about my remark about "posers" and so on. I am slowly picking up odd jobs sorting out people's real or imaginary problems with their Macintosh laptops: 3 academics from the University; all laptops paid for from European Union grants. 4 university students whose parents either belong or are attached to the Bulgarian mafia (err . . . "emerging business class" . . . go and read your Marx, Richmond) and are very, very careful to carry their Mac laptops around with special laptop carriers with holes cut in the sides so everybody can see the Apple logo. My younger son: who has a MacBook that he saw when a kid at his posh school in Germany ordered both a black one and a white one; opened them both and said "Oh, I like the white one." and just dropped the black one into the waste-paper basket. Needless-to-say, my son waited around until the rich kid pushed off, fished the laptop (brand new and not even having been booted up) out of the bin and ran, singing, all the way to the phone-box to call his Dad. My son, being 18, is just as careful as every other teenager to make sure everyone notices he has an Apple laptop! This should serve him in good stead as we have just spent 5 days translating tax returns, filling in FAFSA forms, and so on for his applications to Princeton, Harvard, Chicago, Pennsylvania and a 5th one whose name escapes me. ------------------ Wow; if I can spend time writing all this, then maybe I do have the sort of time to do some testing as per Peter's method. Richmond. From jhurley0305 at sbcglobal.net Sat Dec 28 07:59:10 2013 From: jhurley0305 at sbcglobal.net (Jim Hurley) Date: Sat, 28 Dec 2013 04:59:10 -0800 Subject: Flow/wrap text into an irregular shape In-Reply-To: References: Message-ID: <3DD49FA3-3D0F-4AC0-ACF7-9D1BC5F2CFB4@sbcglobal.net> Hi Roger, This is a voice from the past, using Turtle Graphics to print text along any graphic line. GO TO CARD 3 where the text "This is a parabola" is printed along a parabola. You might be able to do this with your triangle, drawing each side in small steps. Run this in the msg box: go stack url "https://dl.dropboxusercontent.com/u/47044230/TextAlongPath.livecode" Jim Hurley > > Message: 6 > Date: Fri, 27 Dec 2013 11:20:24 -0500 > From: Roger Eller > To: How to use LiveCode > Subject: Flow/wrap text into an irregular shape > Message-ID: > > Content-Type: text/plain; charset=ISO-8859-1 > > Imagine a multi-line text field which overlays a triangle polygon, which > is wide at the top, and comes to a point at the bottom. I want the text to > detect the edges of the triangle and wrap at those edges. The result would > be a triangle shaped body of text (centered). My question to you is "How > can this be achieved?" > > ~Roger > From richmondmathewson at gmail.com Sat Dec 28 08:10:23 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 28 Dec 2013 15:10:23 +0200 Subject: Tracking LC problems with Linux In-Reply-To: <1388218563037-4674173.post@n4.nabble.com> References: <1388218563037-4674173.post@n4.nabble.com> Message-ID: <52BECDBF.6010405@gmail.com> On 28/12/13 10:16, Peter Alcibiades wrote: > > So you need a reference base system. My own choice would be Slackware, > because it is the least tweaked of all distributions. If something will not > run properly on Slackware it is almost certainly a problem of the package > itself. > > But, to establish that its the base system you have to eliminate the window > manager and desktop environment. > 2 questions: 1. I wonder if there is a way to get Debian functioning without a desktop environment? 2. How would one go about installing Livecode on a system without a GUI? 2.1 I wonder if one could install Livecode on Debian running, say, XFCE, and then remove XFCE and call Livecode from the command line? The latter one is more urgent than the former. Richmond. From roger.e.eller at sealedair.com Sat Dec 28 11:10:25 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sat, 28 Dec 2013 11:10:25 -0500 Subject: Flow/wrap text into an irregular shape In-Reply-To: <8D0D1A887B0D231-1B3C-4D86B@webmail-vm039.sysops.aol.com> References: <8D0D169433C59EE-13BC-4C719@webmail-d244.sysops.aol.com> <8D0D1A887B0D231-1B3C-4D86B@webmail-vm039.sysops.aol.com> Message-ID: On Dec 28, 2013 12:56 AM, wrote: > > I know you are more than capable of making this as well. It certainly can be done. > Thanks for the vote of confidence, but I often think up whacky design ideas without a foggy clue of how best to execute them. ;) > > Craig From roger.e.eller at sealedair.com Sat Dec 28 11:16:30 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sat, 28 Dec 2013 11:16:30 -0500 Subject: Flow/wrap text into an irregular shape In-Reply-To: <3DD49FA3-3D0F-4AC0-ACF7-9D1BC5F2CFB4@sbcglobal.net> References: <3DD49FA3-3D0F-4AC0-ACF7-9D1BC5F2CFB4@sbcglobal.net> Message-ID: Thank you Jim! I'm about to check it out. I have been a fan of your Turtle Graphics usage in LiveCode for years. When I (find the time to) get back into robotics, I plan to use it in a navigation system. ~Roger On Dec 28, 2013 7:59 AM, "Jim Hurley" wrote: > Hi Roger, > > This is a voice from the past, using Turtle Graphics to print text along > any graphic line. > > GO TO CARD 3 where the text "This is a parabola" is printed along a > parabola. > > You might be able to do this with your triangle, drawing each side in > small steps. > > > Run this in the msg box: > > go stack url " > https://dl.dropboxusercontent.com/u/47044230/TextAlongPath.livecode" > > Jim Hurley > > > > > > Message: 6 > > Date: Fri, 27 Dec 2013 11:20:24 -0500 > > From: Roger Eller > > To: How to use LiveCode > > Subject: Flow/wrap text into an irregular shape > > Message-ID: > > Eyw-8Qk5PWMD62p4k_M8Q at mail.gmail.com> > > Content-Type: text/plain; charset=ISO-8859-1 > > > > Imagine a multi-line text field which overlays a triangle polygon, which > > is wide at the top, and comes to a point at the bottom. I want the text > to > > detect the edges of the triangle and wrap at those edges. The result > would > > be a triangle shaped body of text (centered). My question to you is "How > > can this be achieved?" > > > > ~Roger > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From prothero at earthednet.org Sat Dec 28 14:32:47 2013 From: prothero at earthednet.org (prothero at earthednet.org) Date: Sat, 28 Dec 2013 11:32:47 -0800 Subject: Flow/wrap text into an irregular shape In-Reply-To: <3DD49FA3-3D0F-4AC0-ACF7-9D1BC5F2CFB4@sbcglobal.net> References: <3DD49FA3-3D0F-4AC0-ACF7-9D1BC5F2CFB4@sbcglobal.net> Message-ID: <9CDEEA57-4ACF-4B67-B940-6765304E032C@earthednet.org> Jim: Thanks for the sample program. I downloaded it and went through the code. It's a nice way of doing line drawing. I have been drawing directly into an image object to get a large number of symbols on a map, like Colin's sample draw program. But, for charts, your method looks like it will be very useful. Best, Bill William Prothero http://es.earthednet.org On Dec 28, 2013, at 4:59 AM, Jim Hurley wrote: > Hi Roger, > > This is a voice from the past, using Turtle Graphics to print text along any graphic line. > > GO TO CARD 3 where the text "This is a parabola" is printed along a parabola. > > You might be able to do this with your triangle, drawing each side in small steps. > > > Run this in the msg box: > > go stack url "https://dl.dropboxusercontent.com/u/47044230/TextAlongPath.livecode" > > Jim Hurley > > >> >> Message: 6 >> Date: Fri, 27 Dec 2013 11:20:24 -0500 >> From: Roger Eller >> To: How to use LiveCode >> Subject: Flow/wrap text into an irregular shape >> Message-ID: >> >> Content-Type: text/plain; charset=ISO-8859-1 >> >> Imagine a multi-line text field which overlays a triangle polygon, which >> is wide at the top, and comes to a point at the bottom. I want the text to >> detect the edges of the triangle and wrap at those edges. The result would >> be a triangle shaped body of text (centered). My question to you is "How >> can this be achieved?" >> >> ~Roger >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From prothero at earthednet.org Sat Dec 28 14:36:20 2013 From: prothero at earthednet.org (prothero at earthednet.org) Date: Sat, 28 Dec 2013 11:36:20 -0800 Subject: Flow/wrap text into an irregular shape In-Reply-To: References: <8D0D169433C59EE-13BC-4C719@webmail-d244.sysops.aol.com> <8D0D1A887B0D231-1B3C-4D86B@webmail-vm039.sysops.aol.com> Message-ID: I think I would try using a browser window and use html to let the text flow around the graphic. Not sure if this meets the need, but .. Best, Bill William Prothero http://es.earthednet.org On Dec 28, 2013, at 8:10 AM, Roger Eller wrote: > On Dec 28, 2013 12:56 AM, wrote: >> >> I know you are more than capable of making this as well. It certainly can > be done. >> > > Thanks for the vote of confidence, but I often think up whacky design ideas > without a foggy clue of how best to execute them. ;) > >> >> Craig > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bvg at mac.com Sat Dec 28 15:08:37 2013 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sat, 28 Dec 2013 21:08:37 +0100 Subject: BvG Docu fails In-Reply-To: <472C7DCD-84F0-4FD3-AF4B-E6ED2238199A@earthednet.org> References: <529F0B94.9020505@tweedly.net> <2443A2ED-25B5-4FDE-BCEC-B6EB971CD116@mac.com> <472C7DCD-84F0-4FD3-AF4B-E6ED2238199A@earthednet.org> Message-ID: <42786E83-0102-4C06-8708-BA2F9C2171F9@mac.com> Hi Bill It seems that RunRev forgot to include one of the revdocuclump stacks, there'll probably a quick fix for that as their dictionary doesn't work correctly either, I filed a bug report. So you could simply wait for them to do that. If you can't wait, just add a try/end try around the following line: 1. in the code of the stack, in the handler "docuLibCreateContent": put decompress(theCProps[theClump]) into theXML 2. add try/end try like this: try put decompress(theCProps[theClump]) into theXML end try note that this only makes the stack work, but the affected entries won't work (see list below) sorry for the inconvenience BvG -- c32,iBeam c33,left c34,nine c35,null c36,one c37,pi c38,plus c39,quote c40,return c31,help c40,CR c40,linefeed c40,LF c41,right c42,scrollbarFactor c43,seven c44,six c45,slash c46,space c47,tab c49,three c48,ten c50,true -- On 26.12.2013, at 23:28, prothero at earthednet.org wrote: > Bjornke: > In LiveCode 6.5.1, BvG Docu, when I launch Livecode, puts up a "Please Wait" "Waiting for Processing 1700" dialog, which never goes away. It worked fine with previous versions of LiveCode. It starts the countdown, then the Livecode window comes up with BvG Docu's window behind it. Then it hangs. It worked fine in 6.5 but the livecode window didn't show before it finished updating the docs database. Could that be the problem? > Bill -- Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From palcibiades-first at yahoo.co.uk Sat Dec 28 17:07:45 2013 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Sat, 28 Dec 2013 14:07:45 -0800 (PST) Subject: Tracking LC problems with Linux In-Reply-To: <52BECDBF.6010405@gmail.com> References: <1388218563037-4674173.post@n4.nabble.com> <52BECDBF.6010405@gmail.com> Message-ID: <1388268465656-4674179.post@n4.nabble.com> "I wonder if there is a way to get Debian functioning without a desktop environment?" Yes, easy. Just do the install in the standard way and then when it asks you what you want, don't check Desktop. Boot and you will end up in a terminal, and then do 'apt-get install' to install extra stuff like Xorg and Fluxbox and so on. "2. How would one go about installing Livecode on a system without a GUI?" Well, you would need a window manager. Which means you would need Xorg for it to run on. What you would not need is a desktop environment. So you would need Xorg and metacity, for instance, but that's all you would need. "2.1 I wonder if one could install Livecode on Debian running, say, XFCE, and then remove XFCE and call Livecode from the command line?" Yes, I think you could. But you mustn't remove xfwm, which will probably happen if you use synaptic to remove it, it will probably take out the whole lot. If you do that, you need to install some kind of window manager such as metacity or fluxbox or openbox. Given that, just open a terminal, cd to the directory and then run the programme by entering the command. In my case this is /opt/runrev/livecodecommunity-6.1.1/livecodecommunity.x86 -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Tracking-LC-problems-with-Linux-tp4674173p4674179.html Sent from the Revolution - User mailing list archive at Nabble.com. From gregory.lypny at videotron.ca Sat Dec 28 20:01:40 2013 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Sat, 28 Dec 2013 20:01:40 -0500 Subject: Uploading Files with LiveCode Server Message-ID: <847172BF-B431-4020-B25B-C7D266074F56@videotron.ca> Hello everyone, The LiveCode website has a tutorial on uploading files to a server with LiveCode Server. Anyone know how to specify the folder on the server where files are to be uploaded? It appears that the default is tmp. Regards, Gregory From sc at sahores-conseil.com Sat Dec 28 21:10:38 2013 From: sc at sahores-conseil.com (Pierre Sahores) Date: Sun, 29 Dec 2013 03:10:38 +0100 Subject: Uploading Files with LiveCode Server In-Reply-To: <847172BF-B431-4020-B25B-C7D266074F56@videotron.ca> References: <847172BF-B431-4020-B25B-C7D266074F56@videotron.ca> Message-ID: Hi Gregory, Out of a production app. The client side code : > function uploadImages param1 > > if param1 is "images" > then answer folder toLocalisation("Merci de s?lectionner le dossier contenant le r?f?rentiel photo ? uploader") && "..." > > if it is not "" then > set the directory to it > abIamBusy > put toLocalisation("Upload du r?f?rentiel photo en cours") & "..." into fld "message_prompter_Label" > if the platform is not in "macos,win32" > then show grp "message_prompter" > else show grp "message_prompter" with visual effect dissolve > > set itemDel to "." > wait 1 > > repeat for each line l in the files > if the shiftkey is down then exit repeat > if item -1 of l is in "jpg,gif,png,jpeg,ico,cur" then > > put the directory & "/" & l into tlFileName > put "" into tForm > put "image/" & item -1 of l into tType > > ### skip unchanged files : top ### > > if HexDigest(url(BIAS & "api/services/views/product_images/" & EditorDirPathID & "/" & l)) is HexDigest(url("binfile:" & tlFileName)) > then next repeat > > ### skip unchanged files : bot ### > > put toLocalisation("Upload de la photo" && setquote(l) && "en cours") & "..." into fld "message_prompter_Label" > > get libUrlMultipartFormData(tForm, "Upload", "Upload") > if it is not "" then > answer error tolocalisation("Par s?curit?, les fichiers dont le nom comporte des caract?res accentu?s ne sont pas autoris?s.") && \ > tolocalisation("Merci de corriger avant de renouveler votre demande.") & return & it & return & return & l > next repeat > end if > > set the httpHeaders to line 1 of tForm > delete line 1 of tForm > put "" & tlFileName into tFile > put "binary" into tEnc > get libUrlMultipartFormAddPart(tForm,"image", tFile, tType, tEnc) > > if it is not "" then > answer error tolocalisation("Par s?curit?, les fichiers dont le nom comporte des caract?res accentu?s ne sont pas autoris?s.") && \ > tolocalisation("Merci de corriger avant de renouveler votre demande.") & return & it & return & return & l > next repeat > else > ServerWakeup > post leveos(tForm) to URL MIAS > set the httpHeaders to "" > end if > > end if > end repeat > end if > > end uploadImages The server side code : > function rias_upl > if $_POST_RAW is not "" then > > set itemdel to "&" > put char 1+offset("=", item -2 of $_POST_RAW) to -1 of item -2 of $_POST_RAW into ActiveSubDomain_PostIn > put "/yourfileserverpath/images/" & ActiveSubDomain_PostIn & "/" into UploadBaseDir_images # Constante 12_A # > put "/yourfileserverpath/custom/" & ActiveSubDomain & "/" & trim(char 8 to -1 of item -2 of $_POST_RAW) & "/" into UploadBaseDir_apps # Constante 12_B # > > put item 1 to -3 of $_POST_RAW into POST_RAW > put "" into tRequestArray > set the lineDel to LF > set the itemDel to "=" > put word 1 of POST_RAW into tBoundary > put length(tBoundary) into tBoundaryLength > put POST_RAW into tData > put offset(tBoundary, tData) into tOffset > repeat until tOffset = 0 > put byte 1 to tOffset - 1 of tData into tPart > delete byte 1 to tOffset + tBoundaryLength - 1 of tData > put "" into tHeaders > put offset(CRLF & CRLF, tPart) into tSplit > if tSplit > 0 then > put trim(byte 1 to tSplit - 1 of tPart) into tHeaders > delete byte 1 to tSplit + 3 of tPart > delete byte -2 to -1 of tPart > split tHeaders by ";" > repeat for each line tKey in the keys of tHeaders > put tHeaders[tKey] into tHeader > repeat for each line tParam in tHeader > put trim(item 1 of tParam) into tVar > put trim(item 2 of tParam) into tVal > if char 1 of tVal = quote > then delete char 1 of tVal > if char -1 of tVal = quote > then delete char -1 of tVal > if tVar is not "" and tVal is not "" > then put tVal into tHeaders[tVar] > end repeat > end repeat > if tHeaders["name"] is not "" then > if tHeaders["fileName"] is not "" then # binary data > put tHeaders["fileName"] into tRequestArray[tHeaders["name"]]["fileName"] > put tPart into tRequestArray[tHeaders["name"]]["binData"] > else put tPart into tRequestArray[tHeaders["name"]] # text > end if > end if > put offset(tBoundary, tData) into tOffset > end repeat > -- > if tRequestArray["image"]["filename"] is not "" then > > put UploadBaseDir_images into UploadBaseDir > put toLower(tRequestArray["image"]["filename"]) into tFile > set itemDel to "." > put item -1 of tFile into theExt > delete item -1 of tFile > put tFile & "." & theExt into tFileName > replace space with "" in tFileName > put tRequestArray["image"]["binData"] into URL ("binfile:" & uploadBaseDir & tFileName) > put "Upload OK" > > else if tRequestArray["application"]["filename"] is not "" then > > put UploadBaseDir_apps into UploadBaseDir > put toLower(tRequestArray["application"]["filename"]) into tFile > set itemDel to "." > put item -1 of tFile into tExt > delete item -1 of tFile > > set itemDel to comma > if tRequestArray["Catalog"] is not "" > then put "/product_catalogs/" & tFile & "." & tExt into tFileName > else if tRequestArray["LookBook"] is not "" > then put "/lookbook/" & tFile & "." & tExt into tFileName > > set itemdel to "/" > replace space with "" in tFileName > if tRequestArray["Catalog"] is not "" > then put tRequestArray["application"]["binData"] into URL ("binfile:" & char 1 to -2 of uploadBaseDir & tFileName) > else if tRequestArray["LookBook"] is not "" > then put tRequestArray["application"]["binData"] into URL ("binfile:" & char 1 to -2 of uploadBaseDir & tFileName) > else put tRequestArray["application"]["binData"] into URL ("binfile:" & char 1 to -2 of uploadBaseDir & withUnderScoreToMinus(tFileName)) > put "Upload OK" > > end if > else put pseudo404() ### 9 ### > end rias_upl Happy new year to you and yours, Pierre Le 29 d?c. 2013 ? 02:01, Gregory Lypny a ?crit : > Hello everyone, > > The LiveCode website has a tutorial on uploading files to a server with LiveCode Server. Anyone know how to specify the folder on the server where files are to be uploaded? It appears that the default is tmp. > > Regards, > > Gregory > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From mblivecode at harbourhosting.co.uk Sun Dec 29 06:19:10 2013 From: mblivecode at harbourhosting.co.uk (Martin Baxter) Date: Sun, 29 Dec 2013 11:19:10 +0000 Subject: livecode on xubuntu 13.10 In-Reply-To: <52BDB610.6080102@harbourhosting.co.uk> References: <52B72480.6050407@harbourhosting.co.uk> <1388065751945-4674135.post@n4.nabble.com> <52BC3DCD.1070507@gmail.com> <52BC6BEB.2000507@gmail.com> <52BD34EA.4020609@gmail.com> <1388141257813-4674152.post@n4.nabble.com> <52BDB610.6080102@harbourhosting.co.uk> Message-ID: <52C0052E.9000309@harbourhosting.co.uk> On 27/12/13 17:17, Martin Baxter wrote: > > As far as the problematic computer is concerned. I think that next I > will start over and try to install 32bit Xubuntu on it as per Richmond's > suggestion of a few days ago. I think the most likely cause of the > problem is missing bits in the 32bit support. If I am right, a 32bit > install should resolve it Just to report that it did resolve it. Martin From richmondmathewson at gmail.com Sun Dec 29 06:35:04 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 29 Dec 2013 13:35:04 +0200 Subject: livecode on xubuntu 13.10 In-Reply-To: <52C0052E.9000309@harbourhosting.co.uk> References: <52B72480.6050407@harbourhosting.co.uk> <1388065751945-4674135.post@n4.nabble.com> <52BC3DCD.1070507@gmail.com> <52BC6BEB.2000507@gmail.com> <52BD34EA.4020609@gmail.com> <1388141257813-4674152.post@n4.nabble.com> <52BDB610.6080102@harbourhosting.co.uk> <52C0052E.9000309@harbourhosting.co.uk> Message-ID: <52C008E8.8010207@gmail.com> On 29/12/13 13:19, Martin Baxter wrote: > On 27/12/13 17:17, Martin Baxter wrote: > >> As far as the problematic computer is concerned. I think that next I >> will start over and try to install 32bit Xubuntu on it as per Richmond's >> suggestion of a few days ago. I think the most likely cause of the >> problem is missing bits in the 32bit support. If I am right, a 32bit >> install should resolve it > Just to report that it did resolve it. That's good to know. Richmond. > > Martin > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Sun Dec 29 06:41:17 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 29 Dec 2013 13:41:17 +0200 Subject: [OT] Mac OS 10.9 Message-ID: <52C00A5D.5000603@gmail.com> Well, having upgraded my VMware version of Snow Leopard to Mavericks I was getting "all excited" just as I did a few years ago over 10.1, 10.2, 10.3, 10.4 and 10.5 when I was a Mac-only chap. Then I discovered a few things that made me feel rather disappointed: 1. any attempt to look for updates, and my attempt to install xCode 5 required a Debit/Credit card; I used mine, but am not overly happy about having to enter those details considering all I am downloading are free downloads. 2. More kiddified, more commercialized and more controlly. OK; jolly nice to have it there to play with: but a good thing I kept a copy of my VMware 10.6 to one side to go back to for my development work. Richmond. From bvg at mac.com Sun Dec 29 08:43:45 2013 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sun, 29 Dec 2013 14:43:45 +0100 Subject: Fwd: BvG Docu fails References: <42786E83-0102-4C06-8708-BA2F9C2171F9@mac.com> Message-ID: Hi Bill (second try, firs time didn't arrive) It seems that RunRev forgot to include one of the revdocuclump stacks, there'll probably a quick fix for that as their dictionary doesn't work correctly either, I filed a bug report. So you could simply wait for them to do that. If you can't wait, just add a try/end try around the following line: 1. in the code of the stack, in the handler "docuLibCreateContent": put decompress(theCProps[theClump]) into theXML 2. add try/end try like this: try put decompress(theCProps[theClump]) into theXML end try note that this only makes the stack work, but the affected entries won't work (see list below) sorry for the inconvenience BvG c32,iBeam c33,left c34,nine c35,null c36,one c37,pi c38,plus c39,quote c40,return c31,help c40,CR c40,linefeed c40,LF c41,right c42,scrollbarFactor c43,seven c44,six c45,slash c46,space c47,tab c49,three c48,ten c50,true On 26.12.2013, at 23:28, prothero at earthednet.org wrote: > Bjornke: > In LiveCode 6.5.1, BvG Docu, when I launch Livecode, puts up a "Please Wait" "Waiting for Processing 1700" dialog, which never goes away. It worked fine with previous versions of LiveCode. It starts the countdown, then the Livecode window comes up with BvG Docu's window behind it. Then it hangs. It worked fine in 6.5 but the livecode window didn't show before it finished updating the docs database. Could that be the problem? > Bill -- Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From th.douez at gmail.com Sun Dec 29 11:25:20 2013 From: th.douez at gmail.com (Thierry Douez) Date: Sun, 29 Dec 2013 17:25:20 +0100 Subject: Flow/wrap text into an irregular shape In-Reply-To: References: Message-ID: Hi Roger, Here is a quick-and-dirty first attempt. The char version makes a perfect regular triangle, the word version works but could probably have to be tuned a bit more.. And I'm using measureText(..) available in LC 6.5. Feel free to ask anything or I can even send my stack if you prefer. local Nlines = 19 local Wbase, Sc, theText on viewtext put fld "Fsource" into theText put the width of fld "Fview" into Wbase set the width of fld "Ftmp" to Wbase -- width average of a char put measureText(char 1 to 100 of theText,fld "Ftmp")/100 into Sc repeat with aLine = 1 to Nlines put getString( W( aLine)) into line aLine of fld "Fview" end repeat end viewtext function W n -- length of line n in View Field return (Nlines-n+1)*Wbase div Nlines end W function getString _width -- char version local n local flag = false set the width of fld "Ftmp" to _width -- how many chars fit in (rough estimation) put trunc(_width/Sc) into n repeat forever if _width < measureText( char 1 to n of theText,fld "Ftmp") then subtract 1 from n put true into flag else if flag then exit repeat else add 1 to n end if end repeat get char 1 to n of theText delete char 1 to n of thetext return IT end getString function getString _width -- word version local n, str local flag = false set the width of fld "Ftmp" to _width -- how many words fit in (rough estimation) put char 1 to trunc(_width/Sc) of theText into str put -1 + the number of words of str into n repeat forever if _width < measureText( word 1 to n of theText,fld "Ftmp") then subtract 1 from n put true into flag else if flag then exit repeat else add 1 to n end if end repeat get word 1 to n of theText delete word 1 to n of thetext return IT end getString Happy new year! Thierry 2013/12/27 Roger Eller : > Imagine a multi-line text field which overlays a triangle polygon, which > is wide at the top, and comes to a point at the bottom. I want the text to > detect the edges of the triangle and wrap at those edges. The result would > be a triangle shaped body of text (centered). My question to you is "How > can this be achieved?" ------------------------------------------------ Thierry Douez - http://sunny-tdz.com Maker of sunnYpdf - sunnYperl - sunnYmidi - sunnYmage From gregory.lypny at videotron.ca Sun Dec 29 14:26:51 2013 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Sun, 29 Dec 2013 14:26:51 -0500 Subject: Uploading Files with LiveCode Server Message-ID: Hi Pierre, Thank you kindly sharing your code. I?m afraid that it is a little too advance for my skills, and my needs are much simpler. I am able to create an upload form and move the uploaded file from the tmp folder on my Mac to another folder using a shell command. There are only two problems left that I need to fix. One is that an internal server error occurs (error 500) and it is output to the web page. The other problem is that the moved file has read and write access for group _WWW but no access for anyone else. Here is what I did. The HTML in the web page is

Upload Form

Choose a file to upload:
where the action, ?submitAssignmentScript.lc?, simply refers to a handler named submitAssignment in a stack named myServer The handler contains the following on submitAssignment put the keys of $_Files[uploadedfile] into theKeys put the long date && long time & return into output repeat for each line thisLine in theKeys put thisLine & ":" && $_Files[uploadedfile][thisLine] & return after output end repeat delete the last character of output put output into url (dataFilePath & "Upload Info.csv") get shell ("mv" && $_Files[uploadedfile][filename] && "../share/httpd/myData/" & ?Uploaded-File.pdf") end submitAssignment where ?Upload Info.csv? contains some information from $_Files. If anyone can help me figure out why I?m getting the the internal server error and how I can change the moved file?s permissions, I?d much appreciate it. Regards, Gregory From sc at sahores-conseil.com Sun Dec 29 15:29:05 2013 From: sc at sahores-conseil.com (Pierre Sahores) Date: Sun, 29 Dec 2013 21:29:05 +0100 Subject: Fwd: Uploading Files with LiveCode Server References: Message-ID: <6B74B7FB-ACAE-4F4F-9AA7-A4279F2593ED@sahores-conseil.com> Hi Gregory, Sorry. As i never went in this way to design files upload procedures, i will not be the more able to help to get this up and running. Perhaps should you follow the LiveCode example you spoken about yesterday. Comparing the way it works under PHP could help too ;_/ Note : you would normally not have to handle the file move by shell : it works out of the box on livecode server using : put url ("binfile://pathtocurrentfiledestination.pdf") into url ("binfile://pathtonewfiledestination.pdf") Pierre D?but du message r?exp?di? : > De : Gregory Lypny > Objet : R?p : Uploading Files with LiveCode Server > Date : 29 d?cembre 2013 20:26:51 HNEC > ? : LiveCode > R?pondre ? : How to use LiveCode > > Hi Pierre, > > Thank you kindly sharing your code. I?m afraid that it is a little too advance for my skills, and my needs are much simpler. I am able to create an upload form and move the uploaded file from the tmp folder on my Mac to another folder using a shell command. There are only two problems left that I need to fix. One is that an internal server error occurs (error 500) and it is output to the web page. The other problem is that the moved file has read and write access for group _WWW but no access for anyone else. > > Here is what I did. The HTML in the web page is > > > > >

Upload Form

>
> Choose a file to upload:
> >
> > > > where the action, ?submitAssignmentScript.lc?, simply refers to a handler named submitAssignment in a stack named myServer > > start using stack myServer.livecode > submitAssignment > ?> > > The handler contains the following > > on submitAssignment > put the keys of $_Files[uploadedfile] into theKeys > put the long date && long time & return into output > repeat for each line thisLine in theKeys > put thisLine & ":" && $_Files[uploadedfile][thisLine] & return after output > end repeat > delete the last character of output > put output into url (dataFilePath & "Upload Info.csv") > get shell ("mv" && $_Files[uploadedfile][filename] && "../share/httpd/myData/" & ?Uploaded-File.pdf") > end submitAssignment > > where ?Upload Info.csv? contains some information from $_Files. > > If anyone can help me figure out why I?m getting the the internal server error and how I can change the moved file?s permissions, I?d much appreciate it. > > Regards, > > Gregory > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From coiin at verizon.net Mon Dec 30 07:41:22 2013 From: coiin at verizon.net (Colin Holgate) Date: Mon, 30 Dec 2013 12:41:22 +0000 Subject: [OT] Mac OS 10.9 In-Reply-To: <52C00A5D.5000603@gmail.com> References: <52C00A5D.5000603@gmail.com> Message-ID: <5AA3E992-D2BA-48E4-AF52-DACA23E00D6D@verizon.net> That?s because Apple software is delivered through the Mac App Store, for which you need an account, even if this time you happen to be downloading a free piece of software. On Dec 29, 2013, at 11:41 AM, Richmond wrote: > >1. any attempt to look for updates, and my attempt to install xCode 5 required a Debit/Credit card; > I used mine, but am not overly happy about having to enter those details considering all I am downloading are free downloads. From richmondmathewson at gmail.com Mon Dec 30 08:34:50 2013 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 30 Dec 2013 15:34:50 +0200 Subject: [OT] Mac OS 10.9 In-Reply-To: <5AA3E992-D2BA-48E4-AF52-DACA23E00D6D@verizon.net> References: <52C00A5D.5000603@gmail.com> <5AA3E992-D2BA-48E4-AF52-DACA23E00D6D@verizon.net> Message-ID: <52C1767A.8090906@gmail.com> On 30/12/13 14:41, Colin Holgate wrote: > That?s because Apple software is delivered through the Mac App Store, for which you need an account, even if this time you happen to be downloading a free piece of software. So I discovered. Further to that I discovered, it is seemingly not possible to reserve software downloaded from the AppStore for installation elsewhere; say, for instance, on a Mac on connected to the internet. Richmond. > > On Dec 29, 2013, at 11:41 AM, Richmond wrote: > >>> 1. any attempt to look for updates, and my attempt to install xCode 5 required a Debit/Credit card; >> I used mine, but am not overly happy about having to enter those details considering all I am downloading are free downloads. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From prothero at earthednet.org Mon Dec 30 10:17:00 2013 From: prothero at earthednet.org (Earthednet-wp) Date: Mon, 30 Dec 2013 07:17:00 -0800 Subject: BvG Docu fails In-Reply-To: <42786E83-0102-4C06-8708-BA2F9C2171F9@mac.com> References: <529F0B94.9020505@tweedly.net> <2443A2ED-25B5-4FDE-BCEC-B6EB971CD116@mac.com> <472C7DCD-84F0-4FD3-AF4B-E6ED2238199A@earthednet.org> <42786E83-0102-4C06-8708-BA2F9C2171F9@mac.com> Message-ID: <3158C881-6E85-4193-8327-80D3DDEC8169@earthednet.org> Thanks, Bjornke. And thanks for your contributions to the Livecode community. Best, Bill William Prothero http://es.earthednet.org > On Dec 28, 2013, at 12:08 PM, Bj?rnke von Gierke wrote: > > Hi Bill > > It seems that RunRev forgot to include one of the revdocuclump stacks, there'll probably a quick fix for that as their dictionary doesn't work correctly either, I filed a bug report. So you could simply wait for them to do that. > > If you can't wait, just add a try/end try around the following line: > 1. in the code of the stack, in the handler "docuLibCreateContent": put decompress(theCProps[theClump]) into theXML > 2. add try/end try like this: > try > put decompress(theCProps[theClump]) into theXML > end try > > note that this only makes the stack work, but the affected entries won't work (see list below) > > > sorry for the inconvenience > BvG > > -- > c32,iBeam > c33,left > c34,nine > c35,null > c36,one > c37,pi > c38,plus > c39,quote > c40,return > c31,help > c40,CR > c40,linefeed > c40,LF > c41,right > c42,scrollbarFactor > c43,seven > c44,six > c45,slash > c46,space > c47,tab > c49,three > c48,ten > c50,true > -- > >> On 26.12.2013, at 23:28, prothero at earthednet.org wrote: >> >> Bjornke: >> In LiveCode 6.5.1, BvG Docu, when I launch Livecode, puts up a "Please Wait" "Waiting for Processing 1700" dialog, which never goes away. It worked fine with previous versions of LiveCode. It starts the countdown, then the Livecode window comes up with BvG Docu's window behind it. Then it hangs. It worked fine in 6.5 but the livecode window didn't show before it finished updating the docs database. Could that be the problem? >> Bill > > -- > > Use an alternative Dictionary viewer: > http://bjoernke.com/bvgdocu/ > > Chat with other RunRev developers: > http://bjoernke.com/chatrev/ > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From roger.e.eller at sealedair.com Mon Dec 30 11:58:41 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Mon, 30 Dec 2013 11:58:41 -0500 Subject: Flow/wrap text into an irregular shape In-Reply-To: References: Message-ID: Thanks for that Theirry. I had to snip the repeat forever because it was, um... repeating forever. :) So, here are the two approaches we have thus far: https://dl.dropboxusercontent.com/u/54789013/Android/triangle_text/tri_txt.livecode https://dl.dropboxusercontent.com/u/54789013/Android/triangle_text/tri_txt_Thierry.livecode ~Roger On Sun, Dec 29, 2013 at 11:25 AM, Thierry Douez wrote: > Hi Roger, > > Here is a quick-and-dirty first attempt. > > The char version makes a perfect regular triangle, > the word version works but could probably have to be tuned a bit more.. > And I'm using measureText(..) available in LC 6.5. > Feel free to ask anything or I can even send my stack if you prefer. > > Happy new year! > > Thierry > > > 2013/12/27 Roger Eller : > > Imagine a multi-line text field which overlays a triangle polygon, which > > is wide at the top, and comes to a point at the bottom. I want the text > to > > detect the edges of the triangle and wrap at those edges. The result > would > > be a triangle shaped body of text (centered). My question to you is "How > > can this be achieved?" > From jhurley0305 at sbcglobal.net Mon Dec 30 12:08:52 2013 From: jhurley0305 at sbcglobal.net (James Hurley) Date: Mon, 30 Dec 2013 09:08:52 -0800 Subject: Flow/wrap text into an irregular shape In-Reply-To: References: Message-ID: <451727E6-C6AB-47A1-A503-0FD4963CA2AC@sbcglobal.net> Thanks Bill, Actually there are 4 different flavors of Turtle Graphics?I was going through a phase at the time. The basic advantage of TG is that it speaks a language closer to Euclidian than Cartesian geometry. On my RunRev web site there is a brief description of each and the ability to download at: http://www.jamesphurley.com/Revolution.html In summary: 1) Turtle graphics: This is the simplest, fastest, and most stable version. (Fastest except for ?Stop Turtle?) It includes many simulations in physics, biology and mathematics. It draws with the pencil. 2) Control turtles: This does for controls what ?Turtle graphics? does for the drawing cursor (the Turtle). It allows LC to issue graphic commands to any control: button, field, graphic, or image. If the control leaves a tracing behind, it is a vector image. 3) Tell turtles: Provides multiple turtles (sprits) that draw independent vector graphics. A fox image may chase a rabbit image, each leaving (or not) a tracing behind them. 4) StopTurtles: Once again, provides multiple turtles and is vector based. This flavor of TG is best suited for applications which require a fast draw, but does not allow for the drawing to evolve step by step on the screen as the previous three versions. See for example the Jack-in-the-box. In this mode the drawing does not evolve in time as it is drawn, but the graphic is displayed when the StopTurtle command is executed after the new configuration of the sprint has been defined. Very fast. Something like the difference between a locked and unlocked screen, only faster. For example, the fast draw of the classic, recursive snowflake takes 40 milliseconds to draw in StopTurtles, but over 200 using either of the three versions above?even though the screen is locked. (There are 3,072 line segments in that snowflake.) I still believe that if RunRev wants to penetrate the early education market, they should implement some version of TG into LC. I have made this suggestion to Kevin, but to no avail. It is easy to see why. They currently have much bigger fish to fry. (You say you looked through the code. The line of code ?wait 0 millisec? applies only to the Mac. Ever since Apple went to OS X, LC fails to do a screen refresh when a change in that image called for. The ?wait 0 millisec? is there to force a screen refresh.) Jim > Message: 5 > Date: Sat, 28 Dec 2013 11:32:47 -0800 > From: "prothero at earthednet.org" > To: How to use LiveCode > Subject: Re: Flow/wrap text into an irregular shape > Message-ID: <9CDEEA57-4ACF-4B67-B940-6765304E032C at earthednet.org> > Content-Type: text/plain; charset=us-ascii > > Jim: > Thanks for the sample program. I downloaded it and went through the code. It's a nice way of doing line drawing. I have been drawing directly into an image object to get a large number of symbols on a map, like Colin's sample draw program. But, for charts, your method looks like it will be very useful. > Best, > Bill > > William Prothero > http://es.earthednet.org > > > > On Dec 28, 2013, at 4:59 AM, Jim Hurley wrote: > >> Hi Roger, >> >> This is a voice from the past, using Turtle Graphics to print text along any graphic line. >> >> GO TO CARD 3 where the text "This is a parabola" is printed along a parabola. >> >> You might be able to do this with your triangle, drawing each side in small steps. >> >> >> Run this in the msg box: >> >> go stack url "https://dl.dropboxusercontent.com/u/47044230/TextAlongPath.livecode" >> >> Jim Hurley From th.douez at gmail.com Mon Dec 30 13:29:42 2013 From: th.douez at gmail.com (Thierry Douez) Date: Mon, 30 Dec 2013 19:29:42 +0100 Subject: Flow/wrap text into an irregular shape In-Reply-To: References: Message-ID: 2013/12/30 Roger Eller : > Thanks for that Theirry. I had to snip the repeat forever because it was, > um... repeating forever. :) Hi Roger, don't have this behavior here. 2 thoughts: - local Nlines = *your number of lines you want in your view field* ( 19 was right in my own stack) - the latest lines are empty; I didn't check that case.. and field "Ftmp" can be made invisible :) No time right now to investigate. Let see if I can do something before next year :) Regards, Thierry > > So, here are the two approaches we have thus far: > > https://dl.dropboxusercontent.com/u/54789013/Android/triangle_text/tri_txt.livecode > > https://dl.dropboxusercontent.com/u/54789013/Android/triangle_text/tri_txt_Thierry.livecode > > ~Roger > > > On Sun, Dec 29, 2013 at 11:25 AM, Thierry Douez wrote: > >> Hi Roger, >> >> Here is a quick-and-dirty first attempt. >> >> The char version makes a perfect regular triangle, >> the word version works but could probably have to be tuned a bit more.. >> And I'm using measureText(..) available in LC 6.5. >> Feel free to ask anything or I can even send my stack if you prefer. >> >> Happy new year! >> >> Thierry >> >> >> 2013/12/27 Roger Eller : >> > Imagine a multi-line text field which overlays a triangle polygon, which >> > is wide at the top, and comes to a point at the bottom. I want the text >> to >> > detect the edges of the triangle and wrap at those edges. The result >> would >> > be a triangle shaped body of text (centered). My question to you is "How >> > can this be achieved?" ------------------------------------------------ Thierry Douez - http://sunny-tdz.com Maker of sunnYpdf - sunnYperl - sunnYmidi - sunnYmage From mac at mauraoconnell.com Mon Dec 30 15:49:42 2013 From: mac at mauraoconnell.com (Mac Bennett) Date: Mon, 30 Dec 2013 14:49:42 -0600 Subject: [OT] Mac OS 10.9 In-Reply-To: <52C1767A.8090906@gmail.com> References: <52C00A5D.5000603@gmail.com> <5AA3E992-D2BA-48E4-AF52-DACA23E00D6D@verizon.net> <52C1767A.8090906@gmail.com> Message-ID: You can make a bootable install USB for Mavericks fairly easily: http://arstechnica.com/apple/2013/10/how-to-make-your-own-bootable-os-x-10-9-mavericks-usb-install-drive/ Happy New Year to all you LC folks. Mac On Dec 30, 2013, at 7:34 AM, Richmond wrote: > > So I discovered. Further to that I discovered, it is seemingly not possible to reserve software downloaded from the AppStore > for installation elsewhere; say, for instance, on a Mac on connected to the internet. From richmondmathewson at gmail.com Mon Dec 30 16:01:46 2013 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 30 Dec 2013 23:01:46 +0200 Subject: [OT] Mac OS 10.9 In-Reply-To: References: <52C00A5D.5000603@gmail.com> <5AA3E992-D2BA-48E4-AF52-DACA23E00D6D@verizon.net> <52C1767A.8090906@gmail.com> Message-ID: <52C1DF3A.7080207@gmail.com> On 30/12/13 22:49, Mac Bennett wrote: > You can make a bootable install USB for Mavericks fairly easily: > > http://arstechnica.com/apple/2013/10/how-to-make-your-own-bootable-os-x-10-9-mavericks-usb-install-drive/ > > Happy New Year to all you LC folks. > > Mac That's well worth knowing. I wonder if one can work out how to make a Mavericks live disk? http://www.insanelymac.com/forum/topic/144128-2009-live-dvd/?st=0h Richmond. > > > On Dec 30, 2013, at 7:34 AM, Richmond wrote: > >> So I discovered. Further to that I discovered, it is seemingly not possible to reserve software downloaded from the AppStore >> for installation elsewhere; say, for instance, on a Mac on connected to the internet. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mac at mauraoconnell.com Mon Dec 30 16:28:31 2013 From: mac at mauraoconnell.com (Mac Bennett) Date: Mon, 30 Dec 2013 15:28:31 -0600 Subject: [OT] Mac OS 10.9 In-Reply-To: <52C1DF3A.7080207@gmail.com> References: <52C00A5D.5000603@gmail.com> <5AA3E992-D2BA-48E4-AF52-DACA23E00D6D@verizon.net> <52C1767A.8090906@gmail.com> <52C1DF3A.7080207@gmail.com> Message-ID: Hmmm. I have no clue about that. ;} On Dec 30, 2013, at 3:01 PM, Richmond wrote: > On 30/12/13 22:49, Mac Bennett wrote: >> You can make a bootable install USB for Mavericks fairly easily: >> >> http://arstechnica.com/apple/2013/10/how-to-make-your-own-bootable-os-x-10-9-mavericks-usb-install-drive/ >> >> Happy New Year to all you LC folks. >> >> Mac > > That's well worth knowing. > > I wonder if one can work out how to make a Mavericks live disk? > > http://www.insanelymac.com/forum/topic/144128-2009-live-dvd/?st=0h > > Richmond. > >> >> >> On Dec 30, 2013, at 7:34 AM, Richmond wrote: >> >>> So I discovered. Further to that I discovered, it is seemingly not possible to reserve software downloaded from the AppStore >>> for installation elsewhere; say, for instance, on a Mac on connected to the internet. >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Mon Dec 30 16:51:01 2013 From: pete at lcsql.com (Peter Haworth) Date: Mon, 30 Dec 2013 13:51:01 -0800 Subject: BvG Docu fails In-Reply-To: <3158C881-6E85-4193-8327-80D3DDEC8169@earthednet.org> References: <529F0B94.9020505@tweedly.net> <2443A2ED-25B5-4FDE-BCEC-B6EB971CD116@mac.com> <472C7DCD-84F0-4FD3-AF4B-E6ED2238199A@earthednet.org> <42786E83-0102-4C06-8708-BA2F9C2171F9@mac.com> <3158C881-6E85-4193-8327-80D3DDEC8169@earthednet.org> Message-ID: I just sent a stack to Ben Beaumont that uses Bjornke's dictionary database to check for any propertyNames and commandNames that don't have corresponding dictionary entries. It also detects dictionary structure errors like the one that is the subject of this thread. Hopefully that will help RunRev keep the dictionary up to date. Of course, it relies on the propertyNames and the commandNames being kept up to date :-) The propertyNames is in pretty good shape these days but there's a lot of stuff missing from the commandNames. And it would be great if there was a way to get a list of other language keywords but I don't think there is. Pete lcSQL Software On Mon, Dec 30, 2013 at 7:17 AM, Earthednet-wp wrote: > Thanks, Bjornke. And thanks for your contributions to the Livecode > community. > Best, > Bill > > William Prothero > http://es.earthednet.org > > > On Dec 28, 2013, at 12:08 PM, Bj?rnke von Gierke wrote: > > > > Hi Bill > > > > It seems that RunRev forgot to include one of the revdocuclump stacks, > there'll probably a quick fix for that as their dictionary doesn't work > correctly either, I filed a bug report. So you could simply wait for them > to do that. > > > > If you can't wait, just add a try/end try around the following line: > > 1. in the code of the stack, in the handler "docuLibCreateContent": put > decompress(theCProps[theClump]) into theXML > > 2. add try/end try like this: > > try > > put decompress(theCProps[theClump]) into theXML > > end try > > > > note that this only makes the stack work, but the affected entries won't > work (see list below) > > > > > > sorry for the inconvenience > > BvG > > > > -- > > c32,iBeam > > c33,left > > c34,nine > > c35,null > > c36,one > > c37,pi > > c38,plus > > c39,quote > > c40,return > > c31,help > > c40,CR > > c40,linefeed > > c40,LF > > c41,right > > c42,scrollbarFactor > > c43,seven > > c44,six > > c45,slash > > c46,space > > c47,tab > > c49,three > > c48,ten > > c50,true > > -- > > > >> On 26.12.2013, at 23:28, prothero at earthednet.org wrote: > >> > >> Bjornke: > >> In LiveCode 6.5.1, BvG Docu, when I launch Livecode, puts up a "Please > Wait" "Waiting for Processing 1700" dialog, which never goes away. It > worked fine with previous versions of LiveCode. It starts the countdown, > then the Livecode window comes up with BvG Docu's window behind it. Then it > hangs. It worked fine in 6.5 but the livecode window didn't show before it > finished updating the docs database. Could that be the problem? > >> Bill > > > > -- > > > > Use an alternative Dictionary viewer: > > http://bjoernke.com/bvgdocu/ > > > > Chat with other RunRev developers: > > http://bjoernke.com/chatrev/ > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From alex at tweedly.net Mon Dec 30 18:38:43 2013 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 30 Dec 2013 23:38:43 +0000 Subject: Uploading Files with LiveCode Server In-Reply-To: References: Message-ID: <52C20403.8030403@tweedly.net> I think you're getting the error 500 because your script doesn't produce any output. Just adding a line something like put "File uploaded OK" near the end should be enough (or of course, detect any errors if they do occur, include the file name in the message, ...) -- Alex. On 29/12/2013 19:26, Gregory Lypny wrote: > Hi Pierre, > > Thank you kindly sharing your code. I?m afraid that it is a little too advance for my skills, and my needs are much simpler. I am able to create an upload form and move the uploaded file from the tmp folder on my Mac to another folder using a shell command. There are only two problems left that I need to fix. One is that an internal server error occurs (error 500) and it is output to the web page. The other problem is that the moved file has read and write access for group _WWW but no access for anyone else. > > Here is what I did. The HTML in the web page is > > > > >

Upload Form

>
> Choose a file to upload:
> >
> > > > where the action, ?submitAssignmentScript.lc?, simply refers to a handler named submitAssignment in a stack named myServer > > start using stack myServer.livecode > submitAssignment > ?> > > The handler contains the following > > on submitAssignment > put the keys of $_Files[uploadedfile] into theKeys > put the long date && long time & return into output > repeat for each line thisLine in theKeys > put thisLine & ":" && $_Files[uploadedfile][thisLine] & return after output > end repeat > delete the last character of output > put output into url (dataFilePath & "Upload Info.csv") > get shell ("mv" && $_Files[uploadedfile][filename] && "../share/httpd/myData/" & ?Uploaded-File.pdf") > end submitAssignment > > where ?Upload Info.csv? contains some information from $_Files. > > If anyone can help me figure out why I?m getting the the internal server error and how I can change the moved file?s permissions, I?d much appreciate it. > > Regards, > > Gregory > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From irog at mac.com Mon Dec 30 21:04:04 2013 From: irog at mac.com (Roger Guay) Date: Mon, 30 Dec 2013 19:04:04 -0700 Subject: Flow/wrap text into an irregular shape In-Reply-To: <451727E6-C6AB-47A1-A503-0FD4963CA2AC@sbcglobal.net> References: <451727E6-C6AB-47A1-A503-0FD4963CA2AC@sbcglobal.net> Message-ID: Jim, Could you please briefly explain this distinction between Euclidian and Cartesian geometry as it applies to Turtle Graphics? Thanks, Roger On Dec 30, 2013, at 10:08 AM, James Hurley wrote: > The basic advantage of TG is that it speaks a language closer to Euclidian than Cartesian geometry. From skip at magicgate.com Mon Dec 30 23:47:58 2013 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Mon, 30 Dec 2013 23:47:58 -0500 Subject: Anybody successfully made this work on Raspberry Pi? Message-ID: Just checking to see if anybody has made this work yet.... ??? SKIP From john at onechip.com Tue Dec 31 00:52:20 2013 From: john at onechip.com (John) Date: Mon, 30 Dec 2013 21:52:20 -0800 Subject: Scroll increment Message-ID: <23D87DCE-5F5B-455D-A51C-7DC4471B05B9@onechip.com> Hi, The standard scrolling field in liveCode supports the a mouse scroll wheel. What is a bit unusual is that the height of the field dictates how far the field ?hops? as you scroll. In short fields (50 high) the field ?jumps? in ? character height increments (assuming the default font and size are used). In 100 high fields it is one line at a time increasing to 10 lines at a time when the field is 1000 high. This is both very inconsistent with other apps and it makes the text in the field hard to follow when you scroll. Does any one know how to fix this issue? I am using 6.5.1 on OS 10.9. Thanks, John From prothero at earthednet.org Tue Dec 31 01:28:41 2013 From: prothero at earthednet.org (prothero at earthednet.org) Date: Mon, 30 Dec 2013 22:28:41 -0800 Subject: Flow/wrap text into an irregular shape In-Reply-To: <451727E6-C6AB-47A1-A503-0FD4963CA2AC@sbcglobal.net> References: <451727E6-C6AB-47A1-A503-0FD4963CA2AC@sbcglobal.net> Message-ID: Jim: Actually, it reminds me of programming drawing in a Calcomp plotter. Ya gotta be pretty old to know what it is, but the pen movement, up/down, etc. were what we had to work with. Bill William Prothero http://es.earthednet.org On Dec 30, 2013, at 9:08 AM, James Hurley wrote: > Thanks Bill, > > Actually there are 4 different flavors of Turtle Graphics?I was going through a phase at the time. > > The basic advantage of TG is that it speaks a language closer to Euclidian than Cartesian geometry. > > On my RunRev web site there is a brief description of each and the ability to download at: > > http://www.jamesphurley.com/Revolution.html > > > In summary: > > 1) Turtle graphics: This is the simplest, fastest, and most stable version. (Fastest except for ?Stop Turtle?) It includes many simulations in physics, biology and mathematics. It draws with the pencil. > > 2) Control turtles: This does for controls what ?Turtle graphics? does for the drawing cursor (the Turtle). It allows LC to issue graphic commands to any control: button, field, graphic, or image. If the control leaves a tracing behind, it is a vector image. > > 3) Tell turtles: Provides multiple turtles (sprits) that draw independent vector graphics. A fox image may chase a rabbit image, each leaving (or not) a tracing behind them. > > 4) StopTurtles: Once again, provides multiple turtles and is vector based. This flavor of TG is best suited for applications which require a fast draw, but does not allow for the drawing to evolve step by step on the screen as the previous three versions. See for example the Jack-in-the-box. In this mode the drawing does not evolve in time as it is drawn, but the graphic is displayed when the StopTurtle command is executed after the new configuration of the sprint has been defined. Very fast. Something like the difference between a locked and unlocked screen, only faster. For example, the fast draw of the classic, recursive snowflake takes 40 milliseconds to draw in StopTurtles, but over 200 using either of the three versions above?even though the screen is locked. (There are 3,072 line segments in that snowflake.) > > I still believe that if RunRev wants to penetrate the early education market, they should implement some version of TG into LC. I have made this suggestion to Kevin, but to no avail. It is easy to see why. They currently have much bigger fish to fry. > > (You say you looked through the code. The line of code ?wait 0 millisec? applies only to the Mac. Ever since Apple went to OS X, LC fails to do a screen refresh when a change in that image called for. The ?wait 0 millisec? is there to force a screen refresh.) > > Jim > > > > >> Message: 5 >> Date: Sat, 28 Dec 2013 11:32:47 -0800 >> From: "prothero at earthednet.org" >> To: How to use LiveCode >> Subject: Re: Flow/wrap text into an irregular shape >> Message-ID: <9CDEEA57-4ACF-4B67-B940-6765304E032C at earthednet.org> >> Content-Type: text/plain; charset=us-ascii >> >> Jim: >> Thanks for the sample program. I downloaded it and went through the code. It's a nice way of doing line drawing. I have been drawing directly into an image object to get a large number of symbols on a map, like Colin's sample draw program. But, for charts, your method looks like it will be very useful. >> Best, >> Bill >> >> William Prothero >> http://es.earthednet.org >> >> >> >> On Dec 28, 2013, at 4:59 AM, Jim Hurley wrote: >> >>> Hi Roger, >>> >>> This is a voice from the past, using Turtle Graphics to print text along any graphic line. >>> >>> GO TO CARD 3 where the text "This is a parabola" is printed along a parabola. >>> >>> You might be able to do this with your triangle, drawing each side in small steps. >>> >>> >>> Run this in the msg box: >>> >>> go stack url "https://dl.dropboxusercontent.com/u/47044230/TextAlongPath.livecode" >>> >>> Jim Hurley > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From th.douez at gmail.com Tue Dec 31 06:44:54 2013 From: th.douez at gmail.com (Thierry Douez) Date: Tue, 31 Dec 2013 12:44:54 +0100 Subject: Flow/wrap text into an irregular shape In-Reply-To: References: Message-ID: > 2013/12/30 Roger Eller : >> So, here are the two approaches we have thus far: >> >> https://dl.dropboxusercontent.com/u/54789013/Android/triangle_text/tri_txt.livecode >> >> https://dl.dropboxusercontent.com/u/54789013/Android/triangle_text/tri_txt_Thierry.livecode >> >> ~Roger >> >> >> On Sun, Dec 29, 2013 at 11:25 AM, Thierry Douez wrote: >> >>> Here is a quick-and-dirty first attempt. >>> >>> The char version makes a perfect regular triangle, >>> the word version works but could probably have to be tuned a bit more.. >>> And I'm using measureText(..) available in LC 6.5. Ok, I've done the correction and calculate automatically the number of lines of the field. I've added another button so we can wrap by char or by word. I've already send to you the new stack and it would be nice if you tell us when you put it on your dropbox. Happy new year Livecoders! BONNE ANNEE et MEILLEURS VOEUX 2014. ------------------------------------------------ Thierry Douez - http://sunny-tdz.com Maker of sunnYpdf - sunnYperl - sunnYmidi - sunnYmage From m.schonewille at economy-x-talk.com Tue Dec 31 07:11:16 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 31 Dec 2013 13:11:16 +0100 Subject: Scroll increment In-Reply-To: <23D87DCE-5F5B-455D-A51C-7DC4471B05B9@onechip.com> References: <23D87DCE-5F5B-455D-A51C-7DC4471B05B9@onechip.com> Message-ID: <3B922217-55C5-4D3B-A9B7-21FA7E98FA33@economy-x-talk.com> Hi John, It might still be possible to catch the rawKeyUp message when the mouse wheel scrolls and write your own scrolling routine. -- 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 31 dec 2013, at 06:52, John wrote: > Hi, > > The standard scrolling field in liveCode supports the a mouse scroll wheel. What is a bit unusual is that the height of the field dictates how far the field ?hops? as you scroll. In short fields (50 high) the field ?jumps? in ? character height increments (assuming the default font and size are used). In 100 high fields it is one line at a time increasing to 10 lines at a time when the field is 1000 high. > > > This is both very inconsistent with other apps and it makes the text in the field hard to follow when you scroll. Does any one know how to fix this issue? I am using 6.5.1 on OS 10.9. > > Thanks, > John From jhurley0305 at sbcglobal.net Tue Dec 31 10:51:24 2013 From: jhurley0305 at sbcglobal.net (James Hurley) Date: Tue, 31 Dec 2013 07:51:24 -0800 Subject: use-livecode Digest, Vol 123, Issue 56 In-Reply-To: References: Message-ID: > > Message: 12 > Date: Mon, 30 Dec 2013 19:04:04 -0700 > From: Roger Guay > To: How to use LiveCode > Subject: Re: Flow/wrap text into an irregular shape > Message-ID: > Content-Type: text/plain; charset=windows-1252 > > Jim, > > Could you please briefly explain this distinction between Euclidian and Cartesian geometry as it applies to Turtle Graphics? > > Thanks, > > Roger > > > On Dec 30, 2013, at 10:08 AM, James Hurley wrote: > >> The basic advantage of TG is that it speaks a language closer to Euclidian than Cartesian geometry. > Hi Roger, Good question. Best answered with an example. Euclidean geometry is concerned with shapes (lines and angle), while Cartesian geometry is concerned with points in a Cartesian coordinate system. A script for a Cartesian polygon might look like this: on mouseUP drawPolygon 6,100 end mouseUP on drawPolygon N, L --draw an N side polgon with sides of length L set the points of grc "poly" to "" put trunc( the width of this card/2) into x0 put trunc( the height of this card/2) into y0 put x0 into xOld put y0 into yOld put 0 into tAng repeat N+1 ?Draw each side relative to its predecessor put xOld + L* sin(tAng*pi/180) into xNew put yOld + L * cos(tAng*pi/180) into yNew put xNew,yNew & cr after tPoints put xNew into xOld put yNew into yOld add 360/N to tAng ?set the points of grc ?poly? to tPoints; Use this if you want to see the polygon evolve end repeat set the points of grc "Poly" to tPoints end drawPolygon That script is full of Cartesian coordinates and trig. The same polygon may her accomplished in TG with something like this: on drawPolygon N, L startTurtle -- repeat N forward L left 360/N end repeat end drawPolygon The script if nothing but lengths and angles. One might a easily construct a handler to draw an N sided polygon whose circumference is C: on drawPolygonGivenCircumference N, C st repeat N fd C/N left 360/N end repeat end drawPolygonGivenCircumference Of course RunRev recognized the complexity of analytic, cartesian geometry in such cases and introduced several drawing tools: Rectangle, Line, Oval, Freehand curve, Polygon, Regular polygon, to deal with these special cases. But I have also built into TG the ability to handle Cartesian geometry as well, with such functions as xCor(), yCor(), xyCor(), direction(), etc. for there are times when that is the best route to take. How else would one draw a parabola. (y = x^2) Jim From ambassador at fourthworld.com Tue Dec 31 11:07:15 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 31 Dec 2013 08:07:15 -0800 Subject: SoCal LC User Group meeting Thurs., Jan 2, Pasadena In-Reply-To: <529C9FF3.4090605@fourthworld.com> References: <529C9FF3.4090605@fourthworld.com> Message-ID: <52C2EBB3.5060308@fourthworld.com> The next SoCal LiveCode User Group meeting is happening Thursday, January 2, at 7PM in Pasadena - details in the LUG section of the LiveCode forums: -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From prothero at earthednet.org Tue Dec 31 11:37:23 2013 From: prothero at earthednet.org (Earthednet-wp) Date: Tue, 31 Dec 2013 08:37:23 -0800 Subject: use-livecode Digest, Vol 123, Issue 56 In-Reply-To: References: Message-ID: Jim, One of the things that worries me when setting up a system where each new point (or line segment) is drawn relative to a previously drawn position is the possibility of errors creeping in due to rounding of non integer numbers. I am usually plotting decimal numbers and I always want to know the precise position of each point before I round it to an integer pixel location. For example, if an initial position is 1,1 and multiple moves are 1,1 but rounded down from 1.4,1.4 pretty soon you have lost a pixel. Say, 3 moves would end up, non rounded, to 4.2,4.2 but if the destination is rounded at each step, you would only have a net move to 3,3. The errors could add up. Perhaps you've guarded against this, as I haven't looked at your code in that much detail. My approach to guard against this is to always calculate to destination point, then do the rounding. Best, Bill William Prothero http://es.earthednet.org On Dec 31, 2013, at 7:51 AM, James Hurley wrote: >> >> Message: 12 >> Date: Mon, 30 Dec 2013 19:04:04 -0700 >> From: Roger Guay >> To: How to use LiveCode >> Subject: Re: Flow/wrap text into an irregular shape >> Message-ID: >> Content-Type: text/plain; charset=windows-1252 >> >> Jim, >> >> Could you please briefly explain this distinction between Euclidian and Cartesian geometry as it applies to Turtle Graphics? >> >> Thanks, >> >> Roger >> >> >>> On Dec 30, 2013, at 10:08 AM, James Hurley wrote: >>> >>> The basic advantage of TG is that it speaks a language closer to Euclidian than Cartesian geometry. > > > Hi Roger, > > Good question. Best answered with an example. Euclidean geometry is concerned with shapes (lines and angle), while Cartesian geometry is concerned with points in a Cartesian coordinate system. > > A script for a Cartesian polygon might look like this: > > on mouseUP > drawPolygon 6,100 > end mouseUP > > on drawPolygon N, L > --draw an N side polgon with sides of length L > set the points of grc "poly" to "" > put trunc( the width of this card/2) into x0 > put trunc( the height of this card/2) into y0 > put x0 into xOld > put y0 into yOld > put 0 into tAng > repeat N+1 > ?Draw each side relative to its predecessor > put xOld + L* sin(tAng*pi/180) into xNew > put yOld + L * cos(tAng*pi/180) into yNew > put xNew,yNew & cr after tPoints > put xNew into xOld > put yNew into yOld > add 360/N to tAng > ?set the points of grc ?poly? to tPoints; Use this if you want to see the polygon evolve > end repeat > set the points of grc "Poly" to tPoints > end drawPolygon > > That script is full of Cartesian coordinates and trig. > > The same polygon may her accomplished in TG with something like this: > > on drawPolygon N, L > startTurtle -- > repeat N > forward L > left 360/N > end repeat > end drawPolygon > > The script if nothing but lengths and angles. > One might a easily construct a handler to draw an N sided polygon whose circumference is C: > > on drawPolygonGivenCircumference N, C > st > repeat N > fd C/N > left 360/N > end repeat > end drawPolygonGivenCircumference > > Of course RunRev recognized the complexity of analytic, cartesian geometry in such cases and introduced several drawing tools: Rectangle, Line, Oval, Freehand curve, Polygon, Regular polygon, to deal with these special cases. > > But I have also built into TG the ability to handle Cartesian geometry as well, with such functions as xCor(), yCor(), xyCor(), direction(), etc. for there are times when that is the best route to take. How else would one draw a parabola. (y = x^2) > > Jim > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From m.schonewille at economy-x-talk.com Tue Dec 31 11:38:55 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 31 Dec 2013 17:38:55 +0100 Subject: Can't send email attachments on Android w/ 6.1.1 or 6.5 DP1 :( In-Reply-To: References: <5AF6BC88-30A2-4098-A612-70545D4D104A@unimelb.edu.au> Message-ID: Hi, I wonder why this hasn't been fixed yet: http://quality.runrev.com/show_bug.cgi?id=11069 Would it help if everyone who has the same problem left a comment 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 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 25 sep 2013, at 04:05, Roger Eller wrote: > I found a report which included your notes, and I chimed in with my own > details too. > > http://quality.runrev.com/show_bug.cgi?id=11069 > > ~Roger > > > On Tue, Sep 24, 2013 at 9:42 PM, Terry Judd wrote: > >> Hi Roger - yes, it consistently fails for me on both my Android devices. I >> thought I logged is as a bug, but I must have got sidetracked. I think I >> got as far as creating a test stack to attach to a bug report. When I've >> got a bit of spare time I'll see if I can find it and lodge a report. >> Unless you want to do it? >> >> Terry... >> >> On 25/09/2013, at 11:12 AM, Roger Eller wrote: >> >>> I have exactly the same problem as in this *unanswered* thread. >>> http://www.mail-archive.com/use-livecode at lists.runrev.com/msg43416.html >>> >>> My device is running Android 4.1.1 and I've tried LiveCode 6.1.1 and 6.5 >>> DP1. >>> >>> The attachment shows up in the email client, but fails to include >>> attachment during send. >>> >>> >>> *Here's my script:* >>> >>> *put* mergStoragePath("downloads") into tPath *-- mergAndroid* >>> >>> *set* the defaultFolder to specialFolderPath("External Documents") & >>> tPath >>> >>> *put* specialFolderPath("External Documents") & tPath & "/Prova.txt" >> into >>> LocalFile >>> >>> *put* URL ("binfile:" & tLocalFile) into mydata *-- read local file* >>> >>> *put* mydata into tAttachment["data"] >>> >>> *put* "text/plain" into tAttachment["type"] >>> >>> *put* "Prova.txt" into tAttachment["name"] >>> >>> mobileComposeMail "Test E-mail", "myAddress at company.com",,, "Sent from >>> Android.", tAttachment >>> ~Roger >>> _______________________________________________ >>> >> >> Dr Terry Judd >> Senior Lecturer in Medical Education >> Medical Education Unit >> Faculty of Medicine, Dentistry & Health Sciences >> The University of Melbourne > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From irog at mac.com Tue Dec 31 12:27:28 2013 From: irog at mac.com (Roger Guay) Date: Tue, 31 Dec 2013 10:27:28 -0700 Subject: use-livecode Digest, Vol 123, Issue 56 In-Reply-To: References: Message-ID: Excellent, Jim! This certainly make a good case for TG. Thank you! Roger On Dec 31, 2013, at 8:51 AM, James Hurley wrote: >> >> Message: 12 >> Date: Mon, 30 Dec 2013 19:04:04 -0700 >> From: Roger Guay >> To: How to use LiveCode >> Subject: Re: Flow/wrap text into an irregular shape >> Message-ID: >> Content-Type: text/plain; charset=windows-1252 >> >> Jim, >> >> Could you please briefly explain this distinction between Euclidian and Cartesian geometry as it applies to Turtle Graphics? >> >> Thanks, >> >> Roger >> >> >> On Dec 30, 2013, at 10:08 AM, James Hurley wrote: >> >>> The basic advantage of TG is that it speaks a language closer to Euclidian than Cartesian geometry. >> > > > Hi Roger, > > Good question. Best answered with an example. Euclidean geometry is concerned with shapes (lines and angle), while Cartesian geometry is concerned with points in a Cartesian coordinate system. > > A script for a Cartesian polygon might look like this: > > on mouseUP > drawPolygon 6,100 > end mouseUP > > on drawPolygon N, L > --draw an N side polgon with sides of length L > set the points of grc "poly" to "" > put trunc( the width of this card/2) into x0 > put trunc( the height of this card/2) into y0 > put x0 into xOld > put y0 into yOld > put 0 into tAng > repeat N+1 > ?Draw each side relative to its predecessor > put xOld + L* sin(tAng*pi/180) into xNew > put yOld + L * cos(tAng*pi/180) into yNew > put xNew,yNew & cr after tPoints > put xNew into xOld > put yNew into yOld > add 360/N to tAng > ?set the points of grc ?poly? to tPoints; Use this if you want to see the polygon evolve > end repeat > set the points of grc "Poly" to tPoints > end drawPolygon > > That script is full of Cartesian coordinates and trig. > > The same polygon may her accomplished in TG with something like this: > > on drawPolygon N, L > startTurtle -- > repeat N > forward L > left 360/N > end repeat > end drawPolygon > > The script if nothing but lengths and angles. > One might a easily construct a handler to draw an N sided polygon whose circumference is C: > > on drawPolygonGivenCircumference N, C > st > repeat N > fd C/N > left 360/N > end repeat > end drawPolygonGivenCircumference > > Of course RunRev recognized the complexity of analytic, cartesian geometry in such cases and introduced several drawing tools: Rectangle, Line, Oval, Freehand curve, Polygon, Regular polygon, to deal with these special cases. > > But I have also built into TG the ability to handle Cartesian geometry as well, with such functions as xCor(), yCor(), xyCor(), direction(), etc. for there are times when that is the best route to take. How else would one draw a parabola. (y = x^2) > > Jim > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Tue Dec 31 13:39:11 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 31 Dec 2013 12:39:11 -0600 Subject: Scroll increment In-Reply-To: <23D87DCE-5F5B-455D-A51C-7DC4471B05B9@onechip.com> References: <23D87DCE-5F5B-455D-A51C-7DC4471B05B9@onechip.com> Message-ID: <52C30F4F.2020805@hyperactivesw.com> On 12/30/13 11:52 PM, John wrote: > > The standard scrolling field in liveCode supports the a mouse scroll > wheel. What is a bit unusual is that the height of the field > dictates how far the field ?hops? as you scroll. In short fields (50 > high) the field ?jumps? in ? character height increments (assuming > the default font and size are used). In 100 high fields it is one > line at a time increasing to 10 lines at a time when the field is > 1000 high. I think this may depend on your mouse and the OS. On my Mac using a magic mouse the amount of scroll depends on how fast I move my finger. On a mouse with a fixed scroll wheel it's probably different and may depend on the number of messages the scroll wheel sends for each change. I'm just guessing, so it would be interesting to see if you get different results with a different mouse. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From paulhibbert at mac.com Tue Dec 31 14:19:01 2013 From: paulhibbert at mac.com (Paul Hibbert) Date: Tue, 31 Dec 2013 11:19:01 -0800 Subject: Scroll increment In-Reply-To: <52C30F4F.2020805@hyperactivesw.com> References: <23D87DCE-5F5B-455D-A51C-7DC4471B05B9@onechip.com> <52C30F4F.2020805@hyperactivesw.com> Message-ID: <7D753EAE-A310-438C-8692-DD3012C98606@mac.com> Jacque, Same issues with different mice (here at least). John, You could try setting the scroll rate yourself, I tried the following scripts and it worked, but I didn't have time to figure out the accelerated scrolling that users may expect? -- Add this command to the script of each scrolling field on rawKeyDown pKey put the long name of me into tField scrollRatePref pKey,tField end rawKeyDown -- Add this command to your stack or card script command scrollRatePref pKey,pField -- Add a temporary scrollBar to make testing easier, then just hard code tScrollRate -- when you find the value that suits you, or set it up as a user preference. Try a value of 8 for starters. put the thumbPos of sb "tempScrollRate" into tScrollRate if pKey = "65308" then set the vScroll of pField to the vScroll of pField + tScrollRate -- Scrolls down if pKey = "65309" then set the vScroll of pField to the vScroll of pField - tScrollRate -- Scrolls Up end scrollRatePref If your field scrolls horizontally, 65310 scrolls right & 65311 scrolls left. There are probably many better ways and lots more options, but this demonstrates the point. Paul On 2013-12-31, at 10:39 AM, J. Landman Gay wrote: > On 12/30/13 11:52 PM, John wrote: >> >> The standard scrolling field in liveCode supports the a mouse scroll >> wheel. What is a bit unusual is that the height of the field >> dictates how far the field ?hops? as you scroll. In short fields (50 >> high) the field ?jumps? in ? character height increments (assuming >> the default font and size are used). In 100 high fields it is one >> line at a time increasing to 10 lines at a time when the field is >> 1000 high. > > I think this may depend on your mouse and the OS. On my Mac using a magic mouse the amount of scroll depends on how fast I move my finger. On a mouse with a fixed scroll wheel it's probably different and may depend on the number of messages the scroll wheel sends for each change. > > I'm just guessing, so it would be interesting to see if you get different results with a different mouse. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From john at onechip.com Tue Dec 31 15:38:05 2013 From: john at onechip.com (John) Date: Tue, 31 Dec 2013 12:38:05 -0800 Subject: Scroll increment In-Reply-To: <7D753EAE-A310-438C-8692-DD3012C98606@mac.com> References: <23D87DCE-5F5B-455D-A51C-7DC4471B05B9@onechip.com> <52C30F4F.2020805@hyperactivesw.com> <7D753EAE-A310-438C-8692-DD3012C98606@mac.com> Message-ID: <0B58DBC5-419E-4A00-9F64-713A1E0CF05D@onechip.com> I was hoping there was something I was missing (a property for instance) that set the ?scroll increment? but it looks there isn?t. I will try to roll my own to try and get closer to a native feel. If it works out I will report back to the list. Jaque, I am using a magic mouse as well. It wasn?t how fast the field scrolled (that is proportional to my finger speed), it was how finely grained the scrolling is. When moving my finger slowly on a tall field (1000 px high) the field jumps in 10 text line increments. On a short field (100 px high) the field jumps one line at a time. Using a native app (Preview for instance) there is no ?jumping? behavior at all. Testing with a ?click wheel? mouse on a native app does result in discrete jumps, one for every click. Paul, Thanks much for the head start, I will start with what you have and see if I can add accelerated scrolling in the like. Thanks, John On Dec 31, 2013, at 11:19 AM, Paul Hibbert wrote: > Jacque, > > Same issues with different mice (here at least). > > John, > > You could try setting the scroll rate yourself, I tried the following scripts and it worked, but I didn't have time to figure out the accelerated scrolling that users may expect? > > -- Add this command to the script of each scrolling field > on rawKeyDown pKey > put the long name of me into tField > scrollRatePref pKey,tField > end rawKeyDown > > -- Add this command to your stack or card script > command scrollRatePref pKey,pField > -- Add a temporary scrollBar to make testing easier, then just hard code tScrollRate > -- when you find the value that suits you, or set it up as a user preference. Try a value of 8 for starters. > > put the thumbPos of sb "tempScrollRate" into tScrollRate > > if pKey = "65308" then set the vScroll of pField to the vScroll of pField + tScrollRate -- Scrolls down > if pKey = "65309" then set the vScroll of pField to the vScroll of pField - tScrollRate -- Scrolls Up > > end scrollRatePref > > If your field scrolls horizontally, 65310 scrolls right & 65311 scrolls left. > > There are probably many better ways and lots more options, but this demonstrates the point. > > Paul > > > On 2013-12-31, at 10:39 AM, J. Landman Gay wrote: > >> On 12/30/13 11:52 PM, John wrote: >>> >>> The standard scrolling field in liveCode supports the a mouse scroll >>> wheel. What is a bit unusual is that the height of the field >>> dictates how far the field ?hops? as you scroll. In short fields (50 >>> high) the field ?jumps? in ? character height increments (assuming >>> the default font and size are used). In 100 high fields it is one >>> line at a time increasing to 10 lines at a time when the field is >>> 1000 high. >> >> I think this may depend on your mouse and the OS. On my Mac using a magic mouse the amount of scroll depends on how fast I move my finger. On a mouse with a fixed scroll wheel it's probably different and may depend on the number of messages the scroll wheel sends for each change. >> >> I'm just guessing, so it would be interesting to see if you get different results with a different mouse. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jhj at jhj.com Tue Dec 31 15:54:32 2013 From: jhj at jhj.com (Jerry Jensen) Date: Tue, 31 Dec 2013 12:54:32 -0800 Subject: Diesel out of fuel? Message-ID: I can't access web sites or email from diesel. Anybody else? Support ticket sent. Poor David, this so often seems to happens on holidays. .Jerry From paulhibbert at mac.com Tue Dec 31 16:45:57 2013 From: paulhibbert at mac.com (Paul Hibbert) Date: Tue, 31 Dec 2013 13:45:57 -0800 Subject: Diesel out of fuel? In-Reply-To: References: Message-ID: Same here. Paul On 2013-12-31, at 12:54 PM, Jerry Jensen wrote: > I can't access web sites or email from diesel. Anybody else? Support ticket sent. > Poor David, this so often seems to happens on holidays. > .Jerry > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dwilliams at runrev.com Tue Dec 31 16:51:22 2013 From: dwilliams at runrev.com (dwilliams at runrev.com) Date: Tue, 31 Dec 2013 22:51:22 +0100 Subject: Diesel out of fuel? In-Reply-To: References: Message-ID: <20131231225122.10983kbjp0m8n2hm@meg.on-rev.com> Hello everyone, Just to confirm, we are working on this and will keep everyone affected informed as to our progress via the support system. Regards, -David > Same here. > > Paul > > On 2013-12-31, at 12:54 PM, Jerry Jensen wrote: > >> I can't access web sites or email from diesel. Anybody else? >> Support ticket sent. >> Poor David, this so often seems to happens on holidays. >> .Jerry >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From richmondmathewson at gmail.com Tue Dec 31 17:07:35 2013 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 01 Jan 2014 00:07:35 +0200 Subject: Diesel out of fuel? In-Reply-To: <20131231225122.10983kbjp0m8n2hm@meg.on-rev.com> References: <20131231225122.10983kbjp0m8n2hm@meg.on-rev.com> Message-ID: <52C34027.2050600@gmail.com> On 31/12/13 23:51, dwilliams at runrev.com wrote: > Hello everyone, > > Just to confirm, we are working on this and will keep everyone > affected informed as to our progress via the support system. > > Regards, Happy Hogmanay, David. Richmond. > > -David > >> Same here. >> >> Paul >> >> On 2013-12-31, at 12:54 PM, Jerry Jensen wrote: >> >>> I can't access web sites or email from diesel. Anybody else? Support >>> ticket sent. >>> Poor David, this so often seems to happens on holidays. >>> .Jerry >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From eriks at sisyph.us Tue Dec 31 18:41:20 2013 From: eriks at sisyph.us (Erik Schwartz) Date: Tue, 31 Dec 2013 15:41:20 -0800 Subject: Diesel out of fuel? In-Reply-To: <52C34027.2050600@gmail.com> References: <20131231225122.10983kbjp0m8n2hm@meg.on-rev.com> <52C34027.2050600@gmail.com> Message-ID: This is the third time I have seen this in the last month. Anyone know of another hosting solution with livecode server preinstalled? Has anyone installed installed a livecode server on Amazon Web Services EC2 instance yet? Thanks, Erik On Tue, Dec 31, 2013 at 2:07 PM, Richmond wrote: > On 31/12/13 23:51, dwilliams at runrev.com wrote: > >> Hello everyone, >> >> Just to confirm, we are working on this and will keep everyone affected >> informed as to our progress via the support system. >> >> Regards, >> > > Happy Hogmanay, David. > > Richmond. > > > >> -David >> >> Same here. >>> >>> Paul >>> >>> On 2013-12-31, at 12:54 PM, Jerry Jensen wrote: >>> >>> I can't access web sites or email from diesel. Anybody else? Support >>>> ticket sent. >>>> Poor David, this so often seems to happens on holidays. >>>> .Jerry >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- ============================================= eriks at sisyph.us http://sisyph.us (530) 213-ERIK http://twitter.com/eriks (530) 213-3745 http://www.linkedin.com/in/erikschwartz Archery stuff: http://barebow.tumblr.com/ ============================================= From john at onechip.com Tue Dec 31 18:59:27 2013 From: john at onechip.com (John) Date: Tue, 31 Dec 2013 15:59:27 -0800 Subject: Scroll increment In-Reply-To: <0B58DBC5-419E-4A00-9F64-713A1E0CF05D@onechip.com> References: <23D87DCE-5F5B-455D-A51C-7DC4471B05B9@onechip.com> <52C30F4F.2020805@hyperactivesw.com> <7D753EAE-A310-438C-8692-DD3012C98606@mac.com> <0B58DBC5-419E-4A00-9F64-713A1E0CF05D@onechip.com> Message-ID: The following code works well enough (it could use a bit of tweaking) when using a magic mouse. You can scroll one pixel at a time when you move your finger slowly and, the faster you move, the more it scrolls. When using a ?click wheel? style mouse this does not work very well because the rawKeyDown events fire too slowly. Does any one have an insight on how to fix this? This script works by measuring the frequency of rawKeyDown events (how many occur in a 75 millisecond window) and uses that value to look up a scroll increment from an acceleration curve. If you wan to try this, create a field and put a scroll bar, named "scroll position? next to it. Put the following script into the field: local keyCount, startMilliSec on rawKeyDown pKey local accel if pKey = "65308" or pKey = "65309" then -- if it is the scroll wheel if startMilliSec + 75 < the milliseconds then -- if our timer has expired scroll the field put the milliseconds into startMilliSec -- get a new time value put item keycount of "1,2,4,7,25,50,150,250,400,800" into accel -- calculate an accel curve if pKey = "65308" then set the vScroll of me to the vScroll of me + accel -- Scrolls down if pKey = "65309" then set the vScroll of me to the vScroll of me - accel -- Scrolls Up put (the vscroll of me) & " " & (the textheightsum of me - the height of me) & " " & (the height of me) -- If there is a scroll bar sitting next to the field that should be updated set the thumbPosition of scrollbar "scroll position" to (the endValue of scrollbar "scroll position") \ *(the vscroll of me / (the textheightsum of me - the height of me)) put 0 into keyCount -- reset the 'frequency' counter end if if startMilliSec + 75 > the milliseconds then -- if we are in our timerperiod add 1 to keycount -- sum the the number of events end if end if pass rawKeyDown -- if you wan to be able to type in the field end rawKeyDown Thanks, John On Dec 31, 2013, at 12:38 PM, John wrote: > I was hoping there was something I was missing (a property for instance) that set the ?scroll increment? but it looks there isn?t. I will try to roll my own to try and get closer to a native feel. If it works out I will report back to the list. > > Jaque, > > I am using a magic mouse as well. It wasn?t how fast the field scrolled (that is proportional to my finger speed), it was how finely grained the scrolling is. When moving my finger slowly on a tall field (1000 px high) the field jumps in 10 text line increments. On a short field (100 px high) the field jumps one line at a time. Using a native app (Preview for instance) there is no ?jumping? behavior at all. Testing with a ?click wheel? mouse on a native app does result in discrete jumps, one for every click. > > > Paul, > > Thanks much for the head start, I will start with what you have and see if I can add accelerated scrolling in the like. > > > Thanks, > John > > > On Dec 31, 2013, at 11:19 AM, Paul Hibbert wrote: > >> Jacque, >> >> Same issues with different mice (here at least). >> >> John, >> >> You could try setting the scroll rate yourself, I tried the following scripts and it worked, but I didn't have time to figure out the accelerated scrolling that users may expect? >> >> -- Add this command to the script of each scrolling field >> on rawKeyDown pKey >> put the long name of me into tField >> scrollRatePref pKey,tField >> end rawKeyDown >> >> -- Add this command to your stack or card script >> command scrollRatePref pKey,pField >> -- Add a temporary scrollBar to make testing easier, then just hard code tScrollRate >> -- when you find the value that suits you, or set it up as a user preference. Try a value of 8 for starters. >> >> put the thumbPos of sb "tempScrollRate" into tScrollRate >> >> if pKey = "65308" then set the vScroll of pField to the vScroll of pField + tScrollRate -- Scrolls down >> if pKey = "65309" then set the vScroll of pField to the vScroll of pField - tScrollRate -- Scrolls Up >> >> end scrollRatePref >> >> If your field scrolls horizontally, 65310 scrolls right & 65311 scrolls left. >> >> There are probably many better ways and lots more options, but this demonstrates the point. >> >> Paul >> >> >> On 2013-12-31, at 10:39 AM, J. Landman Gay wrote: >> >>> On 12/30/13 11:52 PM, John wrote: >>>> >>>> The standard scrolling field in liveCode supports the a mouse scroll >>>> wheel. What is a bit unusual is that the height of the field >>>> dictates how far the field ?hops? as you scroll. In short fields (50 >>>> high) the field ?jumps? in ? character height increments (assuming >>>> the default font and size are used). In 100 high fields it is one >>>> line at a time increasing to 10 lines at a time when the field is >>>> 1000 high. >>> >>> I think this may depend on your mouse and the OS. On my Mac using a magic mouse the amount of scroll depends on how fast I move my finger. On a mouse with a fixed scroll wheel it's probably different and may depend on the number of messages the scroll wheel sends for each change. >>> >>> I'm just guessing, so it would be interesting to see if you get different results with a different mouse. >>> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From john at onechip.com Tue Dec 31 19:01:55 2013 From: john at onechip.com (John) Date: Tue, 31 Dec 2013 16:01:55 -0800 Subject: Scroll increment In-Reply-To: <0B58DBC5-419E-4A00-9F64-713A1E0CF05D@onechip.com> References: <23D87DCE-5F5B-455D-A51C-7DC4471B05B9@onechip.com> <52C30F4F.2020805@hyperactivesw.com> <7D753EAE-A310-438C-8692-DD3012C98606@mac.com> <0B58DBC5-419E-4A00-9F64-713A1E0CF05D@onechip.com> Message-ID: <0B240E2F-ADD9-4917-9D83-71B9788137C5@onechip.com> I inadvertently left in a line for debug in my previous posting. The cleaner version of it is: local keyCount, startMilliSec on rawKeyDown pKey local accel if pKey = "65308" or pKey = "65309" then -- if it is the scroll wheel if startMilliSec + 75 < the milliseconds then -- if our timer has expired scroll the field put the milliseconds into startMilliSec -- get a new time value put item keycount of "1,2,4,7,25,50,150,250,400,800" into accel -- calculate an accel curve if pKey = "65308" then set the vScroll of me to the vScroll of me + accel -- Scrolls down if pKey = "65309" then set the vScroll of me to the vScroll of me - accel -- Scrolls Up -- If there is a scroll bar sitting next to the field that should be updated set the thumbPosition of scrollbar "scroll position" to (the endValue of scrollbar "scroll position") \ *(the vscroll of me / (the textheightsum of me - the height of me)) put 0 into keyCount -- reset the 'frequency' counter end if if startMilliSec + 75 > the milliseconds then -- if we are in our timerperiod add 1 to keycount -- sum the the number of events end if end if pass rawKeyDown -- if you wan to be able to type in the field end rawKeyDown Thanks, John On Dec 31, 2013, at 12:38 PM, John wrote: > I was hoping there was something I was missing (a property for instance) that set the ?scroll increment? but it looks there isn?t. I will try to roll my own to try and get closer to a native feel. If it works out I will report back to the list. > > Jaque, > > I am using a magic mouse as well. It wasn?t how fast the field scrolled (that is proportional to my finger speed), it was how finely grained the scrolling is. When moving my finger slowly on a tall field (1000 px high) the field jumps in 10 text line increments. On a short field (100 px high) the field jumps one line at a time. Using a native app (Preview for instance) there is no ?jumping? behavior at all. Testing with a ?click wheel? mouse on a native app does result in discrete jumps, one for every click. > > > Paul, > > Thanks much for the head start, I will start with what you have and see if I can add accelerated scrolling in the like. > > > Thanks, > John > > > On Dec 31, 2013, at 11:19 AM, Paul Hibbert wrote: > >> Jacque, >> >> Same issues with different mice (here at least). >> >> John, >> >> You could try setting the scroll rate yourself, I tried the following scripts and it worked, but I didn't have time to figure out the accelerated scrolling that users may expect? >> >> -- Add this command to the script of each scrolling field >> on rawKeyDown pKey >> put the long name of me into tField >> scrollRatePref pKey,tField >> end rawKeyDown >> >> -- Add this command to your stack or card script >> command scrollRatePref pKey,pField >> -- Add a temporary scrollBar to make testing easier, then just hard code tScrollRate >> -- when you find the value that suits you, or set it up as a user preference. Try a value of 8 for starters. >> >> put the thumbPos of sb "tempScrollRate" into tScrollRate >> >> if pKey = "65308" then set the vScroll of pField to the vScroll of pField + tScrollRate -- Scrolls down >> if pKey = "65309" then set the vScroll of pField to the vScroll of pField - tScrollRate -- Scrolls Up >> >> end scrollRatePref >> >> If your field scrolls horizontally, 65310 scrolls right & 65311 scrolls left. >> >> There are probably many better ways and lots more options, but this demonstrates the point. >> >> Paul >> >> >> On 2013-12-31, at 10:39 AM, J. Landman Gay wrote: >> >>> On 12/30/13 11:52 PM, John wrote: >>>> >>>> The standard scrolling field in liveCode supports the a mouse scroll >>>> wheel. What is a bit unusual is that the height of the field >>>> dictates how far the field ?hops? as you scroll. In short fields (50 >>>> high) the field ?jumps? in ? character height increments (assuming >>>> the default font and size are used). In 100 high fields it is one >>>> line at a time increasing to 10 lines at a time when the field is >>>> 1000 high. >>> >>> I think this may depend on your mouse and the OS. On my Mac using a magic mouse the amount of scroll depends on how fast I move my finger. On a mouse with a fixed scroll wheel it's probably different and may depend on the number of messages the scroll wheel sends for each change. >>> >>> I'm just guessing, so it would be interesting to see if you get different results with a different mouse. >>> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Tue Dec 31 19:55:33 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 31 Dec 2013 16:55:33 -0800 Subject: Diesel out of fuel? In-Reply-To: References: Message-ID: <52C36785.6000002@fourthworld.com> Erik wrote: > Anyone know of another hosting solution with livecode server > preinstalled? LC Server is pretty easy to install on just about any server (I use it on Dreamhost and InterServer, and have set it up on about half a dozen custom builds). So far I know of only one hosting service other than On-Rev with LiveCode pre-installed: I haven't used HostM myself, but I've corresponded with them and they seem like smart, earnest people. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From paulhibbert at mac.com Tue Dec 31 19:58:44 2013 From: paulhibbert at mac.com (Paul Hibbert) Date: Tue, 31 Dec 2013 16:58:44 -0800 Subject: Scroll increment In-Reply-To: <0B240E2F-ADD9-4917-9D83-71B9788137C5@onechip.com> References: <23D87DCE-5F5B-455D-A51C-7DC4471B05B9@onechip.com> <52C30F4F.2020805@hyperactivesw.com> <7D753EAE-A310-438C-8692-DD3012C98606@mac.com> <0B58DBC5-419E-4A00-9F64-713A1E0CF05D@onechip.com> <0B240E2F-ADD9-4917-9D83-71B9788137C5@onechip.com> Message-ID: John, That seems to work pretty well, except the pass rawKeyDown was over-riding the effect for me, but adding an else condition to the first if statement cured the problem here? ?end if else pass rawKeyDown -- if you wan to be able to type in the field end if end rawKeyDown This stops the rawKeyDown message from being sent if the scroll wheel (touch) is in use, but not if you type in the field. Paul On 2013-12-31, at 4:01 PM, John wrote: > I inadvertently left in a line for debug in my previous posting. The cleaner version of it is: > > local keyCount, startMilliSec > on rawKeyDown pKey > local accel > > if pKey = "65308" or pKey = "65309" then -- if it is the scroll wheel > > if startMilliSec + 75 < the milliseconds then -- if our timer has expired scroll the field > put the milliseconds into startMilliSec -- get a new time value > > put item keycount of "1,2,4,7,25,50,150,250,400,800" into accel -- calculate an accel curve > > if pKey = "65308" then set the vScroll of me to the vScroll of me + accel -- Scrolls down > if pKey = "65309" then set the vScroll of me to the vScroll of me - accel -- Scrolls Up > > -- If there is a scroll bar sitting next to the field that should be updated > set the thumbPosition of scrollbar "scroll position" to (the endValue of scrollbar "scroll position") \ > *(the vscroll of me / (the textheightsum of me - the height of me)) > > put 0 into keyCount -- reset the 'frequency' counter > end if > > if startMilliSec + 75 > the milliseconds then -- if we are in our timerperiod > add 1 to keycount -- sum the the number of events > end if > > end if > > pass rawKeyDown -- if you wan to be able to type in the field > end rawKeyDown > > Thanks, > John > > On Dec 31, 2013, at 12:38 PM, John wrote: > >> I was hoping there was something I was missing (a property for instance) that set the ?scroll increment? but it looks there isn?t. I will try to roll my own to try and get closer to a native feel. If it works out I will report back to the list. >> >> Jaque, >> >> I am using a magic mouse as well. It wasn?t how fast the field scrolled (that is proportional to my finger speed), it was how finely grained the scrolling is. When moving my finger slowly on a tall field (1000 px high) the field jumps in 10 text line increments. On a short field (100 px high) the field jumps one line at a time. Using a native app (Preview for instance) there is no ?jumping? behavior at all. Testing with a ?click wheel? mouse on a native app does result in discrete jumps, one for every click. >> >> >> Paul, >> >> Thanks much for the head start, I will start with what you have and see if I can add accelerated scrolling in the like. >> >> >> Thanks, >> John >> >> >> On Dec 31, 2013, at 11:19 AM, Paul Hibbert wrote: >> >>> Jacque, >>> >>> Same issues with different mice (here at least). >>> >>> John, >>> >>> You could try setting the scroll rate yourself, I tried the following scripts and it worked, but I didn't have time to figure out the accelerated scrolling that users may expect? >>> >>> -- Add this command to the script of each scrolling field >>> on rawKeyDown pKey >>> put the long name of me into tField >>> scrollRatePref pKey,tField >>> end rawKeyDown >>> >>> -- Add this command to your stack or card script >>> command scrollRatePref pKey,pField >>> -- Add a temporary scrollBar to make testing easier, then just hard code tScrollRate >>> -- when you find the value that suits you, or set it up as a user preference. Try a value of 8 for starters. >>> >>> put the thumbPos of sb "tempScrollRate" into tScrollRate >>> >>> if pKey = "65308" then set the vScroll of pField to the vScroll of pField + tScrollRate -- Scrolls down >>> if pKey = "65309" then set the vScroll of pField to the vScroll of pField - tScrollRate -- Scrolls Up >>> >>> end scrollRatePref >>> >>> If your field scrolls horizontally, 65310 scrolls right & 65311 scrolls left. >>> >>> There are probably many better ways and lots more options, but this demonstrates the point. >>> >>> Paul >>> >>> >>> On 2013-12-31, at 10:39 AM, J. Landman Gay wrote: >>> >>>> On 12/30/13 11:52 PM, John wrote: >>>>> >>>>> The standard scrolling field in liveCode supports the a mouse scroll >>>>> wheel. What is a bit unusual is that the height of the field >>>>> dictates how far the field ?hops? as you scroll. In short fields (50 >>>>> high) the field ?jumps? in ? character height increments (assuming >>>>> the default font and size are used). In 100 high fields it is one >>>>> line at a time increasing to 10 lines at a time when the field is >>>>> 1000 high. >>>> >>>> I think this may depend on your mouse and the OS. On my Mac using a magic mouse the amount of scroll depends on how fast I move my finger. On a mouse with a fixed scroll wheel it's probably different and may depend on the number of messages the scroll wheel sends for each change. >>>> >>>> I'm just guessing, so it would be interesting to see if you get different results with a different mouse. >>>> >>>> -- >>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>> HyperActive Software | http://www.hyperactivesw.com >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From john at onechip.com Tue Dec 31 20:31:22 2013 From: john at onechip.com (John) Date: Tue, 31 Dec 2013 17:31:22 -0800 Subject: Scroll increment In-Reply-To: References: <23D87DCE-5F5B-455D-A51C-7DC4471B05B9@onechip.com> <52C30F4F.2020805@hyperactivesw.com> <7D753EAE-A310-438C-8692-DD3012C98606@mac.com> <0B58DBC5-419E-4A00-9F64-713A1E0CF05D@onechip.com> <0B240E2F-ADD9-4917-9D83-71B9788137C5@onechip.com> Message-ID: Paul, I was using a text field without a scroll bar, perhaps that is the difference. I added a separate scrollbar next to the field and set its thumb position separately. That seems to be less jerky with my setup. The following code seems to work better than the previous code and mimics the correct behavior with a click wheel mouse and magic mouse. The one exception is the deceleration. It works by measuring the time interval between key down events and then averages them for a smooth scrolling behavior with acceleration. It works better for me with large fields. The code can be tweaked depending on the length of the field and the desired acceleration. Set up a field without a scroll bar and add one next to it called ?scroll position?. In the field script add: local timeCount, valueToAvg, theTimes on rawKeyDown pKey local theAverage if pKey = "65308" or pKey = "65309" then -- if it is the scroll wheel if the milliseconds - timeCount < 100 then -- the user is activly scrolling add 1 to valueToAvg -- the index of the value in an array if valueToAvg is 11 then put 1 into valueToAvg -- roll over the index when it reaches 10 put 100 - (the milliseconds - timeCount) into theTimes[valueToAvg] -- the number of milliseconds between events put 0 into theAverage repeat with i = 1 to 10 -- add the last 10 values add theTimes[i] to theAverage end repeat divide theAverage by ten -- now find thier average if pKey = "65308" then set the vScroll of me to the vScroll of me + the round of theAverage -- Scrolls down if pKey = "65309" then set the vScroll of me to the vScroll of me - the round of theAverage -- Scrolls Up -- set the scroll bar next to the field set the thumbPosition of scrollbar "scroll position" to (the endValue of scrollbar "scroll position") \ *(the vscroll of me / (the textheightsum of me - the height of me)) else -- the user is scrolling very slowly put empty into theTimes -- clear the value array -- now scrolll one pixel if pKey = "65308" then set the vScroll of me to the vScroll of me + 1 -- Scrolls down if pKey = "65309" then set the vScroll of me to the vScroll of me - 1 -- Scrolls Up -- set the scroll bar next to the field set the thumbPosition of scrollbar "scroll position" to (the endValue of scrollbar "scroll position") \ *(the vscroll of me / (the textheightsum of me - the height of me)) end if put the milliseconds into timeCount end if pass rawKeyDown -- if you wan to be able to type in the field end rawKeyDown Thanks, John On Dec 31, 2013, at 4:58 PM, Paul Hibbert wrote: > John, > > That seems to work pretty well, except the pass rawKeyDown was over-riding the effect for me, but adding an else condition to the first if statement cured the problem here? > > ?end if > > else > pass rawKeyDown -- if you wan to be able to type in the field > end if > end rawKeyDown > > This stops the rawKeyDown message from being sent if the scroll wheel (touch) is in use, but not if you type in the field. > > Paul > > > On 2013-12-31, at 4:01 PM, John wrote: > >> I inadvertently left in a line for debug in my previous posting. The cleaner version of it is: >> >> local keyCount, startMilliSec >> on rawKeyDown pKey >> local accel >> >> if pKey = "65308" or pKey = "65309" then -- if it is the scroll wheel >> >> if startMilliSec + 75 < the milliseconds then -- if our timer has expired scroll the field >> put the milliseconds into startMilliSec -- get a new time value >> >> put item keycount of "1,2,4,7,25,50,150,250,400,800" into accel -- calculate an accel curve >> >> if pKey = "65308" then set the vScroll of me to the vScroll of me + accel -- Scrolls down >> if pKey = "65309" then set the vScroll of me to the vScroll of me - accel -- Scrolls Up >> >> -- If there is a scroll bar sitting next to the field that should be updated >> set the thumbPosition of scrollbar "scroll position" to (the endValue of scrollbar "scroll position") \ >> *(the vscroll of me / (the textheightsum of me - the height of me)) >> >> put 0 into keyCount -- reset the 'frequency' counter >> end if >> >> if startMilliSec + 75 > the milliseconds then -- if we are in our timerperiod >> add 1 to keycount -- sum the the number of events >> end if >> >> end if >> >> pass rawKeyDown -- if you wan to be able to type in the field >> end rawKeyDown >> >> Thanks, >> John >> >> On Dec 31, 2013, at 12:38 PM, John wrote: >> >>> I was hoping there was something I was missing (a property for instance) that set the ?scroll increment? but it looks there isn?t. I will try to roll my own to try and get closer to a native feel. If it works out I will report back to the list. >>> >>> Jaque, >>> >>> I am using a magic mouse as well. It wasn?t how fast the field scrolled (that is proportional to my finger speed), it was how finely grained the scrolling is. When moving my finger slowly on a tall field (1000 px high) the field jumps in 10 text line increments. On a short field (100 px high) the field jumps one line at a time. Using a native app (Preview for instance) there is no ?jumping? behavior at all. Testing with a ?click wheel? mouse on a native app does result in discrete jumps, one for every click. >>> >>> >>> Paul, >>> >>> Thanks much for the head start, I will start with what you have and see if I can add accelerated scrolling in the like. >>> >>> >>> Thanks, >>> John >>> >>> >>> On Dec 31, 2013, at 11:19 AM, Paul Hibbert wrote: >>> >>>> Jacque, >>>> >>>> Same issues with different mice (here at least). >>>> >>>> John, >>>> >>>> You could try setting the scroll rate yourself, I tried the following scripts and it worked, but I didn't have time to figure out the accelerated scrolling that users may expect? >>>> >>>> -- Add this command to the script of each scrolling field >>>> on rawKeyDown pKey >>>> put the long name of me into tField >>>> scrollRatePref pKey,tField >>>> end rawKeyDown >>>> >>>> -- Add this command to your stack or card script >>>> command scrollRatePref pKey,pField >>>> -- Add a temporary scrollBar to make testing easier, then just hard code tScrollRate >>>> -- when you find the value that suits you, or set it up as a user preference. Try a value of 8 for starters. >>>> >>>> put the thumbPos of sb "tempScrollRate" into tScrollRate >>>> >>>> if pKey = "65308" then set the vScroll of pField to the vScroll of pField + tScrollRate -- Scrolls down >>>> if pKey = "65309" then set the vScroll of pField to the vScroll of pField - tScrollRate -- Scrolls Up >>>> >>>> end scrollRatePref >>>> >>>> If your field scrolls horizontally, 65310 scrolls right & 65311 scrolls left. >>>> >>>> There are probably many better ways and lots more options, but this demonstrates the point. >>>> >>>> Paul >>>> >>>> >>>> On 2013-12-31, at 10:39 AM, J. Landman Gay wrote: >>>> >>>>> On 12/30/13 11:52 PM, John wrote: >>>>>> >>>>>> The standard scrolling field in liveCode supports the a mouse scroll >>>>>> wheel. What is a bit unusual is that the height of the field >>>>>> dictates how far the field ?hops? as you scroll. In short fields (50 >>>>>> high) the field ?jumps? in ? character height increments (assuming >>>>>> the default font and size are used). In 100 high fields it is one >>>>>> line at a time increasing to 10 lines at a time when the field is >>>>>> 1000 high. >>>>> >>>>> I think this may depend on your mouse and the OS. On my Mac using a magic mouse the amount of scroll depends on how fast I move my finger. On a mouse with a fixed scroll wheel it's probably different and may depend on the number of messages the scroll wheel sends for each change. >>>>> >>>>> I'm just guessing, so it would be interesting to see if you get different results with a different mouse. >>>>> >>>>> -- >>>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>>> HyperActive Software | http://www.hyperactivesw.com >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mwieder at ahsoftware.net Tue Dec 31 21:30:29 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 1 Jan 2014 02:30:29 +0000 (UTC) Subject: Diesel out of fuel? References: Message-ID: Jerry Jensen writes: > > I can't access web sites or email from diesel. Anybody else? Support ticket sent. He's dead, Jim. From jhurley0305 at sbcglobal.net Tue Dec 31 21:59:14 2013 From: jhurley0305 at sbcglobal.net (James Hurley) Date: Tue, 31 Dec 2013 18:59:14 -0800 Subject: Flow/wrap text into an irregular shape--was briefly: use-livecode Digest, Vol 123, Issue 56, my mistake In-Reply-To: References: Message-ID: Hi Bill, Good point Bill. There is that possibility. But given LC level of precision, it doesn?t seem to be a concern. As a test, I used the Polygon handler to draw a polygon with 10,000 sides, each side 1 unit in length?for all practical purposes, a circle. The figure closed. To confirm the closure, I checked the 1st and 10,000th points. The first point was 337,253 and the last point was 337,253 I learned something I was unaware of. In RunRev v. 5.02 all the graphic points had to be whole numbers. You could set the loc of a button, field, graphic etc. to fractional numberers, but they were not allowed as graphic points. I recall putting in a request to allow for full decimal point precision in the graphic points, and, lo and behold, I see in LC v. 6.5.1 that is indeed possible. It wasn?t just a matter of precision, but if you unknowingly set a fraction point among the grc points, the graphic didn?t display at all. So I would go looking for a mistake in the code and it would sometimes take me a while to realize is this quirk in RunRev at that time. Very happy to see that fix. Jim > Message: 5 > Date: Tue, 31 Dec 2013 08:37:23 -0800 > From: Earthednet-wp > To: How to use LiveCode > Subject: Re: use-livecode Digest, Vol 123, Issue 56 > Message-ID: > Content-Type: text/plain; charset=utf-8 > > Jim, > One of the things that worries me when setting up a system where each new point (or line segment) is drawn relative to a previously drawn position is the possibility of errors creeping in due to rounding of non integer numbers. I am usually plotting decimal numbers and I always want to know the precise position of each point before I round it to an integer pixel location. For example, if an initial position is 1,1 and multiple moves are 1,1 but rounded down from 1.4,1.4 pretty soon you have lost a pixel. Say, 3 moves would end up, non rounded, to 4.2,4.2 but if the destination is rounded at each step, you would only have a net move to 3,3. The errors could add up. > > Perhaps you've guarded against this, as I haven't looked at your code in that much detail. My approach to guard against this is to always calculate to destination point, then do the rounding. > > Best, > Bill > > William Prothero > http://es.earthednet.org > > On Dec 31, 2013, at 7:51 AM, James Hurley wrote: > >>> >>> Message: 12 >>> Date: Mon, 30 Dec 2013 19:04:04 -0700 >>> From: Roger Guay >>> To: How to use LiveCode >>> Subject: Re: Flow/wrap text into an irregular shape >>> Message-ID: >>> Content-Type: text/plain; charset=windows-1252 >>> >>> Jim, >>> >>> Could you please briefly explain this distinction between Euclidian and Cartesian geometry as it applies to Turtle Graphics? >>> >>> Thanks, >>> >>> Roger >>> >>> >>>> On Dec 30, 2013, at 10:08 AM, James Hurley wrote: >>>> >>>> The basic advantage of TG is that it speaks a language closer to Euclidian than Cartesian geometry. >> >> >> Hi Roger, >> >> Good question. Best answered with an example. Euclidean geometry is concerned with shapes (lines and angle), while Cartesian geometry is concerned with points in a Cartesian coordinate system. >> >> A script for a Cartesian polygon might look like this: >> >> on mouseUP >> drawPolygon 6,100 >> end mouseUP >> >> on drawPolygon N, L >> --draw an N side polgon with sides of length L >> set the points of grc "poly" to "" >> put trunc( the width of this card/2) into x0 >> put trunc( the height of this card/2) into y0 >> put x0 into xOld >> put y0 into yOld >> put 0 into tAng >> repeat N+1 >> ?Draw each side relative to its predecessor >> put xOld + L* sin(tAng*pi/180) into xNew >> put yOld + L * cos(tAng*pi/180) into yNew >> put xNew,yNew & cr after tPoints >> put xNew into xOld >> put yNew into yOld >> add 360/N to tAng >> ?set the points of grc ?poly? to tPoints; Use this if you want to see the polygon evolve >> end repeat >> set the points of grc "Poly" to tPoints >> end drawPolygon >> >> That script is full of Cartesian coordinates and trig. >> >> The same polygon may her accomplished in TG with something like this: >> >> on drawPolygon N, L >> startTurtle -- >> repeat N >> forward L >> left 360/N >> end repeat >> end drawPolygon >> >> The script if nothing but lengths and angles. >> One might a easily construct a handler to draw an N sided polygon whose circumference is C: >> >> on drawPolygonGivenCircumference N, C >> st >> repeat N >> fd C/N >> left 360/N >> end repeat >> end drawPolygonGivenCircumference >> >> Of course RunRev recognized the complexity of analytic, cartesian geometry in such cases and introduced several drawing tools: Rectangle, Line, Oval, Freehand curve, Polygon, Regular polygon, to deal with these special cases. >> >> But I have also built into TG the ability to handle Cartesian geometry as well, with such functions as xCor(), yCor(), xyCor(), direction(), etc. for there are times when that is the best route to take. How else would one draw a parabola. (y = x^2) >> >> Jim >>