Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Lock desktop
#8
Quick question, Below is the macro I'm using. It works but it can easily be ruled pointless by hitting the cancel button. Is it possible to have it set up so if the cancel button is hit, it will have it's own scenario, rather then ending the macro? Same question with the X at the top right corner of the message box.


Macro
Code:
Copy      Help
int i t h
str p
h=win("Program Manager" "Progman")
t=win("" "Shell_TrayWnd")
atend ReEnableWindow h
atend ReEnableWindow t
EnableWindow h 0
EnableWindow t 0
;top
SendMessage _hwndqm WM_SYSCOMMAND 0xF170 2
1
inp- p "Password" "" "*"
if(p = "test") end
else goto top
Taking on Quick Macros one day at a time


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)