Re: Can An Object Know About Itself?

2012-03-01 Thread Paul Hibbert
Scott, I re-watched a seminar from the 09 RevLive by Trevor DeVore recently about behaviours and one thing he pointed out was that a behaviour acts like a back script for a control, but if I understood him correctly, he also mentioned that when behaviours are applied to controls, there are more

Can An Object Know About Itself?

2012-03-01 Thread Scott Rossi
Is there any way for an object to know when it is unselected using only scripts within the object itself? The selectedObjectChanged is sent to an object when it is selected, but when the object is deselected, the object will only get the selectedObjectChanged message if the selection is changed to

Re: HELP! - Unable to acquire FTP file list...

2012-03-01 Thread Keith (Gulf Breeze Ortho Lab)
Thanks, Craig. I might do that for further testing... FYI: Please see my reply to Ken for a partial resolution... Cheers! - Boo -Original Message- From: Dave Cragg Sent: Thursday, March 01, 2012 5:43 PM To: How to use LiveCode Subject: Re: HELP! - Unable to acquire FTP file list...

Re: HELP! - Unable to acquire FTP file list...

2012-03-01 Thread Keith (Gulf Breeze Ortho Lab)
Hi Ken, I played with active and passive modes, but that was not the issue. At least regarding the URL function, the problem was that I was not putting parentheses around my information: put url "ftp://"; & FTPUSER & ":" & FTPPASS & "@" & FTPHOST into myVar should have been: put url ("ftp:/

Re: repositioning list-field lines

2012-03-01 Thread Nicolas Cueto
Bob, Perhaps your have a different (older?) version of Scott Rossi's "getinline"? Cause in the one Scott kindly linked to in this thread, there was no selectionChanged handler. Actually, I'm also not clear on what you meant by the second sentence in the following: > Apparently the field was rec

Re: HELP! - Unable to acquire FTP file list...

2012-03-01 Thread Dave Cragg
On 1 Mar 2012, at 22:16, Keith (Gulf Breeze Ortho Lab) wrote: > Hi Dave, > > You wrote: > > "Does it work if you add a "/" after FTPHOST. > > e.g. > > constant FTPHOST = "ftp.mydomain.com/" > > Dave" > > Unfortunately, no. I tried that previously, as well as various other things, > but sti

Re: HELP! - Unable to acquire FTP file list...

2012-03-01 Thread Ken Corey
On 01/03/2012 21:26, Keith (Gulf Breeze Ortho Lab) wrote: Anyway, I am able to upload and download files with no problem. Furthermore, I am also able to make directories and delete directories. The problem I am having is the acquisition of a file list for the FTP account. I have tried both of

Re: HELP! - Unable to acquire FTP file list...

2012-03-01 Thread Keith (Gulf Breeze Ortho Lab)
Hi Dave, You wrote: "Does it work if you add a "/" after FTPHOST. e.g. constant FTPHOST = "ftp.mydomain.com/" Dave" Unfortunately, no. I tried that previously, as well as various other things, but still no go... Thanks, - Boo -Original Message- From: Dave Cragg Sent: Thursday,

Re: Crasher bug in Lion?

2012-03-01 Thread Paul Hibbert
Works fine for me too. I'd also recommend checking your fonts for clashes in FontBook, and check the permissions with the Disk Utility app. Mac Pro, Mac OS X 10.7.3, LC 5.0.2, Epson Stylus R2400 printer. Paul On 1 Mar 2012, at 17:01, Bob Sneidar wrote: > Works fine for me, both with GLX2 and t

Re: HELP! - Unable to acquire FTP file list...

2012-03-01 Thread Dave Cragg
On 1 Mar 2012, at 21:26, Keith (Gulf Breeze Ortho Lab) wrote: > > ]libURLSetFTPListCommand "LIST" > get > libURLftpCommand("LIST","ftp.mydomain.com","myusern...@mydomain.com","mypassword") > answer it > > Implementing the above, I keep getting: > > “425 No Data Connection” Unfortunately, the

HELP! - Unable to acquire FTP file list...

2012-03-01 Thread Keith (Gulf Breeze Ortho Lab)
Hi All, I am back to playing with FTP and have a problem. I have a shared server with unlimited FTP accounts and have created an account for testing purposes. (I am NOT using the main FTP account for my hosting package.) Anyway, I am able to upload and download files with no problem. Furthermor

Re: unresponsive sequential post requests - libURL problem?

2012-03-01 Thread Terry Judd
On 02/03/2012, at 5:41 AM, "Bernard Devlin" wrote: > I'd go with Andre on this, only try some voodoo too :) > > 3. try increasing the timeout interval. I have some code that fires > off hundreds of "load urls" sequentially. But this is done by using > "send in time" for the "load" (and using c

Re: unresponsive sequential post requests - libURL problem?

2012-03-01 Thread Terry Judd
On 02/03/2012, at 4:10 AM, "Andre Garzia" wrote: > Folks, > > This is from the "wild crazy and potentially stupid ideas" department: > > 1 - have you tried lowering the timeout interval, this way, your calls > should fail faster and you would be able to recover more easily. Better > retry until

Re: unresponsive sequential post requests - libURL problem?

2012-03-01 Thread Terry Judd
On 02/03/2012, at 3:12 AM, "Bernard Devlin" wrote: > The standard libURL is also just a library inside the IDE. Which > means you can inspect it and change it. I had a problem where 4.6.x > LC would barf on ip addresses that worked previously. I took an older > version of libURL and swapped it

Re: setting sslcertificates global?

2012-03-01 Thread Terry Judd
On 02/03/2012, at 1:11 AM, "Klaus on-rev" wrote: > Hi friends, > > did not find a hint in the docs, is "set the sslcertificates to XXX" a global > setting? > I mean is it sufficient to do this only once before I use HTTPS? > Yes - that's right. Terry... > Thanks in advance! > > > Best >

Re: unresponsive sequential post requests - libURL problem?

2012-03-01 Thread Bernard Devlin
I'd go with Andre on this, only try some voodoo too :) 3. try increasing the timeout interval. I have some code that fires off hundreds of "load urls" sequentially. But this is done by using "send in time" for the "load" (and using callbacks to handle the returned data). I figured that smarter

Re: repositioning list-field lines

2012-03-01 Thread Bob Sneidar
I used Scott's GetInLine. It's really nice visually. I did have a problem sometimes though where if I passed over the field it triggered the drag. I noticed that the condition was triggered when clicking a line to change the selected line. Apparently the field was receiving the mouseDown message

Re: unresponsive sequential post requests - libURL problem?

2012-03-01 Thread Andre Garzia
Folks, This is from the "wild crazy and potentially stupid ideas" department: 1 - have you tried lowering the timeout interval, this way, your calls should fail faster and you would be able to recover more easily. Better retry until it work than to be locked into a timeout loop. 2 - Are you exec

Re: Crasher bug in Lion?

2012-03-01 Thread Bob Sneidar
Works fine for me, both with GLX2 and the stock script editor. Try printing to a PDF file instead of your printer. Also, it wouldn't hurt to check for odd characters in your script, especially if you do any copy pasting from other sources. Bob On Mar 1, 2012, at 7:22 AM, Bryan McCormick wrot

Re: repositioning list-field lines

2012-03-01 Thread André Bisseret
Bonjour Nicolas, create a small one line field named "temp" and put the following in the script of your field. Sorry for the comments in French Best regards from Grenoble André -- -- LE SCRIPT DE DRAG DROP ENTRE 2 FIELDS d'Éric CHATONET, MODIFIÉ POUR UN SEUL local lLineNo,tLaLigne,tStyl

Re: unresponsive sequential post requests - libURL problem?

2012-03-01 Thread Bernard Devlin
The standard libURL is also just a library inside the IDE. Which means you can inspect it and change it. I had a problem where 4.6.x LC would barf on ip addresses that worked previously. I took an older version of libURL and swapped it in, and the problem went away. There is another libURL libr

Crasher bug in Lion?

2012-03-01 Thread Bryan McCormick
Anyone using Lion and a 5.x version of livecode? I am on a pretty plain vanilla system with nothing in particular added. Livecode crashes on any attempt to print a script. If you are going to test this out (please contact support if it works) make sure you save your stack and scripts first. H

setting sslcertificates global?

2012-03-01 Thread Klaus on-rev
Hi friends, did not find a hint in the docs, is "set the sslcertificates to XXX" a global setting? I mean is it sufficient to do this only once before I use HTTPS? Thanks in advance! Best Klaus -- Klaus Major http://www.major-k.de kl...@major.on-rev.com

Re: unresponsive sequential post requests - libURL problem?

2012-03-01 Thread Terry Judd
On 01/03/2012, at 09:13 PM, Dave Cragg wrote: Hi Dave - thanks for your input - I really appreciate it - inline comments below... On 1 Mar 2012, at 00:51, Terry Judd wrote: Hi guys (Dave hopefully you're not too far away) - earlier on I asked about explicitly closing sockets to try and preve

Re: repositioning list-field lines

2012-03-01 Thread Scott Rossi
Another option: http://tactilemedia.com/site_files/downloads/getinline.rev.zip Regards, Scott Rossi Creative Director Tactile Media, UX Design Recently, Nicolas Cueto wrote: > I was wondering if anyone had pointers on how to enable a user to > reposition lines within a listfield. More specif

Re: unresponsive sequential post requests - libURL problem?

2012-03-01 Thread Dave Cragg
On 1 Mar 2012, at 00:51, Terry Judd wrote: > Hi guys (Dave hopefully you're not too far away) - earlier on I asked about > explicitly closing sockets to try and prevent Livecode becoming unresponsive > following repeated post (over https) requests. Dave Cragg suggested setting > the httpHeader

Re: repositioning list-field lines

2012-03-01 Thread Mark Schonewille
Hi Nicolas, I have one in the private section of my website, accessible after donating http://qery.us/1u4 -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Download

Re: repositioning list-field lines

2012-03-01 Thread Bjoernke von Gierke
i just did this a few days back. There are more elegant solutions like using a second field to move around, but this works for me. If you change the textSize to a non-default value, you might need to adjust some parts of the offset calculation at the start. on mouseDown --preparation of data

repositioning list-field lines

2012-03-01 Thread Nicolas Cueto
Hello, I was wondering if anyone had pointers on how to enable a user to reposition lines within a listfield. More specifically, a user would "press" on a line and drag it within the listfield to a different position. To reorder the lines, for example. Hoping to not have to reinvent the wheel on