Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

Help with Coordinates and In-Window coordinates

$
0
0
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:

[ 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

Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>