Hint: SetKeyDelay has no effect when using sendinput.
Take a look in the helpfile.
Search found 2738 matches
- 20 Mar 2016, 18:32
- Forum: Gaming Help (v1)
- Topic: Swipe macroes
- Replies: 1
- Views: 901
- 18 Mar 2016, 21:22
- Forum: Ask for Help (v1)
- Topic: Can't make a reliable mouse dragging action Topic is solved
- Replies: 1
- Views: 595
Re: Can't make a reliable mouse dragging action Topic is solved
Try using:
Code: Select all
CoordMode, Mouse, Screen
- 16 Mar 2016, 14:07
- Forum: Ask for Help (v1)
- Topic: AHK not recognizing Chrome?
- Replies: 6
- Views: 2051
Re: AHK not recognizing Chrome?
From the helpfile:
The #IfWin directives are positional: they affect all hotkeys and hotstrings physically beneath them in the script. They are also mutually exclusive; that is, only the most recent one will be in effect.
The #IfWin directives are positional: they affect all hotkeys and hotstrings physically beneath them in the script. They are also mutually exclusive; that is, only the most recent one will be in effect.
- 15 Mar 2016, 22:18
- Forum: Ask for Help (v1)
- Topic: How to capture trackman marble mouse special buttons?
- Replies: 7
- Views: 2704
Re: How to capture trackman marble mouse special buttons?
Try running your script as Admin.
- 15 Mar 2016, 22:12
- Forum: Ask for Help (v1)
- Topic: AHK not recognizing Chrome?
- Replies: 6
- Views: 2051
Re: AHK not recognizing Chrome?
Wintitles are case sensitive.
is
supposed to be:
Just throwing this out there gl.
is
Code: Select all
#IfWinActive, spartaxx/LitigationDetails/
Code: Select all
#IfWinActive, Spartaxx/LitigationDetails/
- 15 Mar 2016, 16:03
- Forum: Ask for Help (v1)
- Topic: A way to reduce CPU usage when hovering over AHK systray?
- Replies: 10
- Views: 2424
Re: A way to reduce CPU usage when hovering over AHK systray?
Is 0.01% really a problem? The OS has cpu overhead too i doubt this is even related to your script running.
Unless i'm missing something what is the issue?
Unless i'm missing something what is the issue?
- 15 Mar 2016, 15:59
- Forum: Ask for Help (v1)
- Topic: How to write a script for saving popup numbers to clipboard
- Replies: 7
- Views: 1145
Re: How to write a script for saving popup numbers to clipboard
Think of the citrix program as the same as looking at a image on your screen, it's repainted when it updates.
Use window spy on it and all your troubles will be revealed.It looks like a program but it really is not at all. (its fake)
HTH
Use window spy on it and all your troubles will be revealed.It looks like a program but it really is not at all. (its fake)
HTH
- 15 Mar 2016, 15:37
- Forum: Gaming Help (v1)
- Topic: Clicking with F and sending Tab
- Replies: 2
- Views: 1204
Re: Clicking with F and sending Tab
Click is uses sendmode.
Code: Select all
setMouseDelay -1
setBatchLines -1
SendMode, Input
f::
t := A_TickCount
while getKeyState("f","P")
{
click
Random, rnd, 10, 20
Sleep rnd
if (A_TickCount-t >= 100)
{
Send {Tab}
t := A_TickCount
}
}
return
q::control
- 14 Mar 2016, 13:55
- Forum: Ask for Help (v1)
- Topic: Help | How do you make GUI buttons function? {Solved}
- Replies: 5
- Views: 1191
Re: Help | How do you make GUI buttons function? {Solved}
Code: Select all
choice:
Gui, Submit, NoHide
if (Choice1 = "ON" && Choice2 = "ON")
msgbox, disable a script here or do something else.
return
- 14 Mar 2016, 05:40
- Forum: Ask for Help (v1)
- Topic: quick syntax question
- Replies: 3
- Views: 823
Re: quick syntax question
This command accepts expressions by default:
https://autohotkey.com/docs/commands/MouseClickDrag.htm
When in doubt check helpfile.
HTH
Code: Select all
Mouseclickdrag, left, varX2, varY2, 1535, varY2+35
When in doubt check helpfile.
HTH
- 14 Mar 2016, 05:30
- Forum: Ask for Help (v1)
- Topic: Help | How do you make GUI buttons function? {Solved}
- Replies: 5
- Views: 1191
Re: Help | How do you make GUI buttons function?
Try this: ;-------------------WINDOWSIZE-------------------; GUI, Show, w260 h80, Universal RF + Bhop ;Text & Buttons ;---------------------RAPIDFIRE---------------------; Gui, Add, Text, x50 y15 w90 Center, Rapid Fire Gui, Add, DropDownList, x140 y15 w50 vChoice1 gChoice Choose1, OFF|ON ;----------...
- 14 Mar 2016, 02:25
- Forum: Ask for Help (v1)
- Topic: Help | How do you make GUI buttons function? {Solved}
- Replies: 5
- Views: 1191
Re: Help | How do you make GUI buttons function?
;-------------------WINDOWSIZE-------------------; GUI, Show, w260 h80, Universal RF + Bhop ;Text & Buttons ;---------------------RAPIDFIRE---------------------; Gui, Add, Text, x50 y15 w90 Center, Rapid Fire Gui, Add, DropDownList, x140 y15 w50 vChoice1 gChoice1 Choose1, OFF|ON ;------------------...
- 13 Mar 2016, 20:39
- Forum: Ask for Help (v1)
- Topic: Loop Parse Issue
- Replies: 1
- Views: 605
Re: Loop Parse Issue
Put a msgbox after you read the file and verify how many lines were processed.
NOTE: You could also shorten everything in your script to this:
HTH
Code: Select all
msgbox % FirArrayCount
NOTE: You could also shorten everything in your script to this:
Code: Select all
Loop, read, C:\and_mob.txt
FileAppend,%A_LoopReadLine%`n, % A_Index < 210 ? "C:\m_1.txt" : "C:\m_2.txt"
- 12 Mar 2016, 23:15
- Forum: Ask for Help (v1)
- Topic: cannot install AHK Topic is solved
- Replies: 3
- Views: 1502
Re: cannot install AHK Topic is solved
Possibly a AntiVirus or AntiMalware tool removing it.
I've seen these kind of tools remove ahk downloads even when there is no threat.
I have also seen infected machines attach malicious code into downloads and then the AV tools remove the download.
Its more then likely one of the 2.
HTH
I've seen these kind of tools remove ahk downloads even when there is no threat.
I have also seen infected machines attach malicious code into downloads and then the AV tools remove the download.
Its more then likely one of the 2.
HTH
- 12 Mar 2016, 19:19
- Forum: Ask for Help (v1)
- Topic: Holding mouse button down to drag without interruption/override
- Replies: 2
- Views: 718
Re: Holding mouse button down to drag without interruption/override
Code: Select all
f1::Send % (toggle := !toggle) ? "{LButton Down}" : "{LButton Up}"
#If toggle
LButton::return
#If
- 10 Mar 2016, 11:02
- Forum: Off-topic Discussion
- Topic: My windows XP Professional has infected with virus
- Replies: 8
- Views: 4194
Re: My windows XP Professional has infected with virus
As long as you do not connect to the internet Windows XP is fine. More than likely it's being run on older hardware. @OP if you are going to reinstall the OS format the drive and then install XP from a bootable CD. You can use http://www.hirensbootcd.org/download/ to boot to a mini XP OS and use one...
- 09 Mar 2016, 14:24
- Forum: Ask for Help (v1)
- Topic: Help with ControlSetText Topic is solved
- Replies: 5
- Views: 1550
Re: Help with ControlSetText Topic is solved
Maybe do this 1st:
https://autohotkey.com/docs/commands/ControlFocus.htm
Code: Select all
ControlFocus [, Control, WinTitle, WinText, ExcludeTitle, ExcludeText]
- 07 Mar 2016, 17:51
- Forum: Gaming Help (v1)
- Topic: is it possible to pixelsearch area 200x200 without freezing AHK?
- Replies: 4
- Views: 1691
Re: is it possible to pixelsearch area 200x200 without freezing AHK?
From Docs: PixelSearch, OutputVarX, OutputVarY, X1, Y1, X2, Y2, ColorID [, Variation, Fast|RGB] If you want to check with no variation use: pixelsearch, x1, y1, 1300, 100, 1500, 300, color, , fast RGB Also you should check the Errorlevel: if (ErrorLevel = 0) { sleep, 100 mousemove, x1, y1 } if Error...
- 07 Mar 2016, 03:58
- Forum: Gaming Help (v1)
- Topic: is it possible to pixelsearch area 200x200 without freezing AHK?
- Replies: 4
- Views: 1691
Re: is it possible to pixelsearch area 200x200 without freezing AHK?
There should be no problem with that area size. Post your code so you can get a proper answer.
- 03 Mar 2016, 18:35
- Forum: Ask for Help (v1)
- Topic: Noob help with array
- Replies: 3
- Views: 1000
Re: Noob help with array
Code: Select all
PixArray := [[268,22,"715948"],[269,22,"71965b"],[270,22,"71965b"]] ; Create arrays [ x , y , color]
Loop % PixArray.MaxIndex()
{
PixelGetColor PixColor, PixArray[A_Index,1], PixArray[A_Index,2], RGB
if (PixColor <> PixArray[A_Index,3])
Check := 1
Sleep 100
}
MsgBox % Check