Re: Delivering Files with lcServer ?

2014-04-24 Thread Scott Rossi
Thanks Simon. This will likely do what I need. But I'd really like to know how to do this with lcserver. That's the point, right? Not to have to rely on PHP? :-) What's the LC equivalent of what readfile() is doing below? Thanks & Regards, Scott Rossi Creative Director Tactile Media, UX/UI

Re: Delivering Files with lcServer ?

2014-04-24 Thread Simon Smith
Hi Scott I have done something similar in php before, where a page loads, and then the file starts downloading a few seconds later, without leaving the main page. The main page contains a refresh tag that loads the script that starts the download: and then the sendfile.php consists of: Hope

Re: MS SQL

2014-04-24 Thread Robert Sneidar
Just a heads up, remember that SQL servers have a timeout on connections, so when you open a database, remember to close it after you are done. If it has been idle for any length of time, Livecode still thinks it is open, but the SQL server has probably terminated the connection. This has reso

Re: MS SQL

2014-04-24 Thread Robert Sneidar
Oh THAT is what does that! I usually just convert the email to plain text before posting to the list. Maybe a good practice for all? Bob S On Apr 22, 2014, at 7:34 PM, J. Landman Gay wrote: > On 4/22/14, 6:49 PM, Kay C Lan wrote: >> I don't know if it's just your email client but what I'm se

Re: Delivering Files with lcServer ?

2014-04-24 Thread Scott Rossi
Hi Peter: I started setting up a test page to demonstrate, and now I can't get anything to work, not even my single page test which worked a dozen times yesterday. [sigh] Not sure what changed. At any rate, I've seen PHP examples that involve setting content headers to facilitate a file transfer

Re: Really basic SQLite questions

2014-04-24 Thread Robert Sneidar
My experience with SQL is that there is a timeout if a connection has been idle for a certain period of time. Perhaps this is not a problem with sqLite, but as a matter of good development habits, get all the info you need from the user BEFORE opening the connection, so that there is no chance o

Re: Really basic SQLite questions

2014-04-24 Thread Peter Haworth
Hi James, I'd leave them open until you quit the app. You might also think about using the ATTACH command for the second and subsequent connections so they'll all be open on the same connection. This allows you to, for example, define JOINs across databases, although you'll need to change the refer

Re: RELEASE LiveCode 6.6.2 RC1

2014-04-24 Thread Mike Kerner
no, read the first email when the announcement is made. On Thu, Apr 24, 2014 at 5:17 PM, J. Landman Gay wrote: > On Apr 24, 2014, at 3:15 PM, Mike Kerner > wrote: > >> >> subject says 6.6.2, email says 6.6.1 >> > > I read it as: "I am unable to launch an iOS app [built with 6.6.2] that > builds

Re: Really basic SQLite questions

2014-04-24 Thread Mike Kerner
1's easy, so I'll answer that: sqlite is a text file that is formatted so that it can be treated like a regular db. So open when you start and close when you're done. I have had numerous cases on mobile where the app does not get to close the db before it crashes for whatever reason with no ill e

Really basic SQLite questions

2014-04-24 Thread James Hale
1. Open and close database connections. When? Obviously you need to open a connection to access a database, but when do you need to close it? Does it close without you doing anything? I have the need to connect to four db's while running my app. Access to a couple of these is sporadic but constant

[OT] PhET Interactive Simulations

2014-04-24 Thread Alejandro Tejada
I would like to run many of these wonderful simulations: http://phet.colorado.edu/en/simulations/category/new but they are locking up (crashing?) and each time, I have to terminate Java in Lubuntu and Firefox falls in a awful recursion after visiting *.jnlp webpages... :( Please report if you ha

Re: [Enhancement Request] Open and BackUp in LiveCode DP and RC

2014-04-24 Thread Kay C Lan
On Fri, Apr 25, 2014 at 2:56 AM, Ben Rubinstein wrote: > > It's got various things on it, but the main ones are a big backup+save > button, and a display of the rev version - actually, the buildnumber(), > version() and revAppVersion() - so just by glancing at the top-right corner > of my screen

Re: MS SQL

2014-04-24 Thread Stephen MacLean
I use revDataFromQuery all the time, but it's to access a local (to the app) sqlite DB. Works great with SQLite I also use MS SQL Server, but only access it via custom web services. I have never had any luck connecting to it otherwise. I've heard good things about the Actual Drivers, but again,

re: MS SQL

2014-04-24 Thread Pierre Sahores
Auto speller typo correction : read dbRecordSets["menu_r1"] instead of dbRecordSets[" menu_r1"] > I use it all the time in most of my projects running in a > LC-Server+PostgreSQL+RevIgniter+JQuery context (no experimented against MS > SQL Server at all, sorry). See below for a daily working

Re: MS SQL

2014-04-24 Thread Pierre Sahores
I use it all the time in most of my projects running in a LC-Server+PostgreSQL+RevIgniter+JQuery context (no experimented against MS SQL Server at all, sorry). See below for a daily working example witch builds on the fly an HTML5/JQuery multi-hierarchical pulldown menu : > put revDataFromQue

Re: Delivering Files with lcServer ?

2014-04-24 Thread Peter W A Wood
Hi Scott What is the URL of the iframe? Does it include characters such as "?" or "&" ? Regards Peter On 25 Apr 2014, at 08:29, Scott Rossi wrote: > Hello List: > > I'm hoping someone knowledgable about server stuff has a solution to a > problem I have delivering a file using lcServer via an

Delivering Files with lcServer ?

2014-04-24 Thread Scott Rossi
Hello List: I'm hoping someone knowledgable about server stuff has a solution to a problem I have delivering a file using lcServer via an iframe. I'm using lcServer with the following code to trigger a file download: put url ("binfile:files/sound.zip") into theFile put header "Content-Dispositio

Re: [Enhancement Request] Open and BackUp in LiveCode DP and RC

2014-04-24 Thread Peter Haworth
It is interesting how different people work in different ways. In my lcStackBrowser plugin I tried to include functionality that I've found useful in my own work environment and also keep the number of open utility stacks to a minimum, hoping to provide as much flexibility as possible. Like Richar

Re: MS SQL

2014-04-24 Thread Peter Haworth
I'm sure there are many people who use revDataFromQuery, less so the ODBC driver you mentioned. If that ODBC driver works in Navicat, then it seems the finger is pointing at some problem between Livecode and the ODBC driver. I think you said you'd enetered a bug report so hopefully it will get re

Re: HTPPS problem with a web service

2014-04-24 Thread Nakia Brewer
I will next week when I am back on my work network. Sent from my iPhone > On 25 Apr 2014, at 8:20 am, "J. Landman Gay" wrote: > >> On 4/24/14, 4:58 PM, Nakia Brewer wrote: >> Are you going through a proxy? >> >> I can't get HTTPS to work through a proxy that is using a PAC file. > > Have yo

Re: MS SQL

2014-04-24 Thread Rodney Green
I'm curious, does anyone have a project that uses the revDataFromQuery() command? And does anyone use the Actual Technologies ODBC driver? On Thu, Apr 24, 2014 at 9:23 AM, Rodney Green wrote: > I'll put in a bug report for this. Does anyone have any kind of > work-around for this? Have there bee

Re: [Enhancement Request] Open and BackUp in LiveCode DP and RC

2014-04-24 Thread Richard Gaskin
J. Landman Gay wrote: On 4/24/14, 5:15 PM, Richard Gaskin wrote: Where do you put the stacks you're working on? :) You and I have exactly opposite work habits. Maybe not so much. Most of those stacks aren't open all the time, some seldom

Re: [Enhancement Request] Open and BackUp in LiveCode DP and RC

2014-04-24 Thread J. Landman Gay
On 4/24/14, 5:15 PM, Richard Gaskin wrote: Where do you put the stacks you're working on? :) You and I have exactly opposite work habits. I mentioned "choice" earlier in this thread. Choice is good. It's a credit to LC that we can work howev

Re: HTPPS problem with a web service

2014-04-24 Thread J. Landman Gay
On 4/24/14, 4:58 PM, Nakia Brewer wrote: Are you going through a proxy? I can't get HTTPS to work through a proxy that is using a PAC file. Have you tried with today's 6.1.2 release? I think the libURL library has been tweaked. I'd be curious to know -- I don't have a proxy to test with. -

Re: playing an mp3 file

2014-04-24 Thread J. Landman Gay
I thought that was fixed recently. Players now use the native WMP on Windows if QT is missing, and WMP ships with the mp3 codec. I wasn't able to play mp4 files because Windows doesn't distribute that codec, but you can download it separately. Does it not work? On 4/24/14, 5:02 PM, Alejandro

Re: [Enhancement Request] Open and BackUp in LiveCode DP and RC

2014-04-24 Thread Richard Gaskin
Ben Rubinstein wrote: > I'd love to know: what do other people do to customise their > environment? -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveC

Re: playing an mp3 file

2014-04-24 Thread Alejandro Tejada
Björnke von Gierke wrote > They'll need quicktime. Correct. In my computer, I installed the small and non obtrusive Quicktime Alternative: http://www.free-codecs.com/download/quicktime_alternative.htm but if you have plenty of computer memory, disk space, processor power and internet velocity, u

Re: HTPPS problem with a web service

2014-04-24 Thread Nakia Brewer
Are you going through a proxy? I can't get HTTPS to work through a proxy that is using a PAC file. Sent from my iPhone > On 25 Apr 2014, at 7:47 am, "Peter W A Wood" wrote: > > David > > You must have missed this in my original message - "I haven't been keeping up > to-date so I'm still ru

Changes in LiveCode Image Quality - A comparison

2014-04-24 Thread Alejandro Tejada
Hi All, on Mar 18, 2014 Kenji Kojima wrote: >Please restore box filtering. >It was very useful for making a mosaic image. >I loved 6.5 of poor quality image too. After LiveCode 6.6, image quality "normal" and "good" looks exactly alike. Not so in previous versions. This stack shows a compar

Re: [Enhancement Request] Open and BackUp in LiveCode DP and RC

2014-04-24 Thread J. Landman Gay
On 4/24/14, 1:56 PM, Ben Rubinstein wrote: I'd love to know: what do other people do to customise their environment? I use a system I started in HC 25+ years ago and have been adding to ever since. Back then it was additions to the Home script, today it's a library plugin that inserts one scr

Re: HTPPS problem with a web service

2014-04-24 Thread Peter W A Wood
David You must have missed this in my original message - "I haven't been keeping up to-date so I'm still running LiveCode 6.5.2 under OS X 10.7.5" Regards Peter On 25 Apr 2014, at 02:52, David Bovill wrote: > That's interesting Peter - it doesn't work here with OSX 10.9.2 and > Livecode 6.6.1.

Re: RELEASE LiveCode 6.6.2 RC1

2014-04-24 Thread J. Landman Gay
On Apr 24, 2014, at 3:15 PM, Mike Kerner wrote: subject says 6.6.2, email says 6.6.1 I read it as: "I am unable to launch an iOS app [built with 6.6.2] that builds and runs normally in 6.6.1." -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software |

Re: playing an mp3 file

2014-04-24 Thread Björnke von Gierke
They'll need quicktime. On 24 Apr 2014, at 01:17, la...@significantplanet.org wrote: > I know I can play a .wav file without having to use a player. > > But I want to play a .mp3 file and for that I think I have to use a player, > right? > > And if I do use a player to play an mp3 file, then b

Re: playing an mp3 file

2014-04-24 Thread Alejandro Tejada
Could you use an instance of revBrowser to play the mp3? http://website.lineone.net/~a_tranter/audio.htm -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/playing-an-mp3-file-tp4678609p4678638.html Sent from the Revolution - User mailing list archive at Nabble.com.

Re: RELEASE LiveCode 6.6.2 RC1

2014-04-24 Thread Stephen MacLean
Hell, even I'm getting it mixed up! it's 6.6.2 RC1 On Apr 24, 2014, at 3:19 PM, Stephen MacLean wrote: > Yea, I think he missed with the copy and paste... it is most definitely 6.6.2 > RC 2 and was released today. > > 6.6.1 is GM > > On Apr 24, 2014, at 3:15 PM, Mike Kerner wrote: > >> sub

Re: RELEASE LiveCode 6.6.2 RC1

2014-04-24 Thread Stephen MacLean
Yea, I think he missed with the copy and paste... it is most definitely 6.6.2 RC 2 and was released today. 6.6.1 is GM On Apr 24, 2014, at 3:15 PM, Mike Kerner wrote: > subject says 6.6.2, email says 6.6.1 > > > On Thu, Apr 24, 2014 at 3:10 PM, Stephen MacLean > wrote: > >> I am unable to

Re: RELEASE LiveCode 6.6.2 RC1

2014-04-24 Thread Mike Kerner
subject says 6.6.2, email says 6.6.1 On Thu, Apr 24, 2014 at 3:10 PM, Stephen MacLean wrote: > I am unable to launch an iOS app that builds and runs normally in 6.6.1. > > It crashes at launch on both the simulator and phone. > > I will file a bug report, along with crash report. > > Best, > > S

Re: RELEASE LiveCode 6.6.2 RC1

2014-04-24 Thread Stephen MacLean
I am unable to launch an iOS app that builds and runs normally in 6.6.1. It crashes at launch on both the simulator and phone. I will file a bug report, along with crash report. Best, Steve MacLean On Apr 24, 2014, at 1:22 PM, Benjamin Beaumont wrote: > Dear List Members. > > We are pleased

Re: [Enhancement Request] Open and BackUp in LiveCode DP and RC

2014-04-24 Thread Ben Rubinstein
FYI, since it touches on both the original post and where this thread has got to: I have an extension to the standard IDE toolbar (i.e. a stack in the plugins folder); on launch it glues itself to the end of the Rev toolbar. It's got various things on it, but the main ones are a big backup+sav

Re: [Enhancement Request] Open and BackUp in LiveCode DP and RC

2014-04-24 Thread Richmond
On 24/04/14 00:26, Alejandro Tejada wrote: Hi Richmond, Richmond Mathewson-2 wrote How about something like this: on saveStackRequest put (the short name of this stack & the version) into NOM put NOM into fld "NOM" set the name of this stack to NOM pass saveStackRequest en

Re: HTPPS problem with a web service

2014-04-24 Thread David Bovill
That's interesting Peter - it doesn't work here with OSX 10.9.2 and Livecode 6.6.1. Trevor had a similar problem - what platform are you on? On 23 April 2014 15:50, Peter W A Wood wrote: > David > > This worked for me in the message box: > > Command: > > put URL " > https://api.dreamhost.com/?k

Re: is there a way...

2014-04-24 Thread Dar Scott
On Apr 24, 2014, at 11:05 AM, Dar Scott wrote: > You need a way to clear pending messages because of the bug in testing when > fading is done that cause messages to go on forever. Look at the message box. > I didn’t mean a LiveCode bug. I meant that I have created a bug in my IF statement

RELEASE LiveCode 6.6.2 RC1

2014-04-24 Thread Benjamin Beaumont
Dear List Members. We are pleased to announce the release of LiveCode 6.6.1 RC1. This is a maintenance release for the 6.6 series and contain 43 bug fixes. Many of the visual glitches on high resolution screens have been resolved and a number of other general fixes have been applied. *Release Co

Re: is there a way...

2014-04-24 Thread Dar Scott
I like Paul’s idea. This is the way I would do it, This approach was suggested by Robert, also. A few tips: Look at the ‘cancel’ command, and ‘pendingMessages’ function and be aware of what they can do. When checking out your code, look at the pending messages flying by with the message b

Re: Using Profiles

2014-04-24 Thread Peter Haworth
On Wed, Apr 23, 2014 at 10:25 PM, Guglielmo Braguglia < guglie...@braguglia.ch> wrote: > revSetStackProfile "<>", "<>" Thanks Guglielmo, using that command got things working. For some reason setting the profile property of the control didn't have any effect. I think the problem with the dat

RE: [Enhancement Request] Open and BackUp in LiveCode DP and RC

2014-04-24 Thread J. Landman Gay
On Mac the stack name is in the title bar. So we have choice. Just run the OS for the info you want to see. :-) On April 24, 2014 8:33:19 AM CDT, Ralph DiMola wrote: >In Windows the LC version is in the title bar. It would be nice to have >the >currently focused stack name there also so you

Re: file checksums

2014-04-24 Thread Richard Gaskin
Martin Baxter wrote: > Richard, > > What you say is obviously true, there is no ultimate guarantee from > checksums. > > The checksum is not useless though. It gives pretty good confidence > that the file didn't get altered in transit, whether by a network > error, a disk writing error, or by the

Re: is there a way...

2014-04-24 Thread Robert Brenstein
On 24.04.2014 at 8:46 Uhr -0600 apparently wrote: I am putting up an overlay (image) over a field that I display for 1 second and then, using a repeat statement and blendlevel, fade the image until it becomes invisible again. The problem is that I'm using the wait command to do this and I ca

Re: is there a way...

2014-04-24 Thread Paul Dupuis
On 4/24/2014 10:46 AM, la...@significantplanet.org wrote: > I am putting up an overlay (image) over a field that I display for 1 second > and then, using a repeat statement and blendlevel, fade the image until it > becomes invisible again. > > The problem is that I'm using the wait command to do

Re: is there a way...

2014-04-24 Thread Mark Schonewille
Hi Larry, Use wait with messages. That will remove the lock-up. -- Kind regards, Mark Schonewille Economy-x-Talk Http://economy-x-talk.com Share the clipboard of your computer over a local network with Clipboard Link http://clipboardlink.economy-x-talk.com Op 24 apr. 2014 om 16:46 heeft het

is there a way...

2014-04-24 Thread larry
I am putting up an overlay (image) over a field that I display for 1 second and then, using a repeat statement and blendlevel, fade the image until it becomes invisible again. The problem is that I'm using the wait command to do this and I can't do anything else in the program for those 2 secon

RE: [Enhancement Request] Open and BackUp in LiveCode DP and RC

2014-04-24 Thread Ralph DiMola
In Windows the LC version is in the title bar. It would be nice to have the currently focused stack name there also so you don't have to open the code window to verify the stack name/version. Ralph DiMola IT Director Evergreen Information Services rdim...@evergreeninfo.net -Original Message--

Re: MS SQL

2014-04-24 Thread Rodney Green
I'll put in a bug report for this. Does anyone have any kind of work-around for this? Have there been any updates to database in the developer previews? Maybe I'll give a DP a try. On Wed, Apr 23, 2014 at 7:53 PM, Rodney Green wrote: > I tried it in 6.6 and 6.6.1. I'm using Actual Technologies O