Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 10 additions & 9 deletions ExplorerF11Fix.ahk
Original file line number Diff line number Diff line change
@@ -1,20 +1,21 @@
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetTitleMatchMode, 2 ; Allow partial window title matches
#Requires AutoHotkey v2.0
; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode("Input") ; Recommended for new scripts due to its superior speed and reliability.
SetTitleMatchMode(2) ; Allow partial window title matches

; Run File Explorer
Run explorer.exe
Run("explorer.exe")
; Wait for File Explorer to open (adjust the sleep time if needed)
Sleep, 1000
Sleep(1000)

; Send F11 to toggle fullscreen mode
Send, {F11}
Send("{F11}")

; Wait for a moment (adjust the sleep time if needed)
Sleep, 1000
Sleep(1000)

; Send F11 again to exit fullscreen mode
Send, {F11}
Send("{F11}")

; Exit the script
ExitApp
ExitApp()
Binary file modified ExplorerF11Fix.exe
Binary file not shown.