Do you want to shutdown the application or the computer?
If you want to shutdown or restart the computer, make a batch file and use the command "shutdown /s" or /r for restart to initiate shutdown. use the StartApp command in intouch to run the batch file.
To shutdown the WW application, you can use the WWControl command. I believe it would be this: WWControl (InfoAppTitle("View"),"Close");
Intouch version 10 and later have the 16 pen trend available, but I don't think it's installed by default.