Search found 224 matches

by WarlordAkamu67
13 May 2024, 06:15
Forum: Ask for Help (v2)
Topic: Make ListView selection toggle individual selection Topic is solved
Replies: 2
Views: 153

Make ListView selection toggle individual selection Topic is solved

Hello. I have a file deleter for old files. It displays the captured files and allows a deselection of files to be made. I would like to convert from a ListBox to a ListView, but I want the selection style of the ListBox. Adding +Multi to the ListBox makes it behave more like the ListView, which is ...
by WarlordAkamu67
11 May 2024, 09:50
Forum: Ask for Help (v2)
Topic: how to store screenshot in a variable, then paste it later?
Replies: 4
Views: 150

Re: how to store screenshot in a variable, then paste it later?

Depending on what you really want, you may be able to send printscreen. Another option is to use a library such as ImagePut by iseahound. Here is GitHub documentation that shows how to use it.
by WarlordAkamu67
09 May 2024, 05:01
Forum: Ask for Help (v2)
Topic: How to define an action if any typing key is pressed?
Replies: 2
Views: 126

Re: How to define an action if any typing key is pressed?

Sorry I can not provide any code at this time. Although you mention wanting to use #HotIf, perhaps you can try with an InputHook() instead.
by WarlordAkamu67
08 May 2024, 05:11
Forum: Ask for Help (v2)
Topic: function doesn't seem to reference a global GUI object variable. Topic is solved
Replies: 2
Views: 211

Re: function doesn't seem to reference a global GUI object variable. Topic is solved

Your function is creating another GUI that can not be referred to later on. I have added two lines and altered one. 1: return(name_GUI) <-- this line returns the newly created gui 2. global mode_GUI <-- allows the f1 function to use the global variable. this can be reduced to just "global" to use bo...
by WarlordAkamu67
19 Apr 2024, 21:32
Forum: Gaming
Topic: Game Randomly Receives Non-Existent Inputs
Replies: 8
Views: 382

Re: Game Randomly Receives Non-Existent Inputs

I did not read the previous posts, but maybe Menu Mask Key?
by WarlordAkamu67
20 Mar 2024, 12:59
Forum: Ask for Help (v2)
Topic: HotKey Sequence
Replies: 4
Views: 83

Re: HotKey Sequence

Hello! Try

Code: Select all

#z::
{
    Send "e"
    KeyWait "LShift", "d"
    KeyWait "LShift", "u"
    Send "ml"
}
by WarlordAkamu67
20 Mar 2024, 11:27
Forum: Ask for Help (v2)
Topic: Numpad on TKL keyboard
Replies: 12
Views: 265

Re: Numpad on TKL keyboard

I have used both Static and Global to make it work. Not sure if Global can replace Static but here goes my updated code. Happy to hear you have been able to get it to work! Here is a demo with global/static/local variables. This is not related to the actual topic so I will hide it in a spoiler. Hit...
by WarlordAkamu67
20 Mar 2024, 06:38
Forum: Ask for Help (v2)
Topic: Different output depends on how long to hold a key
Replies: 2
Views: 141

Re: Different output depends on how long to hold a key

akirofe This will make F3 send Enter on a press, and block mouse movement on a hold. While holding F3, the keys "a", "b", and "c" can be used to display a MsgBox- alter to your liking. #Requires AutoHotkey v2.0 key_is_Held := 0 ; ------------------------- ; ------------------------- ; -------------...
by WarlordAkamu67
20 Mar 2024, 05:53
Forum: Ask for Help (v2)
Topic: GUI with scroll bars
Replies: 1
Views: 126

Re: GUI with scroll bars

There are a few posts about GUI scrolls bars, but I don't know about multiple GUIs. I have used the functions from this post with a GUI.
by WarlordAkamu67
19 Mar 2024, 07:02
Forum: Gaming
Topic: Skillcheck for PVE game Topic is solved
Replies: 2
Views: 184

Re: Skillcheck for PVE game Topic is solved

Hello! You are searching for the yellow bar each time, is that needed? Does the position of the yellow bar change? #Requires AutoHotkey v2.0 yellow := 0 pixelX := 0 Loop { if (GetKeyState("F7")) { if (yellow && PixelGetColor(pixelX, 548) == 0xFBFF00) { while (PixelGetColor(pixelX, 548) == 0xFBFF00) ...
by WarlordAkamu67
18 Mar 2024, 06:35
Forum: Gaming Help (v1)
Topic: OSRS Ahk - Clicking on a monster in random spot
Replies: 7
Views: 490

Re: OSRS Ahk - Clicking on a monster in random spot

It has been awhile since I have used v1. Like I said before, without utilizing a library or some other script, writing your own script is doable; however, it is a slow process. The code below is what I have come up with. You may want to change the CoordMode to window or something. Another option, if...
by WarlordAkamu67
14 Mar 2024, 10:56
Forum: Ask for Help (v2)
Topic: how to make a script a .exe file
Replies: 6
Views: 199

Re: how to make a script a .exe file

samegui.jpg
samegui.jpg (57.83 KiB) Viewed 177 times
by WarlordAkamu67
14 Mar 2024, 05:30
Forum: Ask for Help (v2)
Topic: absolute beginner question looping through excel columns
Replies: 2
Views: 125

Re: absolute beginner question looping through excel columns

Hello! I am unable to contribute much as I do not have the time to test stuff. What you are asking for sounds feasible. You can search through other posts for idea as to what the code would look like, look for topics that are marked as answered. This post has some code to look at as well as links to...
by WarlordAkamu67
12 Mar 2024, 06:32
Forum: Gaming Help (v1)
Topic: OSRS Ahk - Clicking on a monster in random spot
Replies: 7
Views: 490

Re: OSRS Ahk - Clicking on a monster in random spot

The links I provided contain information on the functions and how to use them, for version 2 of AHK. The code you posted uses the same function (command in v1), PixelSearch. What version do you want to write in?
by WarlordAkamu67
07 Mar 2024, 11:32
Forum: Gaming Help (v1)
Topic: OSRS Ahk - Clicking on a monster in random spot
Replies: 7
Views: 490

Re: OSRS Ahk - Clicking on a monster in random spot

Hello. PixelSearch returns the value of the first found pixel. It would be possible to use PixelGetColor across the entire window and capture each red pixel, then pick a random one using the Random function. This would be an extremely slow process, though. You can also try a library such as ImagePut...
by WarlordAkamu67
05 Mar 2024, 12:03
Forum: Gaming
Topic: Control Send script help for a game
Replies: 1
Views: 130

Re: Control Send script help for a game

Hello. Try this: #Requires Autohotkey v2.0+ SendMode("Event") ; ========== ; ========== ; ========== ; ========== ; ========== ; F7:: { ToolTip("Starting...") SetTimer () => ToolTip(), -1000 SetTimer(pressButton, -1) return } ; ========== ; ========== ; ========== ; ========== ; ========== ; F8:: { ...
by WarlordAkamu67
04 Mar 2024, 13:42
Forum: Ask for Help (v2)
Topic: Function - problem Topic is solved
Replies: 2
Views: 84

Re: Function - problem Topic is solved

Hello. You must return the value from the function.

Code: Select all

unix() {
  var1 := A_NowUTC
  var2 := "19700101"
  return(DateDiff(var1, var2, "Seconds"))
}

MsgBox unix()
by WarlordAkamu67
01 Mar 2024, 14:37
Forum: Ask for Help (v2)
Topic: How to send Esc hotkey Topic is solved
Replies: 6
Views: 345

Re: How to send Esc hotkey Topic is solved

Do you see an error message of some sort? Is there any other information you can provide? Downloading the posted code gives me no problems. Esc + D shows a message box, and F2 hits Escape D. (tested by closing the move window in Adobe Illustrator).
by WarlordAkamu67
01 Mar 2024, 11:46
Forum: Ask for Help (v2)
Topic: Convert pixel ruler
Replies: 2
Views: 150

Re: Convert pixel ruler

There was an extra "a" in the height of the text element. Also, I am unsure of "oGui2.default" is suppose to be. Fixing those 2 got me something that worked without errors, but may not be exactly what you are looking for. ; Measure the size of a rectangular area with a pixel ruler. ; Source: https:/...
by WarlordAkamu67
01 Mar 2024, 06:21
Forum: Wish List
Topic: A_ThisVariant
Replies: 9
Views: 905

Re: A_ThisVariant

I kind of pictured it in my head like trimming the error window code, so whatever that is displayed there. So I guess it would "MouseIsOverNotepad.Bind(1)" and "f"? I don't have any great examples of a use case, but that is what I think of for a potential value, if assigned.
variant.png
variant.png (36.95 KiB) Viewed 461 times

Go to advanced search