The second (optional) parameter is useful for passing other debugging information to QView's
window (it is displayed as part of the window title):
QVEdit(MyQueue, CLIP(loc:var1) & ' ' & RECORDS(MyFile))
If you need to watch a process or window and "decide" when to look at the queue it is a little
more difficult. One approach would be to alert a key combination and make a call to QVEdit.
Alternatively, you could use the Global template's HotKey facility - see Template Features.