Search found 16 matches

by uorufu
19 Aug 2021, 08:27
Forum: Ask for Help (v1)
Topic: Need help editing MouseWheel Volume script.
Replies: 26
Views: 1754

Re: Need help editing MouseWheel Volume script.

Use this instead of MouseIsOverBottom() to use the left side of the screen.

Code: Select all

MouseIsOverLeft()
{  MouseGetPos,x
   Return x < 10
}
As for vertical bar, I know it is possible with Gui, but I am just not very familiar using Gui's.
by uorufu
19 Aug 2021, 06:07
Forum: Ask for Help (v1)
Topic: Help with simple script
Replies: 6
Views: 596

Re: Help with simple script

WheelUp:: StartTime := A_TickCount Send {WheelUp} return MButton:: ElapsedTime := A_TickCount - StartTime If (ElapsedTime < 2000) { Send {Ctrl Down}{Esc}{Ctrl Up} } else { Send {MButton} } return This should do what you want, you can change the 2000 to something else. That is the grace period you h...
by uorufu
18 Aug 2021, 06:57
Forum: Gaming Help (v1)
Topic: My thing isn't clicking in the right spots
Replies: 4
Views: 788

Re: My thing isn't clicking in the right spots

Evan2533 wrote:
17 Aug 2021, 20:04
@uorufu
what do you mean by 'game name' it is a roblox game and i am new to ahk
You can find the window title using window spy. (Right click any running ahk script in your try and you can open window spy. Hover over the game and the first line in the first box is window title.
by uorufu
17 Aug 2021, 18:21
Forum: Ask for Help (v1)
Topic: If !WinExist (wTitle := "X1") or (wTitle := "X2") Topic is solved
Replies: 25
Views: 2409

Re: If !WinExist (wTitle := "X1") or (wTitle := "X2") Topic is solved

Also, if X1 and X2 is only a part of the window title, make sure to set...

Code: Select all

SetTitleMatchMode, 2
...before the If function.
by uorufu
17 Aug 2021, 17:29
Forum: Ask for Help (v1)
Topic: If !WinExist (wTitle := "X1") or (wTitle := "X2") Topic is solved
Replies: 25
Views: 2409

Re: If !WinExist (wTitle := "X1") or (wTitle := "X2") Topic is solved

:= assigns a value, I am pretty sure that doesn't work.

Code: Select all

if not WinExist("X1") or not WinExist("X2")
{
	;stuff
}
by uorufu
17 Aug 2021, 11:23
Forum: Gaming Help (v1)
Topic: Game doesnt like controlsend, fixed controlclick
Replies: 0
Views: 454

Game doesnt like controlsend, fixed controlclick

I know use these functions for Controlclick, and they work in the game, but I want to figure out how to make this work for controlsend for normal keys. But these functions are a bit above my head. Not sure how to make it work for controlsend... CoordMode, Mouse, Window SetTitleMatchMode 2 WinTitle :...
by uorufu
16 Aug 2021, 18:50
Forum: Gaming Help (v1)
Topic: My thing isn't clicking in the right spots
Replies: 4
Views: 788

Re: My thing isn't clicking in the right spots

Try this and put the title of your games window in the script. #NoEnv CoordMode, Mouse, Window SetTitleMatchMode 2 SetControlDelay -1 WindowTitle := "Put whatever title your game has here" x:: Loop { ;DllCall("SetCursorPos", int, 1346, int, 14) ControlClick, x1346 y14, WindowTitle,, Sleep 1000 ;DllC...
by uorufu
16 Aug 2021, 18:39
Forum: Ask for Help (v1)
Topic: Help with simple script
Replies: 6
Views: 596

Re: Help with simple script

I realized I was wrong in my definition, as I got to mostly work my initial ask, and it does not really work. What I need is, with just 1 mousewheel (and its button) to be able to hold ctrl down (so I can do LMB clicks manually), release ctrl , and do escape. So, I was thinking a possibility could ...
by uorufu
16 Aug 2021, 18:25
Forum: Ask for Help (v1)
Topic: 3 methods for sending variable to LAN PC, which is best?
Replies: 1
Views: 406

3 methods for sending variable to LAN PC, which is best?

I am sending variables to a script across LAN to another script using these methods and wanted to know what an experienced programmer thinks is the best/most ideal solution? PS: About how often the script uses the method: The script sends inputs from keys I have to press, so they send at most a coup...
by uorufu
15 Aug 2021, 15:36
Forum: Ask for Help (v1)
Topic: Possible? Avoid loop, only activate if FileExist Topic is solved
Replies: 4
Views: 318

Re: Possible? Avoid loop, only activate if FileExist Topic is solved

I found this ( I haven't tested it ) It looks like it is related and it also looks like any looping is done outside of ahk code ( so better performance I assume. ) By: @teadrinker https://www.autohotkey.com/boards/viewtopic.php?t=76244#p330367 #Persistent FolderPath := "D:\Downloads" ; set the fold...
by uorufu
15 Aug 2021, 15:03
Forum: Ask for Help (v1)
Topic: Possible? Avoid loop, only activate if FileExist Topic is solved
Replies: 4
Views: 318

Re: Possible? Avoid loop, only activate if FileExist Topic is solved

Is command.txt written by another script and you are using this script to act as a separate thread? if so, I believe that you can use a window message OnMessage() to send a message from one script to the other. Then you wouldn't need a loop or a timer at all. I have never used messages this way but...
by uorufu
15 Aug 2021, 14:46
Forum: Ask for Help (v1)
Topic: Possible? Avoid loop, only activate if FileExist Topic is solved
Replies: 4
Views: 318

Possible? Avoid loop, only activate if FileExist Topic is solved

So currently I have a script that continuously loops, but only needs to execute if a file exists. Is it possible to do so without a loop? It is pretty important the script has no delays added in, so sleep for a bit to reduce resources is not ideal. Right now it takes up almost 4% of my CPU. I'm tryi...
by uorufu
12 Aug 2021, 19:11
Forum: Gaming Scripts (v1)
Topic: Diablo 2 multibox script
Replies: 1
Views: 3203

Diablo 2 multibox script

Old info I started today working on a diablo 2 multibox script (preparing for D2R) and wonder if people have some ideas on it. I want to multibox 3 clients on 2 seperate PC's. So far I have the script working for keycloning as well as mouse left click cloning. I use 4 scripts total, 2 for each syste...
by uorufu
12 Aug 2021, 18:45
Forum: Ask for Help (v1)
Topic: Debugging ifwinactive together with time of day
Replies: 21
Views: 768

Re: Debugging ifwinactive together with time of day

Not sure if this would be helpful, but I tend to seperate 'infinite' loops in a seperate script to avoid any hassle. You can also brute force the window check with something like this when you start the script (start script and within 2 seconds activate the shareX window until msgbox appears, ok to ...
by uorufu
12 Aug 2021, 17:12
Forum: Ask for Help (v1)
Topic: Remap left click on condition but leave unchanged if not met?? Topic is solved
Replies: 2
Views: 206

Re: Remap left click on condition but leave unchanged if not met?? Topic is solved

Thanks a bunch!

Had to work a little on my If statement to get it to work, but it's working like a charm now. I knew it had to be something silly easy.

Code: Select all

#If WinActive("ahk_id "var)
	LButton::
		blah blah
	return
by uorufu
12 Aug 2021, 16:46
Forum: Ask for Help (v1)
Topic: Remap left click on condition but leave unchanged if not met?? Topic is solved
Replies: 2
Views: 206

Remap left click on condition but leave unchanged if not met?? Topic is solved

So I want to put a condition on my left click, that if met it does something else, but in all other cases it acts like a normal left click. Currently I got this: LButton:: If blah blah { do stuff, not the part I need help with } else { Click Left } return This completely changes normal left click be...

Go to advanced search