System Error Messages

Hints, tips and tricks for newbies

Moderators: Dorian (MJT support), JRL

Post Reply
koleviko
Junior Coder
Posts: 45
Joined: Thu Nov 20, 2008 2:59 pm

System Error Messages

Post by koleviko » Tue Dec 23, 2008 6:16 pm

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? :shock: :?: Thanks ...

User avatar
Bob Hansen
Automation Wizard
Posts: 2475
Joined: Tue Sep 24, 2002 3:47 am
Location: Salem, New Hampshire, US
Contact:

Post by Bob Hansen » Wed Dec 24, 2008 12:46 am

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.
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!

koleviko
Junior Coder
Posts: 45
Joined: Thu Nov 20, 2008 2:59 pm

Post by koleviko » Thu Dec 25, 2008 8:01 pm

Could not understand (2). :roll: Now in particular. I can get through the screen windows with reports of systematic errors using the codes. Here's a sample image ->Image

User avatar
Bob Hansen
Automation Wizard
Posts: 2475
Joined: Tue Sep 24, 2002 3:47 am
Location: Salem, New Hampshire, US
Contact:

Post by Bob Hansen » Fri Dec 26, 2008 6:45 pm

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.
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts