AW: Fighting with audio player again
Hi Peter, yes, see also my posting quicktime and windows 8. I think the discontinuing comes from both sides, Apple and runrev. Apple doesn't support windows 8 anymore for QT (though it still runs), but it is only a matter of time until QT won't run anymore on any new windows version. I am afraid this could even happen with any new windows update some day. On the other side LC uses the very old windows multimedia API, which also will not be supported any longer at some point from microsoft. All thats why runrev has queued a new QT independent media object. But it is only queued without plan date and I hope it will come before the old system breaks down completely. QT is already today the most frequent trouble maker for my program on clients windows computers. Tiemo -Ursprüngliche Nachricht- Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag von Peter Bogdanoff Gesendet: Dienstag, 8. Oktober 2013 06:12 An: How to use LiveCode Betreff: Re: Fighting with audio player again So, what's this about QT likely to be discontinued? Any specifics, or just a general expectation? My current projects use the interactive aspects of QT quite heavily both for Mac and PC. Peter Bogdanoff UCLA On Oct 7, 2013, at 2:42 PM, J. Landman Gay wrote: On 10/7/13 2:54 PM, Alejandro Tejada wrote: Hi Jacque, Just my educated guess... Could that be that LiveCode is using some type of Windows OS stream buffer that fills with each request and, after this buffer is full, it stops receiving streams and produces an error? Probably, Windows OS clears this buffer automatically after a number of ticks or maybe it requires that some program request that Windows clears this buffer... Monte and Mark could verify if this is true, checking the windows LiveCode source code. Your guess is as good as mine, and probably better. I'm not knowledgeable enough to understand what's happening. I just need it to work. We may have to go with QuickTime for now. We don't want to because it's likely to be discontinued soon. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: RELEASE: LiveCode 6.1.2 RC2
Hi Ralph, Yes, the answer dialog bug was actually related to the way we were loading the simulators which is why your other bug has been resolved also. Warm regards, Ben On 7 October 2013 20:18, Ralph DiMola rdim...@evergreeninfo.net wrote: Ben, I think that answer dialog fix 11234 for the iOS 7 simulator also fixed my app not loading on the iOS 7 simulator. Thanks for saving me the time of nailing this one down! The answer dialog was not my specific problem. Don't know what caused my hang and don't care now. Thanks again to the RR team and all the OS engine contributors! Ralph DiMola IT Director Evergreen Information Services rdim...@evergreeninfo.net -Original Message- From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Benjamin Beaumont Sent: Monday, October 07, 2013 9:32 AM To: LiveCode Developer List; How to use LiveCode Subject: RELEASE: LiveCode 6.1.2 RC2 Dear list members, We are pleased to announce the second release candidate of LiveCode 6.1.2. *Warning*: this is not a stable release. Please ensure you back up your stacks before testing them. If you do not wish to be notified of test releases, uncheck the appropriate boxes in the Updates section of your LiveCode Preferences. *Release Contents* This maintenance release contains the following changes: - Better quality printing on Mac - iOS 7.0/Xcode 5.0 Support - 23 bug fixes: -- 11234 - Ask/answer commands cause the iOS7 simulator to hang. -- 11232 - iOS 7 Hi-Res iPad icon size requirements incorrect. -- 11219 - Unable to set iPad status bar visibility independently of iPhone status bar visibility. -- 11214 - Crash when getting htmlText of certain fields. -- 11213 - The width of the fields in the message box is wrong. -- 11199 - Key code parameter to rawKey messags is always 0 on mobile. -- 11191 - Text corruption when joining paragraphs -- 11189 - Basic table field with multiple tabStops stops inspector from working. -- 11173 - Preferences show wrong panel -- 11172 - Populating a datagrid from a card, other then the card the datagrid lives on generates error -- 11166 - Android apps freeze on quit after relaunch from recent apps menu. -- 11162 - Spaces required between numeric and non-numeric components of a date to parse correctly -- 11160 - Caseless comparison not working correctly on some Linux distributions -- 11143 - DataGrid throws error when setting show vscrollbar to false in preOpenControl on mobile. -- 11141 - Gradient ramp rounding error -- 11136 - Apps built for iOS 4.3 or later fail to launch on iOS 4.3 device. -- 11098 - iOS minimum version in standalone builder is 3.1.3 (should be 4.3). -- 11042 - Autoscript \compile error\ with new menu items -- 10888 - Crash in iOS 6 simulator when streaming video. -- 10846 - Warn if password-protected stack is opened in Community Edition -- 10634 - Script editor \go to definition\ does not find handlers in behaviors, backgrounds or library stacks. -- 10517 - iPad retina landscape image size warning incorrect. -- 10159 - Offline activation fails in Ubuntu 10.04, 10.10, 12.04 *Download* You can update to this release using the check for updates item from any other version of LiveCode. Alternatively, you can download the installers directly here: http://downloads.livecode.com/livecode/6_1_2/ Warm regards, The LiveCode Team ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode -- _ Benjamin Beaumont . RunRev Ltd LiveCode Product Manager mail : 25a Thistle Street Lane South West, Edinburgh, EH2 1EW email : b...@runrev.com company : +44(0) 845 219 89 23 fax : +44(0) 845 458 8487 web : www.runrev.com LiveCode - Programming made simple ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: PDF to Image Conversion
Hi Ray You probably know these bits already - they're unfortunately also not X-platform: 1. Have you tried sipsfrom the command line on OSX? e.g. sips -s format png mypdf.pdf --out myimage.png 2. Maybe Irfanview on Windows. Apparently it has command-line options. cheers Alan -- Alan Stenhouse alanstenho...@hotmail.com Check out our apps on the App Store: BeatSpeak - the multilingual talking metronome EV-Point - Find your nearest Electric Vehicle Recharge Station. On 08/10/2013, at 12:11 AM, use-livecode-requ...@lists.runrev.com wrote: This seems like such an old topic but I've yet to find a good solution. Quicktime works in a limited way and it's also a Mac only solution. Regarding cross platform solutions I believe Imagick requires GhostScript which could present both licensing issues as well as a complicated installer procedure. It would be great to see something in the Livecode store which simply accepts a shell command supplying a path to a PDF, a path to a folder and a quality of say 1 to 10- or something. Any ideas? Thanks in advance, Ray LinkIt! Software ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Printing
Hi, Can someone advise why answer page setup as sheet open printing with dialog as sheet if the result is Cancel then exit mouseUp print cd barChart from 0,0 to tRight,tBottom + 150 close printing is slow when compared to answer page setup open printing with dialog if the result is Cancel then exit mouseUp print cd barChart from 0,0 to tRight,tBottom + 150 close printing Thanks Terry ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Printing
Hi Terry, Which part is slow? The opening of the dialog, preparation of the print job, sending the data to the printer, printing itself, or your walk down the hall to pick up the paper? -- 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 10/8/2013 15:50, Terence Heaford wrote: Hi, Can someone advise why answer page setup as sheet open printing with dialog as sheet if the result is Cancel then exit mouseUp print cd barChart from 0,0 to tRight,tBottom + 150 close printing is slow when compared to answer page setup open printing with dialog if the result is Cancel then exit mouseUp print cd barChart from 0,0 to tRight,tBottom + 150 close printing Thanks Terry ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Printing
Hi Mark, When using as sheet it takes an age between the page setup being dismissed and the printing dialog showing. and then if I open PDF in preview to save paper it takes an age for the preview to display. If I remove as sheet it all happens without any delay at all. I am thinking that the printing is in Carbon, whether I use as sheet or not? I believe the print dialogs are Carbon and not Cocoa? Could it be there is a delay converting the Carbon dialogs to sheets? Don't really know just guessing. My laptops getting a bit long in the tooth 15 2.4 Ghz Macbook Pro Late 2008 unibody but as the without sheet is OK I don't think it's that. Any ideas? Would prefer sheets if possible as the rest of the project uses sheets also. Thanks Terry On 8 Oct 2013, at 14:50, Terence Heaford t.heaf...@btinternet.com wrote: Hi, Can someone advise why answer page setup as sheet open printing with dialog as sheet if the result is Cancel then exit mouseUp print cd barChart from 0,0 to tRight,tBottom + 150 close printing is slow when compared to answer page setup open printing with dialog if the result is Cancel then exit mouseUp print cd barChart from 0,0 to tRight,tBottom + 150 close printing Thanks Terry ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Encrypt/decrypt availability in server / devices
Christer, Actually, come to think of it, encrypting/decrypting on ios requires mergAES - sorry, I was sleepy yesterday. On Tue, Oct 8, 2013 at 1:10 AM, Christer Pyyhtiä chris...@mindcrea.comwrote: Encrypting both in the device and in LC server makes sense in case you have literals in variables you do want to protect. Typically arrays are continuous memroy areas that can be hacked into. There are different needs for different types of applications to protect contents. All data and processing of data of your customer, either in the device or in server must be adequately protected. rgds ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode -- On 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@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Printing
Hi Terence, On my even older MacBook, I need to wait about .5 second for each dialog to appear as sheet. If I print one single card, it is opened in Preview almost instantly. I'm using Mac OS X 10.6.8 today. Which version of OSX do you use? I do notice that sheets slightly slower than normal dialogs. I don't know if this has to do with Carbon/Cocoa. How much of a delay do you observe? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 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 10/8/2013 16:06, Terence Heaford wrote: Hi Mark, When using as sheet it takes an age between the page setup being dismissed and the printing dialog showing. and then if I open PDF in preview to save paper it takes an age for the preview to display. If I remove as sheet it all happens without any delay at all. I am thinking that the printing is in Carbon, whether I use as sheet or not? I believe the print dialogs are Carbon and not Cocoa? Could it be there is a delay converting the Carbon dialogs to sheets? Don't really know just guessing. My laptops getting a bit long in the tooth 15 2.4 Ghz Macbook Pro Late 2008 unibody but as the without sheet is OK I don't think it's that. Any ideas? Would prefer sheets if possible as the rest of the project uses sheets also. Thanks Terry ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
set cursor to busy
Well I've been wondering about this feature. I have set cursor to busy whenever something takes more than a second and I see that interesting vintage black and white beach ball. That is fine and really a feature because I'm in the LiveCode developing environment so when LiveCode crashes then I see the colourful system beach ball spin and I know that is different than something from my code. But what about when my code is in a stand-alone? Won't users be confused by that vintage beach ball? Is there another way to say set cursor to busy? Perhaps set new system cursor to busy or (for old one) set system 8 cursor to busy? Any ideas? -- http://www.bluewatermaritime.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Printing
I've also noticed that my walk down the hall is decidedly slower but luckily I get all my news digitally. On Tue, Oct 8, 2013 at 10:16 AM, Mark Schonewille m.schonewi...@economy-x-talk.com wrote: Hi Terence, On my even older MacBook, I need to wait about .5 second for each dialog to appear as sheet. If I print one single card, it is opened in Preview almost instantly. I'm using Mac OS X 10.6.8 today. Which version of OSX do you use? I do notice that sheets slightly slower than normal dialogs. I don't know if this has to do with Carbon/Cocoa. How much of a delay do you observe? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/**xtalkprogrammerhttp://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/http://livecodebeginner.economy-x-talk.com/survey/ On 10/8/2013 16:06, Terence Heaford wrote: Hi Mark, When using as sheet it takes an age between the page setup being dismissed and the printing dialog showing. and then if I open PDF in preview to save paper it takes an age for the preview to display. If I remove as sheet it all happens without any delay at all. I am thinking that the printing is in Carbon, whether I use as sheet or not? I believe the print dialogs are Carbon and not Cocoa? Could it be there is a delay converting the Carbon dialogs to sheets? Don't really know just guessing. My laptops getting a bit long in the tooth 15 2.4 Ghz Macbook Pro Late 2008 unibody but as the without sheet is OK I don't think it's that. Any ideas? Would prefer sheets if possible as the rest of the project uses sheets also. Thanks Terry __**_ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/**mailman/listinfo/use-livecodehttp://lists.runrev.com/mailman/listinfo/use-livecode -- http://www.bluewatermaritime.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Printing
Between the print setup and the print dialog: 4 attempts 1 = 8 seconds 2 = 7 seconds 3 = 4 seconds 4 = 5 seconds Between the print dialog and preview (preview always closed before printing) 1 = 5 seconds 2 = 6 seconds 3 = 4 seconds 4 = 1 second Mountain Lion 10.8.5 Thanks Terry On 8 Oct 2013, at 15:16, Mark Schonewille m.schonewi...@economy-x-talk.com wrote: Hi Terence, On my even older MacBook, I need to wait about .5 second for each dialog to appear as sheet. If I print one single card, it is opened in Preview almost instantly. I'm using Mac OS X 10.6.8 today. Which version of OSX do you use? I do notice that sheets slightly slower than normal dialogs. I don't know if this has to do with Carbon/Cocoa. How much of a delay do you observe? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 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 10/8/2013 16:06, Terence Heaford wrote: Hi Mark, When using as sheet it takes an age between the page setup being dismissed and the printing dialog showing. and then if I open PDF in preview to save paper it takes an age for the preview to display. If I remove as sheet it all happens without any delay at all. I am thinking that the printing is in Carbon, whether I use as sheet or not? I believe the print dialogs are Carbon and not Cocoa? Could it be there is a delay converting the Carbon dialogs to sheets? Don't really know just guessing. My laptops getting a bit long in the tooth 15 2.4 Ghz Macbook Pro Late 2008 unibody but as the without sheet is OK I don't think it's that. Any ideas? Would prefer sheets if possible as the rest of the project uses sheets also. Thanks Terry ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: set cursor to busy
Hi. If you think your users are skittish that way, why not roll your own? A handful of small images that cycle around? Craig Newman -Original Message- From: william humphrey b...@bluewatermaritime.com To: How to use LiveCode use-livecode@lists.runrev.com Sent: Tue, Oct 8, 2013 11:19 am Subject: set cursor to busy Well I've been wondering about this feature. I have set cursor to busy whenever something takes more than a second and I see that interesting vintage black and white beach ball. That is fine and really a feature because I'm in the LiveCode developing environment so when LiveCode crashes then I see the colourful system beach ball spin and I know that is different than something from my code. But what about when my code is in a stand-alone? Won't users be confused by that vintage beach ball? Is there another way to say set cursor to busy? Perhaps set new system cursor to busy or (for old one) set system 8 cursor to busy? Any ideas? -- http://www.bluewatermaritime.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Printing
Out of interest I get this in the console log not every time I print but most. It may or may not be relevant. 08/10/2013 16:56:46.685 com.apple.hiservices-xpcservice[3784]: Bug: 12F45: liblaunch.dylib + 24032 [2F71CAF8-6524-329E-AC56-C506658B4C0C]: 0x10 Thanks Terry ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: focus on nothing not resulting in closefield
On Sat, Sep 21, 2013 at 11:02 AM, Phil Davis rev...@pdslabs.net wrote: On 9/21/13 10:31 AM, Dr. Hawkins wrote: When a user clicks on something to go to another record, closeField does not get sent to the selectedField, and any changes are lost. I've tried solving this with a focus on nothing, but that doesn't provoke the closeField message. Shouldn't it? Is there anything other than sending a tabKey to the selectedField that works Try select empty That, though, physically selects and marks the field. I'm trying to force a closefield if the field contents have changed but the feield hasn't been left. textChanged won't work in this context, as the usual result should only be changing when the user leaves the field -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: New install video for using Valentina Studio and Valentina server
Lynn- Sunday, October 6, 2013, 7:04:22 PM, you wrote: Which Linux distribution would you want such a video to feature (I know what the answer would be if I were asking Richard ;-))? Doesn't much matter to me. I assume this is all from a command line anyway. -- -Mark Wieder mwie...@ahsoftware.net ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: set cursor to busy
I was hoping for something that would call the system level busy and thus would work on all platforms. If I roll a pretty rainbow one which looks great on the present Mac OS it would fail on the different flavours of Windows and probably the next MacOS which very likely will feature a flat beach ball. On Tue, Oct 8, 2013 at 11:27 AM, dunb...@aol.com wrote: Hi. If you think your users are skittish that way, why not roll your own? A handful of small images that cycle around? Craig Newman -Original Message- From: william humphrey b...@bluewatermaritime.com To: How to use LiveCode use-livecode@lists.runrev.com Sent: Tue, Oct 8, 2013 11:19 am Subject: set cursor to busy Well I've been wondering about this feature. I have set cursor to busy whenever something takes more than a second and I see that interesting vintage black and white beach ball. That is fine and really a feature because I'm in the LiveCode developing environment so when LiveCode crashes then I see the colourful system beach ball spin and I know that is different than something from my code. But what about when my code is in a stand-alone? Won't users be confused by that vintage beach ball? Is there another way to say set cursor to busy? Perhaps set new system cursor to busy or (for old one) set system 8 cursor to busy? Any ideas? -- http://www.bluewatermaritime.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode -- http://www.bluewatermaritime.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: focus on nothing not resulting in closefield
Richard. Not exactly sure what you are looking to do, but couldn't you: on textChanged send closeField to me end textChanged -Original Message- From: Dr. Hawkins doch...@gmail.com To: How to use LiveCode use-livecode@lists.runrev.com Sent: Tue, Oct 8, 2013 12:25 pm Subject: Re: focus on nothing not resulting in closefield On Sat, Sep 21, 2013 at 11:02 AM, Phil Davis rev...@pdslabs.net wrote: On 9/21/13 10:31 AM, Dr. Hawkins wrote: When a user clicks on something to go to another record, closeField does not get sent to the selectedField, and any changes are lost. I've tried solving this with a focus on nothing, but that doesn't provoke the closeField message. Shouldn't it? Is there anything other than sending a tabKey to the selectedField that works Try select empty That, though, physically selects and marks the field. I'm trying to force a closefield if the field contents have changed but the feield hasn't been left. textChanged won't work in this context, as the usual result should only be changing when the user leaves the field -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: focus on nothing not resulting in closefield
Scratch that. I see you want to leave the field, not send the message. Craig -Original Message- From: Dr. Hawkins doch...@gmail.com To: How to use LiveCode use-livecode@lists.runrev.com Sent: Tue, Oct 8, 2013 12:25 pm Subject: Re: focus on nothing not resulting in closefield On Sat, Sep 21, 2013 at 11:02 AM, Phil Davis rev...@pdslabs.net wrote: On 9/21/13 10:31 AM, Dr. Hawkins wrote: When a user clicks on something to go to another record, closeField does not get sent to the selectedField, and any changes are lost. I've tried solving this with a focus on nothing, but that doesn't provoke the closeField message. Shouldn't it? Is there anything other than sending a tabKey to the selectedField that works Try select empty That, though, physically selects and marks the field. I'm trying to force a closefield if the field contents have changed but the feield hasn't been left. textChanged won't work in this context, as the usual result should only be changing when the user leaves the field -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: set cursor to busy
Just a suggestion: you might consider using your own custom busy indicator. This prevents you from having to match any particular OS/version. Just so you know, the beach ball on OS X is usually associated with non-responsive, so probably not the right message to send to your users when things are working but busy. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 10/8/13 10:12 AM, william humphrey b...@bluewatermaritime.com wrote: I was hoping for something that would call the system level busy and thus would work on all platforms. If I roll a pretty rainbow one which looks great on the present Mac OS it would fail on the different flavours of Windows and probably the next MacOS which very likely will feature a flat beach ball. On Tue, Oct 8, 2013 at 11:27 AM, dunb...@aol.com wrote: Hi. If you think your users are skittish that way, why not roll your own? A handful of small images that cycle around? Craig Newman -Original Message- From: william humphrey b...@bluewatermaritime.com To: How to use LiveCode use-livecode@lists.runrev.com Sent: Tue, Oct 8, 2013 11:19 am Subject: set cursor to busy Well I've been wondering about this feature. I have set cursor to busy whenever something takes more than a second and I see that interesting vintage black and white beach ball. That is fine and really a feature because I'm in the LiveCode developing environment so when LiveCode crashes then I see the colourful system beach ball spin and I know that is different than something from my code. But what about when my code is in a stand-alone? Won't users be confused by that vintage beach ball? Is there another way to say set cursor to busy? Perhaps set new system cursor to busy or (for old one) set system 8 cursor to busy? Any ideas? -- http://www.bluewatermaritime.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode -- http://www.bluewatermaritime.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: focus on nothing not resulting in closefield
I'm sure this could be shorter, but it works. on textChanged put the botRight of me into tCorner put (item 1 of tCorner)+5 , (item 2 of tCorner)+5 into tOutsideThisField click at tOutsideThisField end textChanged ~Roger On Tue, Oct 8, 2013 at 1:17 PM, dunb...@aol.com wrote: Scratch that. I see you want to leave the field, not send the message. Craig -Original Message- From: Dr. Hawkins doch...@gmail.com To: How to use LiveCode use-livecode@lists.runrev.com Sent: Tue, Oct 8, 2013 12:25 pm Subject: Re: focus on nothing not resulting in closefield On Sat, Sep 21, 2013 at 11:02 AM, Phil Davis rev...@pdslabs.net wrote: On 9/21/13 10:31 AM, Dr. Hawkins wrote: When a user clicks on something to go to another record, closeField does not get sent to the selectedField, and any changes are lost. I've tried solving this with a focus on nothing, but that doesn't provoke the closeField message. Shouldn't it? Is there anything other than sending a tabKey to the selectedField that works Try select empty That, though, physically selects and marks the field. I'm trying to force a closefield if the field contents have changed but the feield hasn't been left. textChanged won't work in this context, as the usual result should only be changing when the user leaves the field -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: set cursor to busy
Shoot - I never considered that. I will look on the LiveCode list of example stacks and see if anyone put one there that I can use. On Tue, Oct 8, 2013 at 1:22 PM, Scott Rossi sc...@tactilemedia.com wrote: Just a suggestion: you might consider using your own custom busy indicator. This prevents you from having to match any particular OS/version. Just so you know, the beach ball on OS X is usually associated with non-responsive, so probably not the right message to send to your users when things are working but busy. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 10/8/13 10:12 AM, william humphrey b...@bluewatermaritime.com wrote: I was hoping for something that would call the system level busy and thus would work on all platforms. If I roll a pretty rainbow one which looks great on the present Mac OS it would fail on the different flavours of Windows and probably the next MacOS which very likely will feature a flat beach ball. On Tue, Oct 8, 2013 at 11:27 AM, dunb...@aol.com wrote: Hi. If you think your users are skittish that way, why not roll your own? A handful of small images that cycle around? Craig Newman -Original Message- From: william humphrey b...@bluewatermaritime.com To: How to use LiveCode use-livecode@lists.runrev.com Sent: Tue, Oct 8, 2013 11:19 am Subject: set cursor to busy Well I've been wondering about this feature. I have set cursor to busy whenever something takes more than a second and I see that interesting vintage black and white beach ball. That is fine and really a feature because I'm in the LiveCode developing environment so when LiveCode crashes then I see the colourful system beach ball spin and I know that is different than something from my code. But what about when my code is in a stand-alone? Won't users be confused by that vintage beach ball? Is there another way to say set cursor to busy? Perhaps set new system cursor to busy or (for old one) set system 8 cursor to busy? Any ideas? -- http://www.bluewatermaritime.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode -- http://www.bluewatermaritime.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode -- http://www.bluewatermaritime.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
relative pathnames work on mobile?
Hi friends, short question, do not have a real device here in the moment... Suppoesed we have a stack in the folder where a folder images resides, we can have filenames of images RELATIVE to the stack: images/subfolder/image.png Works fine, now my question, does this also work on the mobile platform if I add the folder images and its subfolders via the Copy files... tab in the standalone builder settings? Or do I need to loop through all images and set hte filenames to the absolute path: - specialfolderpath(engine) /images/subfolder/image.png Know what I mean? Thanks a lot in advance! Best Klaus -- Klaus Major http://www.major-k.de kl...@major-k.de ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Sending mail from on-rev server
Christer, sendMail is back to normal service on the on-rev server witch hosts my LC-server apps (pancake). Regards, Pierre Le 7 oct. 2013 à 08:42, Christer Pyyhtiä a écrit : Thanks to everyone suggesting solutions to the problem. Yet the problem is there; the error message is as follows: /usr/sbin/sendmail: error while loading shared libraries: libselinux.so.1: failed to map segment from shared object: Cannot allocate memory As far as I understand there has been a change in the server (I do not know in which node my domain is), prohibiting the sending. RR team seems to know something happened, but have not been able to get the capability back. The RR team has gone totally mute - I just don't know what's going on. I got a response from Kevin Miller for some days ago promising he'd look into the case, but no echo. I have been trying to scan all the possible sources without finding out any solution. rgds christer ___ use-livecode mailing list use-livecode@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 ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: relative pathnames work on mobile?
Hi Freund Klaus, Here is the way it works consistently, at least for me!, on both the iOS and Android platforms : put imagename.[png|jpeg|…] into url (binfile: specialFolderPath(documents) /imagename.[png|jpeg|…] put imagename.[png|jpeg|…] into url (binfile: specialFolderPath(cache) /imagename.[png|jpeg|…] with the iOS option to do/not do : if the platform is iphone then iphoneSetDoNotBackupFile specialFolderPath(documents) /imagename.[png|jpeg|…], true Bis bald, Pierre Le 8 oct. 2013 à 19:24, Klaus major-k a écrit : Hi friends, short question, do not have a real device here in the moment... Suppoesed we have a stack in the folder where a folder images resides, we can have filenames of images RELATIVE to the stack: images/subfolder/image.png Works fine, now my question, does this also work on the mobile platform if I add the folder images and its subfolders via the Copy files... tab in the standalone builder settings? Or do I need to loop through all images and set hte filenames to the absolute path: - specialfolderpath(engine) /images/subfolder/image.png Know what I mean? Thanks a lot in advance! Best Klaus -- Klaus Major http://www.major-k.de kl...@major-k.de ___ use-livecode mailing list use-livecode@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 ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: relative pathnames work on mobile?
Bonsoir mon ami, Am 08.10.2013 um 20:33 schrieb Pierre Sahores s...@sahores-conseil.com: Hi Freund Klaus, Here is the way it works consistently, at least for me!, on both the iOS and Android platforms : put imagename.[png|jpeg|…] into url (binfile: specialFolderPath(documents) /imagename.[png|jpeg|…] put imagename.[png|jpeg|…] into url (binfile: specialFolderPath(cache) /imagename.[png|jpeg|…] ??? Sorry, no capisce 8-) Where is a relative pathname here? I do not want/need to copy the images to another location! Please read my question again :-) with the iOS option to do/not do : if the platform is iphone then iphoneSetDoNotBackupFile specialFolderPath(documents) /imagename.[png|jpeg|…], true Ah, yes, thnaks, will remeber this one, thanks! Bis bald, Pierre Le 8 oct. 2013 à 19:24, Klaus major-k a écrit : Hi friends, short question, do not have a real device here in the moment... Suppoesed we have a stack in the folder where a folder images resides, we can have filenames of images RELATIVE to the stack: images/subfolder/image.png Works fine, now my question, does this also work on the mobile platform if I add the folder images and its subfolders via the Copy files... tab in the standalone builder settings? Or do I need to loop through all images and set hte filenames to the absolute path: - specialfolderpath(engine) /images/subfolder/image.png Know what I mean? Thanks a lot in advance! Best Klaus -- Klaus Major http://www.major-k.de kl...@major-k.de ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: set cursor to busy
On Tue, Oct 8, 2013 at 10:28 AM, william humphrey b...@bluewatermaritime.com wrote: Shoot - I never considered that. I will look on the LiveCode list of example stacks and see if anyone put one there that I can use. Don't animated cursors still work in Livecode? -- Stephen Barncard San Francisco Ca. USA more about sqb http://www.google.com/profiles/sbarncar ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: relative pathnames work on mobile?
On 10/8/13 1:49 PM, Klaus major-k wrote: short question, do not have a real device here in the moment... Suppoesed we have a stack in the folder where a folder images resides, we can have filenames of images RELATIVE to the stack: images/subfolder/image.png Works fine, now my question, does this also work on the mobile platform if I add the folder images and its subfolders via the Copy files... tab in the standalone builder settings? Or do I need to loop through all images and set hte filenames to the absolute path: - specialfolderpath(engine) /images/subfolder/image.png Know what I mean? I haven't been working on mobile lately, but the defaultfolder on launch is the engine folder, so I would think you can use that normally if you haven't set the defaultfolder to something else. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Hacking the GUI
After far too long; a few more features to muck up the Livecode GUI. The stack is contained in the lc_hacker.livecode.zip file at the RunRev Facebook page: https://www.facebook.com/groups/runrev/ Richmond. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
[OT] web training video delivery - how do YOU do it?
Hi Friends, If your clients or company deliver web training that includes videos, I would greatly appreciate any insight you can share from your experience. My largest client delivers web training to his customers. His entire content development / deployment / management system is built with Livecode, and one app uses FFMPEG to render desktop movies (mostly QT) for the web (mp4, ogv, webm). That app then uploads content to an on-rev server. The server has code that serves the content and collects the training results. (To be clear, the training content is a set of web pages containing text, video, images and sometimes audio. It's interactive. We don't upload a single monolithic 30-minute training video, but rather a training title may have any number of smaller videos that are available on various pages in the training.) My client now has a new opportunity to enter US state and fed government agencies in a big way. Problem is, they often use IE6/7/8 and are not open to change. As you may know, these are THE most problematic browsers in existence. We have found it extremely difficult to make all movies work all the time in all (IE) browsers. (Chrome, Firefox, Safari, later IE browsers are not a problem.) We're very concerned that we'll blow this opportunity if we can't deliver a rock-solid web training experience, specifically the video part. Do your clients or company have a great way of delivering web training that includes videos that always work every time, even in old IEs? If so, how do you do it? (Maybe your JS/CSS/HTML is better than ours.) We use John Dyer's mediaelement.js http://mediaelementjs.com/ as the core of our web video playback. We're considering ditching our in-house movie rendering process and using a media delivery service (like YouTube) for videos. Then the training movies would be uploaded to that service, and movies would be served from their server. We would use their embedded links and THEY would handle browser compatibility. At least that's how we're thinking about it. What am I missing? Have you ever done this? What has your experience been? I'm stretching the limits of approved list subject matter with this, but here I am anyway. As you can imagine, there is a LOT resting on the way we go forward in this. Thanks so much for your time and feedback. Feel free to contact me off-list as well. -- Phil Davis p...@pdslabs.net 503-307-4363 mobile ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
SQL (this AND that), OR (that AND theOther)
Having some SQL query troubles... I need to get results from a long list in a single query, BUT there are pairs of fields that must match. Every pair is a unique pair, aka no duplicates. If my list contains 50 pair that are unique, I may only get 30 returned rows, but I need all 50. This is what I've tried, but SQL strips away my outer parens, making my AND less binding for the pair. WHERE ((user = 'Joe') AND (car = 'Ford')) OR ((user = 'John') AND (car = 'Chevy')) OR ((user = 'Jim') AND (car = 'Kia')) OR ((user = 'Jim') AND (car = 'Smart')) ~Roger ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: relative pathnames work on mobile?
Hi Jaqueline, Am 08.10.2013 um 22:18 schrieb J. Landman Gay jac...@hyperactivesw.com: On 10/8/13 1:49 PM, Klaus major-k wrote: short question, do not have a real device here in the moment... Suppoesed we have a stack in the folder where a folder images resides, we can have filenames of images RELATIVE to the stack: images/subfolder/image.png Works fine, now my question, does this also work on the mobile platform if I add the folder images and its subfolders via the Copy files... tab in the standalone builder settings? Or do I need to loop through all images and set hte filenames to the absolute path: - specialfolderpath(engine) /images/subfolder/image.png Know what I mean? I haven't been working on mobile lately, but the defaultfolder on launch is the engine folder, so I would think you can use that normally if you haven't set the defaultfolder to something else. yes, makes sense, thanks! -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com Best Klaus -- Klaus Major http://www.major-k.de kl...@major-k.de ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Passive Shell Commands
I'm sending a shell command which is taking a long time. I'd like to send it in a way so scripts continue to run while the shell command runs in the background. I believe this is called 'passive mode', not sure. Anyway, any ideas? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: PDF to Image Conversion
The only way I know to do so is via a QuickTime Player object. This works somewhat well on a Mac and not at all on Windows when it comes to going through all the pages and capturing the image data. On 10/7/2013 8:51 PM, william humphrey wrote: Can PDF's be embedded in a Livecode card like a png or jpg can now? On Mon, Oct 7, 2013 at 3:05 PM, Ray Horsley r...@linkit.com wrote: This seems like such an old topic but I've yet to find a good solution. Quicktime works in a limited way and it's also a Mac only solution. Regarding cross platform solutions I believe Imagick requires GhostScript which could present both licensing issues as well as a complicated installer procedure. It would be great to see something in the Livecode store which simply accepts a shell command supplying a path to a PDF, a path to a folder and a quality of say 1 to 10- or something. Any ideas? Thanks in advance, Ray LinkIt! Software __**_ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/**mailman/listinfo/use-livecodehttp://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: SQL (this AND that), OR (that AND theOther)
For clarity, can you post the entire query? On 08/10/2013 21:52, Roger Eller wrote: Having some SQL query troubles... I need to get results from a long list in a single query, BUT there are pairs of fields that must match. Every pair is a unique pair, aka no duplicates. If my list contains 50 pair that are unique, I may only get 30 returned rows, but I need all 50. This is what I've tried, but SQL strips away my outer parens, making my AND less binding for the pair. WHERE ((user = 'Joe') AND (car = 'Ford')) OR ((user = 'John') AND (car = 'Chevy')) OR ((user = 'Jim') AND (car = 'Kia')) OR ((user = 'Jim') AND (car = 'Smart')) ~Roger ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
adding points
Folks: The documentation says that you can add points. If I do: put 10,10 - 5,5 I get 10,5,5 This is pretty useless. Bill William Prothero http://es.earthednet.org ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Passive Shell Commands
Use open process for neither Cheers Monte On 09/10/2013, at 8:19 AM, Ray Horsley wrote: I'm sending a shell command which is taking a long time. I'd like to send it in a way so scripts continue to run while the shell command runs in the background. I believe this is called 'passive mode', not sure. Anyway, any ideas? -- 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@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: adding points
Hi Bill, Before returning the value, the engine interpretes all items of your string. 10-5 returns 5, obviously. What exactly is it that you are trying to do? -- 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 10/8/2013 23:55, proth...@earthednet.org wrote: Folks: The documentation says that you can add points. If I do: put 10,10 - 5,5 I get 10,5,5 This is pretty useless. Bill William Prothero http://es.earthednet.org ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: adding points
Hi. Do you mean you want to modify the points of a graphic? This is a return delimited list of ordered pairs, like: 100,100 150.150 200,200 As Mark pointed out, you have an expression that resolves itself before anything else happens. Did you mean: 10,10 -5,5 ??? In any case, the various points have to be two integers separated by a comma and delimited by returns. Your original string had three items in it, the middle item being evaluated arithmetically. Another way to look at this is that you needed four items. Craig Newman -Original Message- From: prothero proth...@earthednet.org To: Use-livecode Use-livecode use-livecode@lists.runrev.com Sent: Tue, Oct 8, 2013 5:55 pm Subject: adding points Folks: The documentation says that you can add points. If I do: put 10,10 - 5,5 I get 10,5,5 This is pretty useless. Bill William Prothero http://es.earthednet.org ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Hacking the GUI
Folks: The documentation says that you can add points. If I do: put 10,10 - 5,5 I get 10,5,5 This is pretty useless. Is there a use for this? I'd like to have a quick way of adding and subtracting points without doing it item by item. I'm using version 6.1.1 Bill William Prothero http://es.earthednet.org ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Printing
Hi Terence, I did a test in Lion and I observe exactly the same problem. It takes up to 5 seconds to see the page setup dialog, up to 10 seconds to get to the printing dialog and another 6 seconds before LiveCode starts preparing the print job. I don't have this problem in Snow Leopard. I presume it is a LiveCode bug and I can imagine that this is frustrating if you need to print a lot. -- 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 10/8/2013 17:58, Terence Heaford wrote: Out of interest I get this in the console log not every time I print but most. It may or may not be relevant. 08/10/2013 16:56:46.685 com.apple.hiservices-xpcservice[3784]: Bug: 12F45: liblaunch.dylib + 24032 [2F71CAF8-6524-329E-AC56-C506658B4C0C]: 0x10 Thanks Terry ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Hacking the GUI
I don't believe you can do that, I've always just added item by item - but I could easily be wrong. It may be as simple as needing parenthesis or quotes or something similar. Can you be more explicit about where in the docs it says you can ? Thanks -- Alex. On 08/10/2013 23:52, proth...@earthednet.org wrote: Folks: The documentation says that you can add points. If I do: put 10,10 - 5,5 I get 10,5,5 This is pretty useless. Is there a use for this? I'd like to have a quick way of adding and subtracting points without doing it item by item. I'm using version 6.1.1 Bill William Prothero http://es.earthednet.org ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: [OT] web training video delivery - how do YOU do it?
On Oct 8, 2013, at 1:44 PM, Phil Davis wrote: I would greatly appreciate any insight you can share from your experience. Phil, I'll let the wiser people on this list comment on the technical aspects of your question. My experience is that it is better to make a good product for a smaller market rather than a marginal product for a larger market. If your product is good, word will spread. And your market will grow. If your product is compromised, for whatever reason (even if it is not directly related to your product - like the browser on which it is used), that word will also spread. And you will be fighting that reputation with every new sale you attempt. *** A related question: if your potential buyers will not invest in a contemporary browser (which offers them many benefits for a minimal cost), why do you believe they will spend their money on your training system? Paul Looney ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: SQL (this AND that), OR (that AND theOther)
John - Essentially, the queries are like this: If there are 13 pair of 'AND' criteria, I would expect 13 rows of data to be returned. The user can exist multiple times, but each car is unique. In fact, car could be a unique number like a VIN. My goal is to submit only 1 query, built from a list of (user AND car), and get back 1 row for each pair. I'm not locked in to using OR if there is a better way. SELECT * FROM myDatabase WHERE ((user = 'Joe') AND (car = 'Ford')) OR ((user = 'Joe') AND (car = 'Chevy')) OR ((user = 'John') AND (car = 'Ford')) OR ((user = 'John') AND (car = 'Chevy')) OR ((user = 'John') AND (car = 'Kia')) OR ((user = 'John') AND (car = 'Smart')) OR ((user = 'John') AND (car = 'Volkswagon')) OR ((user = 'John') AND (car = 'Honda')) OR ((user = 'John') AND (car = 'Hyundai')) OR ((user = 'John') AND (car = 'Dodge')) OR ((user = 'John') AND (car = 'Saturn')) OR ((user = 'Jim') AND (car = 'BMW')) OR ((user = 'Jim') AND (car = 'Jaguar')) ORDER BY car DESC ~Roger On Tue, Oct 8, 2013 at 5:34 PM, John Craig j...@splash21.com wrote: For clarity, can you post the entire query? On 08/10/2013 21:52, Roger Eller wrote: Having some SQL query troubles... I need to get results from a long list in a single query, BUT there are pairs of fields that must match. Every pair is a unique pair, aka no duplicates. If my list contains 50 pair that are unique, I may only get 30 returned rows, but I need all 50. This is what I've tried, but SQL strips away my outer parens, making my AND less binding for the pair. WHERE ((user = 'Joe') AND (car = 'Ford')) OR ((user = 'John') AND (car = 'Chevy')) OR ((user = 'Jim') AND (car = 'Kia')) OR ((user = 'Jim') AND (car = 'Smart')) ~Roger __**_ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/**mailman/listinfo/use-livecodehttp://lists.runrev.com/mailman/listinfo/use-livecode __**_ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/**mailman/listinfo/use-livecodehttp://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Hacking the GUI
The docs under point, in the docs accessed through the script editor mention adding points. Bill William Prothero http://es.earthednet.org On Oct 8, 2013, at 4:38 PM, Alex Tweedly a...@tweedly.net wrote: I don't believe you can do that, I've always just added item by item - but I could easily be wrong. It may be as simple as needing parenthesis or quotes or something similar. Can you be more explicit about where in the docs it says you can ? Thanks -- Alex. On 08/10/2013 23:52, proth...@earthednet.org wrote: Folks: The documentation says that you can add points. If I do: put 10,10 - 5,5 I get 10,5,5 This is pretty useless. Is there a use for this? I'd like to have a quick way of adding and subtracting points without doing it item by item. I'm using version 6.1.1 Bill William Prothero http://es.earthednet.org ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: SQL (this AND that), OR (that AND theOther)
I didn't give you a good example. I didn't mean to have Ford and Chevy listed twice. The car is unique. In hindsight, it would have been clearer to have car AND uniqueOwnerID as the example field names. ~Roger On Oct 8, 2013 8:39 PM, Roger Eller roger.e.el...@sealedair.com wrote: John - Essentially, the queries are like this: If there are 13 pair of 'AND' criteria, I would expect 13 rows of data to be returned. The user can exist multiple times, but each car is unique. In fact, car could be a unique number like a VIN. My goal is to submit only 1 query, built from a list of (user AND car), and get back 1 row for each pair. I'm not locked in to using OR if there is a better way. SELECT * FROM myDatabase WHERE ((user = 'Joe') AND (car = 'Ford')) OR ((user = 'Joe') AND (car = 'Chevy')) OR ((user = 'John') AND (car = 'Ford')) OR ((user = 'John') AND (car = 'Chevy')) OR ((user = 'John') AND (car = 'Kia')) OR ((user = 'John') AND (car = 'Smart')) OR ((user = 'John') AND (car = 'Volkswagon')) OR ((user = 'John') AND (car = 'Honda')) OR ((user = 'John') AND (car = 'Hyundai')) OR ((user = 'John') AND (car = 'Dodge')) OR ((user = 'John') AND (car = 'Saturn')) OR ((user = 'Jim') AND (car = 'BMW')) OR ((user = 'Jim') AND (car = 'Jaguar')) ORDER BY car DESC ~Roger On Tue, Oct 8, 2013 at 5:34 PM, John Craig j...@splash21.com wrote: For clarity, can you post the entire query? On 08/10/2013 21:52, Roger Eller wrote: Having some SQL query troubles... I need to get results from a long list in a single query, BUT there are pairs of fields that must match. Every pair is a unique pair, aka no duplicates. If my list contains 50 pair that are unique, I may only get 30 returned rows, but I need all 50. This is what I've tried, but SQL strips away my outer parens, making my AND less binding for the pair. WHERE ((user = 'Joe') AND (car = 'Ford')) OR ((user = 'John') AND (car = 'Chevy')) OR ((user = 'Jim') AND (car = 'Kia')) OR ((user = 'Jim') AND (car = 'Smart')) ~Roger __**_ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/**mailman/listinfo/use-livecodehttp://lists.runrev.com/mailman/listinfo/use-livecode __**_ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/**mailman/listinfo/use-livecodehttp://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Hacking the GUI
On 09/10/2013, at 11:51 AM, Earthednet-wp wrote: The docs under point, in the docs accessed through the script editor mention adding points. It doesn't mention doing what you are proposing. It talks about how the engine evaluates what is and isn't a point. In the example the addition in 22+3,23 is calculated before the engine works out if it's a point to 25,23. However 22+3,23 is just treated as a string and therefore not a point. I like your idea but it would lead to ambiguous code: should 2,2 + 3,3 evaluate to 5,5 or 2,5,3 ? It would work in the add, subtract, multiply, divide commands though assuming they aren't coupled to +,-,*,/ add 5 to 2 -- 7 add 5 to 2,3 -- 7,8 add 5,2 to 2,3 --7,5 The same would work for rects.. indeed as long as the number of items either match or what you are adding, subtracting, multiplying by or dividing by is a number. A nice idea that would be good to discuss on the engine list. 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@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: [OT] web training video delivery - how do YOU do it?
On 10/8/13 6:57 PM, Paul Looney wrote: A related question: if your potential buyers will not invest in a contemporary browser (which offers them many benefits for a minimal cost), why do you believe they will spend their money on your training system? It's for a government contract. The government may be willing to purchase a product but isn't willing to approve a newer OS, so the victi-- er, the users, are stuck with old browsers. So basically to win the contract the software has to support everything or lose out. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: SQL (this AND that), OR (that AND theOther)
According to this, UNION might get the results I am looking for, but will be less efficient than a single SELECT. http://stackoverflow.com/questions/542705/how-do-i-combine-2-select-statements-into-one ~Roger On Oct 8, 2013 8:39 PM, Roger Eller roger.e.el...@sealedair.com wrote: John - Essentially, the queries are like this: If there are 13 pair of 'AND' criteria, I would expect 13 rows of data to be returned. The user can exist multiple times, but each car is unique. In fact, car could be a unique number like a VIN. My goal is to submit only 1 query, built from a list of (user AND car), and get back 1 row for each pair. I'm not locked in to using OR if there is a better way. SELECT * FROM myDatabase WHERE ((user = 'Joe') AND (car = 'Ford')) OR ((user = 'Joe') AND (car = 'Chevy')) OR ((user = 'John') AND (car = 'Ford')) OR ((user = 'John') AND (car = 'Chevy')) OR ((user = 'John') AND (car = 'Kia')) OR ((user = 'John') AND (car = 'Smart')) OR ((user = 'John') AND (car = 'Volkswagon')) OR ((user = 'John') AND (car = 'Honda')) OR ((user = 'John') AND (car = 'Hyundai')) OR ((user = 'John') AND (car = 'Dodge')) OR ((user = 'John') AND (car = 'Saturn')) OR ((user = 'Jim') AND (car = 'BMW')) OR ((user = 'Jim') AND (car = 'Jaguar')) ORDER BY car DESC ~Roger On Tue, Oct 8, 2013 at 5:34 PM, John Craig j...@splash21.com wrote: For clarity, can you post the entire query? On 08/10/2013 21:52, Roger Eller wrote: Having some SQL query troubles... I need to get results from a long list in a single query, BUT there are pairs of fields that must match. Every pair is a unique pair, aka no duplicates. If my list contains 50 pair that are unique, I may only get 30 returned rows, but I need all 50. This is what I've tried, but SQL strips away my outer parens, making my AND less binding for the pair. WHERE ((user = 'Joe') AND (car = 'Ford')) OR ((user = 'John') AND (car = 'Chevy')) OR ((user = 'Jim') AND (car = 'Kia')) OR ((user = 'Jim') AND (car = 'Smart')) ~Roger __**_ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/**mailman/listinfo/use-livecodehttp://lists.runrev.com/mailman/listinfo/use-livecode __**_ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/**mailman/listinfo/use-livecodehttp://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Hacking the GUI
On 10/8/13 7:51 PM, Earthednet-wp wrote: The docs under point, in the docs accessed through the script editor mention adding points. The docs say: The points of a graphic is a list of points (two integers separated by a comma), one per line In your example you have three integers on a line, and one of them is a math operation: 10,10 - 5,5 Maybe you meant this: 10,10 -5,5 I couldn't see where the docs say you can add points, but it's true that you can. It doesn't mean math though, it means you can insert additional lines in the list. You could extend the list like this: 10,10 -5,5 0,0 10,10 Are you trying to script a graphic object? That's what the points do. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: [OT] web training video delivery - how do YOU do it?
On 10/8/13 4:57 PM, Paul Looney wrote: On Oct 8, 2013, at 1:44 PM, Phil Davis wrote: I would greatly appreciate any insight you can share from your experience. Phil, I'll let the wiser people on this list comment on the technical aspects of your question. My experience is that it is better to make a good product for a smaller market rather than a marginal product for a larger market. If your product is good, word will spread. And your market will grow. If your product is compromised, for whatever reason (even if it is not directly related to your product - like the browser on which it is used), that word will also spread. And you will be fighting that reputation with every new sale you attempt. Well said. *** A related question: if your potential buyers will not invest in a contemporary browser (which offers them many benefits for a minimal cost), why do you believe they will spend their money on your training system? Uhh, Paul... it's the government. ;-) Their computer and internet experience tends to be a direct outcome of decisions by their IT people. For example, the computers in some (many?) agencies run virtualized systems, and don't allow anything to be installed on a computer by its user. Hence web delivery of training in my case. Paul Looney ___ use-livecode mailing list use-livecode@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@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Hacking the GUI
On 10/8/13 9:17 PM, J. Landman Gay wrote: Maybe you meant this: 10,10 -5,5 I think my answer was condescending, I apologize. Monte's is better. The dictionary in 6.1.1 doesn't have an example of addition in the points entry. Is that in a different version's dictionary? -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Hacking the GUI
On 09/10/2013, at 1:25 PM, J. Landman Gay wrote: I think my answer was condescending, I apologize. Maybe I read a different answer ;-) The dictionary in 6.1.1 doesn't have an example of addition in the points entry. Is that in a different version's dictionary? It's the point entry not the points entry. 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@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Hacking the GUI
On 10/8/13 9:29 PM, Monte Goulding wrote: On 09/10/2013, at 1:25 PM, J. Landman Gay wrote: I think my answer was condescending, I apologize. Maybe I read a different answer ;-) The dictionary in 6.1.1 doesn't have an example of addition in the points entry. Is that in a different version's dictionary? It's the point entry not the points entry. Aha. Thanks, found it. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: [OT] web training video delivery - how do YOU do it?
I see you've been there, Jacque. Phil On 10/8/13 7:10 PM, J. Landman Gay wrote: On 10/8/13 6:57 PM, Paul Looney wrote: A related question: if your potential buyers will not invest in a contemporary browser (which offers them many benefits for a minimal cost), why do you believe they will spend their money on your training system? It's for a government contract. The government may be willing to purchase a product but isn't willing to approve a newer OS, so the victi-- er, the users, are stuck with old browsers. So basically to win the contract the software has to support everything or lose out. -- Phil Davis ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Passive Shell Commands
First time using open process for me. Fascinating! Thanks Monte. Not quite sure on the write and read syntax. My original shell command which works fine is: get shell(appPath srcPath trgPath) where the app is a command line utility which converts a PDF file to multiple JPEG's I can't get the app to show up in 'the openProcess' using the 'neither' option. When I call 'open process appPath for update' it works fine, but then how would I send the open process a command to start the conversion? On 10/8/2013 6:00 PM, Monte Goulding wrote: Use open process for neither Cheers Monte On 09/10/2013, at 8:19 AM, Ray Horsley wrote: I'm sending a shell command which is taking a long time. I'd like to send it in a way so scripts continue to run while the shell command runs in the background. I believe this is called 'passive mode', not sure. Anyway, any ideas? -- 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@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Passive Shell Commands
On 09/10/2013, at 1:45 PM, Ray Horsley wrote: First time using open process for me. Fascinating! Thanks Monte. Not quite sure on the write and read syntax. My original shell command which works fine is: get shell(appPath srcPath trgPath) where the app is a command line utility which converts a PDF file to multiple JPEG's I can't get the app to show up in 'the openProcess' using the 'neither' option. When I call 'open process appPath for update' it works fine, but then how would I send the open process a command to start the conversion? Ah, I assumed you didn't need to read from the process. If you don't need to read or know when it's done then: open process appPath srcPath trgPath for neither If you need to know when it's done then something like this should do it (untested hacking in email client) put appPath srcPath trgPath into tProcess open process tProcess for read send ReadProcess tProcess to me in 0 milliseconds on ReadProcess pProcess local tOut repeat read from process pProcess in 5 milliseconds put it after tOut wait 20 milliseconds with messages if the result is eof then close process pProcess exit repeat end if end repeat PDFExported tOut end ReadProcess on PDFExported pOutput -- let the user know end PDFExported -- 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@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Passive Shell Commands
Ahh! Now it's really working well. Monte, thanks. Very helpful. Ray On 10/8/2013 10:57 PM, Monte Goulding wrote: On 09/10/2013, at 1:45 PM, Ray Horsley wrote: First time using open process for me. Fascinating! Thanks Monte. Not quite sure on the write and read syntax. My original shell command which works fine is: get shell(appPath srcPath trgPath) where the app is a command line utility which converts a PDF file to multiple JPEG's I can't get the app to show up in 'the openProcess' using the 'neither' option. When I call 'open process appPath for update' it works fine, but then how would I send the open process a command to start the conversion? Ah, I assumed you didn't need to read from the process. If you don't need to read or know when it's done then: open process appPath srcPath trgPath for neither If you need to know when it's done then something like this should do it (untested hacking in email client) put appPath srcPath trgPath into tProcess open process tProcess for read send ReadProcess tProcess to me in 0 milliseconds on ReadProcess pProcess local tOut repeat read from process pProcess in 5 milliseconds put it after tOut wait 20 milliseconds with messages if the result is eof then close process pProcess exit repeat end if end repeat PDFExported tOut end ReadProcess on PDFExported pOutput -- let the user know end PDFExported -- 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@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: [OT] web training video delivery - how do YOU do it?
On 10/8/13 9:37 PM, Phil Davis wrote: I see you've been there, Jacque. Well, I was asked to go there. When I found out how it worked, I didn't. :) I do not envy you. Phil On 10/8/13 7:10 PM, J. Landman Gay wrote: On 10/8/13 6:57 PM, Paul Looney wrote: A related question: if your potential buyers will not invest in a contemporary browser (which offers them many benefits for a minimal cost), why do you believe they will spend their money on your training system? It's for a government contract. The government may be willing to purchase a product but isn't willing to approve a newer OS, so the victi-- er, the users, are stuck with old browsers. So basically to win the contract the software has to support everything or lose out. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Sharing iPhone internet connection
Well, if you are developing in iOS and have apple developer certificate, it seems to be easy to avoid extra charge for tethering and make your own App that shares your iPhone internet connection though HTTP and a SOCKS proxy.. https://github.com/tcurdt/iProxy/wiki Apple store will not accept such app, but you can use it for yourself and your friends and it's perfectly legal… http://arstechnica.com/information-technology/2013/10/how-i-share-my-iphones-internet-connection-without-paying-verizon-extra/ regards Tariel ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: [OT] web training video delivery - how do YOU do it?
On 10/8/13 8:10 PM, J. Landman Gay wrote: On 10/8/13 9:37 PM, Phil Davis wrote: I see you've been there, Jacque. Well, I was asked to go there. When I found out how it worked, I didn't. :) I do not envy you. Me neither. ;-) Believe it or not, I was an IT guy for about 15 years and even worked in a state agency for a couple of years. Then I saw the light... of a Mac Plus screen and the new world of HyperCard. It ruined me! Phil Phil On 10/8/13 7:10 PM, J. Landman Gay wrote: On 10/8/13 6:57 PM, Paul Looney wrote: A related question: if your potential buyers will not invest in a contemporary browser (which offers them many benefits for a minimal cost), why do you believe they will spend their money on your training system? It's for a government contract. The government may be willing to purchase a product but isn't willing to approve a newer OS, so the victi-- er, the users, are stuck with old browsers. So basically to win the contract the software has to support everything or lose out. -- Phil Davis ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: SQL (this AND that), OR (that AND theOther)
Roger, Not 100% sure what you need but maybe the following might help. SELECT user IN ('Joe','John','Jim') AND car IN ('Ford','Chevy',whatever) GROUP BY car || user ORDER BY car Depending on the data, you might want to define a composite index on car and auto Pete lcSQL Software On Oct 8, 2013 7:17 PM, Roger Eller roger.e.el...@sealedair.com wrote: According to this, UNION might get the results I am looking for, but will be less efficient than a single SELECT. http://stackoverflow.com/questions/542705/how-do-i-combine-2-select-statements-into-one ~Roger On Oct 8, 2013 8:39 PM, Roger Eller roger.e.el...@sealedair.com wrote: John - Essentially, the queries are like this: If there are 13 pair of 'AND' criteria, I would expect 13 rows of data to be returned. The user can exist multiple times, but each car is unique. In fact, car could be a unique number like a VIN. My goal is to submit only 1 query, built from a list of (user AND car), and get back 1 row for each pair. I'm not locked in to using OR if there is a better way. SELECT * FROM myDatabase WHERE ((user = 'Joe') AND (car = 'Ford')) OR ((user = 'Joe') AND (car = 'Chevy')) OR ((user = 'John') AND (car = 'Ford')) OR ((user = 'John') AND (car = 'Chevy')) OR ((user = 'John') AND (car = 'Kia')) OR ((user = 'John') AND (car = 'Smart')) OR ((user = 'John') AND (car = 'Volkswagon')) OR ((user = 'John') AND (car = 'Honda')) OR ((user = 'John') AND (car = 'Hyundai')) OR ((user = 'John') AND (car = 'Dodge')) OR ((user = 'John') AND (car = 'Saturn')) OR ((user = 'Jim') AND (car = 'BMW')) OR ((user = 'Jim') AND (car = 'Jaguar')) ORDER BY car DESC ~Roger On Tue, Oct 8, 2013 at 5:34 PM, John Craig j...@splash21.com wrote: For clarity, can you post the entire query? On 08/10/2013 21:52, Roger Eller wrote: Having some SQL query troubles... I need to get results from a long list in a single query, BUT there are pairs of fields that must match. Every pair is a unique pair, aka no duplicates. If my list contains 50 pair that are unique, I may only get 30 returned rows, but I need all 50. This is what I've tried, but SQL strips away my outer parens, making my AND less binding for the pair. WHERE ((user = 'Joe') AND (car = 'Ford')) OR ((user = 'John') AND (car = 'Chevy')) OR ((user = 'Jim') AND (car = 'Kia')) OR ((user = 'Jim') AND (car = 'Smart')) ~Roger __**_ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/**mailman/listinfo/use-livecode http://lists.runrev.com/mailman/listinfo/use-livecode __**_ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/**mailman/listinfo/use-livecode http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Hacking the GUI
Folks, Thanks for the comments. What I'm doing is dragging an image that is larger than the viewing area. I set the loc of the image (according to the mouseloc) inside a repeat loop. The general idea is below. On drag repeat while the mouseStillDown --set the loc of the image according to the mouseloc end repeat end drag The motion of the image is pretty jerky. It's a pretty large image. The reason I wanted to add and subtract points is to calculate the new loc for the image. I do this now by separating out x and y and operating on them individually. I suspect that most of the time is spent moving that large image, though, instead of doing the calculations. The image is a map, and I intend on plotting symbols on it. To speed this up, I'm plotting on a snapshot of the visible part of the image (which sits on top of the visible part). The plot will need to be updated each time the map is dragged or is magnification changed. If there is a faster way to move a large image around, I'd like to hear of it. Thanks again, Bill William Prothero http://es.earthednet.org On Oct 8, 2013, at 7:33 PM, J. Landman Gay jac...@hyperactivesw.com wrote: On 10/8/13 9:29 PM, Monte Goulding wrote: On 09/10/2013, at 1:25 PM, J. Landman Gay wrote: I think my answer was condescending, I apologize. Maybe I read a different answer ;-) The dictionary in 6.1.1 doesn't have an example of addition in the points entry. Is that in a different version's dictionary? It's the point entry not the points entry. Aha. Thanks, found it. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Hacking the GUI
Why doesn't Grab me Work for u? On Oct 8, 2013, at 7:36 PM, Earthednet-wp proth...@earthednet.org wrote: Folks, Thanks for the comments. What I'm doing is dragging an image that is larger than the viewing area. I set the loc of the image (according to the mouseloc) inside a repeat loop. The general idea is below. On drag repeat while the mouseStillDown --set the loc of the image according to the mouseloc end repeat end drag The motion of the image is pretty jerky. It's a pretty large image. The reason I wanted to add and subtract points is to calculate the new loc for the image. I do this now by separating out x and y and operating on them individually. I suspect that most of the time is spent moving that large image, though, instead of doing the calculations. The image is a map, and I intend on plotting symbols on it. To speed this up, I'm plotting on a snapshot of the visible part of the image (which sits on top of the visible part). The plot will need to be updated each time the map is dragged or is magnification changed. If there is a faster way to move a large image around, I'd like to hear of it. Thanks again, Bill William Prothero http://es.earthednet.org On Oct 8, 2013, at 7:33 PM, J. Landman Gay jac...@hyperactivesw.com wrote: On 10/8/13 9:29 PM, Monte Goulding wrote: On 09/10/2013, at 1:25 PM, J. Landman Gay wrote: I think my answer was condescending, I apologize. Maybe I read a different answer ;-) The dictionary in 6.1.1 doesn't have an example of addition in the points entry. Is that in a different version's dictionary? It's the point entry not the points entry. Aha. Thanks, found it. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Hacking the GUI
I just spent a few hours on an iOS app where i was using Grab to move a large, 2-4mb, photo around. Was jerky, until i realized that the scroller was accounting for the jerkiness. Found a way to do preopenstack before and after that moving process (killing reviving) the scroller. Can grab photo and spin it around now. Is there a scroller? Are you on iOS? sims On Wednesday, October 9, 2013, Earthednet-wp wrote: Folks, Thanks for the comments. What I'm doing is dragging an image that is larger than the viewing area. I set the loc of the image (according to the mouseloc) inside a repeat loop. The general idea is below. On drag repeat while the mouseStillDown --set the loc of the image according to the mouseloc end repeat end drag The motion of the image is pretty jerky. It's a pretty large image. The reason I wanted to add and subtract points is to calculate the new loc for the image. I do this now by separating out x and y and operating on them individually. I suspect that most of the time is spent moving that large image, though, instead of doing the calculations. The image is a map, and I intend on plotting symbols on it. To speed this up, I'm plotting on a snapshot of the visible part of the image (which sits on top of the visible part). The plot will need to be updated each time the map is dragged or is magnification changed. If there is a faster way to move a large image around, I'd like to hear of it. Thanks again, Bill William Prothero http://es.earthednet.org On Oct 8, 2013, at 7:33 PM, J. Landman Gay jac...@hyperactivesw.comjavascript:; wrote: On 10/8/13 9:29 PM, Monte Goulding wrote: On 09/10/2013, at 1:25 PM, J. Landman Gay wrote: I think my answer was condescending, I apologize. Maybe I read a different answer ;-) The dictionary in 6.1.1 doesn't have an example of addition in the points entry. Is that in a different version's dictionary? It's the point entry not the points entry. Aha. Thanks, found it. -- Jacqueline Landman Gay | jac...@hyperactivesw.comjavascript:; HyperActive Software | http://www.hyperactivesw.com ___ use-livecode mailing list use-livecode@lists.runrev.com javascript:; Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com javascript:; Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode