Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Ensure correct user is logged on when running the macro
#10
Quote:the macro's exe
The macro must run from Quick Macros. Nothing will unlock computer if it is exe file executed from Excel. In Properties dialog create command line to run the QM macro, and let the Excel macro execute it.

To test unlocking computer easily, create this macro and run it directly from QM, eg click the Run button:
Code:
Copy      Help
shutdown 6 ;;lock computer
10
if(!EnsureLoggedOn(1)) end "failed to unlock computer"


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)