-topic moved-

Get help with using AutoHotkey (v1.1 and older) 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 (v1)”

Who is online

Users browsing this forum: mamo691, MrDoge and 239 guests