Re: Can anyone confirm this possible bug ?

2012-08-29 Thread Alex Tweedly
That's it Mike ! Thank you !! I had Script Debug Mode off - unintentionally, and had forgotten there was such a thing. Whn I turned it back on, then the error appeared as expected in the bottom pane of the editor window. No idea what has happened to my error window that should appear when

DatePicker: Installation instructions

2012-08-29 Thread FlexibleLearning
The installation instructions (inadvertantly omitted) are now included in the download. Copies are available from the DatePicker resource center if you need them... www.FlexibleLearning.com/datepicker/dprc Hugh Senior FLCo ___ use-livecode mailing

Re: Can anyone confirm this possible bug ?

2012-08-29 Thread Mike Bonner
The name of the stack is revErrorDisplay you might check the openstacks to see if its there somewhere. Maybe it has been minimized? Though mine un-minimizes on each error, so off the screen is more likely. It doesn't close between errors and is persistent in whatever location its at. On Wed, Aug

Re: JSON

2012-08-29 Thread Andrew Henshaw
There is a stack on RevOnline that might help, I use it in an app and it works fine for my needs. http://revonline2.runrev.com/stack/82/LibJson-1-0b Andy On 29 Aug 2012, at 13:16, Rod McCall rodmccall...@googlemail.com wrote: Dear All, I am currently developing a server application for a

Re: Mobile mapping with native browser control

2012-08-29 Thread ha...@exformedia.se
I have an app with Google maps that got approved recently, as mergMK doesn't support way finding yet... ...but I don't have a screenshot where the map is displayed. To me it sounds like you are not allowed to use google maps in a screenshot to promote your app as that is considered old and you

Re: JSON

2012-08-29 Thread Richard Gaskin
Rod McCall wrote: I am currently developing a server application for a car simulator and part of it may use JSON. I'd appreciate any pointers to tutorials or even links to libraries on how to use JSON in LiveCode, therefore if you have any tips in this direction please let me know. . Otherwise I

Re: JSON

2012-08-29 Thread Andrew Kluthe
Working with JSON a whole lot with MongoDB over a REST Interface. Mark Smith's (RIP) libJSON is really nice. As easy as arrayToJson(pArray) and jsonToArray(pJSON) On Wed, Aug 29, 2012 at 9:27 AM, Richard Gaskin ambassa...@fourthworld.com wrote: Rod McCall wrote: I am currently developing a

Re: Using Stacks With LiveCode Server

2012-08-29 Thread Gregory Lypny
Hello everyone, When I try put the stacksInUse it comes up empty. Could there be something missing in y httpd.conf file (Mac OS X Mountain Lion)? The only two lines that I have added under Directory /Library/WebServer/Documents are AddHandler livecode-script .lc

Re: DatePicker: Installation instructions

2012-08-29 Thread Andrew Kluthe
Hacked together my own installation method. :) Not as easy to upgrade it as a substack of my application loader, but it makes using it throughout all my farm programs easy as pie. Once, it is registered and unlocked can I just save that registered copy of the stack and use it where I need it or

Re: Font differences between IOS versions

2012-08-29 Thread ha...@exformedia.se
A word of caution... ...if YOU install fonts YOU need to license them... Håkan Liljegren Exformation Designer http://www.exformedia.se/ 27 aug 2012 kl. 23:29 skrev Howard Bornstein: There are quite a few fonts that were not supported in earlier versions of IOS. I am targeting my app to run on

Re: Using Stacks With LiveCode Server

2012-08-29 Thread Mike Bonner
If other things are working (puts, etc) then returning empty on that line means there are no stacks in use. Here is a stack you can test with. https://dl.dropbox.com/u/11957935/mytest.livecode It has 1 handler in the stack script, save it next to a test lc script. THe file is saved in 2.7 legacy

Re: Using Stacks With LiveCode Server

2012-08-29 Thread Gregory Lypny
Hi Phil, Thanks, but no go. I put the stack on my desktop and used start using /Users/gregory/Desktop/ParetoServer (Legacy 2.7).livecode and from the name of the stack, you can see that I took Mike Bonner's advice and saved it in legacy format. Gregory On Wed, Aug 29, 2012, at 10:27

Re: JSON

2012-08-29 Thread Richard Gaskin
Absolutely. If you're working with a setup that can use MongoDB, it's a wonderfully flexible store. Where I stumbled into a fascination with encoded arrays was in CGI contexts on shared servers, where we don't usually have the luxury of an always-on process like MongoDB. With

Re: Using Stacks With LiveCode Server

2012-08-29 Thread Mike Bonner
Is it possible that the web server user doesn't have read permissions on the stack file? Also, though its probably correct in your lc server script, it should be start using stack /path/to/stack not start using /path/to/stack On Wed, Aug 29, 2012 at 8:46 AM, Gregory Lypny

Re: Font differences between IOS versions

2012-08-29 Thread Howard Bornstein
Hmmm, these are Apple's fonts which are included in IOS 5.x and IOS 4.3 for the iPad. Do you believe I have to have an official license from Apple to use their fonts in their products? On Wed, Aug 29, 2012 at 7:45 AM, ha...@exformedia.se ha...@exformedia.sewrote: A word of caution... ...if YOU

RE: Mobile mapping with native browser control

2012-08-29 Thread Ralph DiMola
Håkan, I had the URL displayed at the top of the screen. This might have irked them. I was using Google map to find directions also. I Used mergMK and resubmitted. After app get approved I will try to slip the browser version back in. Thanks! Ralph DiMola IT Director Evergreen Information

RE: Resizing a Text Field

2012-08-29 Thread Ralph DiMola
Peter, I have a routine that will resize a text field with 1 or more lines(also works for buttons). Have you solved the problem yet? If not I will send it to you. It's part of my mobile resizing library. Ralph DiMola IT Director Evergreen Information Services rdim...@evergreeninfo.net

Re: Using Stacks With LiveCode Server

2012-08-29 Thread Andre Garzia
Gregory, You can't place files outside of the webserver root folder because that would be a security risk. You don't want web clients to access your private data from your home folder. Everything that the web server serves is inside the DOCUMENT_ROOT. cheers andre On Wed, Aug 29, 2012 at 12:19

Re: Using Stacks With LiveCode Server

2012-08-29 Thread Mike Bonner
I can get it to work outside my web folder (from my desktop) but I have permissions set so that owner is me with full permissions (rwx) ,group _www is read (r) (_www on moutain lion server is the www group) it would also matter what permissions are on the containing folder of course. It is most

Re: Using Stacks With LiveCode Server

2012-08-29 Thread Mike Bonner
Ok, my mistake, I can't get it to read from my desktop either so ignore this! Apparently it was reading the old file from the directory also (which is just plain weird.) I did create a folder in the server root called stackfiles, made sure the permissions were correct and was able to hit it from

OT: Design Nerd Flash Cards

2012-08-29 Thread Mark Wieder
C is for Crash Unfortunately L is for Layer instead of you-know-what. http://designtaxi.com/news/353412/ABC-Flash-Cards-For-Design-Savvy-Hipster-Kids/ -- Mark Wieder mwie...@ahsoftware.net ___ use-livecode mailing list

Re: Problem resizing a stack

2012-08-29 Thread Mark Wieder
Pete- Several things will turn breakpoints off and put the IDE's debugger back into run mode. Debugging through system stacks (any stack with a name starting with rev, the message box, etc), stepping through send and dispatch commands, etc. There's some serious hackage in PowerDebug to handle

Re: Can anyone confirm this possible bug ?

2012-08-29 Thread Mark Wieder
Bob- I have found in the past, although mush less nowadays that the debugger would turn itself off under certain conditions, like certain script errors. I never figured out why, but updates and LC versions later it doesn't seem to happen anymore. I think once in the last 6 months it

Re: Can anyone confirm this possible bug ?

2012-08-29 Thread Bob Sneidar
That is probably why I have not seen it for a long time. I use Powerdebug and I love it! Bob On Aug 29, 2012, at 10:10 AM, Mark Wieder wrote: Bob- I have found in the past, although mush less nowadays that the debugger would turn itself off under certain conditions, like certain

Re: DatePicker: Installation instructions

2012-08-29 Thread FlexibleLearning
No need to re-register each time you deploy. Once the stack is registered it can be embedded with no further action... set the mainStack of stack flcDatePicker to myAppsMainStack The original will still be in the plugins folder or whever you have stored it. Best regards, Hugh Senior FLCo

Pasting to a field from Internet Explorer 8

2012-08-29 Thread dfepstein
I have for a long time pasted text copied from other programs to a field by using a script like set the htmlText of [destination chunk] to clipboardData[html] After a recent upgrade to Windows 7 and Internet Explorer 8 this does not work for text copied from Internet Explorer; pasting yields

Re: Using Stacks With LiveCode Server

2012-08-29 Thread Gregory Lypny
Thanks Andre, Mike, and Phil, I have it straight now. Stacks go in the web server's root and only legacy stacks will work. Thank you also for your patience. My Internet coding abilities are primitive to say the least. If only the RunRev people would write documentation with some clarity.

Re: Pasting to a field from Internet Explorer 8

2012-08-29 Thread Bob Sneidar
I've run into similar clipboard weirdnesses with the Livecode clipboard. Go figure. Someone wrote a Clipboard Inspector stack that may prove useful in finding out where things are going wrong. Also note, that Microsoft products, specifically Office products use their own clipboard format that

Re: Problem resizing a stack

2012-08-29 Thread Peter Haworth
Thanbks Mark. SOunds like Powedebug would be a great hep - where can I get it? But I'm still puzzled why setting the liveresize of a stack would cause all these issues - that doesn;t seem to fit any of the situations where debug doesn't return errors. All I know is that without that statement,

Re: Using Stacks With LiveCode Server

2012-08-29 Thread Bob Sneidar
Not to minimize your point, it is a valid one, but Runrev has limited resources, and if they really fully documented everything as well as we would like, and make it as easily accessible as we would like, we might not see a lot of development work getting done. As for the web root access,

ShutDownRequest

2012-08-29 Thread Gregory Lypny
Hello everyone, I have a handler in a library stack that handles the shutDownRequest message. It enters logs the date and time when a student click a Sign Out button in a stack that makes use of the library. However, I don't think I am catching the message when a student clicks the close

Re: Problem resizing a stack

2012-08-29 Thread Bob Sneidar
Why do it there? Can you put it in the opencard handler of the script of the first card? I have found that some things don't work as expected in preOpenstack. I would imagine changing the properties of an open stack would cause problems, since the stack is not technically open yet. If you try

Re: Mobile mapping with native browser control

2012-08-29 Thread Monte Goulding
Do you mean a route from a to b? I think there's iOS 6 stuff for that but it would also be possible to use the google API and then draw on the map using a polyline. -- M E R Goulding Software development services mergExt - There's an external for that! On 30/08/2012, at 12:25 AM,

Re: Problem resizing a stack

2012-08-29 Thread Bob Sneidar
Belay my last just noticed you were talking about preOpenCard. I think my eyes are dyslexic. Why do it there? Can you put it in the opencard handler of the script of the first card? I have found that some things don't work as expected in preOpenstack. I would imagine changing the

Appending Data Via FTP

2012-08-29 Thread Gregory Lypny
Hello everyone, Is it okay to append data to a file on a remote Mac using put return theLineOfData after URL (ftp://; pathToTheFile) where, theLineOfData is a single line of data? I figure that's safer than downloading all of the data from the URL into a variable, appending the new

RE: Mobile mapping with native browser control

2012-08-29 Thread Ralph DiMola
Monte, Håkan had an app approved that mapped using the browser control. I submitted again with mergMK. If it gets approved I will try to slip the browser control back in. That's my plan. Ralph DiMola IT Director Evergreen Information Services rdim...@evergreeninfo.net -Original

Re: Appending Data Via FTP

2012-08-29 Thread Richard Gaskin
Gregory Lypny wrote: Is it okay to append data to a file on a remote Mac using put return theLineOfData after URL (ftp://; pathToTheFile) where, theLineOfData is a single line of data? I figure that's safer than downloading all of the data from the URL into a variable, appending

Re: Mobile mapping with native browser control

2012-08-29 Thread Monte Goulding
Ok, hopefully one day I can take mergMK cross platform and make the decision to use it in preference to the google API in a web view easier. If targeting iOS only it's certainly much easier to get an interactive map working so I look forward to taking that to android. -- M E R Goulding

Re: Problem resizing a stack

2012-08-29 Thread Peter Haworth
Bob, You're missing the point. Everything works exactly as coded when the stack is not run as a plugin. The problems I've described only occur when the stack is run as a plugin. It's mtto anyway becasue I'm not executing that code anywhere now since I that property only needs to be set once.

Re: libURLDownLoadToFile

2012-08-29 Thread Peter Haworth
Still no joy with this. I have switched over to using get URL and writing it to a local disk file. That works with exactly the same URL/local filename but I don;t get the opportunity to update a progress bar. Pete lcSQL Software http://www.lcsql.com On Tue, Aug 28, 2012 at 3:57 PM, Peter

Re: libURLDownLoadToFile

2012-08-29 Thread Richard Gaskin
Peter Haworth wrote: Still no joy with this. I have switched over to using get URL and writing it to a local disk file. That works with exactly the same URL/local filename but I don;t get the opportunity to update a progress bar. I don't know why libUrlDownToFile isn't working for you, but

Re: libURLDownLoadToFile

2012-08-29 Thread Alex Tweedly
Create a new mainstack create a button in it put the following script into it -- that should work change the file name to match the real example --- see if that works change the URL to match your real example -- see if that works. Then uncross your fingers :-) -- Alex. -- all

Re: Mobile mapping with native browser control

2012-08-29 Thread Mark Wieder
Monte- Wednesday, August 29, 2012, 2:43:49 PM, you wrote: Ok, hopefully one day I can take mergMK cross platform and make the decision to use it in preference to the google API in a web view easier. If targeting iOS only it's certainly much easier to get an interactive map working so I look

Re: libURLDownLoadToFile

2012-08-29 Thread Peter Haworth
Thanks Alex and Richard. This is now working just fine. I made so many changes, I really lost track of what I might have been doing wrong before. I plan on keeping my fingers crossed permanently! Pete lcSQL Software http://www.lcsql.com On Wed, Aug 29, 2012 at 5:08 PM, Alex Tweedly

Re: Mobile mapping with native browser control

2012-08-29 Thread Magicgate Software - Skip Kimpel
Has anybody done any geo-fencing type of applications? SKIP ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: Mobile mapping with native browser control

2012-08-29 Thread Colin Holgate
Chapter 6 in my book includes making a reminders app that checks your current location against a set of other locations, to then list the reminders in order of distance from where you are. But, such apps would only work if they are open, I'm not sure if it's possible to trigger an event if the

Re: Mobile mapping with native browser control

2012-08-29 Thread Magicgate Software - Skip Kimpel
Thanks Colin SKIP On Wed, Aug 29, 2012 at 10:21 PM, Colin Holgate co...@verizon.net wrote: Chapter 6 in my book includes making a reminders app that checks your current location against a set of other locations, to then list the reminders in order of distance from where you are. But,

Re: ShutDownRequest

2012-08-29 Thread J. Landman Gay
On 8/29/12 1:29 PM, Gregory Lypny wrote: Hello everyone, I have a handler in a library stack that handles the shutDownRequest message. It enters logs the date and time when a student click a Sign Out button in a stack that makes use of the library. However, I don't think I am catching the