Search found 265 matches

by SvenBent
19 Jun 2019, 13:22
Forum: Ask For Help
Topic: Get Password form Last Pass PWD generator
Replies: 0
Views: 54

Get Password form Last Pass PWD generator

so i have been using this little script to get a random generate password from random.org chars=12 wr := ComObjCreate("WinHttp.WinHttpRequest.5.1") wr.Open("GET", "https://www.random.org/passwords/?num=1&len=" chars "&format=plain&rnd=new") wr.Send() Var_GenPassword := SubStr(wr.ResponseText,1,chars...
by SvenBent
18 Apr 2019, 18:43
Forum: Ask For Help
Topic: Getting folderpath from filepath. ( or run exe in its own folder) Topic is solved
Replies: 2
Views: 217

Re: Getting folderpath from filepath. ( or run exe in its own folder) Topic is solved

figured it out. posting incase other is going to need it Var_FolderRun := SubStr(Var_FileRun, 1, InStr(Var_FileRun, "\", , Startingpos := 0)) It usses InStr to find the locationg of the lats \ in the path that is then passed on to SubStr as the lengs of the string of the path to put into Var_FolderRun
by SvenBent
18 Apr 2019, 18:25
Forum: Ask For Help
Topic: Getting folderpath from filepath. ( or run exe in its own folder) Topic is solved
Replies: 2
Views: 217

Getting folderpath from filepath. ( or run exe in its own folder) Topic is solved

my script is asking the user to select a file to run by this FileSelectFile, Var_FileRun Then later on in the script i run the file like this run, %Var_FileRun% However this make the file run in the A_workdir and i need it to run from it location folder. Is there a way to make the run command always...
by SvenBent
28 Feb 2019, 09:54
Forum: Ask For Help
Topic: Reading currently marked test (without clipboard)
Replies: 1
Views: 158

Reading currently marked test (without clipboard)

is thrre a way for AHK to read the currently marked test into a variable without the use of the clipboard ? MY issue is that im running with a remote control tool that constantly messed up the clipboard. because its trying to sync it with the remoted computed. However it does a really bad jobs at th...
by SvenBent
31 Jan 2019, 09:12
Forum: Ask For Help
Topic: empty standvby list
Replies: 0
Views: 144

empty standvby list

So in pspapi there is a emptyworkingset function
I am wondering if there is an empty standby memory. function as well but have not been able to find it.

If some could please advise on the existance of this features/fuction
by SvenBent
27 Mar 2018, 07:46
Forum: Ask For Help
Topic: Filter clipboard to numbers only Topic is solved
Replies: 5
Views: 663

Re: Filter clipboard to numbers only Topic is solved

Guest wrote:

Code: Select all

MsgBox % RegExReplace("(123) 456 -7890","[^\d]")
:?:
This was awesome and seems to be a very powerfull command/tool thank you.
by SvenBent
27 Mar 2018, 06:28
Forum: Ask For Help
Topic: A sleep of 0.9 is almost 20 times shorter than a sleep of 1
Replies: 5
Views: 505

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"? I don't get the point you're trying to make. Player hasn't replied since guest3456 's post and I'm asking Player for addit...
by SvenBent
27 Mar 2018, 06:21
Forum: Ask For Help
Topic: Filter clipboard to numbers only Topic is solved
Replies: 5
Views: 663

Filter clipboard to numbers only Topic is solved

I have a little utiltiy that copy paste some stuff for me but I want it to be able to filter the text into only numbers ^+c:: v_ClipSaved := ClipboardAll Sleep 99 Send ^c Sleep 99 Winactivate Bria 4 Sleep 99 send ^v Sleep 99 Clipboard := v_ClipSaved send {enter} return If I copy something like "(123...
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: 5
Views: 505

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: 666

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: 559

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: 559

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: 559

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: 869

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 perfectly. you must be doing...
by SvenBent
03 Sep 2017, 00:11
Forum: Gaming
Topic: Script for autofire
Replies: 5
Views: 869

Re: Script for autofire

Code: Select all

#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
by SvenBent
03 Sep 2017, 00:08
Forum: Gaming
Topic: disable Win key +x hotkeys Topic is solved
Replies: 2
Views: 747

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: 217

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: 966

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: 966

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 powerprofi...
by SvenBent
29 Mar 2017, 09:42
Forum: Ask For Help
Topic: Detect power mode
Replies: 7
Views: 966

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) == 0) { VarSetCapacity(desc, (sz...

Go to advanced search