Tcl-Tk - Open Files in a Tcl Applet?

Posted on Thu Jun 26 18:45:13 2008 by generalveers4
Open Files in a Tcl Applet?
I've had no luck with this one. Obviously [open file_name] doesn't work in safe Tcl. I've tried a few things. First using [policy home] the open command became available but I received an error saying permission denied when I tried to open the file. I've also tried using [slave invokehidden open] and the expose commands to open a file in the safe plugin environment but the interpreter just spat errors at me reading "cannot invoke hidden commands from a safe interpreter." I'm pretty much lost on this one. Does anyone know how read from a file in a tcl applet; that is, safe tcl?
Direct Responses: 8181 | Write a response