Search found 2090 matches

by Xtra
Yesterday, 10:39
Forum: Ask For Help
Topic: Selenium findElementsByID doesn't return any result
Replies: 2
Views: 60

Re: Selenium findElementsByID doesn't return any result

You will need to fix this first: ; I get error here "THE system cannot find the file specified" Make sure you have installed selenium: https://github.com/florentbr/SeleniumBasic/releases/tag/v2.0.9.0 And get the ChromeDriver that matches the version of chrome you are using: https://sites.google.com/...
by Xtra
17 Apr 2021, 20:39
Forum: Gaming
Topic: Button Combo help
Replies: 1
Views: 49

Re: Button Combo help

Code: Select all

c::Send, 551
by Xtra
17 Apr 2021, 20:37
Forum: Gaming
Topic: World Of Warcraft Press once A Hotkey And Spam it Topic is solved
Replies: 8
Views: 247

Re: World Of Warcraft Press once A Hotkey And Spam it Topic is solved

Just for clarity: https://us.forums.blizzard.com/en/wow/t/clarification-on-tos-automation/606080/2

I'm not saying to not do it just saying... either way is technically against their TOS.
1 key press = 1 action is allowed.

Look at ControlSend to do what you want.
Have fun.
by Xtra
15 Apr 2021, 13:17
Forum: Ask For Help
Topic: Loop, Parse, and Keywait Topic is solved
Replies: 3
Views: 53

Re: Loop, Parse, and Keywait Topic is solved

Code: Select all

KeyWait, % A_LoopField
by Xtra
09 Apr 2021, 21:24
Forum: Ask For Help
Topic: GDI+ help image with rounded corners Topic is solved
Replies: 10
Views: 1028

Re: GDI+ help image with rounded corners Topic is solved

william_ahk wrote:
09 Apr 2021, 19:11
@noname I tried this code but no file was being outputted?.
If the mcode is 32bit you would need to run ahk as 32bit.
Give it a try if you are currently running ahk as 64bit.

HTH
by Xtra
09 Apr 2021, 14:49
Forum: Gaming
Topic: Click, x, y coords are different every time i restart exe.
Replies: 3
Views: 91

Re: Click, x, y coords are different every time i restart exe.

When using: CoordMode, Mouse, Client Its only going to use the active window at the time its needed. You can try changing to: CoordMode, Mouse, Screen And then set the coord x,y in script to what you have in windowspy for screen coords. ( Absolute: 1752, 562 (less often used) is the one you want for...
by Xtra
09 Apr 2021, 14:12
Forum: Gaming
Topic: Click, x, y coords are different every time i restart exe.
Replies: 3
Views: 91

Re: Click, x, y coords are different every time i restart exe.

Try:

Code: Select all

Sub_RL1:
	BlockInput, MouseMove
	WinGet, _PidRL_CMD, PID, ahk_exe RocketLeague.exe
	If !WinActive(ahk_pid _PidRL_CMD) {
		WinActivate, ahk_pid %_PidRL_CMD%
        WinWaitActive, ahk_pid %_PidRL_CMD%
    }
Return
Its possible the window is not active yet when the sends and clicks happen.
by Xtra
08 Apr 2021, 16:29
Forum: Ask For Help
Topic: Variable and following clipboard := are not interacting with each other Topic is solved
Replies: 4
Views: 88

Re: Variable and following clipboard := are not interacting with each other Topic is solved

Code: Select all

Home & S::
    SetTitleMatchMode 1
    Send ^t
    WinWaitActive Mozilla Firefox
pageN := clipboard 
Clipboard := ""
clipboard := "https test.com /board/QCkEb4"  Broken Link for safety 
ClipWait
Send ^v
    Send {Enter}
Clipboard:=pageN
return
by Xtra
07 Apr 2021, 11:06
Forum: Ask For Help
Topic: FileMove in a Loop - count files Topic is solved
Replies: 1
Views: 50

Re: FileMove in a Loop - count files Topic is solved

Code: Select all

#SingleInstance force

myFiles := []

Loop Files, %A_ScriptDir%\*.tst
	myFiles.push(A_LoopFileLongPath)

fileCount := myFiles.length

for i, file in myFiles
{	toolTip % "( " i " / " fileCount " )" 
	Sleep 1500
    SplitPath, file, FileName, Dir
	FileMove % file, % Dir . "\a" . FileName
}

by Xtra
31 Mar 2021, 13:53
Forum: Ask For Help
Topic: Why LButton and RButton affect each other??
Replies: 21
Views: 237

Re: Why LButton and RButton affect each other??

See: Hotkey Remarks Although the Hotkey command cannot directly enable or disable hotkeys in scripts other than its own, in most cases it can override them by creating or enabling the same hotkeys. Whether this works depends on a combination of factors: 1) Whether the hotkey to be overridden is a ho...
by Xtra
31 Mar 2021, 11:26
Forum: Ask For Help
Topic: Why LButton and RButton affect each other??
Replies: 21
Views: 237

Re: Why LButton and RButton affect each other??

;;s1.ahk #SingleInstance, Force ;~LButton:: ;~WheelDown/~WheelUp are the same ;return F1:: if(!flag) { Hotkey, RButton, RButton, Off Hotkey, RButton, OnKeyPressed, On } else { Hotkey, RButton, OnKeyPressed, Off Hotkey, RButton, RButton, On } flag := !flag return OnKeyPressed: ToolTip % "s1: " A_Tic...
by Xtra
30 Mar 2021, 15:34
Forum: Gaming
Topic: Please help me to slow down the frequency of this toggle autofire script Topic is solved
Replies: 8
Views: 167

Re: Please help me to slow down the frequency of this toggle autofire script Topic is solved

Change Send % SubStr(A_ThisLabel, -1) to Send % SubStr(A_ThisLabel, 0) sorry about that.
by Xtra
30 Mar 2021, 15:15
Forum: Gaming
Topic: Please help me to slow down the frequency of this toggle autofire script Topic is solved
Replies: 8
Views: 167

Re: Please help me to slow down the frequency of this toggle autofire script Topic is solved

You could do this: Thread, interrupt, 0 $space:: SetTimer, Repeat1, % (togF1 := !togF1) ? 1000 : "Off" SetTimer, Repeat2, % (togF2 := !togF2) ? 1000 : "Off" SetTimer, Repeat3, % (togF3 := !togF3) ? 1000 : "Off" SetTimer, Repeat4, % (togF4 := !togF4) ? 1000 : "Off" return Repeat1: Repeat2: Repeat3: R...
by Xtra
30 Mar 2021, 13:58
Forum: Gaming
Topic: Please help me to slow down the frequency of this toggle autofire script Topic is solved
Replies: 8
Views: 167

Re: Please help me to slow down the frequency of this toggle autofire script Topic is solved

If you would like to shorten your script you can do something like this: Thread, interrupt, 0 $F1::SetTimer, Repeat1, % (togF1 := !togF1) ? 1000 : "Off" $F2::SetTimer, Repeat2, % (togF2 := !togF2) ? 1000 : "Off" $F3::SetTimer, Repeat3, % (togF3 := !togF3) ? 1000 : "Off" $F4::SetTimer, Repeat4, % (to...
by Xtra
30 Mar 2021, 13:41
Forum: Gaming
Topic: Please help me to slow down the frequency of this toggle autofire script Topic is solved
Replies: 8
Views: 167

Re: Please help me to slow down the frequency of this toggle autofire script Topic is solved

SetTimer
Set the timer period parameter to change to what you want.

Code: Select all

SetTimer, RepeatOne, 1000    ; default is 250 milliseconds when period parameter is not set
by Xtra
30 Mar 2021, 12:55
Forum: Gaming
Topic: Make mouse wheel behave like arrow keys for camera movement in CoH2
Replies: 8
Views: 606

Re: Make mouse wheel behave like arrow keys for camera movement in RTS game

Its acting like the camera gets toggled to move when you press the arrow key?
Try a different hotkey other than the mouse wheel and see if it makes a difference.

Suggestion: Change the post title and put the game name in it.
Someone may know why or can test it.
by Xtra
30 Mar 2021, 12:17
Forum: Ask For Help
Topic: multiple scripts in one file
Replies: 2
Views: 118

Re: multiple scripts in one file

See:Return

Code: Select all

#IfWinActive, Outriders
$1::
Send 1
Sleep 10000
soundPlay, E:\autohotkey\outriders\sound.wav
return

$2::
Send 2
Sleep 10000
soundPlay, E:\autohotkey\outriders\sound.wav
return
Also use $ hotkey prefix to prevent hotkey activation when sending the same key as a hotkey.
by Xtra
30 Mar 2021, 12:02
Forum: Ask For Help
Topic: ImageSearch can't search RClick Menu Contents
Replies: 15
Views: 371

Re: ImageSearch can't search RClick Menu Contents

Make sure to set CoordMode to screen for pixel and mouse.
Also when capturing your image do not capture with the mouse over the image.

HTH

Go to advanced search