How can through macro script to carry messages
for systematic errors of the Windows Desktop using codes from here http://msdn.microsoft.com/en-us/library/ms681382.aspx or some other method? Thanks ...
System Error Messages
Moderators: Dorian (MJT support), JRL
- Bob Hansen
- Automation Wizard
- Posts: 2475
- Joined: Tue Sep 24, 2002 3:47 am
- Location: Salem, New Hampshire, US
- Contact:
Not sure if I understood your question, but if I did, here is an outline for now.
1. Put the error code info into a text file format, one line per code.
2. Create a macro to trigger When Windows Error Code window opens.
3. Macro will read the error code number from the window.
4. Macro will then read lines of the text file until it matches the code in the Error window.
5. Macro will then parse the line to extract the details of the message.
6. Macro will pop up error details and end macro.
1. Put the error code info into a text file format, one line per code.
2. Create a macro to trigger When Windows Error Code window opens.
3. Macro will read the error code number from the window.
4. Macro will then read lines of the text file until it matches the code in the Error window.
5. Macro will then parse the line to extract the details of the message.
6. Macro will pop up error details and end macro.
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!
Bob
A humble man and PROUD of it!
- Bob Hansen
- Automation Wizard
- Posts: 2475
- Joined: Tue Sep 24, 2002 3:47 am
- Location: Salem, New Hampshire, US
- Contact:
Here is an explanation for #2:
My understanding was that a Windows Error message window was opening up and you wanted to present better description info. For any macro, in the properties, you can set a macro to run based on the name of a window opening. So, my thought was to use the name of that error window to fire the macro.
In version 11.x, use the tab for trigger, select trigger event = Window Event, choose Window Opens, and fill in the name of the window. In earlier versions, I think similar options are available under Properties/Scheduling.
My understanding was that a Windows Error message window was opening up and you wanted to present better description info. For any macro, in the properties, you can set a macro to run based on the name of a window opening. So, my thought was to use the name of that error window to fire the macro.
In version 11.x, use the tab for trigger, select trigger event = Window Event, choose Window Opens, and fill in the name of the window. In earlier versions, I think similar options are available under Properties/Scheduling.
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!
Bob
A humble man and PROUD of it!