Hello
I am using fscommand exec function from standalone to open external files on CD. I am also using html text and asfunction. So I have text fieds that have links that call asfunction and fscommand. It sounds complicated but here is the example:
This doesn't work, fscommand will only work if I call it like thisCode:MyTextField.htmlText = "<a href='asfunction:somefunction, openfile.exe'>Click me</a>"; function somefunction (arg) { fscommand("exec", arg); }
and not if I pass variables to itCode:fscommand("exec", "openfile.exe");
Problem is that I have a lot of links in htmltext and would have to make separate functions for each. Is there a way to lunch exec with variables
thanks




Reply With Quote