Search found 72 matches
- 09 Oct 2021, 20:26
- Forum: Ask for Help (v1)
- Topic: Which is the executable (if any) for "System Sounds"? (Win10) Topic is solved
- Replies: 2
- Views: 354
Re: Which is the executable (if any) for "System Sounds"? (Win10) Topic is solved
Perhaps a solution here (I did not try it): https://www.autohotkey.com/boards/viewtopic.php?p=260932#p260932 Awesome!! It works!! (although, I have no idea why :lol: ). If someone wants the final code, here it's ("fLevel" is the volume, a number from 0 to 1 ): #Include %A_ScriptDir%\VA.ahk if !(Vol...
- 09 Oct 2021, 17:10
- Forum: Ask for Help (v1)
- Topic: Which is the executable (if any) for "System Sounds"? (Win10) Topic is solved
- Replies: 2
- Views: 354
Which is the executable (if any) for "System Sounds"? (Win10) Topic is solved
Hello everyone. I'm not sure if it's right to post it in "Ask for Help", if I'm wrong I would appreciate it if some told me. Using this Autohotkey script, I'm able to set volume to decimal point : https://www.autohotkey.com/boards/viewtopic.php?f=5&t=46654&p=210766 It uses the executables as input (...
- 22 Aug 2021, 12:12
- Forum: Ask for Help (v1)
- Topic: How to use dll "DestroyMenu"? Topic is solved
- Replies: 4
- Views: 304
Re: How to use dll "DestroyMenu"? Topic is solved
$F1:: if !hMenu := DllCall("GetMenu", "Ptr", WinExist("A"), "Ptr") throw "Failed to get window menu" DllCall("SetMenu", "Ptr", WinExist("A"), "Ptr", 0) if !DllCall("DestroyMenu", "Ptr", hMenu) throw "Failed to destroy menu" Return Awesome!! Works as expected 👍. It seems that I need to "SetMenu" to ...
- 22 Aug 2021, 11:38
- Forum: Ask for Help (v1)
- Topic: How to use dll "DestroyMenu"? Topic is solved
- Replies: 4
- Views: 304
Re: How to use dll "DestroyMenu"? Topic is solved
Thanks, but I already knew this method (see my "PS" from my post).teadrinker wrote: ↑22 Aug 2021, 11:34Code: Select all
$F1:: DllCall("SetMenu", "Ptr", WinExist("A"), "Ptr", 0)
- 22 Aug 2021, 10:49
- Forum: Ask for Help (v1)
- Topic: How to use dll "DestroyMenu"? Topic is solved
- Replies: 4
- Views: 304
How to use dll "DestroyMenu"? Topic is solved
Hello everyone. I'm trying to destroy the menu from a window, using this script: Sleep, 1000 ;; time-for-selectWindow v := DllCall("GetMenu",uint,WinActive( "A" )) DllCall("DestroyMenu",uint,v) Msgbox % "Menu expected to be remove" WinActivate v:=DllCall("GetMenu",uint,WinActive( "A" )) Msgbox % "st...
- 20 May 2021, 03:01
- Forum: Ask for Help (v1)
- Topic: Changing minimum window size for a specific program
- Replies: 11
- Views: 4195
Re: Changing minimum window size for a specific program
I will offer 50-100$ to anyone who could solve what I am asking for above. Please get in contact with me if you think you'll have a solution. Not sure if you already solved it, but here is a solution I found (by accident): Run, notepad,,, v WinWait, % "ahk_pid " v x:=0 , y:=0 , w:=3000 , h:=750 ;; ...
- 27 Jun 2020, 13:30
- Forum: Off-topic Discussion
- Topic: [VIDEO] EXTREME MINIMALIST UI (Thank You Autohotkey!)
- Replies: 5
- Views: 3696
Re: [VIDEO] EXTREME MINIMALIST UI (Thank You Autohotkey!)
Hahaha, Thank you!
Yes, it's Windows 10, and without the need to modify the registry or administrator rights.
- 27 Jun 2020, 12:33
- Forum: Off-topic Discussion
- Topic: [VIDEO] EXTREME MINIMALIST UI (Thank You Autohotkey!)
- Replies: 5
- Views: 3696
Re: [VIDEO] EXTREME MINIMALIST UI (Thank You Autohotkey!)
a) thx for sharing this. :thumbup: b) blurry? Check out if YT expects a specific video format/type. Looks like a conversion issue. c) learn harder which font vs background colors are serving average viewers reading habits: https://developer.paciellogroup.com/resources/contrastanalyser/ d) happy scr...
- 26 Jun 2020, 15:10
- Forum: Off-topic Discussion
- Topic: [VIDEO] EXTREME MINIMALIST UI (Thank You Autohotkey!)
- Replies: 5
- Views: 3696
[VIDEO] EXTREME MINIMALIST UI (Thank You Autohotkey!)
Greetings to the Autohotkey community! I show you my Minimalist UI, which I have developed in recent months thanks to Autohotkey. I hope this video possibly help other people like me to achieve a similar minimalist interface. As well as to thank and demonstrate the enormous potential of Autohotkey, ...
- 22 May 2020, 21:06
- Forum: Ask for Help (v1)
- Topic: Public License Question
- Replies: 3
- Views: 438
Re: Public License Question
The compiled executable should works. The AHK script works only if the user who downloaded it has Autohotkey installed on his PC. BTW, you can edit your script from the compiled exe as well, in condition that it is not compressed by other programs.(UPX for example) Thanks for your answer, but I was...
- 22 May 2020, 20:22
- Forum: Ask for Help (v1)
- Topic: Public License Question
- Replies: 3
- Views: 438
Public License Question
Greetings to all, I would like to upload the autohotkey exe along with scripts made by me to a public Google Drive folder (I know I can compile it, but I want to make it easier to modify the scripts, for example to change hotkeys and so on). From what I've read (although I'm not sure), there is no p...
- 18 Jun 2019, 12:31
- Forum: Ask for Help (v1)
- Topic: Gui - Error Message (ErrorStdOut)
- Replies: 2
- Views: 778
Re: Gui - Error Message (ErrorStdOut)
Try this: #ErrorStdOut varSearch = BMW width = 100 gui, add, edit, % "x7 y+10 w" (Width-14) "r1 +0x4000 vvarSearch", %varSearch% try gui, add, text, gGoogle,search Google catch Error MsgBox, % Error.Line gui, show, autosize Return I hope that helps. Thank you :D . Not exactly what I wanted, but it ...
- 18 Jun 2019, 11:40
- Forum: Ask for Help (v1)
- Topic: Gui - Error Message (ErrorStdOut)
- Replies: 2
- Views: 778
Gui - Error Message (ErrorStdOut)
Hello, regarding the Gui error messages, it's possible to: • send them to StdOut? (through #ErrorStdOut, /ErrorStdOut, or other way) • disable them? (less preferable) • automatic stop the script? (less less preferable) For example this code pop up the error message: #ErrorStdOut varSearch = BMW widt...
- 18 Jun 2019, 11:25
- Forum: Ask for Help (v1)
- Topic: new script
- Replies: 1
- Views: 488
Re: new script
^#:: Send, ^+a + ^+c ; WIN+# return If you want to select the whole text, a then copy it; it goes like this: LCtrl & LWin:: ;; press Left control and windows button to select the whole text. Send, ^a^c return Edit: In autohotkey "+", "^", "!"; mean "Shift", "Ctrl", and "Alt"; respectively. Here is ...
- 08 May 2019, 12:31
- Forum: Ask for Help (v1)
- Topic: GuiControlGet custom function not working inside another function Topic is solved
- Replies: 1
- Views: 496
GuiControlGet custom function not working inside another function Topic is solved
Hello, I do not understand why my function "©¡" does not work inside another function (focus on line 7,8,16). ------------------------------------------------- For example this code work as expected calling the function "©¡" (line 7,16): X:=A_ScreenWidth/2 - 16, Y:=A_ScreenHeight/2, ©(,"-Caption +Al...
- 19 Mar 2019, 11:52
- Forum: Ask for Help (v1)
- Topic: Is this a bug? Topic is solved
- Replies: 2
- Views: 664
Re: Is this a bug? Topic is solved
Because the variables f and d hold references to the same object. Each change to c also changes f . Thank you!, I didn't know that setting Var:=Array was a reference; I used to believe that it create another array. → So the solution was just apply Var:=[Array*] , to create a new array.
- 19 Mar 2019, 11:00
- Forum: Ask for Help (v1)
- Topic: Is this a bug? Topic is solved
- Replies: 2
- Views: 664
Is this a bug? Topic is solved
As I am not sure if it is a bug, so I publish it in the "Ask For Help" section. Why does the array "f" continue to increase in size (line 18)?, which causes an eternal loop (line 16): a:="FILE.FOLDER , FILE , FOLDER * REPLACE , JOIN * IGNORE , OVERWRITE , BOTH * NEED.PATH , AUTO.PATH" b:=StrSplit(a,...
- 27 Dec 2018, 15:32
- Forum: Ask for Help (v1)
- Topic: Lbutton down
- Replies: 3
- Views: 1090
Re: Lbutton down
I think the easiest way is (replace "notepad" with your program, 15[Y position], 62[X position]): ;; Drag from the start of a notepad. WinActivate, ahk_exe notepad.exe MouseClick,, 15, 62,, 0, D In case you don't want to lose focus on your active program: ;; Drag from the start of a notepad. Contro...
- 27 Dec 2018, 10:28
- Forum: Ask for Help (v1)
- Topic: Lbutton down
- Replies: 3
- Views: 1090
Re: Lbutton down
I think the easiest way is (replace "notepad" with your program, 15[Y position], 62[X position]): ;; Drag from the start of a notepad. WinActivate, ahk_exe notepad.exe MouseClick,, 15, 62,, 0, D In case you don't want to lose focus on your active program: ;; Drag from the start of a notepad. Control...
- 27 Dec 2018, 09:25
- Forum: Ask for Help (v1)
- Topic: extend ahk with custom built-in variables? Topic is solved
- Replies: 7
- Views: 1511
Re: extend ahk with custom built-in variables? Topic is solved
i was wondering if there was a way to achieve the following: MsgBox % A_MyCustomBIV whereby the variable actually does some computations in the background, so its not just a plain old var defined somewhere basically like a function, but without the parens Hello, if you don't mind putting a dot ("."...