Yes it is. In your .vbs script, use the variables
session.Info.program (String)
session.Info.screenNumber (Long)