Search found 2043 matches

by Xtra
21 Dec 2020, 18:41
Forum: Ask For Help
Topic: What's the name for this element area in this pages “inspect element”?
Replies: 12
Views: 248

Re: What's the name for this element area in this pages “inspect element”?

On that page open chrome dev tools (press F12 or Ctrl+Shift+J) and enter this document.getElementsByClassName("card-entry")[0].innerTexton the Console tab.
by Xtra
19 Dec 2020, 13:29
Forum: Gaming
Topic: RedRead / RegWrite questions.... Topic is solved
Replies: 3
Views: 77

Re: RedRead / RegWrite questions.... Topic is solved

RegRead
RegRead, OutputVar, KeyName , ValueName
Your OutputVar needs to be a var not a filename.
by Xtra
19 Dec 2020, 12:01
Forum: Gaming
Topic: if i start this script my pc flips
Replies: 7
Views: 107

Re: if i start this script my pc flips

ColorID The decimal or hexadecimal color ID to search for, in Blue-Green-Red (BGR) format, which can be an expression. Color IDs can be determined using Window Spy (accessible from the tray menu) or via PixelGetColor. For example: 0x9d6346 See: PixelSearch If you want to put a literal comma in an e...
by Xtra
14 Dec 2020, 13:51
Forum: Gaming
Topic: script dont sucess pls help me^^
Replies: 3
Views: 78

Re: script dont sucess pls help me^^

Code: Select all

WinGet, myList, List, [#] Dungeon Defenders 2 [#]

g::
	KeyWait, G
	ControlSend,, G, ahk_id %myList2%
	ControlSend,, G, ahk_id %myList3%
	ControlSend,, G, ahk_id %myList4%
Return
by Xtra
14 Dec 2020, 13:09
Forum: Gaming
Topic: script dont sucess pls help me^^
Replies: 3
Views: 78

Re: script dont sucess pls help me^^

Based on example #2 in WinGet

Code: Select all

WinGet, myList, List, [#] Dungeon Defenders 2 [#]

g::
	KeyWait, G
	Loop % myList
	{
		this_id := myList%A_Index%
		ControlSend,, G, ahk_id %this_id%
	}
Return
by Xtra
14 Dec 2020, 12:59
Forum: Ask For Help
Topic: Window Spy - No Visible Text
Replies: 5
Views: 147

Re: Window Spy - No Visible Text

The text retrieved is generally the same as what Window Spy shows for that window. However, if DetectHiddenText has been turned off, hidden text is omitted from OutputVar.
See: WinGetText
by Xtra
12 Dec 2020, 22:19
Forum: Gaming
Topic: why this script still run outside projectwingman
Replies: 3
Views: 55

Re: why this script still run outside projectwingman

Give this a try: #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. wintitle := "Project Wingman" #IfWinActive, %wintitle% *pgdn:: toggle := !toggle if (toggle) { SetTimer, Spam_Space, 10 } else { SetTimer, Spam_Space, Off } return Spam_Space: if WinActive(wintit...
by Xtra
11 Dec 2020, 18:59
Forum: Gaming
Topic: Having trouble including WindHumanMouse.ahk
Replies: 2
Views: 54

Re: Having trouble including WindHumanMouse.ahk

You need [v1.1.27+] or higher to have Min()
Update your AHK and it will work.
by Xtra
11 Dec 2020, 18:55
Forum: Ask For Help
Topic: Scite4autohotkey does not record
Replies: 2
Views: 411

Re: Scite4autohotkey does not record

Macro.png
Macro.png (18.5 KiB) Viewed 32 times
Its recording a macro it is not making your script.
Press Shift+F9 to see your list of saved macros.

If you want a script recorder pullovers does it if that is what you are looking for.
by Xtra
11 Dec 2020, 14:03
Forum: Ask For Help
Topic: scite autohotkey NUL
Replies: 5
Views: 156

Re: scite autohotkey NUL

Your control / shift key is stuck down most likely Control+Shift+Letter is how to type control characters like NUL.
You can always use Control+z to undo any changes that were unintended in your script.
by Xtra
10 Dec 2020, 15:55
Forum: Gaming
Topic: Imagesearch region + execute keybind if true [Post deleted]
Replies: 12
Views: 2408

Re: Imagesearch region + execute keybind if true [Post deleted]

Ankhy wrote:
10 Dec 2020, 12:32
If I would like to loop this, instead of holding a button, where would I need to put the loop in? =\ (Newbie here)
Change:

Code: Select all

*1::SetTimer WatchSpells, 10
*1 Up::SetTimer WatchSpells, Off
to:

Code: Select all

*1::SetTimer WatchSpells, % (t:=!t) ? 10 : "Off"
Now it will toggle.
by Xtra
09 Dec 2020, 06:36
Forum: Scripts and Functions
Topic: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!
Replies: 379
Views: 168719

Re: [Library] Chrome.ahk - Automate Google Chrome using native AutoHotkey. No Selenium!

teadrinker wrote:
09 Dec 2020, 05:13
Later I'll try to create the light version of my JSON class for use with Chrome.ahk
:thumbup:
by Xtra
08 Dec 2020, 23:35
Forum: Gaming
Topic: Need help with minecraft Topic is solved
Replies: 1
Views: 167

Re: Need help Topic is solved

Code: Select all

^1::
send {t}
sleep, 100
sendinput {raw} /command1
sleep, 100
send {enter}
return

^2::
send {t}
sleep, 100
sendinput {raw} /command2
sleep, 100
send {enter}
return
Use a Return to complete your hotkey routine.
by Xtra
08 Dec 2020, 17:52
Forum: Ask For Help
Topic: Key sequence issues
Replies: 3
Views: 361

Re: Key sequence issues

Take a look at SetKeyDelay it can slow it down some and might help.
by Xtra
08 Dec 2020, 16:37
Forum: Ask For Help
Topic: Key sequence issues
Replies: 3
Views: 361

Re: Key sequence issues

You have a multiple line hotkey it requires nothing on the hotkey line.
Give this a try:

Code: Select all

F10::
SEND, {Shift Down}{TAB 11}{Shift Up}
SEND, {ENTER} 
SEND, !Q
return
by Xtra
06 Dec 2020, 13:41
Forum: Ask For Help
Topic: AHK text control color word
Replies: 10
Views: 899

Re: AHK text control color word

RTF control is another option its similar to a edit control if thats what you are looking for.
by Xtra
01 Dec 2020, 11:46
Forum: Ask For Help
Topic: Add a variable in function parameter Topic is solved
Replies: 13
Views: 461

Re: Add a variable in function parameter Topic is solved

MouseClick
X, Y
The x/y coordinates to which the mouse cursor is moved prior to clicking, which can be expressions
by Xtra
29 Nov 2020, 18:30
Forum: Ask For Help
Topic: %A_UserName% Is Killing Me! I Need Help. Topic is solved
Replies: 2
Views: 197

Re: %A_UserName% Is Killing Me! I Need Help. Topic is solved

Functions use expression syntax.

Code: Select all

Excel.Workbooks.Open("C:\Users\" . A_UserName . "\Desktop\File3.xlsx")

Excel.ActiveWorkbook.SaveAs("C:\Users\" . A_UserName . "\Desktop\File3.xlsx")
by Xtra
29 Nov 2020, 00:20
Forum: Ask For Help
Topic: ClassNN Keeps Changing on TextBox
Replies: 9
Views: 172

Re: ClassNN Keeps Changing on TextBox

You will want to pass screen coords to the dllcall.
Find the window position with wingetpos and then add the control position to that number. (relative to the window not client area)
This will handle the window in any position on screen.
by Xtra
28 Nov 2020, 20:39
Forum: Ask For Help
Topic: ClassNN Keeps Changing on TextBox
Replies: 9
Views: 172

Re: ClassNN Keeps Changing on TextBox

WindowFromPoint has a single parameter, which is a POINT struct. Try it like this: DllCall("WindowFromPoint", int64, y << 32 | x) EditPath := DllCall("WindowFromPoint", int64, 102 << 32 | 77) ; Get control handle EditFile := DllCall("WindowFromPoint", int64, 128 << 32 | 77) ; Get control handle Cont...

Go to advanced search