Team Development / Exporting stuff to text files

Chipp Walters chipp at chipp.com
Sun Mar 2 21:55:29 EST 2008


You mean something like?

on mouseUp
  repeat with x = 1 to the number of cds in this stack
    put the long name of cd x &cr& the script of cd x &cr&cr after tScripts
    repeat with y=1 to the number of controls on cd x
      put the long name of control y of cd x &cr& the script of
control y of cd x &cr&cr after tScripts
    end repeat
  end repeat
  answer file "Text file to export scripts to:"
  if it is empty or the result is "cancel" then exit to top
  put tScripts into URL ("file:" & it)
end mouseUp

Or..are you getting the scripts of substacks as well?

The real problem, is capturing all the controls and their properties
and exporting to text, then being able to import them back in. I
believe Geoff Canyon, a long time ago in a galaxy far far away did
something like that.

-Chipp



More information about the use-livecode mailing list