wingetpos help

Get help with using AutoHotkey and its commands and hotkeys
almeghalawy
Posts: 3
Joined: 03 May 2019, 16:14

wingetpos help

09 Jun 2019, 13:11

gg
Last edited by almeghalawy on 01 Jul 2019, 15:36, edited 1 time in total.
User avatar
YoucefHam
Posts: 344
Joined: 24 Aug 2015, 12:56
Facebook: https://fb.me/YoucefHamDz
Google: [email protected]
GitHub: YoucefHam
Location: Algeria
Contact:

Re: wingetpos help

10 Jun 2019, 18:42

try this

Code: Select all

::ppa::
AutomaticPulsePoint:
BlockInput, On
WinGetPos,,,esw,esh,<< redacted >> - Google Chrome
EnvDiv, esw, 2
esh := esh - 40
sleep, 20
controlclick X10 Y63,<< redacted >> - Google Chrome,, Left, 1, NA
Sleep, 200
clipboard := 
send, ^a
sleep 20
send, ^c
sleep, 20
send, ^c
sleep, 100
clip = %clipboard%
pos := InStr(clip,"[",,10)
sleep 20
ID := SubStr(Clipboard, pos, 50)
ID2 = %ID%
pos2 := InStr(ID2,"]")
sleep 20
var1 := 50
var1 -= pos2
StringTrimRight, ID2, ID2, %var1%
StringTrimRight, ID2, ID2, 1
sleep 50
pos := InStr(ID2, "[")
StringTrimLeft, ID2, ID2, %pos%
sleep 50
clipboard :=
:wave: There is always more than one way to solve a problem. ;)

Return to “Ask For Help”

Who is online

Users browsing this forum: anv, coolfukenguy, DaveT1, Google [Bot], JoeWinograd, mcl, mikeyww, RayB, TheProdigyC2, TXShooter and 75 guests