I have a windows application that will throw up various pop-up windows on startup / login based on environmental elements at the time. For Instance (list is not exhaustive):
- User Logs in
- IF no connection to the internet - Messagebox appears with "Warning: Not connected to the internet"
- IF local database hasn't synchronised to the cloud in 2 days - Form appears prompting user to synchronise or enter an 'Unlock Code'
- IF local database hasn't been backed up in over a week - Messagebox appears with warning: "Database not backed up in [X] days."
My question is, is there a way to only run a module if a particular window is detected and simply move on to the next module if it's not? I know about ContinueOnFail and validation, but these will still run the rest of a module that would interact with the relevant window even if it's not detected - if that makes sense.
Thanks in advance for your help.