-topic moved-

Get help with using AutoHotkey and its commands and hotkeys
Yaosr
Posts: 53
Joined: 04 Nov 2017, 04:59

-topic moved-

10 Jun 2018, 07:09

-topic moved-
Last edited by Yaosr on 13 Jun 2018, 08:13, edited 1 time in total.
wolf_II
Posts: 2688
Joined: 08 Feb 2015, 20:55

Re: Search for pixel x,y, add +20 to x - another attempt

10 Jun 2018, 07:19

Repair: try swapping first line with second line. untested.
Reason: no point of calculating MyVar without FIRST knowing a value for Px.
SirRFI
Posts: 404
Joined: 25 Nov 2015, 16:52

Re: Search for pixel x,y, add +20 to x - another attempt

10 Jun 2018, 09:30

wolf_II wrote:Repair: try swapping first line with second line. untested.
Reason: no point of calculating MyVar without FIRST knowing a value for Px.
↑ This. At the moment you calculate it, it's 0 + 20, because Px is unknown at the time.
Alternatively make a function.
Use

Code: Select all

[/c] forum tag to share your code.
Click on [b]✔[/b] ([b][i]Accept this answer[/i][/b]) on top-right part of the post if it has answered your question / solved your problem.

Return to “Ask For Help”

Who is online

Users browsing this forum: akaza_dorian, Albireo, astshane, Bing [Bot], gibbons6546, Google [Bot], new_learner, theninja583, vsub, Yakshongas and 103 guests