I need a Sax basic script

11thHour

Senior member
Feb 20, 2004
796
1
0
I'm using automate which uses sax basic for its scripting module and I need a simple script that reads the data from a small .txt file and puts it in the clipboard.

Thanks for any assistance!
 

11thHour

Senior member
Feb 20, 2004
796
1
0
Cool, I figured it out. :)

Sub Main
Dim Data As String
Open "c:\test.txt" For Input As #1
Line Input #1, Data
Close #1
Clipboard Data
End Sub


As a first piece of coding, perhaps I should print it and coat it in bronze. ;)