You could also perhaps use my generic token monitoring utility which, as posted, monitors the token %WirelessNetwork% and notifies us when its value is changed. It uses a similar approach to yours, but it handles multiple tokens at the same time so it uses a dictionary rather than a variable.