Re: Read from process

2012-03-29 Thread Bob Sneidar
card to true > readloop > end startProcess > > command readloop > if the the cRunning of this card then > read from process nM for 10 > if it is not empty then > put it & cr after fld mergeOut > put the number of lines of fld

Re: Read from process

2012-03-28 Thread Mike Bonner
Very cool! I kept staring at the code you sent but i'm just too fuzzy today to make much sense of things. Glad its working for you! ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your

Re: Read from process

2012-03-28 Thread Glen Bojsza
this card then read from process nM until empty if it is not empty then put it & cr after fld mergeOut put the number of lines of fld mergeOut * 16 into sPlace set the vscroll of fld mergeOut to sPlace end if if it contains "dblink

Re: Read from process

2012-03-28 Thread Glen Bojsza
have the same result as reading > characters > >> as shown below) > >> > >> local nM > >> on mouseUp > >> startProcess > >> end mouseUp > >> > >> command startProcess > >> put fld dbPathList into nM > >>

Re: Read from process

2012-03-28 Thread Mike Bonner
p >> >> command startProcess >> put fld dbPathList into nM >> open process nM for update >>set the cRunning of this card to true >>readloop >> end startProcess >> >> command readloop >> if the the cRunning of this card then &g

Re: Read from process

2012-03-28 Thread Mike Bonner
elow) > > local nM > on mouseUp > startProcess > end mouseUp > > command startProcess > put fld dbPathList into nM > open process nM for update >set the cRunning of this card to true > readloop > end startProcess > > command readloop > if the th

Re: Read from process

2012-03-28 Thread Glen Bojsza
mmand readloop if the the cRunning of this card then read from process nM for 10 if it is not empty then put it & cr after fld mergeOut put the number of lines of fld mergeOut * 16 into sPlace set the vscroll of fld mergeOut to sPlace if it contain

Re: Read from process

2012-03-28 Thread Mike Bonner
loop readloop -- handler to do the read end startProcess command readloop if the the cRunning of this card then read from process "myProcess" until empty if it is not empty then #do whatever you want with the resulting read. #if the end line is read, close process set the cRunning of

Re: Read from process

2012-03-28 Thread Glen Bojsza
100 lines of output where the final line has a unique > output > > acknowledging that it has completed. > > > > How should I be writing my read from process? > > > > I assume that this should be done inside a repeat forever loop where you > > can trap the mousecl

Re: Read from process

2012-03-28 Thread Bob Sneidar
ted. > > How should I be writing my read from process? > > I assume that this should be done inside a repeat forever loop where you > can trap the mouseclick to exit or check for the unique output line from > the read process to exit. > > I can't seem to any output from

Re: Read from process

2012-03-28 Thread Glen Bojsza
; > between 20 to 100 lines of output where the final line has a unique > output > > acknowledging that it has completed. > > > > How should I be writing my read from process? > > > > I assume that this should be done inside a repeat forever loop where you > >

Re: Read from process

2012-03-28 Thread Mike Bonner
ts the various stages and results it currently has > completed. > > In the terminal window if I just do the command line it produces anywhere > between 20 to 100 lines of output where the final line has a unique output > acknowledging that it has completed. > > How should I be wr

Read from process

2012-03-28 Thread Glen Bojsza
outputs the various stages and results it currently has completed. In the terminal window if I just do the command line it produces anywhere between 20 to 100 lines of output where the final line has a unique output acknowledging that it has completed. How should I be writing my read from process? I