Posts: 6
Threads: 4
Joined: Jun 2019
06-16-2019, 10:34 AM
(This post was last modified: 06-16-2019, 10:51 AM by rhadkins2002.)
I'm editing a new macro to fine-tune its accuracy but, am unsure which coordinates the macro is using. At the bottom of the screen, I see coordinates based on the window, the client, and the screen. Which numbers do I use to get the cursor exactly where I need it to be to check a box on a form for me?
Thanks,
Richard
Richard H Adkins Jr
AUTHOR | SURVIVOR
Authors Guild of America
Romance Writers of America
Science Fiction & Fantasy Writers of America
Posts: 12,090
Threads: 142
Joined: Dec 2002
06-16-2019, 10:59 AM
(This post was last modified: 06-16-2019, 11:02 AM by Gintaras.)
Can be used any, but usually the best is client area coordinates. It is default in the Mouse dialog and when recording.
Client area coordinates are used like this:
lef x y window 1
Window coordinates:
lef x y window
Screen:
lef x y
Posts: 6
Threads: 4
Joined: Jun 2019
06-17-2019, 05:32 AM
(This post was last modified: 06-17-2019, 05:57 AM by rhadkins2002.)
Do blank lines matter to the macro? It helps me when coding to put blank lines between sections.
I believe I found what I was hoping to find. Placing a space at the beginning of a blank lines causes that line to be ignored allowing me to use two blank lines (with their single space each) to separate major sections and a single blank line with its space for minor sections.
If this is incorrect, or if there is a better way, please let me know. A hard return and blank space are quite fast and easy.
Thanks!
Richard
Richard H Adkins Jr
AUTHOR | SURVIVOR
Authors Guild of America
Romance Writers of America
Science Fiction & Fantasy Writers of America