-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AutoHotkey, windows için Kısayol oluşturucu olarak geçmektedir
- Loading branch information
Showing
3 changed files
with
52 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
--- | ||
description: Windows üzerinde kişisel kısayolları ve scriptleri oluşturmaya olanak sağlar. | ||
--- | ||
|
||
# 💫 AutoHotkey | ||
|
||
## 🗽 Açıklama | ||
|
||
- Çok stabil çalışmaktadır, windows'un kendi içindeki kısayol sisteminden daha verimlidir | ||
- VsCode üzerinden script yazacaksanız [AutoHotkey](https://marketplace.visualstudio.com/items?itemName=slevesque.vscode-autohotkey) eklentisini indirmeniz tavsiye edilir | ||
|
||
> Windows 10'da denenmiştir. | ||
## Pencere Açma, Açıksa Gizleme | ||
|
||
- `WinName` alanına kendi pencere isminizi yazmayı unutmayın. | ||
- Bu örnek mesajlaşma uygulamarını tek platformda sunan [Rambox](https://rambox.pro/) için kısayoldur | ||
|
||
```ahk | ||
#SingleInstance Force | ||
SetTitleMatchMode, 2 | ||
WinName=Rambox | ||
;WinName=%A_ScriptName% | ||
return | ||
f1:: | ||
; msgbox before test | ||
IfWinExist, %WinName% | ||
{ | ||
; msgbox window %WinName% exists | ||
WinGet, WinState, MinMax | ||
; msgbox %WinName% | ||
if (WinState = -1) | ||
WinRestore | ||
else | ||
{ | ||
; WinRestore | ||
WinMinimize | ||
} | ||
} | ||
else | ||
msgbox window %WinName% could not be found | ||
return | ||
``` | ||
|
||
> [Minimize and Restore Window with one command](https://autohotkey.com/board/topic/49207-minimize-and-restore-window-with-one-command/?p=306623) |