Re: LC Server Unable To Retrieve File From DropBox?
Not quite the test I was suggesting the dropbox url uses https: and for your own url you used http: It would be worth getting another url using https: to see if the server has a problem with the secure http - or whether it is specific to dropbox; even just https://google.com should do. It would be even better if you have a zip file somewhere behind a secure url - but I can't think of one you could try. -- Alex. On 18/12/2014 05:11, Scott Rossi wrote: Thanks for the suggestion. Based on the test below, there does seem to be a problem with accessing DropBox. New script: put url https://dl.dropbox.com/s/6fpl18ihvt7ffbl/test-image.zip; into file1 put the length of file1 into L1 put url http://www.tactilemedia.com/download/test-image.zip; into file2 put the length of file2 into L2 put dropbox L1 br generic L2 The result I get here still shows the DropBox file to have a length of 0, yet the test file downloads as expected when accessed via a browser. dropbox 0 generic 483575 Any other suggestions? Thanks Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On Dec 17, 2014, at 3:55 PM, Alex Tweedly a...@tweedly.net wrote: Scott, you could try accessing some (any) other https: url to see if that works from your server. Might help you narrow down what to look at next :-) Sorry I can't come up with any better help. -- Alex. On 17/12/2014 22:17, Scott Rossi wrote: Hi Simon: Well, I'm glad it works somewhere, but since it's not likely that I'll be using your LC server, this doesn't help me much. I wonder if maybe the edition makes a difference. Are you using the Commercial or Community edition? Thanks Regards, Scott Rossi Creative Director Tactile Media UX/UI Design On Dec 17, 2014, at 1:15 PM, Simon Smith he...@simonsmith.co wrote: Hi Scott Tried your script on my server - seems to work perfectly. Outputs: 483575 Kind Regards Simon On Wed, Dec 17, 2014 at 10:14 PM, Scott Rossi sc...@tactilemedia.com wrote: Hi List: I¹m wondering if anyone has been using LC Server to serve files from DropBox. Since updating LC Server to 6.7 on my host (DreamHost), it now seems to be unable to retrieve files from DropBox. With the following script: put url https://dl.dropbox.com/s/6fpl18ihvt7ffbl/test-image.zip; into theFile put the length of theFile On a desktop system, this works as expected in the message box. On LC Server I get a value of 0. What am I missing here? Is this perhaps some kind of cross-domain limitation? Any way to make this work? Thanks Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-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: LC Server Unable To Retrieve File From DropBox?
Thanks for the response Alex. I don’t believe the secure URL is the issue, because the file can be retrieved from a browser using both the secure and standard forms, but both forms return 0 in the LC server test script. In fact, I usually use the standard form in all my download URLs to avoid potential problems like you suggest. But since DropBox uses a secure URL by default, I used that in the test code. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On Dec 18, 2014, at 1:18 AM, Alex Tweedly a...@tweedly.net wrote: Not quite the test I was suggesting the dropbox url uses https: and for your own url you used http: It would be worth getting another url using https: to see if the server has a problem with the secure http - or whether it is specific to dropbox; even just https://google.com should do. It would be even better if you have a zip file somewhere behind a secure url - but I can't think of one you could try. -- Alex. On 18/12/2014 05:11, Scott Rossi wrote: Thanks for the suggestion. Based on the test below, there does seem to be a problem with accessing DropBox. New script: put url https://dl.dropbox.com/s/6fpl18ihvt7ffbl/test-image.zip; into file1 put the length of file1 into L1 put url http://www.tactilemedia.com/download/test-image.zip; into file2 put the length of file2 into L2 put dropbox L1 br generic L2 The result I get here still shows the DropBox file to have a length of 0, yet the test file downloads as expected when accessed via a browser. dropbox 0 generic 483575 Any other suggestions? Thanks Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On Dec 17, 2014, at 3:55 PM, Alex Tweedly a...@tweedly.net wrote: Scott, you could try accessing some (any) other https: url to see if that works from your server. Might help you narrow down what to look at next :-) Sorry I can't come up with any better help. -- Alex. On 17/12/2014 22:17, Scott Rossi wrote: Hi Simon: Well, I'm glad it works somewhere, but since it's not likely that I'll be using your LC server, this doesn't help me much. I wonder if maybe the edition makes a difference. Are you using the Commercial or Community edition? Thanks Regards, Scott Rossi Creative Director Tactile Media UX/UI Design On Dec 17, 2014, at 1:15 PM, Simon Smith he...@simonsmith.co wrote: Hi Scott Tried your script on my server - seems to work perfectly. Outputs: 483575 Kind Regards Simon On Wed, Dec 17, 2014 at 10:14 PM, Scott Rossi sc...@tactilemedia.com wrote: Hi List: I¹m wondering if anyone has been using LC Server to serve files from DropBox. Since updating LC Server to 6.7 on my host (DreamHost), it now seems to be unable to retrieve files from DropBox. With the following script: put url https://dl.dropbox.com/s/6fpl18ihvt7ffbl/test-image.zip; into theFile put the length of theFile On a desktop system, this works as expected in the message box. On LC Server I get a value of 0. What am I missing here? Is this perhaps some kind of cross-domain limitation? Any way to make this work? Thanks Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-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
Installer advice needed
This is not exactly about LiveCode but it's not OT either, I think. I am seeking an economical way of having an installer (or two installers) for a cross-platform LiveCode standalone - desktop, Windows and Mac. I have tried to use Mark Schonewille's LC-oriented solution but I can't make it work. So far my researches (Google mostly) seem to point to very expensive solutions intended for high volume sales. As I have no idea what sales volume to expect (it will be in the range zero to 1000!), this type of solution is not for me. What do other people do? Can one get away without an installer as long as one has gone through the very daunting (to me) code-signing process on the two platforms? This didn't used to matter, either on Windows or Mac, and I have products out there where the installation 'just works', but increasingly it seems that the OSs are expecting a proper installing process. I see that this may be quite a big subject, but I am too ignorant to be sure. Can anyone point me to a sensible discussion on this topic, hopefully with recommendations as to the way to go? TIA Graham ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Test please ignore
___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
AW: Installer advice needed
Hi Graham, I am codesigning too on both platforms and using sucessfully innosetup on Windows and Marks installer maker on Mac. What are your problems with installer maker? Tiemo ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Installer advice needed
Graham, for Windows i am using Monte´s InstallGadget which is based on innosetup, but much easier to use. On Mac this tool just creates a dmg. http://goulding.ws/installgadget/ Is there really a need for an installer on Mac? Most of the mac software is delivered as dmg. The user just has to drag the app bundle or app folder to the Application folder. If you want to graphically pimp your dmg then i would try DropDMG. Very easy to use and very good results. http://c-command.com/dropdmg/ Regards, Matthias Am 18.12.2014 um 12:03 schrieb Graham Samuel livf...@mac.com: This is not exactly about LiveCode but it's not OT either, I think. I am seeking an economical way of having an installer (or two installers) for a cross-platform LiveCode standalone - desktop, Windows and Mac. I have tried to use Mark Schonewille's LC-oriented solution but I can't make it work. So far my researches (Google mostly) seem to point to very expensive solutions intended for high volume sales. As I have no idea what sales volume to expect (it will be in the range zero to 1000!), this type of solution is not for me. What do other people do? Can one get away without an installer as long as one has gone through the very daunting (to me) code-signing process on the two platforms? This didn't used to matter, either on Windows or Mac, and I have products out there where the installation 'just works', but increasingly it seems that the OSs are expecting a proper installing process. I see that this may be quite a big subject, but I am too ignorant to be sure. Can anyone point me to a sensible discussion on this topic, hopefully with recommendations as to the way to go? TIA Graham ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Livecode 7.0 Can't Play Video
When I do the following on my Mac OSX 10.7.1 running Quicktime 7.7.1 I hear the audio but I can't see the video. I drag a player object to a new main stack and change the source from the Livecode's Sample.mov file to Apple's Sample_iPod.m4v movie or any other .m4v file. Playing it gives me audio but no video. If I choose the edit tool in Livecode while the movie is play suddenly video plays. Return to Livecode's browse tool and video stops while audio continues. This is no problem at all in Livecode 6.5.2 using the same platform, same system and same Quicktime version. It's also no problem on my Windows 8.1 system in either version of Livecode. Is this really a bug or am I missing something? If it's a bug does anybody know if it's been reported? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Livecode 7.0 Can't Play Video
Hi Ray, Am 18.12.2014 um 15:05 schrieb Ray r...@linkit.com: When I do the following on my Mac OSX 10.7.1 running Quicktime 7.7.1 I hear the audio but I can't see the video. I drag a player object to a new main stack and change the source from the Livecode's Sample.mov file to Apple's Sample_iPod.m4v movie or any other .m4v file. Playing it gives me audio but no video. If I choose the edit tool in Livecode while the movie is play suddenly video plays. Return to Livecode's browse tool and video stops while audio continues. This is no problem at all in Livecode 6.5.2 using the same platform, same system and same Quicktime version. It's also no problem on my Windows 8.1 system in either version of Livecode. Is this really a bug or am I missing something? If it's a bug does anybody know if it's been reported? quick guess: In Livecode 7 the dontuseqt property is set to TRUE by default, since it uses the new AVFoundation on the Mac to display media in a player object. Try to set this property to FALSE on preopenstack and see if that works. I hate these dont_XYZ properties, they are just too mentally challenging! :-D 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: Livecode 7.0 Can't Play Video
Klaus many thanks! Where did you even hear about such a property? I'd like to start doing whatever it is you're doing when new versions come out so I stay abreast of these things. On 12/18/2014 11:09 AM, Klaus major-k wrote: Hi Ray, Am 18.12.2014 um 15:05 schrieb Ray r...@linkit.com: When I do the following on my Mac OSX 10.7.1 running Quicktime 7.7.1 I hear the audio but I can't see the video. I drag a player object to a new main stack and change the source from the Livecode's Sample.mov file to Apple's Sample_iPod.m4v movie or any other .m4v file. Playing it gives me audio but no video. If I choose the edit tool in Livecode while the movie is play suddenly video plays. Return to Livecode's browse tool and video stops while audio continues. This is no problem at all in Livecode 6.5.2 using the same platform, same system and same Quicktime version. It's also no problem on my Windows 8.1 system in either version of Livecode. Is this really a bug or am I missing something? If it's a bug does anybody know if it's been reported? quick guess: In Livecode 7 the dontuseqt property is set to TRUE by default, since it uses the new AVFoundation on the Mac to display media in a player object. Try to set this property to FALSE on preopenstack and see if that works. I hate these dont_XYZ properties, they are just too mentally challenging! :-D 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 ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Livecode 7.0 Can't Play Video
Hi Ray, Am 18.12.2014 um 15:12 schrieb Ray r...@linkit.com: Klaus many thanks! Where did you even hear about such a property? I'd like to start doing whatever it is you're doing when new versions come out so I stay abreast of these things. That's pretty easy, just learn the Release Notes by heart! :-D On 12/18/2014 11:09 AM, Klaus major-k wrote: Hi Ray, Am 18.12.2014 um 15:05 schrieb Ray r...@linkit.com: When I do the following on my Mac OSX 10.7.1 running Quicktime 7.7.1 I hear the audio but I can't see the video. I drag a player object to a new main stack and change the source from the Livecode's Sample.mov file to Apple's Sample_iPod.m4v movie or any other .m4v file. Playing it gives me audio but no video. If I choose the edit tool in Livecode while the movie is play suddenly video plays. Return to Livecode's browse tool and video stops while audio continues. This is no problem at all in Livecode 6.5.2 using the same platform, same system and same Quicktime version. It's also no problem on my Windows 8.1 system in either version of Livecode. Is this really a bug or am I missing something? If it's a bug does anybody know if it's been reported? quick guess: In Livecode 7 the dontuseqt property is set to TRUE by default, since it uses the new AVFoundation on the Mac to display media in a player object. Try to set this property to FALSE on preopenstack and see if that works. I hate these dont_XYZ properties, they are just too mentally challenging! :-D 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: Livecode 7.0 Can't Play Video
Gotcha - that short, simple doc that comes with the release :) I'll let you know how it goes when I get my Mac cranked up and try this suggestion. On 12/18/2014 11:14 AM, Klaus major-k wrote: Hi Ray, Am 18.12.2014 um 15:12 schrieb Ray r...@linkit.com: Klaus many thanks! Where did you even hear about such a property? I'd like to start doing whatever it is you're doing when new versions come out so I stay abreast of these things. That's pretty easy, just learn the Release Notes by heart! :-D On 12/18/2014 11:09 AM, Klaus major-k wrote: Hi Ray, Am 18.12.2014 um 15:05 schrieb Ray r...@linkit.com: When I do the following on my Mac OSX 10.7.1 running Quicktime 7.7.1 I hear the audio but I can't see the video. I drag a player object to a new main stack and change the source from the Livecode's Sample.mov file to Apple's Sample_iPod.m4v movie or any other .m4v file. Playing it gives me audio but no video. If I choose the edit tool in Livecode while the movie is play suddenly video plays. Return to Livecode's browse tool and video stops while audio continues. This is no problem at all in Livecode 6.5.2 using the same platform, same system and same Quicktime version. It's also no problem on my Windows 8.1 system in either version of Livecode. Is this really a bug or am I missing something? If it's a bug does anybody know if it's been reported? quick guess: In Livecode 7 the dontuseqt property is set to TRUE by default, since it uses the new AVFoundation on the Mac to display media in a player object. Try to set this property to FALSE on preopenstack and see if that works. I hate these dont_XYZ properties, they are just too mentally challenging! :-D 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 ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Livecode 7.0 Can't Play Video
Hi Ray, Am 18.12.2014 um 15:16 schrieb Ray r...@linkit.com: Gotcha - that short, simple doc that comes with the release :) yep, that's quite enlightening :-D I'll let you know how it goes when I get my Mac cranked up and try this suggestion. OK, good luck! On 12/18/2014 11:14 AM, Klaus major-k wrote: Hi Ray, Am 18.12.2014 um 15:12 schrieb Ray r...@linkit.com: Klaus many thanks! Where did you even hear about such a property? I'd like to start doing whatever it is you're doing when new versions come out so I stay abreast of these things. That's pretty easy, just learn the Release Notes by heart! :-D 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: Installer advice needed
On 18.12.2014 at 13:09 Uhr +0100 Matthias Rebbe | M-R-D apparently wrote: Is there really a need for an installer on Mac? Most of the mac software is delivered as dmg. The user just has to drag the app bundle or app folder to the Application folder. If you want to graphically pimp your dmg then i would try DropDMG. Very easy to use and very good results. http://c-command.com/dropdmg/ On the Mac, the installer is really needed only if one has to install services, system resources or such. Normal standalone apps can and normally should be distributed as dmg's. RObert ___ use-livecode mailing list use-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: Installer advice needed
Thanks Matthias and Tiemo for good advice. I have had a look at DropDMG which looks very suitable for making a good-looking Mac version as suggested. Again, I’m also looking at Monte’s InstallGadget which looks very promising. In answer to Tiemo’s query What are your problems with installer maker? I had some issues relating to the Windows side of things, of which the killer was an error (141,546,30) which relates to some decompression issue. As I wasn’t using the Compression option in the installer I found this puzzling but so far have not found an explanation. There was another problem with the license document, where I couldn’t get the program to accept my version rather than the default stub. All this happened nearly two months ago, and I may have forgotten some of the details, but that’s an outline. Anyway thanks again. I must start to bite the codesigning bullet (groan). Graham On 18 Dec 2014, at 12:09, Matthias Rebbe | M-R-D matthias_livecode_150...@m-r-d.de wrote: Graham, for Windows i am using Monte´s InstallGadget which is based on innosetup, but much easier to use. On Mac this tool just creates a dmg. http://goulding.ws/installgadget/ Is there really a need for an installer on Mac? Most of the mac software is delivered as dmg. The user just has to drag the app bundle or app folder to the Application folder. If you want to graphically pimp your dmg then i would try DropDMG. Very easy to use and very good results. http://c-command.com/dropdmg/ Regards, Matthias Am 18.12.2014 um 12:03 schrieb Graham Samuel livf...@mac.com: This is not exactly about LiveCode but it's not OT either, I think. I am seeking an economical way of having an installer (or two installers) for a cross-platform LiveCode standalone - desktop, Windows and Mac. I have tried to use Mark Schonewille's LC-oriented solution but I can't make it work. So far my researches (Google mostly) seem to point to very expensive solutions intended for high volume sales. As I have no idea what sales volume to expect (it will be in the range zero to 1000!), this type of solution is not for me. What do other people do? Can one get away without an installer as long as one has gone through the very daunting (to me) code-signing process on the two platforms? This didn't used to matter, either on Windows or Mac, and I have products out there where the installation 'just works', but increasingly it seems that the OSs are expecting a proper installing process. I see that this may be quite a big subject, but I am too ignorant to be sure. Can anyone point me to a sensible discussion on this topic, hopefully with recommendations as to the way to go? TIA Graham ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
LC + CGI server + Yosemite
I am upgrading my old Mac Mini server (10.4) to a new Yosemite Mini. I was using an old RunRev engine to handle cgi processing. What would be the recommended LC engine for Yosemite? Thanks, Richard Miller ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Livecode 7.0 Can't Play Video
Klaus - I tried setting the dontUseQt to true but had no luck. Just thought you might like to know. Thanks for the suggestion. It's still good to know this global exists. I've filed it as a bug report. On 12/18/2014 11:30 AM, Klaus major-k wrote: Hi Ray, Am 18.12.2014 um 15:16 schrieb Ray r...@linkit.com: Gotcha - that short, simple doc that comes with the release :) yep, that's quite enlightening :-D I'll let you know how it goes when I get my Mac cranked up and try this suggestion. OK, good luck! On 12/18/2014 11:14 AM, Klaus major-k wrote: Hi Ray, Am 18.12.2014 um 15:12 schrieb Ray r...@linkit.com: Klaus many thanks! Where did you even hear about such a property? I'd like to start doing whatever it is you're doing when new versions come out so I stay abreast of these things. That's pretty easy, just learn the Release Notes by heart! :-D 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 ___ use-livecode mailing list use-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: LC Server Unable To Retrieve File From DropBox?
On 12/17/2014, 2:14 PM, Scott Rossi wrote: Hi List: I¹m wondering if anyone has been using LC Server to serve files from DropBox. Since updating LC Server to 6.7 on my host (DreamHost), it now seems to be unable to retrieve files from DropBox. With the following script: put url https://dl.dropbox.com/s/6fpl18ihvt7ffbl/test-image.zip; into theFile put the length of theFile On a desktop system, this works as expected in the message box. On LC Server I get a value of 0. I'm not sure if this is related or not, but I had a similar issue with AirLaunch when Dropbox eliminated their old-style default Public folder. AirLaunch could no longer retrieve files using the new method where you can share a link from anywhere in DB. But it could still do it if the file was in my grandfathered Public folder. DB allows you to create an old-style Public folder if you don't already have one but they hide the information pretty well on their site. If you think this may be related to your problem and you don't yet have a Public folder, I can try to find the link for you. Once my customers created a Public folder and put the files in there, AirLaunch started working again. -- 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: Installer advice needed
On 12/18/2014, 10:33 AM, Graham Samuel wrote: I must start to bite the codesigning bullet (groan). There are two utilities to help with that. For Windows, we use a certificate purchased from ksoftware.net http://certhelp.ksoftware.net/support/home, and they have a utility that codesigns the app. I don't know if their app works with certs from other places, we just went with theirs. For Mac we use App Wrapper from Ohanaware http://www.ohanaware.com/appwrapper/ Both of these are one-click solutions. -- 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: LC Server Unable To Retrieve File From DropBox?
Thanks Jacque. The frustrating thing is this all of this used to work without any issue. I don’t know if the problem is because of something DropBox changed, a server update by my web host (DreamHost), or my update to the 64 bit version of LC server. Simon Smith says he can access the test file from his pre 6.7 version of LC server, so the problem would seem to be my host or LC 6.7. Even then, accessing the file works fine on the 6.7 desktop, so I’m at a loss. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On Dec 18, 2014, at 10:05 AM, J. Landman Gay jac...@hyperactivesw.com wrote: On 12/17/2014, 2:14 PM, Scott Rossi wrote: Hi List: I¹m wondering if anyone has been using LC Server to serve files from DropBox. Since updating LC Server to 6.7 on my host (DreamHost), it now seems to be unable to retrieve files from DropBox. With the following script: put url https://dl.dropbox.com/s/6fpl18ihvt7ffbl/test-image.zip; into theFile put the length of theFile On a desktop system, this works as expected in the message box. On LC Server I get a value of 0. I'm not sure if this is related or not, but I had a similar issue with AirLaunch when Dropbox eliminated their old-style default Public folder. AirLaunch could no longer retrieve files using the new method where you can share a link from anywhere in DB. But it could still do it if the file was in my grandfathered Public folder. DB allows you to create an old-style Public folder if you don't already have one but they hide the information pretty well on their site. If you think this may be related to your problem and you don't yet have a Public folder, I can try to find the link for you. Once my customers created a Public folder and put the files in there, AirLaunch started working again. -- 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: Livecode 7.0 Can't Play Video
On 12/18/2014, 11:57 AM, Ray wrote: Klaus - I tried setting the dontUseQt to true but had no luck. Just thought you might like to know. Thanks for the suggestion. It's still good to know this global exists. I've filed it as a bug report. It is set to true by default now, you want to set it to *false*. That allows QT to run: dontUseQT = false means *do* use QT. I already submitted a bug report about the change in the QT default settings, and it was closed as not a bug because Apple has deprecated QT. But if changing the dontUseQT to false still doesn't work, then your bug report is accurate. -- 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: Installer advice needed
I'm using Inno Setup on Windows. It's free and customizable. When I get stumped on configuring it, there seems to be a lot of info out there by doing a quick Google search. I also use the KSoft certificates, which seem to be reasonably priced. The process of getting your certificate can be a few days as they want to make sure you're legit. One thing they wanted was my phone number listed with one of the big online directories. I did that then it took a while before it would show up in a search. Then they call you at that number as part of the process. If your phone is already published somewhere you may be OK. Mine wasn't. KSoft has a signing app too that works great and the whole process can be configured in Inno Setup if you're using that. On Mac I've been using App Wrapper. Great app, great support. Sometimes I make my own installers for Mac just using a Livecode app with my app zipped and stored in a custom property. One thing I have run into are people who've switched from PC to Mac. They don't always get disk images and will run the app off the disk image. Then think the app got deleted when the disk image is dismounted. I finally started putting a check in the startup routine to see where the app is running from and then alerting the user that it isn't installed correctly if it's from the disk image. Marty Knapp On 12/18/2014, 10:33 AM, Graham Samuel wrote: I must start to bite the codesigning bullet (groan). There are two utilities to help with that. For Windows, we use a certificate purchased from ksoftware.net http://certhelp.ksoftware.net/support/home, and they have a utility that codesigns the app. I don't know if their app works with certs from other places, we just went with theirs. For Mac we use App Wrapper from Ohanaware http://www.ohanaware.com/appwrapper/ Both of these are one-click solutions. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Livecode 7.0 Can't Play Video
Thanks Jackie - I believe the bug report is accurate. I've tried setting the dontUseQt all three ways (and that's pretty good for a boolean!) On 12/18/2014 3:46 PM, J. Landman Gay wrote: On 12/18/2014, 11:57 AM, Ray wrote: Klaus - I tried setting the dontUseQt to true but had no luck. Just thought you might like to know. Thanks for the suggestion. It's still good to know this global exists. I've filed it as a bug report. It is set to true by default now, you want to set it to *false*. That allows QT to run: dontUseQT = false means *do* use QT. I already submitted a bug report about the change in the QT default settings, and it was closed as not a bug because Apple has deprecated QT. But if changing the dontUseQT to false still doesn't work, then your bug report is accurate. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Create graphic
I have a button whose script creates a graphic. When I click the button, the tool changes from the browse tool to the pointer tool as soon as the create graphic command is executed. Not a big deal as I can just set the tool back to the pointer tool after the create graphic command but that shouldn't happen, should it? Pete lcSQL Software http://www.lcsql.com Home of lcStackBrowser http://www.lcsql.com/lcstackbrowser.html and SQLiteAdmin http://www.lcsql.com/sqliteadmin.html ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
RE: Create graphic
I don't see this... Well, not using the following script :- on mouseUp set the width of the templateGraphic to 200 set the height of the templateGraphic to 200 set the opaque of the templateGraphic to true set the loc of the templateGraphic to the loc of this card set the backgroundcolor of the templateGraphic to 255,0,0 set the name of the templateGraphic to Boo create graphic end mouseUp Dixie From: p...@lcsql.com Date: Thu, 18 Dec 2014 11:47:22 -0800 Subject: Create graphic To: use-livecode@lists.runrev.com I have a button whose script creates a graphic. When I click the button, the tool changes from the browse tool to the pointer tool as soon as the create graphic command is executed. Not a big deal as I can just set the tool back to the pointer tool after the create graphic command but that shouldn't happen, should it? Pete lcSQL Software http://www.lcsql.com Home of lcStackBrowser http://www.lcsql.com/lcstackbrowser.html and SQLiteAdmin http://www.lcsql.com/sqliteadmin.html ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Create graphic
Hi John, Thanks for checking. I think I found the problem - a rogue front script that was capturing the newGraphic event. Pete lcSQL Software http://www.lcsql.com Home of lcStackBrowser http://www.lcsql.com/lcstackbrowser.html and SQLiteAdmin http://www.lcsql.com/sqliteadmin.html On Thu, Dec 18, 2014 at 11:58 AM, John Dixon dixo...@hotmail.co.uk wrote: I don't see this... Well, not using the following script :- on mouseUp set the width of the templateGraphic to 200 set the height of the templateGraphic to 200 set the opaque of the templateGraphic to true set the loc of the templateGraphic to the loc of this card set the backgroundcolor of the templateGraphic to 255,0,0 set the name of the templateGraphic to Boo create graphic end mouseUp Dixie From: p...@lcsql.com Date: Thu, 18 Dec 2014 11:47:22 -0800 Subject: Create graphic To: use-livecode@lists.runrev.com I have a button whose script creates a graphic. When I click the button, the tool changes from the browse tool to the pointer tool as soon as the create graphic command is executed. Not a big deal as I can just set the tool back to the pointer tool after the create graphic command but that shouldn't happen, should it? Pete lcSQL Software http://www.lcsql.com Home of lcStackBrowser http://www.lcsql.com/lcstackbrowser.html and SQLiteAdmin http://www.lcsql.com/sqliteadmin.html ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Create graphic
Peter. In v.6.7 on Mavericks, the tools sticks. What is your set-up? Craig -Original Message- From: Peter Haworth p...@lcsql.com To: How to use LiveCode use-livecode@lists.runrev.com Sent: Thu, Dec 18, 2014 2:48 pm Subject: Create graphic I have a button whose script creates a graphic. When I click the button, the tool changes from the browse tool to the pointer tool as soon as the create graphic command is executed. Not a big deal as I can just set the tool back to the pointer tool after the create graphic command but that shouldn't happen, should it? Pete lcSQL Software http://www.lcsql.com Home of lcStackBrowser http://www.lcsql.com/lcstackbrowser.html and SQLiteAdmin http://www.lcsql.com/sqliteadmin.html ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
plugin stack automatically saving in new file format
I have a custom plugin stack that I use to quickly open frequently used stacks. It has a “save this stack” command in its closeStack handler. If I’m working in LC 7.0+ the stack is saving with the new file format, and therefore won’t open in pre-7.0 versions of LiveCode. I though once a stack was saved in a legacy format, it would stay in that format. Is that not the case? Is there any way to prevent the file format change when saving a stack? Thanks, Chris -- Chris Sheffield Read Naturally, Inc. www.readnaturally.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: plugin stack automatically saving in new file format
There is a preference that says to preserve stack file format, but i'm not sure if it applies when a stack is saving itself. (seems like it should, but hey, you never know). The best way to avoid this is to set the stackfileversion to what you want, right before the save. Theres an example of this in the dictionary entry. Basically, it saves the current stackfileversion to a variable, sets the stackfileversion to the version you wish to save as, saves the stack, then resets the stackfileversion. On Thu, Dec 18, 2014 at 1:30 PM, Chris Sheffield cs_livec...@icloud.com wrote: I have a custom plugin stack that I use to quickly open frequently used stacks. It has a “save this stack” command in its closeStack handler. If I’m working in LC 7.0+ the stack is saving with the new file format, and therefore won’t open in pre-7.0 versions of LiveCode. I though once a stack was saved in a legacy format, it would stay in that format. Is that not the case? Is there any way to prevent the file format change when saving a stack? Thanks, Chris -- Chris Sheffield Read Naturally, Inc. www.readnaturally.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: plugin stack automatically saving in new file format
Hi Chris, Am 18.12.2014 um 21:30 schrieb Chris Sheffield cs_livec...@icloud.com: I have a custom plugin stack that I use to quickly open frequently used stacks. It has a “save this stack” command in its closeStack handler. If I’m working in LC 7.0+ the stack is saving with the new file format, and therefore won’t open in pre-7.0 versions of LiveCode. I though once a stack was saved in a legacy format, it would stay in that format. Is that not the case? Is there any way to prevent the file format change when saving a stack? I think the stackfileversion global property will help here! Do something like this: ... ## Save current stackfileversion value: put the stackfileversion into tOldSFV ## See dictionary for other possible values set the stackfileversion to 5.5 save this stack ## Restore old value: set the stackfileversion to tOldSFV ... Thanks, Chris 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: plugin stack automatically saving in new file format
Excellent. Thank you, and thanks to Mike as well. I’ll implement that in my code. On Dec 18, 2014, at 2:39 PM, Klaus major-k kl...@major-k.de wrote: Hi Chris, Am 18.12.2014 um 21:30 schrieb Chris Sheffield cs_livec...@icloud.com: I have a custom plugin stack that I use to quickly open frequently used stacks. It has a “save this stack” command in its closeStack handler. If I’m working in LC 7.0+ the stack is saving with the new file format, and therefore won’t open in pre-7.0 versions of LiveCode. I though once a stack was saved in a legacy format, it would stay in that format. Is that not the case? Is there any way to prevent the file format change when saving a stack? I think the stackfileversion global property will help here! Do something like this: ... ## Save current stackfileversion value: put the stackfileversion into tOldSFV ## See dictionary for other possible values set the stackfileversion to 5.5 save this stack ## Restore old value: set the stackfileversion to tOldSFV ... Thanks, Chris 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 ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Livecode 7.0 Can't Play Video
Ray wrote: I've tried setting the dontUseQt all three ways (and that's pretty good for a boolean!) Three-way booleans are only available in LiveCode. It’s that powerful! ;) Jim Lambert ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Installer advice needed
On 12/18/2014, 12:48 PM, Marty Knapp wrote: One thing I have run into are people who've switched from PC to Mac. They don't always get disk images and will run the app off the disk image. It works the other way too. Windows users don't always get zip files, especially because Windows shows the contents of the zip in a window but doesn't extract the items (much like a dmg) and so they run the app from inside the zip file. Then it breaks. I hadn't thought to check the location of the app on disk, that's a good idea. -- 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: Livecode 7.0 Can't Play Video
On 12/18/2014, 1:45 PM, Ray wrote: I've tried setting the dontUseQt all three ways (and that's pretty good for a boolean!) I'm very impressed. :) -- 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: LC Server Unable To Retrieve File From DropBox?
Have you tried checking the result all over the place? There should be some info in there. Use a put statement to output the result into the browser window: if the result is not empty then put the result Also somewhere early in the sequence, set the script to report any other errors. You can do that with: set the errorMode to inline Then if there are actual errors happening, they'll show up in the browser too. If you aren't using a browser to trigger the server script, the output will show up wherever you're calling the script from, like the message box or whatever. On 12/18/2014, 12:24 PM, Scott Rossi wrote: Thanks Jacque. The frustrating thing is this all of this used to work without any issue. I don’t know if the problem is because of something DropBox changed, a server update by my web host (DreamHost), or my update to the 64 bit version of LC server. Simon Smith says he can access the test file from his pre 6.7 version of LC server, so the problem would seem to be my host or LC 6.7. Even then, accessing the file works fine on the 6.7 desktop, so I’m at a loss. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On Dec 18, 2014, at 10:05 AM, J. Landman Gay jac...@hyperactivesw.com wrote: On 12/17/2014, 2:14 PM, Scott Rossi wrote: Hi List: I¹m wondering if anyone has been using LC Server to serve files from DropBox. Since updating LC Server to 6.7 on my host (DreamHost), it now seems to be unable to retrieve files from DropBox. With the following script: put url https://dl.dropbox.com/s/6fpl18ihvt7ffbl/test-image.zip; into theFile put the length of theFile On a desktop system, this works as expected in the message box. On LC Server I get a value of 0. I'm not sure if this is related or not, but I had a similar issue with AirLaunch when Dropbox eliminated their old-style default Public folder. AirLaunch could no longer retrieve files using the new method where you can share a link from anywhere in DB. But it could still do it if the file was in my grandfathered Public folder. DB allows you to create an old-style Public folder if you don't already have one but they hide the information pretty well on their site. If you think this may be related to your problem and you don't yet have a Public folder, I can try to find the link for you. Once my customers created a Public folder and put the files in there, AirLaunch started working again. -- 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 -- 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
Offline usage of Linux LC-Python browser
A number of you have recently downloaded the Linux LC-Python Browser demo available at: http://www.howsoft.com/runrev/extensions/ (If you have visited this page recently, and you now see no changes - i.e. the old version is still in the browser cache - then please refresh the page.) The version you downloaded demonstrates on-line usage by navigating to a web page on the Internet. However, perhaps an even more common usage of an embedded browser is to display OFF-line web pages that are not on the Internet, e.g. when building a Help data base. Hence, there is now a second demo for download on the extensions page which demonstrates such off-line usage. The little fly in the ointment solved by the new demo is that to call an off-line web page in Python, you have to supply an absolute (complete) URL path in the script, even when the web page is in the same folder as the script (as in the demo), e.g: view.open(file:///home/bob/Desktop/_Proj_2014_V/Demos and Experiments/Python Browser Demo OFFLINE ONLY/demo/webpage.htm) Statements like this do NOT work: view.open(webpage.htm) view.open(file://webpage.htm) view.open(file:///webpage.htm) The additional off-line demo therefore obtains the current defaultFolder (the program/webpage folder) and updates each Python script with it before it is fired. ___ use-livecode mailing list use-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: LC Server Unable To Retrieve File From DropBox?
Thanks for this suggestion, which I should have tried. There is indeed an error that occurs immediately after getting the file: error Protocol https not supported or disabled in libcurl I assume the libcurl library is a hosting thing, and not an LC server thing. I did a little reading and from what I can tell libcurl is capable of supporting HTTPS, so now I’m trying to figure out if I need to somehow enable this on my (shared) DreamHost server? Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On Dec 18, 2014, at 3:07 PM, J. Landman Gay jac...@hyperactivesw.com wrote: Have you tried checking the result all over the place? There should be some info in there. Use a put statement to output the result into the browser window: if the result is not empty then put the result Also somewhere early in the sequence, set the script to report any other errors. You can do that with: set the errorMode to inline Then if there are actual errors happening, they'll show up in the browser too. If you aren't using a browser to trigger the server script, the output will show up wherever you're calling the script from, like the message box or whatever. On 12/18/2014, 12:24 PM, Scott Rossi wrote: Thanks Jacque. The frustrating thing is this all of this used to work without any issue. I don’t know if the problem is because of something DropBox changed, a server update by my web host (DreamHost), or my update to the 64 bit version of LC server. Simon Smith says he can access the test file from his pre 6.7 version of LC server, so the problem would seem to be my host or LC 6.7. Even then, accessing the file works fine on the 6.7 desktop, so I’m at a loss. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On Dec 18, 2014, at 10:05 AM, J. Landman Gay jac...@hyperactivesw.com wrote: On 12/17/2014, 2:14 PM, Scott Rossi wrote: Hi List: I¹m wondering if anyone has been using LC Server to serve files from DropBox. Since updating LC Server to 6.7 on my host (DreamHost), it now seems to be unable to retrieve files from DropBox. With the following script: put url https://dl.dropbox.com/s/6fpl18ihvt7ffbl/test-image.zip; into theFile put the length of theFile On a desktop system, this works as expected in the message box. On LC Server I get a value of 0. I'm not sure if this is related or not, but I had a similar issue with AirLaunch when Dropbox eliminated their old-style default Public folder. AirLaunch could no longer retrieve files using the new method where you can share a link from anywhere in DB. But it could still do it if the file was in my grandfathered Public folder. DB allows you to create an old-style Public folder if you don't already have one but they hide the information pretty well on their site. If you think this may be related to your problem and you don't yet have a Public folder, I can try to find the link for you. Once my customers created a Public folder and put the files in there, AirLaunch started working again. -- 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 -- 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: LC Server Unable To Retrieve File From DropBox?
Yay, progress. Sounds like a note to Dreamhost would fix it, they should be able to set it up for you. I'm pretty sure it's a server server thing. On December 18, 2014 5:49:20 PM CST, Scott Rossi sc...@tactilemedia.com wrote: Thanks for this suggestion, which I should have tried. There is indeed an error that occurs immediately after getting the file: error Protocol https not supported or disabled in libcurl I assume the libcurl library is a hosting thing, and not an LC server thing. I did a little reading and from what I can tell libcurl is capable of supporting HTTPS, so now I’m trying to figure out if I need to somehow enable this on my (shared) DreamHost server? Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On Dec 18, 2014, at 3:07 PM, J. Landman Gay jac...@hyperactivesw.com wrote: Have you tried checking the result all over the place? There should be some info in there. Use a put statement to output the result into the browser window: if the result is not empty then put the result Also somewhere early in the sequence, set the script to report any other errors. You can do that with: set the errorMode to inline Then if there are actual errors happening, they'll show up in the browser too. If you aren't using a browser to trigger the server script, the output will show up wherever you're calling the script from, like the message box or whatever. On 12/18/2014, 12:24 PM, Scott Rossi wrote: Thanks Jacque. The frustrating thing is this all of this used to work without any issue. I don’t know if the problem is because of something DropBox changed, a server update by my web host (DreamHost), or my update to the 64 bit version of LC server. Simon Smith says he can access the test file from his pre 6.7 version of LC server, so the problem would seem to be my host or LC 6.7. Even then, accessing the file works fine on the 6.7 desktop, so I’m at a loss. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On Dec 18, 2014, at 10:05 AM, J. Landman Gay jac...@hyperactivesw.com wrote: On 12/17/2014, 2:14 PM, Scott Rossi wrote: Hi List: I¹m wondering if anyone has been using LC Server to serve files from DropBox. Since updating LC Server to 6.7 on my host (DreamHost), it now seems to be unable to retrieve files from DropBox. With the following script: put url https://dl.dropbox.com/s/6fpl18ihvt7ffbl/test-image.zip; into theFile put the length of theFile On a desktop system, this works as expected in the message box. On LC Server I get a value of 0. I'm not sure if this is related or not, but I had a similar issue with AirLaunch when Dropbox eliminated their old-style default Public folder. AirLaunch could no longer retrieve files using the new method where you can share a link from anywhere in DB. But it could still do it if the file was in my grandfathered Public folder. DB allows you to create an old-style Public folder if you don't already have one but they hide the information pretty well on their site. If you think this may be related to your problem and you don't yet have a Public folder, I can try to find the link for you. Once my customers created a Public folder and put the files in there, AirLaunch started working again. -- 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 -- 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 -- 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: LC Server Unable To Retrieve File From DropBox?
Sadly, all the HTTPS/SSL stuff appears to be enabled (looking at phpinfo) and the chat support dude said “beyond our scope” so I’m not sure how to explain the problem to them, other than referring them to an output page. This server stuff gets quite tiresome. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On Dec 18, 2014, at 5:34 PM, J. Landman Gay jac...@hyperactivesw.com wrote: Yay, progress. Sounds like a note to Dreamhost would fix it, they should be able to set it up for you. I'm pretty sure it's a server server thing. On December 18, 2014 5:49:20 PM CST, Scott Rossi sc...@tactilemedia.com wrote: Thanks for this suggestion, which I should have tried. There is indeed an error that occurs immediately after getting the file: error Protocol https not supported or disabled in libcurl I assume the libcurl library is a hosting thing, and not an LC server thing. I did a little reading and from what I can tell libcurl is capable of supporting HTTPS, so now I’m trying to figure out if I need to somehow enable this on my (shared) DreamHost server? Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On Dec 18, 2014, at 3:07 PM, J. Landman Gay jac...@hyperactivesw.com wrote: Have you tried checking the result all over the place? There should be some info in there. Use a put statement to output the result into the browser window: if the result is not empty then put the result Also somewhere early in the sequence, set the script to report any other errors. You can do that with: set the errorMode to inline Then if there are actual errors happening, they'll show up in the browser too. If you aren't using a browser to trigger the server script, the output will show up wherever you're calling the script from, like the message box or whatever. On 12/18/2014, 12:24 PM, Scott Rossi wrote: Thanks Jacque. The frustrating thing is this all of this used to work without any issue. I don’t know if the problem is because of something DropBox changed, a server update by my web host (DreamHost), or my update to the 64 bit version of LC server. Simon Smith says he can access the test file from his pre 6.7 version of LC server, so the problem would seem to be my host or LC 6.7. Even then, accessing the file works fine on the 6.7 desktop, so I’m at a loss. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On Dec 18, 2014, at 10:05 AM, J. Landman Gay jac...@hyperactivesw.com wrote: On 12/17/2014, 2:14 PM, Scott Rossi wrote: Hi List: I¹m wondering if anyone has been using LC Server to serve files from DropBox. Since updating LC Server to 6.7 on my host (DreamHost), it now seems to be unable to retrieve files from DropBox. With the following script: put url https://dl.dropbox.com/s/6fpl18ihvt7ffbl/test-image.zip; into theFile put the length of theFile On a desktop system, this works as expected in the message box. On LC Server I get a value of 0. I'm not sure if this is related or not, but I had a similar issue with AirLaunch when Dropbox eliminated their old-style default Public folder. AirLaunch could no longer retrieve files using the new method where you can share a link from anywhere in DB. But it could still do it if the file was in my grandfathered Public folder. DB allows you to create an old-style Public folder if you don't already have one but they hide the information pretty well on their site. If you think this may be related to your problem and you don't yet have a Public folder, I can try to find the link for you. Once my customers created a Public folder and put the files in there, AirLaunch started working again. -- 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 -- 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
Scaling images and printing...
I have a problem with scaling images and printing. I have the following portion of code where tObj is an image and tPrecent is a number from 5 to 400. It's purpose is to scale an image to a % scale factor the user entered and it does so. put the fileName of tObj into tFile set the filename of tObj to empty set the fileName of tObj to tFile set the alwaysbuffer of tObj to true put the loc of tObj into tLoc set the width of tObj to (the width of tObj * (tPercent/100)) set the height of tObj to (the height of tObj * (tPercent/100)) --set the imagedata of tObj to the imagedata of tObj -- to fix the size for printing set the loc of tObj to tLoc If I then print the card with the image on it, the image is printed at it's original size rather than the scaled size. If I added the commented line set the imagedata of tObj to the imagedata of tObj back in to fix the size of the image to the scaled size, card prints with the image at the scaled size. Yea! However, with the set the imagedata of tObj to the imagedata of tObj line in the script, if the user resizes again, so the code above is called with a different scaling factor, the image vanishes (or appears to). The intent of the lines: put the fileName of tObj into tFile set the filename of tObj to empty set the fileName of tObj to tFile was to set the image back to its original size each time before scaling so that the scaling would always be against the original image size (not against it;s currently scaled size). Is there a better way to allow users to rescale an image from it's original size and still fix its size for printing? ___ use-livecode mailing list use-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: LC Server Unable To Retrieve File From DropBox?
Somebody here should know, we have some savvy server folks. Unfortunately I'm not one of them, but maybe someone will take pity...start sobbing really loud. On 12/18/2014, 8:05 PM, Scott Rossi wrote: Sadly, all the HTTPS/SSL stuff appears to be enabled (looking at phpinfo) and the chat support dude said “beyond our scope” so I’m not sure how to explain the problem to them, other than referring them to an output page. This server stuff gets quite tiresome. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On Dec 18, 2014, at 5:34 PM, J. Landman Gay jac...@hyperactivesw.com wrote: Yay, progress. Sounds like a note to Dreamhost would fix it, they should be able to set it up for you. I'm pretty sure it's a server server thing. On December 18, 2014 5:49:20 PM CST, Scott Rossi sc...@tactilemedia.com wrote: Thanks for this suggestion, which I should have tried. There is indeed an error that occurs immediately after getting the file: error Protocol https not supported or disabled in libcurl I assume the libcurl library is a hosting thing, and not an LC server thing. I did a little reading and from what I can tell libcurl is capable of supporting HTTPS, so now I’m trying to figure out if I need to somehow enable this on my (shared) DreamHost server? Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design -- 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: LC Server Unable To Retrieve File From DropBox?
On 12/18/2014, 8:05 PM, Scott Rossi wrote: Sadly, all the HTTPS/SSL stuff appears to be enabled (looking at phpinfo) and the chat support dude said “beyond our scope” so I’m not sure how to explain the problem to them, other than referring them to an output page. Found this: http://curl.haxx.se/docs/faq.html#curl_1_SSL_is_disabled_https The copy of libCurl wasn't built with support for https. (That sounds kind of unlikely for a hosting company.) But maybe it's something simpler: http://stackoverflow.com/questions/6884669/curl-1-protocol-https-not-supported-or-disabled-in-libcurl Which involves a spurious space or other typo in a URL. A couple of other links mention having 2 copies of libCurl in the path, and the wrong one getting triggered. -- 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: LC Server Unable To Retrieve File From DropBox?
Scott and Jacque I believe that LiveCodeServer includes a version of LibCurl and it looks likley to be the cause of the problem. I only have the latest RC version of LiveCode to hand so it may be worth trying my test script out of the version you are running. I ran this script with LiveCodeServer: #Start Code #!livecode set the outputLineEndings to lf put the Version return put http: the number of words of URL http://bbc.co.uk; put return put https: the number of words of URL https://github.com; put return #End Code and got this: #Start Output 7.0.1-rc-4 http: 4407 https: 0 #End Output I then ran the same code modified to run in the message box: #Start Code put the Version return into tTemp put http: the number of words of URL http://bbc.co.uk; after tTemp put return after tTemp put https: the number of words of URL https://github.com; after tTemp put return after tTemp put tTemp #End Code and got this: #Start Output 7.0.1-rc-4 http: 4407 https: 1068 #End Output If you can confirm this I will file a bug report. Regards Peter ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: LC Server Unable To Retrieve File From DropBox?
I have submitted a bug report - Bug 14262 http://quality.runrev.com/show_bug.cgi?id=14262 Regards Peter ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode