While scheduling a desktop application, i have a problem while handling message boxes.
The application is for a file loading process.
After completing the each load, it displays a message box(success or failure).
How i can handle these message boxes(i want to close these message boxes).
If any idea..please help me.
Managing Message boxes of a desktop application
Moderators: JRL, Dorian (MJT support)
While scheduling a desktop application, i have a problem while handling message boxes.
The application is for a file loading process.
After completing the each load, it displays a message box(success or failure).
How i can handle these message boxes(i want to close these message boxes). Also i have to get the title of the message box(ie.,Information or Error) to move the files to the specific success folder or to the Error folder.
If anyone have any ideas..please help me.
The application is for a file loading process.
After completing the each load, it displays a message box(success or failure).
How i can handle these message boxes(i want to close these message boxes). Also i have to get the title of the message box(ie.,Information or Error) to move the files to the specific success folder or to the Error folder.
If anyone have any ideas..please help me.
GetActiveWindow
Hi rragbul,
This should work:
Gale
This should work:
Code: Select all
WaitWindowChanged>timeout
//Check for WWC_RESULT for error handling
GetActiveWindow>message_title,X,Y
MessageModal>message_title:%message_title%
//Process the message
//Close the message (a visible window)
Let>WF_TYPE=2
CloseWindow>%message_title%
Gale