An external program (i.e. Tcl, VB, C, etc.) can call a LabVIEW exe, dll, or use VI Server. Of the three, I think calling a dll is the easiest. If you need to programatically control a VI while it is running, then use VI Server.
If you were to explain in detail about what you mean by 'a script to be able to do anyhting a graphical LabView program can do', you will probably get more information.