Hello
I need help with a little script, I need after pressing the combination CTRL + SHIFIT + P the autohotkey hold the Shift and click eight positions on the screen sequentially with the minimum time interval.
Someone help me?
Thank you
Hotkey for game Topic is solved
-
- Posts: 5
- Joined: 03 Apr 2018, 11:54
- Contact:
-
- Posts: 60
- Joined: 13 Apr 2016, 22:02
Re: Hotkey for game Topic is solved
this will get you the locations you need to click... mouse over them and write down the coordinates
this will let you click one location...copy and change the coordinates as many times as you need
this is how you hold shift down
you can send shift up and downs or just the down..do your clicks then send the up at the end..
! Alt
^ Control
+ Shift
these symbols can be used with the code below
obviously... you can change the s to p
Code: Select all
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
CoordMode, Pixel, screen
CoordMode, Mouse, screen
;WhatCOlor.ahk
; Show and copy the RRGGBB color under the cursor.
;Skrommel @2005
#SingleInstance,Force
Loop
{
Sleep,100
MouseGetPos,x,y
PixelGetColor,rgb,x,y,RGB
StringTrimLeft,rgb,rgb,2
ToolTip,%rgb% %x% %y%`nPress F12 to copy, 100, 100
GetKeyState,state,F12,P
If state=D
Clipboard=%rgb% %x% %y%
}
Code: Select all
MouseClick, left, 55, 233
Sleep, 250 ; wait 1/4 of a second... change this as needed. or remove it..
Code: Select all
Send, {Shift down}
MouseClick, left, 55, 233
Send, {Shift up}
! Alt
^ Control
+ Shift
these symbols can be used with the code below
Code: Select all
^!s::
mouseclick, left 55, 233
return
Who is online
Users browsing this forum: No registered users and 61 guests