Re: handler to connect buttons with a line

2011-11-01 Thread James Hurley
Correction: That should have been n * (n-1)/2 connecting lines. Same as the number of hand shakes among n people. :-) Jim ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subs

Re: handler to connect buttons with a line

2011-11-01 Thread James Hurley
Kresten, I think I understand. The card script below will create n button and n * (n-1) connecting lines. As the buttons are moved the connecting lines follow. Jim Hurley local myNAME, n on mouseDown put the short name of the target into myName put 5 into n repeat with i = 1 to n

handler to connect buttons with a line

2011-11-01 Thread Kresten Bjerg
Thank you for replies to my first question (I repeat it, as October postings not included here) : "I have been experimenting to create a handler (as button or menu), which will permit user a)To select two existing moveable button b)Create a line, attaching its endpoints to the buttons, so line w

Re: Waiting for 'shell'

2011-11-01 Thread Warren Samples
On 11/01/2011 06:27 PM, Roger Eller wrote: I just looked back at the original post. If I understand correctly, the problem is not seeing when shell completes, but to let the user know there is backgrounded activity while shell is still processing, and so they don't think the app has locked up.

Re: Waiting for 'shell'

2011-11-01 Thread Mike Bonner
Yeah, I had offered alternative ways other than using shell (open process, or launch) rather than shell since its blocking. open process can be used asynchronously so its easy to implement some type of indicator, same with launch but I was unsure how to tell process completion with that method. Sh

Re: Waiting for 'shell'

2011-11-01 Thread Roger Eller
On Tue, Nov 1, 2011 at 7:18 PM, Mike Bonner wrote: > Oh cool. Yep, that could be easily used as an indication that the launched > process has completed. That or ps would both work on mac or linux. I just looked back at the original post. If I understand correctly, the problem is not seeing when

Re: Waiting for 'shell'

2011-11-01 Thread Mike Bonner
Oh cool. Yep, that could be easily used as an indication that the launched process has completed. That or ps would both work on mac or linux. so something like launch "/usr/bin/myprocess" then a loop that does a shell('ps") then parse the output to make see if the process is still active. so pu

Re: Waiting for 'shell'

2011-11-01 Thread Roger Eller
On Tue, Nov 1, 2011 at 7:08 PM, Bob Sneidar wrote: > There is a top command that will return the top ten processes sorted by > different things depending on the arguments passed to it. Just man top in > the terminal. Mac only of course. > > Bob No, 'top' is on Linux too. Probably been around lo

Re: Waiting for 'shell'

2011-11-01 Thread Bob Sneidar
There is a top command that will return the top ten processes sorted by different things depending on the arguments passed to it. Just man top in the terminal. Mac only of course. Bob On Nov 1, 2011, at 1:00 PM, Mike Bonner wrote: > Didn't have a chance to answer this morning, but you might

Re: Waiting for 'shell'

2011-11-01 Thread Mike Bonner
Didn't have a chance to answer this morning, but you might look at 'open process' instead of shell for this. That way, you can open the process for read, start a read loop (with either a send in time, or a wait with messages) and use the async nature of this method to update a status bar or whatev

Re: Waiting for 'shell'

2011-11-01 Thread Roger Eller
On Tue, Nov 1, 2011 at 5:26 PM, Warren Samples wrote: > On 11/01/2011 03:47 PM, Roger Eller wrote: > >> I've done this on Mac and Windows, but I would expect it to work on Linux >> too. >> >> ~Roger >> > > Putting something like "show animated.gif > get shell("cp fileLocA > fileLocB") in a button

Re: Waiting for 'shell'

2011-11-01 Thread Warren Samples
On 11/01/2011 03:47 PM, Roger Eller wrote: I've done this on Mac and Windows, but I would expect it to work on Linux too. ~Roger Putting something like "show animated.gif > get shell("cp fileLocA fileLocB") in a button leaves the animated gif completely static during the copy operation. Int

Re: Augmented Reality in iOS

2011-11-01 Thread Roger Eller
On Tue, Nov 1, 2011 at 11:52 AM, Joe Hughes wrote: > Hi, > >Does anyone know if there are commands in LiveCode that allow for > previewing video in iOS? I've seen that it is possible using the Video > demo but only on my laptop. And the commands appear to be for non mobile > OSs. I've s

Re: strange text problem

2011-11-01 Thread J. Landman Gay
On 11/1/11 11:06 AM, Chris Sheffield wrote: Unfortunately that didn't work. I did try setting the width of the text field to the formattedWidth, which seems to help, but I've still got the shifting going on sometimes. It's almost as if by changing the color of a chunk it's causing the field to wr

Re: Waiting for 'shell'

2011-11-01 Thread Roger Eller
On Tue, Nov 1, 2011 at 1:56 PM, Warren Samples wrote: > On 11/01/2011 12:11 PM, Roger Eller wrote: > >> I use animated GIFs which I show just before a lengthy conversion, then >> hide it when shell has completed the task. It' not a progress bar, but >> indicates a busy state quite well. >> >> ~Ro

ANN: Installer Maker 1.7b02

2011-11-01 Thread Mark Schonewille
Hi everyone, Economy-x-Talk has released a new beta version of Installer Maker 1.7. This time, we've added automatic Read Me file detection: if you include a license or read me file in your standalone package, Installer Maker finds it for you. More information and downloads can be found at http

Re: buying upgrade valentina help

2011-11-01 Thread william humphrey
Ruslan fixed the problem right away. And I posted this to this list by mistake! Sorry On Tue, Nov 1, 2011 at 11:24 AM, stephen barncard < stephenrevoluti...@barncard.com> wrote: > Lynn reads this list regularly so he will chime in soon, or you should > contact the Valentina distributor directly

Re: Base64 weirdness

2011-11-01 Thread Maarten Koopmans
Relacing crlf in lc and using adifferet scala lib on the other end solved this. Thanks for all of your help. On Monday, October 31, 2011, Maarten Koopmans wrote: > Still struggling, I'll try, > > @Mark: I'm on a mac > > On Saturday, October 29, 2011, Richard Gaskin wrote: >> Maarten Koopmans wro

Re: Waiting for 'shell'

2011-11-01 Thread Warren Samples
On 11/01/2011 12:11 PM, Roger Eller wrote: I use animated GIFs which I show just before a lengthy conversion, then hide it when shell has completed the task. It' not a progress bar, but indicates a busy state quite well. ~Roger What platform(s) does this work on? When I do this, the animatio

Re: Waiting for 'shell'

2011-11-01 Thread Roger Eller
On Tue, Nov 1, 2011 at 11:48 AM, Graham Samuel wrote: > I have rather amazed myself by getting 'shell' to work on Windows from a > LC script - with copious help from this list, of course. Now I find that > some of my shell commands take quite a long time, so my user may not see > anything happenin

RE: strange text problem

2011-11-01 Thread Mark Powell
In addition to explicitly setting the textColor, you might try explicitly setting the textHeight. You might also test with Courier to see if a different font set behaves similarly. -Original Message- From: use-livecode-boun...@lists.runrev.com [mailto:use-livecode-boun...@lists.runrev.

RE: strange text problem

2011-11-01 Thread Ralph DiMola
Is it possible that multiple white spaces between words are being compressed to 1? Are different types of white spaces (160 non-breaking space for example) are being changed to a 32(standard ascii space). Ralph DiMola IT Director Evergreen Information Services -Original Message- From: use

Re: strange text problem

2011-11-01 Thread Chris Sheffield
Unfortunately that didn't work. I did try setting the width of the text field to the formattedWidth, which seems to help, but I've still got the shifting going on sometimes. It's almost as if by changing the color of a chunk it's causing the field to wrap its text differently. Very strange. Any

Augmented Reality in iOS

2011-11-01 Thread Joe Hughes
Hi, Does anyone know if there are commands in LiveCode that allow for previewing video in iOS? I've seen that it is possible using the Video demo but only on my laptop. And the commands appear to be for non mobile OSs. I've seen some interesting apps that overlay video and would love

Waiting for 'shell'

2011-11-01 Thread Graham Samuel
I have rather amazed myself by getting 'shell' to work on Windows from a LC script - with copious help from this list, of course. Now I find that some of my shell commands take quite a long time, so my user may not see anything happening and may think the app has crashed (hideConsoleWindows is t

Re: buying upgrade valentina help

2011-11-01 Thread stephen barncard
Lynn reads this list regularly so he will chime in soon, or you should contact the Valentina distributor directly by phone (US). http://www.valentina-db.com/en/company/contact-us kind of a catch 22 if one has to be registered and recognized to contact support by email (to recover lost license )

buying upgrade valentina help

2011-11-01 Thread william humphrey
Hi I don't want to go through the wait a week for the new demo serial numbers so I can continue running valentina office server so I went to your website to buy another year. My user name is b...@bluewatermaritime.com but the http://www.valentina-db.com store login not only doesn't recognize that

Re: a shake and a wiggle

2011-11-01 Thread André Bisseret
Thank you much Bernd for this nice script! very funny indeed! Best regards from Grenoble André Le 1 nov. 2011 à 08:09, BNig a écrit : > Hi Nicolas, > I post the script I sent you here for anybody who has followed this thread. > > Make a button called "wiggleBehavior" for the behavior of the o

Re: handler to connect buttons with a line

2011-11-01 Thread André Bisseret
Bonjour Richmond, Vraiment très joli ! André Le 31 oct. 2011 à 20:20, Richmond a écrit : > if you adjust this: > > on mouseDown > grab me > end mouseDown > > to this: > > on mouseDown > grab me > set the idleRate to 1 > end mouseDown > > you get fairly spiffy results! > __

Re: a shake and a wiggle

2011-11-01 Thread BNig
Hi Nicolas, I post the script I sent you here for anybody who has followed this thread. Make a button called "wiggleBehavior" for the behavior of the objects you want to delete by the gesture. Set it's script to: --- local sX, sLastTime, sCountWiggle =