Search found 7 matches
- 10 Apr 2024, 22:56
- Forum: Ask for Help (v1)
- Topic: Relaunching Discord Topic is solved
- Replies: 2
- Views: 160
Re: Relaunching Discord Topic is solved
I got it. I just had to remove ahk_exe Here's the updated code: #IfWinActive, ahk_exe discord.exe ^+r:: ; Ctrl+Shift+r - Close and relaunch Discord Process, Close, Discord.exe Sleep 500 Run, Discord.lnk, C:\Users\Montie\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Discord Inc Return
- 10 Apr 2024, 15:21
- Forum: Ask for Help (v1)
- Topic: Relaunching Discord Topic is solved
- Replies: 2
- Views: 160
Relaunching Discord Topic is solved
Occasionally, Discord glitches on my PC. Refreshing it doesn't fix it, it needs to be really closed and then relaunched. #IfWinActive, ahk_exe discord.exe ^+r:: ; Ctrl+Shift+r - Close and relaunch Discord WinClose, ahk_exe Discord.exe Sleep 1000 Process, Close, ahk_exe Discord.exe Process, WaitClose...
- 08 Jan 2023, 03:21
- Forum: Ask for Help (v1)
- Topic: Focus Previous Window
- Replies: 10
- Views: 1749
Re: Focus Previous Window
Thank you!
- 07 Jan 2023, 14:54
- Forum: Ask for Help (v1)
- Topic: Focus Previous Window
- Replies: 10
- Views: 1749
Re: Focus Previous Window
F3:: winNumber = 0 WinGet, win, List Loop, %win% { WinGetTitle, ttitle, % winTitle := "ahk_id " win%A_Index% ; Window title WinGet, proc, ProcessName, %winTitle% ; Window process WinGetClass, class, %winTitle% ; Window class winNumber += !(class ~= "i)Toolbar|#32770") && ttitle > "" && (ttitle != "...
- 03 Dec 2022, 03:07
- Forum: Ask for Help (v1)
- Topic: Need help in adding function to a script Topic is solved
- Replies: 5
- Views: 415
Re: Need help in adding function to a script Topic is solved
Thank you for pointing out the bugs. I honestly don't know how to fix it with the points you've listed, but I'll try to figure it out.
- 02 Dec 2022, 09:17
- Forum: Ask for Help (v1)
- Topic: Need help in adding function to a script Topic is solved
- Replies: 5
- Views: 415
Re: Need help in adding function to a script Topic is solved
Thanks! It works! But it took me a while to make it work. It seems I have to put the code in the correct order before it works. My AHK file has two parts: Photoshop hotkeys ; Photoshop hotkeys and scripts======================================================================= #IfWinActive, ahk_class ...
- 01 Dec 2022, 16:27
- Forum: Ask for Help (v1)
- Topic: Need help in adding function to a script Topic is solved
- Replies: 5
- Views: 415
Need help in adding function to a script Topic is solved
This code is to make a toggle key of a program into a keyhold: $insert:: send, {insert} keywait, insert send, {insert} return It needs to be so that when LButton Up is sent while Insert is held down, it won't send Insert again when it's released. I'm not a programmer and only know the very basic stu...