What does 'shadows' mean?

2011-10-10 Thread Graham Samuel
Working on a script I've been using for some time, I just got a compilation error for the local definition of a variable called t1. The error was: local: name shadows another variable or constant The only meaning I can put to this is that I had already defined this variable either as a local,

Re: [TEASER] It is Alive! SFTP support in LiveCode

2011-10-10 Thread Bernard Devlin
Hi Stephen, I am aware of Mark's library. I use it in one application. Mark's library is very well implemented. And thanks for mentioning it in this context (there may be others seeking to use curl). I am looking to the day where I will want to take that application to run on iOS and Android.

Re: What does 'shadows' mean?

2011-10-10 Thread Alex Tweedly
You're right - it does (normally) mean that the variable you are trying to declare shares a name with a previously declared variable. No idea why you're getting it in this case. Poor ideas : - If you like, send me the script and I'll look to see if it fails here - try it in an earlier (or

Re: What does 'shadows' mean?

2011-10-10 Thread Alex Tweedly
Hmmm - a bit of a long shot, but worth trying. I recently discovered that even when 'explicit variables' is turned on, you don't always need to declare a variable !! I thought this was a bug, and reported it, but the official reply was that this is intended behaviour. Seems wrong to me,

RE: What does 'shadows' mean?

2011-10-10 Thread Ralph DiMola
I have had this problem in the past and still do now and again. It seems to rear its ugly head when doing a lot of variable adding/deleting/renaming during development, but I have not been able to identify the exact circumstances to reproduce. I am running on the IDE on XP. Sometimes closing LC

Re: What does 'shadows' mean?

2011-10-10 Thread Colin Holgate
If you read the article I posted the link to, it could be that you put a stack into use after a while. Only then would the variable be shadowing. On Oct 10, 2011, at 11:26 AM, Ralph DiMola wrote: Sometimes closing LC will fix it, other times the only way I found to fix it was to rename the

Questions About Uploading Files to an FTP Server

2011-10-10 Thread Gregory Lypny
Hello everyone, Still tweaking an app to allow my students to upload files to an FTP server and save a log of their submissions. I would like to restrict the size of files they upload, and want to know whether the way to do that is to first set the defaultFolder to the folder in which the

Re: What does 'shadows' mean?

2011-10-10 Thread Jim Ault
On Oct 10, 2011, at 11:26 AM, Ralph DiMola wrote: I have had this problem in the past and still do now and again. It seems to rear its ugly head when doing a lot of variable adding/deleting/ renaming during development, but I have not been able to identify the exact circumstances to

Re: How to play a sound file in iOS?

2011-10-10 Thread Bill Vlahos
Jacque, Where are the alert sounds stored on the iOS devices? It would be better to just use the alert and other sounds already on the phones instead of bringing it with the app. I don't see it specifically in the specialFolderPath function for iOS. Thanks, Bill Vlahos On Oct 9, 2011, at

Re: New iOS App in Store

2011-10-10 Thread Ben Rubinstein
On 07/10/2011 21:14, Colin Holgate wrote: On Oct 7, 2011, at 3:22 PM, Randy Hengst wrote: Waiting for Review …. Oct 1st. In Review …. Oct 6 at 11:26 a.m. Processing for Sale …. Oct 6 3:20 p.m. Ready for Sale …. Oct 6 4:30 p.m. What date did you select for when the app should be available?

RE: How to play a sound file in iOS?

2011-10-10 Thread John Dixon
Read page 31 of the iOS release notes and all will be revealed..:-) Subject: Re: How to play a sound file in iOS? From: bvla...@mac.com Jacque, Where are the alert sounds stored on the iOS devices? It would be better to just use the alert and other sounds already on the phones instead

Code signing (details sought for LC implementation on Windows desktop)

2011-10-10 Thread Mark Powell
Have read a lot in the archives about code signing, but have not actually found any thread that explains LC implementation. Is there a central location somewhere that explains how to do this with LiveCode? I would be using Verisign certificates, and my typical apps are updater+engine, on

Another examples of the screen refresh problem on the Mac?

2011-10-10 Thread James Hurley
I suspect this is a problem peculiar to the Mac. When I run: set the lockmoves to true move grc Oval to tPoints without waiting move grc rectangle to tNewPoints without waiting set the lockmoves to false The oval moves reasonably smoothly, but the rectangle take several abrupt

Re: Another examples of the screen refresh problem on the Mac?

2011-10-10 Thread Richmond Mathewson
On 10/10/2011 10:22 PM, James Hurley wrote: I suspect this is a problem peculiar to the Mac. When I run: set the lockmoves to true move grc Oval to tPoints without waiting move grc rectangle to tNewPoints without waiting set the lockmoves to false The oval moves reasonably

Another examples of the screen refresh problem on the Mac?

2011-10-10 Thread James Hurley
I should have said that this is a Mac OS 10 problem. I suspect this is a problem peculiar to the Mac. When I run: set the lockmoves to true move grc Oval to tPoints without waiting move grc rectangle to tNewPoints without waiting set the lockmoves to false The oval moves

Re: New iOS App in Store

2011-10-10 Thread Colin Holgate
In the case I was thinking of, the app had a release date set to make it coincide with publicity for the app. It sat in the queue with no change of status for two weeks, then on the release date it went into review, and was ready for sale 36 minutes later. On Oct 10, 2011, at 2:08 PM, Ben

Objects in a browser window

2011-10-10 Thread Graham Samuel
I'm taking up suggestions from this list that I use a browser object to import bitmap images in formats that LC doesn't handle directly, but it's harder than I thought (I've never used a browser object before). My primary delivery target is PC even tho I develop on a Mac. I have got as far as

Re: What does 'shadows' mean?

2011-10-10 Thread Graham Samuel
Thanks to all who replied. My problem was solved by restarting the IDE, and I think Colin's explanation was a very clear one - it is a bug IMO but perhaps not a very serious one. On Mon, 10 Oct 2011 09:37:48 -0400, Colin Holgate co...@verizon.net wrote: Here you go, an entire article on the

Re: Another examples of the screen refresh problem on the Mac?

2011-10-10 Thread Ken Ray
On Oct 10, 2011, at 2:22 PM, James Hurley wrote: I suspect this is a problem peculiar to the Mac. When I run: set the lockmoves to true move grc Oval to tPoints without waiting move grc rectangle to tNewPoints without waiting set the lockmoves to false The oval moves

Re: Another examples of the screen refresh problem on the Mac?

2011-10-10 Thread James Hurley
Ken, Thanks for your careful test. This is driving me nuts and I can't find a work-around. I think the problem is RR not doing a screen refresh after each of the MULTIPLE steps. (I have always, in OS 10) had to do a refresh after EACH step. Would you please try this for me: on mouseUp put

Re: Another examples of the screen refresh problem on the Mac?

2011-10-10 Thread Bob Sneidar
Ok I get the first button moving smoothly and the second button jerky. If I run each move individually without the other, then both are smooth. The horizontal move leaves vertical line artifacts, which is not good. I get the same effect even after commenting out the lock moves/unlock moves

Re: Another examples of the screen refresh problem on the Mac?

2011-10-10 Thread Bob Sneidar
A variation of this script shows that lockmoves is getting set to false before the first move command. Given: on mouseUp put 200 into x put 200 into y put 2 into dx put 1 into dy repeat 100 times put x,y cr after tPoints add dx to x

Re: Another examples of the screen refresh problem on the Mac?

2011-10-10 Thread James Hurley
Bob, Here is what I get on the lockMove messages. (I'm on the email digest so I have trouble copying your message.) on mouseUp put 200 into x put 200 into y put 2 into dx put 1 into dy repeat 100 times put x,y cr after tPoints add dx to x end repeat put 200

Re: Another examples of the screen refresh problem on the Mac?

2011-10-10 Thread BNig
Hi Bob, wouldn't put comma and the lockmoves after mmsg be rather put comma the lockmoves after mmsg ? in your version of the code you ask for the logical AND and this returns false Kind regards Bernd -- View this message in context:

Re: Another examples of the screen refresh problem on the Mac?

2011-10-10 Thread BNig
Hi Jim, I sent you a stack that decreases the syncrate and has a self-calling routine with lock screen, wait x milliseconds unlock screen that smoothes the movement of the two graphics moving along a path of 180 points considerably. Kind regards Bernd -- View this message in context:

Re: Another examples of the screen refresh problem on the Mac?

2011-10-10 Thread Bob Sneidar
DOH! of course. Bob On Oct 10, 2011, at 4:47 PM, BNig wrote: Hi Bob, wouldn't put comma and the lockmoves after mmsg be rather put comma the lockmoves after mmsg ? in your version of the code you ask for the logical AND and this returns false Kind regards Bernd --

Re: Another examples of the screen refresh problem on the Mac?

2011-10-10 Thread Bob Sneidar
yeah I had a brain fart and used AND instead of . DOH! I wonder then why ANDING comma and true does not produce an error? Adding 1 to green certainly does! I guess the logic is, All that is not true is false. Bob On Oct 10, 2011, at 4:44 PM, James Hurley wrote: Bob, Here is what I get

Re: Another examples of the screen refresh problem on the Mac?

2011-10-10 Thread Mark Wieder
Bob- Monday, October 10, 2011, 4:59:15 PM, you wrote: I guess the logic is, All that is not true is false. Didn't Gödel disprove that? -- -Mark Wieder mwie...@ahsoftware.net ___ use-livecode mailing list use-livecode@lists.runrev.com Please

Re: Another examples of the screen refresh problem on the Mac?

2011-10-10 Thread Ken Ray
On Oct 10, 2011, at 6:04 PM, James Hurley wrote: Ken, Thanks for your careful test. This is driving me nuts and I can't find a work-around. I think the problem is RR not doing a screen refresh after each of the MULTIPLE steps. (I have always, in OS 10) had to do a refresh after EACH

Re: Another examples of the screen refresh problem on the Mac?

2011-10-10 Thread James Hurley
Ken, The script I sent you was just an example and I simplified what I ultimately would like to try. I would like, for example, to simulate dynamical motion, for example projectile motion, and that requires fairly close spacing of the points. Or motion around an elliptical orbit. Generally

Re: Another examples of the screen refresh problem on the Mac?

2011-10-10 Thread Ken Ray
I just got a personal note from Benrd Niggemann who has experimented with a number of parameters affecting the smoothness of the motion. He has found, and I I have just confirmed it myself, that setting the syncrate (I was totally unaware of such a property) to 6 rather than the default of

Re: Code signing (details sought for LC implementation on Windows desktop)

2011-10-10 Thread Bill Vlahos
Mark, There isn't anything in particular about what LC can do regarding code signing. You code sign LC apps just like any other application. It is a tedious process. I have some information in the archives that will help but have not documented a step by step process. I hope to do that at some

Re: Another examples of the screen refresh problem on the Mac?

2011-10-10 Thread J. Landman Gay
On 10/10/11 6:04 PM, James Hurley wrote: Ken, Thanks for your careful test. This is driving me nuts and I can't find a work-around. The workaround might be LiveCode 5.0, where animation has been greatly enhanced. That said, I have a script that moves two objects together that also

Re: Another examples of the screen refresh problem on the Mac?

2011-10-10 Thread Mark Wieder
Ken- Monday, October 10, 2011, 7:58:39 PM, you wrote: that setting the syncrate (I was totally unaware of such a I wasn't aware of syncRate either! That makes a lot more sense than when I first read it as syn-crate. -- -Mark Wieder mwie...@ahsoftware.net

Re: How to play a sound file in iOS?

2011-10-10 Thread Bill Vlahos
John, Sorry if I'm being dense but I don't see anything on page 31 that will help me. Bill Vlahos On Oct 10, 2011, at 12:17 PM, John Dixon wrote: Read page 31 of the iOS release notes and all will be revealed..:-) Subject: Re: How to play a sound file in iOS? From: bvla...@mac.com

[ANN] minimal facebook library available

2011-10-10 Thread Andre Garzia
Folks, Thanks to those that contributed with my little fundraising campaign, I am now able to release a minimal facebook library. There is still much work to be done and I don't plan to stop it. You can learn more about my Social Network Library Suite here:

Re: How to play a sound file in iOS?

2011-10-10 Thread J. Landman Gay
On 10/10/11 10:20 PM, Bill Vlahos wrote: John, Sorry if I'm being dense but I don't see anything on page 31 that will help me. I didn't look up the page number, but somewhere in the release notes it states that iOS doesn't have a default alert sound. If you want one, your app has to provide

Re: Another examples of the screen refresh problem on the Mac?

2011-10-10 Thread Colin Holgate
I just tried some values, and it appears that the documentation is wrong. The example given of setting it to 12, makes you think that it's 12 frames per second. Saying that 20 is the default and that decreasing the rate will reduce CPU load, but may make things jerky, confirms that the help is

Prohibiting direct file downloads

2011-10-10 Thread J. Landman Gay
I'm not sure if this is OT or not. I want a web page to deliver a file when the user clicks on a download link, but I don't want the file delivered if the direct URL is entered into the browser location bar. I have a CGI that provides access to a download page for only those who are

Re: Prohibiting direct file downloads

2011-10-10 Thread Andre Garzia
Jacque, There are many ways to do this. The easiest is with .htaccess. You can make your .htaccess check for the HTTP_REFERRER and see if the download is coming from your own site, if it is not, then, it can redirect somewhere. Check out this:

Re: Prohibiting direct file downloads

2011-10-10 Thread J. Landman Gay
On 10/10/11 11:04 PM, Andre Garzia wrote: Jacque, There are many ways to do this. The easiest is with .htaccess. You can make your .htaccess check for the HTTP_REFERRER and see if the download is coming from your own site, if it is not, then, it can redirect somewhere. Thanks Andre, I thought

Re: Another example of the screen refresh problem on the Mac?

2011-10-10 Thread James Hurley
Message: 26 Date: Mon, 10 Oct 2011 22:16:04 -0500 From: J. Landman Gay jac...@hyperactivesw.com To: How to use LiveCode use-livecode@lists.runrev.com Subject: Re: Another examples of the screen refresh problem on the Mac? Message-ID: 4e93b4f4.1010...@hyperactivesw.com Content-Type:

Re: Another example of the screen refresh problem on the Mac?

2011-10-10 Thread Colin Holgate
Did you read my message yet? On Oct 11, 2011, at 12:29 AM, James Hurley wrote: ...or there is no visible change on the screen--only the final location is seen. And for reasons that I do not understand, setting the syncRate to 6 (Brnd's suggestion) improves the smoothness of the motion.