Updating Appear Window macro to match others.
Resolved a warning by casting variable to be printed.