05-02-2005, 02:19 PM
I am trying to create a macro that will simulate clicking a DELETE button and the OK on the dialog box. Here is the code:
AccClick("Delete" "PUSHBUTTON" "Internet Explorer" "Internet Explorer_Server" "" 0x1001)
AccClick("OK" "PUSHBUTTON" "Internet Explorer" "Button" "" 0x1001)
But when the click button is "pushed" the dialog comes up, but the OK button is never "clicked" the macro is paused until I click on the dialog box. Then I recieve Objevt Not Found error.
How do I get rid of the wait? I have tried other code as well with the same outcome.
TIA!
AccClick("Delete" "PUSHBUTTON" "Internet Explorer" "Internet Explorer_Server" "" 0x1001)
AccClick("OK" "PUSHBUTTON" "Internet Explorer" "Button" "" 0x1001)
But when the click button is "pushed" the dialog comes up, but the OK button is never "clicked" the macro is paused until I click on the dialog box. Then I recieve Objevt Not Found error.
How do I get rid of the wait? I have tried other code as well with the same outcome.
TIA!