Monday, September 30, 2013

Possible Call File Script

I'm not quite sure if Ed has written this already, but I came up with a short script to call a new file. I just cant seem to get the file to execute once selected.


proc int onOpen(string $filename,string $type) {
  print($filename+"\n");
  print($type+"\n");
  return true;
}

fileBrowser( "onOpen", "Open", "", 0 );

No comments:

Post a Comment