run Rev app on two networked computers?

Rosli Hassan docrosli at yahoo.com
Wed Jul 7 04:00:30 EDT 2004


Kurt,

another way of doing this (might not be elegant, but
will probably work..):

opening a stack on multiple computers should not be a
problem, as chipp pointed out "...each computer would
open up the copy of the stack and load it 
completely in memory. At this point, cards can be
added, fields filled out, etc,-- but this only happens
in memory....not the stack."

So, what you probably need to do then is to have some
kind of script in the stack that will send the
data/user input back to the data stack (or even to a
text file, residing somewhere).  

example:  (on XP, using append, with path to a local
file. I believe this can be a file anywhere as long as
you have the correct path and access to it, --andre &
chipp: is my assumption correct?).

on mouseUp
  put field 1 into myData
  put the number of lines of field 1 into totX
  put " " into line totx + 1 of myData 
-- just so that the next data to come in will always
-- be on a new line (which from that is up to you
-- what you want to do with them), maybe have another
-- stack to read in these txt data and format it 
-- accordingly.

  put URL "c:/documents and
settings/machineName/Desktop/folder1/testPostdata.txt"
into x
-- or you can easily change this path to a container
--(field) of the data stack

  open file x for append --so old data wont be deleted
  write myData to file x
  close file x
end mouseUp

Then from 
Havent got the opportunity to try this, but i believe
it should work (i hope).  let me know.

Rosli.



		
__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail


More information about the use-livecode mailing list