tags:

views:

15

answers:

0

I'm writing a simple macro program: you record your mouse or keyboard movements, you save the file, and the program will run it for you on your pc computer.

however, the situation is, what if the file is run on a laptop where the resolution is smaller? what if the file is to be run on a web server where there is no monitor ?

ie) the button is clicked at position (x,y): 300,520 but the button will be at another location in a different monitor resolution.

How would you approach this problem ?