Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Calling All Talented Macro Creaters
#4
Usually it is better to use the smallest possible UI object. With 'Find image' the code will be faster. With 'Find image', if the button is a control, then may even don't need to capture image, instead use 'Wait until something changes' (to wait until the button is enabled).

The 'Find image' dialog will insert the window/control names etc into the macro. Like this:
Code:
Copy      Help
int w=win("Calculator" "CalcFrame")
wait 0 S "Macro2039.bmp" id(83 w) 0 1|16|0x400 ;;push button 'Backspace'


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)