At 11:34 -0500 13/12/07, Tof17 wrote:

        save text document 1 to {(file "Macintosh HD:Users:Tof:Desktop:BBEDIT
Saves:"), newVar & ".txt"}

end tell

******************


The last line is causing a problem, it's probably something very simple but
I just can't get my head around this.

You need a string.  Something like this probably:

save text document 1 to file ("Macintosh HD:Users:Tof:Desktop:BBEDIT
Saves:" & newVar & ".txt")

--
------------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <[EMAIL PROTECTED]>, not to the list.
List FAQ: <http://www.barebones.com/support/lists/bbedit_script.shtml>
List archives: <http://www.listsearch.com/bbeditscripting.lasso>
To unsubscribe, send mail to:  <[EMAIL PROTECTED]>

Reply via email to