Hello everyone,
I'm a newbie here.
I'm developing a script that copy a selection of a pdf file and then paste it into paint to make it printable but I am encountering some issues.
I would like to select the area in every resolution and on every screen, is there a method to do that? For example to get the user screen resolution and to determine how to resize the area that should be selected and copyed?
This is my very simple code:
Thanks
I'm a newbie here.
I'm developing a script that copy a selection of a pdf file and then paste it into paint to make it printable but I am encountering some issues.
I would like to select the area in every resolution and on every screen, is there a method to do that? For example to get the user screen resolution and to determine how to resize the area that should be selected and copyed?
This is my very simple code:
[ autoit ]
WinActivate("[CLASS:AcrobatSDIWindow]") Send("!v") Send("z") Send("l") Send("!v") Send("r") Send("i") Send("!m") Send("c") MouseClickDrag("left", 184, 470, 776, 854) WinWaitActive("Adobe Reader", "OK") Send("{ENTER}") Run("paint.exe") WinActivate("Immagine - Paint") Send("^v")
Thanks