Search found 1981 matches

by Xtra
25 Nov 2020, 13:43
Forum: Ask For Help
Topic: using wildcards in Window Title match
Replies: 5
Views: 73

Re: using wildcards in Window Title match

See: SetTitleMatchMode
use regex option
by Xtra
25 Nov 2020, 00:18
Forum: Ask For Help
Topic: Preventing the default action
Replies: 2
Views: 50

Re: Preventing the default action

Code: Select all

~XButton2 & WheelUp::Send {Volume_Up}
~XButton2 & WheelDown::Send {Volume_Down}
by Xtra
19 Nov 2020, 14:41
Forum: Gaming
Topic: Why SendEvent dont work correct, can you correct me ? Topic is solved
Replies: 7
Views: 116

Re: Why SendEvent dont work correct, can you correct me ? Topic is solved

It means the key is physically pressed.
Click GetKeyState in the code box to being up the help file for the item.
by Xtra
19 Nov 2020, 11:45
Forum: Gaming
Topic: Why SendEvent dont work correct, can you correct me ? Topic is solved
Replies: 7
Views: 116

Re: Why SendEvent dont work correct, can you correct me ? Topic is solved

Try Using:

Code: Select all

while GetKeyState("LButton","P")
and

Code: Select all

while GetKeyState("RButton","P")
by Xtra
19 Nov 2020, 11:39
Forum: Gaming
Topic: Auto Clicker Script with other functionalities.
Replies: 4
Views: 74

Re: Auto Clicker Script with other functionalities.

Random, rnd, 8, 18 Sleep, rnd Due to the granularity of the OS's time-keeping system, Delay is typically rounded up to the nearest multiple of 10 or 15.6 milliseconds (depending on the type of hardware and drivers installed). For example, a delay between 1 and 10 (inclusive) is equivalent to 10 or ...
by Xtra
19 Nov 2020, 02:32
Forum: Ask For Help
Topic: Send +v or paste value to website
Replies: 5
Views: 74

Re: Send +v or paste value to website

The website is probably trying to validate the input.
You could try clicking or focusing the input element and then using send:

Code: Select all

SetKeyDelay, 100, 50
Send % TN
by Xtra
19 Nov 2020, 02:23
Forum: Ask For Help
Topic: Volume Meter Flickers Topic is solved
Replies: 9
Views: 166

Re: Volume Meter Flickers Topic is solved

You could try creating as hidden:
Gui, Add, Slider, x433 y5 w315 h22 Right Right Range0-100 gVol vSet ToolTip NoTicks +Hidden,% Volume

When a control is hidden it shouldnt be causing any issues do you have something else going on when updating the progress bar?
by Xtra
18 Nov 2020, 23:42
Forum: Ask For Help
Topic: Shift Tab twice Topic is solved
Replies: 5
Views: 89

Re: Shift Tab twice Topic is solved

Code: Select all

Shift::Send, {Blind}{Tab 2}
by Xtra
18 Nov 2020, 23:24
Forum: Ask For Help
Topic: Send +v or paste value to website
Replies: 5
Views: 74

Re: Send +v or paste value to website

First post should be change to: .value := TN
Second post should be change to: "input[name='txtTin']" Edit: I see the 1st post needs this fixed also <<

HTH
by Xtra
18 Nov 2020, 23:16
Forum: Gaming
Topic: Auto Clicker Script with other functionalities.
Replies: 4
Views: 74

Re: Auto Clicker Script with other functionalities.

Try: ~LButton:: Loop { Send, {LButton} sleep 10 If (!GetKeyState("LButton","p")) break } return ~RButton:: Loop { Send, {RButton} sleep 10 If (!GetKeyState("RButton","p")) break } Return ~B::Send {XButton1}{LButton} F1::Suspend ; Toggle hotkeys on/off F2::ExitApp ; Close script
by Xtra
18 Nov 2020, 23:05
Forum: Gaming
Topic: Why SendEvent dont work correct, can you correct me ? Topic is solved
Replies: 7
Views: 116

Re: Why SendEvent dont work correct, can you correct me ? Topic is solved

SendEvent is doing exactly what you told it do sending: Clic_25:, Dll_12:

If you want to run those 2 subroutines try using: Gosub

Code: Select all

while GetKeyState("LButton")
{
	gosub, Click_25
	gosub, Dll_12
}
by Xtra
18 Nov 2020, 22:58
Forum: Ask For Help
Topic: Volume Meter Flickers Topic is solved
Replies: 9
Views: 166

Re: Volume Meter Flickers Topic is solved

try using:
Gui, +E0x02000000 +E0x00080000 ; WS_EX_COMPOSITED & WS_EX_LAYERED => Double Buffer

from here:
https://www.autohotkey.com/boards/viewtopic.php?t=77668&p=337765
by Xtra
18 Nov 2020, 11:18
Forum: Ask For Help
Topic: FileCreateDir not creating parent folders Topic is solved
Replies: 3
Views: 69

Re: FileCreateDir not creating parent folders Topic is solved

Change it to backslash \ it works fine
FileCreateDir, dir1\dir2
by Xtra
17 Nov 2020, 21:16
Forum: Ask For Help
Topic: what's wrong with this Run %comspec% line
Replies: 5
Views: 87

Re: what's wrong with this Run %comspec% line

To run multiple commands in command line use & not &&
by Xtra
16 Nov 2020, 17:11
Forum: Gaming
Topic: help with imagesearch inside league of legends
Replies: 3
Views: 58

Re: help with imagesearch inside league of legends

You will also want to set the coordmode for the mouse to the same as pixel. CoordMode, Mouse, Screen If you still have trouble check ErrorLevel if its = 2 you could have a path issue etc if its = 1 check your search area and you may want to increase the variation like so: ImageSearch, x, y, 0, 0, 14...
by Xtra
16 Nov 2020, 14:36
Forum: Gaming
Topic: Help with toggling the shift key
Replies: 5
Views: 95

Re: Help with toggling the shift key

If you try it in notepad it works must be something else going on with the game.
by Xtra
16 Nov 2020, 13:49
Forum: Ask For Help
Topic: The menu command cannot be used in the ? : operator? Topic is solved
Replies: 6
Views: 101

Re: The menu command cannot be used in the ? : operator? Topic is solved

Probably due to legacy syntax of = assignment being a string. With ( ) it is evaluated first. str = 0 ? a() : b() MsgBox % str var 1 is used for: Legacy: The command line parameters are also stored in the variables %1%, %2%, and so on, as in versions prior to [v1.1.27]. In addition, %0% contains the...
by Xtra
16 Nov 2020, 13:23
Forum: Ask For Help
Topic: The menu command cannot be used in the ? : operator? Topic is solved
Replies: 6
Views: 101

Re: The menu command cannot be used in the ? : operator? Topic is solved

afe wrote:
16 Nov 2020, 12:50
And why doesn't this call the b function?
Try:

Code: Select all

0 ? a() : b()
; or
(1 = 0) ? a() : b()
return

a()
{
    msgbox 1
    return
}

b()
{
    msgbox 2
    return
}
by Xtra
15 Nov 2020, 20:56
Forum: Gaming
Topic: Help with toggling the shift key
Replies: 5
Views: 95

Re: Help with toggling the shift key

Code: Select all

PgDn::Send % GetKeyState("Shift") ? "{Shift up}" : "{Shift down}"
by Xtra
15 Nov 2020, 20:23
Forum: Ask For Help
Topic: Loop, Parse - Merge lines
Replies: 6
Views: 136

Re: Loop, Parse - Merge lines

Get_Letters() { Send ^c ; Copy marked lines ClipWait, 2 str := Trim(Clipboard) , first := [] , last := [] Loop, Parse, str, `n, `r { num := SubStr(A_LoopField, 1, InStr(A_LoopField, ":") - 1) char := SubStr(A_LoopField, InStr(A_LoopField, ":") + 1) (first[num] = "") ? (first[num] := char) : (last[n...

Go to advanced search