Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Macro is waiting and not sure why
#1
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!


Messages In This Thread

Forum Jump:


Users browsing this thread: 4 Guest(s)