Here is the meat of the script I'm using.
--It runs my front document in murgaLua, all well and good.
tell application "Terminal"
set shellscriptString to "/usr/bin/murgalua " & SQ & documentPath & SQ as text
--set the contents of the front window to shellscriptString
do script shellscriptString
set the clipboard to contents of the front window as text
set ds to contents of the front window as string
-- Here is where I'm going woefully wrong
tell application "SubEthaEdit"
set myf to make new document
set myf to the front document
set contents of the front document to ds
-- from that chunk i'm getting many many 'untitled' documents.
My question is how do I set it up so the same document is always opened and appended to?
While I'm on that subject how would I set that document to be someplace any old SubethaEdit user on any machine can access if using the script.
Using "/Users/myaccount/somefolder/murgalog.txt" doesn't seem like the right solution.
Thanks in advance,