Search found 257 matches

by SvenBent
09 Feb 2018, 11:57
Forum: Ask For Help
Topic: A sleep of 0.9 is almost 20 times shorter than a sleep of 1
Replies: 4
Views: 70

Re: A sleep of 0.9 is almost 20 times shorter than a sleep of 1

IT seems like your understanding of the sleep timer and mine are highly different.
Did you actually read the documentation that Guest3456 linked before posting your "findings"?
by SvenBent
07 Feb 2018, 08:23
Forum: Scripts and Functions
Topic: [Script] enlarge any window at "maximize" to max size to remain moveable on multiple monitors
Replies: 4
Views: 134

Re: [Script] enlarge any window at "maximize" to max size to remain moveable on multiple monitors

I would avoid using a check interval 1: It gobles up unneeded CPU power ( even though its very little) 2: it creates a delay for the effect to kick in. in this case up to a second. To eliminate these two you should be using a shellhook instead https://autohotkey.com/board/topic/80644-how-to-hook-on-...
by SvenBent
10 Oct 2017, 20:15
Forum: Ask For Help
Topic: What the DLLcall to disalbe animation in taskbar
Replies: 5
Views: 158

Re: What the DLLcall to disalbe animation in taskbar

you can write the values and set them back after your done, doesn't have to be permanent. Take a look at SystemParametersInfo , this seems to to be the proper way (outside the registry). That the one I used to remove all the other annoying animations but i cant find anything about the task-bar anim...
by SvenBent
10 Oct 2017, 18:45
Forum: Ask For Help
Topic: What the DLLcall to disalbe animation in taskbar
Replies: 5
Views: 158

Re: What the DLLcall to disalbe animation in taskbar

They can be changed via the registry RegWrite I found a list of said keys here: https://www.sevenforums.com/customization/140148-visual-performance-through-registry-command.html To apply said settings after changes use SHChangeNotify with SHCNE_ALLEVENTS , atleast in theory . use this instead to ap...
by SvenBent
06 Oct 2017, 20:48
Forum: Ask For Help
Topic: What the DLLcall to disalbe animation in taskbar
Replies: 5
Views: 158

What the DLLcall to disalbe animation in taskbar

I have been able to uses the SystemParametersInfo function ( https://msdn.microsoft.com/en-us/library/windows/desktop/ms724947(v=vs.85).aspx ) to remove some animations her and there in the windows desktop, and pretty much got the same results at the above picture. However i cant rseme to finde the ...
by SvenBent
06 Oct 2017, 20:42
Forum: Gaming
Topic: Script for autofire
Replies: 5
Views: 338

Re: Script for autofire

#if GetKeyState("ScrollLock","T") LButton:: SetTimer MouseSpam, 99 Return LButton up:: SetTimer MouseSpam, off Return #if MouseSpam: Click Return this just make the left mouse button have aturbo mode if scroll lock is activated modify as you see fit This dont Work Works perfectl...
by SvenBent
03 Sep 2017, 00:11
Forum: Gaming
Topic: Script for autofire
Replies: 5
Views: 338

Re: Script for autofire

Code: [Select all] [Expand]GeSHi © Codebox Plus



this just make the left mouse button have aturbo mode if scroll lock is activated
modify as you see fit
by SvenBent
03 Sep 2017, 00:08
Forum: Gaming
Topic: disable Win key +x hotkeys Topic is solved
Replies: 2
Views: 200

Re: disable Win key +x hotkeys Topic is solved

i have a script that disable win key under games ( full screen) and remaps it to f13 so you can even use it as en extra button in the game. it works perfect and disable win+p and win+u as well this is just the disalbe winkey part hotkey, *LWin, Blank, On hotkey, *RWin, Blank, On Blank: Send {Blind}{...
by SvenBent
21 Aug 2017, 00:13
Forum: Ask For Help
Topic: a way to activate a command when leaving tray menu ?
Replies: 0
Views: 82

a way to activate a command when leaving tray menu ?

Is there a way to run a command when you leave the tray menu ( it fades out) even if you don't select anything on it?
by SvenBent
03 Apr 2017, 04:53
Forum: Ask For Help
Topic: Detect power mode
Replies: 7
Views: 396

Re: Detect power mode

If i change a power profile but dot not activate it, so the changes are not live. This code will show the changes even though its not active yet. not a problem for me just a random facts to share Oh, sorry, I know you have to reactivate the current profile if you change the brightness but it comple...
by SvenBent
01 Apr 2017, 01:52
Forum: Ask For Help
Topic: Detect power mode
Replies: 7
Views: 396

Re: Detect power mode

[quote="qwerty12"][/quote] Thank you. that hellped a lot. i modified your code to my own written style and made a few adjustment. but the code works perfect. I'm still having hard time in general with datastructures and dll calls A funny part about this is that this read the settings from ...
by SvenBent
29 Mar 2017, 09:42
Forum: Ask For Help
Topic: Detect power mode
Replies: 7
Views: 396

Re: Detect power mode

Assuming you're talking about Windows' power profiles feature and not something specific to whatever laptop you use, you can do something like to get the name of the currently active profile name: if (DllCall("powrprof\PowerGetActiveScheme", "Ptr", 0, "Ptr*", pguid) ==...
by SvenBent
20 Mar 2017, 23:40
Forum: Ask For Help
Topic: Any way to get the PID of a child process from a CMD.exe PID?
Replies: 1
Views: 193

Any way to get the PID of a child process from a CMD.exe PID?

If i have the PID of a CMD.exe running on the system. Is there a way to find the PID of the process that runs inside that CLI box ?
by SvenBent
10 Dec 2016, 00:37
Forum: Ask For Help
Topic: In a loop, if Event A happens, do that
Replies: 1
Views: 135

Re: In a loop, if Event A happens, do that

You just need to put in that IF statement inside the loop then Loop { do somethings do somethings If shit = Happens { do something differently } do something do something } also you might wanna change you you do you spacing. everytime you go IN/donw a level of loop/if etc you start the line one tab ...
by SvenBent
04 Dec 2016, 00:48
Forum: Ask For Help
Topic: Make the mouse follow a specific path
Replies: 3
Views: 176

Re: Make the mouse follow a specific path

I fail to see where that you are looking for a programs connect to a forum that its about helping people with authotkey.

Do you have any AHK script that you need help with ?
by SvenBent
27 Nov 2016, 22:00
Forum: Gaming
Topic: Two buttons in one
Replies: 8
Views: 506

Re: Two buttons in one

https://www.autohotkey.com/docs/Tutorial.htm#s3

I can't help you with a script when you don't have any/
by SvenBent
27 Nov 2016, 21:58
Forum: Gaming
Topic: help needed League of Legends
Replies: 4
Views: 344

Re: help needed League of Legends

So you wanted oters to help with something. Figured it out yourself. But didn't want to share the solution with others...
by SvenBent
27 Nov 2016, 21:52
Forum: Ask For Help
Topic: [SOLVED] Turn off the monitor (and block mouse movement) when pressing "Win+Z"
Replies: 12
Views: 967

Re: Turn off the monitor (and block mouse movement) when pressing "Win+Z"

Hello. It also needs to block mouse movement, in order to make sure that the monitor doesn't turn on accidentally when moving the mouse, or if the mouse cursor happens to twitch for a millisecond, or if there's too much light passing through the window and activates the mouse (e.g. the sun coming o...

Go to advanced search