könntest du mir nicht dabei helfen die umzubaun ich hab kein plan wie ich jetzt einbaue das alle fenster maximiert werden
Windowtool
-
-
Hier mal eine version mit Hotkeyoptionen(aber ich weiß immer noch nicht wie man alle fenster maximiert):
Spoiler anzeigen
[autoit]#include <array.au3>
[/autoit] [autoit][/autoit] [autoit]If FileExists("Hotkeys.ini") Then
[/autoit] [autoit][/autoit] [autoit]
$ende = IniRead("Hotkeys.ini","Sektion1","Hotkeyende","!{ESC}")
$options = IniRead("Hotkeys.ini","Sektion1","Hotkeyoptions","!o")
$allemini = IniRead("Hotkeys.ini","Sektion1","Hotkeyallemini","!{Space}")
$allemaxi = IniRead("Hotkeys.ini","Sektion1","Hotkeyallemaxi","!l")
$mini = IniRead("Hotkeys.ini","Sektion1","Hotkeymini","!m")
$maxi = IniRead("Hotkeys.ini","Sektion1","Hotkeymaxi","!a")
$transan = IniRead("Hotkeys.ini","Sektion1","Hotkeytransan","!y")
$transaus = IniRead("Hotkeys.ini","Sektion1","Hotkeytransaus","!x")
$kill = IniRead("Hotkeys.ini","Sektion1","Hotkeykill","!k")
$links = IniRead("Hotkeys.ini","Sektion1","Hotkeylinks","!{left}")
$rechts = IniRead("Hotkeys.ini","Sektion1","Hotkeyrechts","!{right}")
$hoch = IniRead("Hotkeys.ini","Sektion1","Hotkeyhoch","!{up}")
$runter = IniRead("Hotkeys.ini","Sektion1","Hotkeyrunter","!{down}")
$hochlinks = IniRead("Hotkeys.ini","Sektion1","Hotkeyhochlinks","!1")
$hochrechts = IniRead("Hotkeys.ini","Sektion1","Hotkeyhochrechts","!2")
$runterlinks = IniRead("Hotkeys.ini","Sektion1","Hotkeyrunterlinks","!3")
$runterrechts = IniRead("Hotkeys.ini","Sektion1","Hotkeyrunterrechts","!4")
Else
options()
EndifHotKeySet(IniRead("Hotkeys.ini","Sektion1","Hotkeyende","!{ESC}"), "ende")
[/autoit] [autoit][/autoit] [autoit]
HotKeySet(IniRead("Hotkeys.ini","Sektion1","Hotkeyoptions","!o"), "options")
HotKeySet(IniRead("Hotkeys.ini","Sektion1","Hotkeyallemini","!{Space}"), "allemini")
HotKeySet(IniRead("Hotkeys.ini","Sektion1","Hotkeyallemaxi","!l"), "allemaxi")
HotKeySet(IniRead("Hotkeys.ini","Sektion1","Hotkeymini","!m"), "mini")
HotKeySet(IniRead("Hotkeys.ini","Sektion1","Hotkeymaxi","!a"), "maxi")
HotKeySet(IniRead("Hotkeys.ini","Sektion1","Hotkeytransan","!y"), "transan")
HotKeySet(IniRead("Hotkeys.ini","Sektion1","Hotkeytransaus","!x"), "transaus")
HotKeySet(IniRead("Hotkeys.ini","Sektion1","Hotkeykill","!k"), "kill")
HotKeySet(IniRead("Hotkeys.ini","Sektion1","Hotkeylinks","!{left}"), "links")
HotKeySet(IniRead("Hotkeys.ini","Sektion1","Hotkeyrechts","!{right}"), "rechts")
HotKeySet(IniRead("Hotkeys.ini","Sektion1","Hotkeyhoch","!{up}"), "hoch")
HotKeySet(IniRead("Hotkeys.ini","Sektion1","Hotkeyrunter","!{down}"), "runter")
HotKeySet(IniRead("Hotkeys.ini","Sektion1","Hotkeyhochlinks","!1"), "hochlinks")
HotKeySet(IniRead("Hotkeys.ini","Sektion1","Hotkeyhochrechts","!2"), "hochrechts")
HotKeySet(IniRead("Hotkeys.ini","Sektion1","Hotkeyrunterlinks","!3"), "runterlinks")
HotKeySet(IniRead("Hotkeys.ini","Sektion1","Hotkeyrunterrechts","!4"), "runterrechts")While 1
[/autoit] [autoit][/autoit] [autoit]
Sleep(100)
WEndFunc ende()
[/autoit] [autoit][/autoit] [autoit]
Exit
EndFunc ;==>endeFunc options()
[/autoit] [autoit][/autoit] [autoit]
$ende = InputBox("Hotkeys","Beliebiger Buchstabe = a,b,c..."&@CRLF&"Beliebige Zahl = 1,2,3..."&@CRLF&"Hoch = {Up}"&@CRLF&"Runter = {Down}"&@CRLF&"Links = {Left}"&@CRLF&"Rechts = {Right}"&@CRLF&"Escape = {ESC}"&@CRLF&"Alt = !"&@CRLF&@CRLF&"Beispiel:"&@CRLF&"Alt+Links+T = !{left}t"&@CRLF&@CRLF&@CRLF&"Funktion: Beenden"&@CRLF,"!{esc}","",250,290)
$options = InputBox("Hotkeys","Beliebiger Buchstabe = a,b,c..."&@CRLF&"Beliebige Zahl = 1,2,3..."&@CRLF&"Hoch = {Up}"&@CRLF&"Runter = {Down}"&@CRLF&"Links = {Left}"&@CRLF&"Rechts = {Right}"&@CRLF&"Escape = {ESC}"&@CRLF&"Alt = !"&@CRLF&@CRLF&"Beispiel:"&@CRLF&"Alt+Links+T = !{left}t"&@CRLF&@CRLF&@CRLF&"Funktion: Optionen"&@CRLF,"!o","",250,290)
$allemini = InputBox("Hotkeys","Beliebiger Buchstabe = a,b,c..."&@CRLF&"Beliebige Zahl = 1,2,3..."&@CRLF&"Hoch = {Up}"&@CRLF&"Runter = {Down}"&@CRLF&"Links = {Left}"&@CRLF&"Rechts = {Right}"&@CRLF&"Escape = {ESC}"&@CRLF&"Alt = !"&@CRLF&@CRLF&"Beispiel:"&@CRLF&"Alt+Links+T = !{left}t"&@CRLF&@CRLF&@CRLF&"Funktion: Alle minimieren"&@CRLF,"!{space}","",250,290)
$allemaxi = InputBox("Hotkeys","Beliebiger Buchstabe = a,b,c..."&@CRLF&"Beliebige Zahl = 1,2,3..."&@CRLF&"Hoch = {Up}"&@CRLF&"Runter = {Down}"&@CRLF&"Links = {Left}"&@CRLF&"Rechts = {Right}"&@CRLF&"Escape = {ESC}"&@CRLF&"Alt = !"&@CRLF&@CRLF&"Beispiel:"&@CRLF&"Alt+Links+T = !{left}t"&@CRLF&@CRLF&@CRLF&"Funktion: Alle maximieren"&@CRLF,"!l","",250,290)
$mini = InputBox("Hotkeys","Beliebiger Buchstabe = a,b,c..."&@CRLF&"Beliebige Zahl = 1,2,3..."&@CRLF&"Hoch = {Up}"&@CRLF&"Runter = {Down}"&@CRLF&"Links = {Left}"&@CRLF&"Rechts = {Right}"&@CRLF&"Escape = {ESC}"&@CRLF&"Alt = !"&@CRLF&@CRLF&"Beispiel:"&@CRLF&"Alt+Links+T = !{left}t"&@CRLF&@CRLF&@CRLF&"Funktion: Aktuelles Fenster minimieren"&@CRLF,"!m","",250,290)
$maxi = InputBox("Hotkeys","Beliebiger Buchstabe = a,b,c..."&@CRLF&"Beliebige Zahl = 1,2,3..."&@CRLF&"Hoch = {Up}"&@CRLF&"Runter = {Down}"&@CRLF&"Links = {Left}"&@CRLF&"Rechts = {Right}"&@CRLF&"Escape = {ESC}"&@CRLF&"Alt = !"&@CRLF&@CRLF&"Beispiel:"&@CRLF&"Alt+Links+T = !{left}t"&@CRLF&@CRLF&@CRLF&"Funktion: Aktuelles Fenster maximieren"&@CRLF,"!a","",250,290)
$transan = InputBox("Hotkeys","Beliebiger Buchstabe = a,b,c..."&@CRLF&"Beliebige Zahl = 1,2,3..."&@CRLF&"Hoch = {Up}"&@CRLF&"Runter = {Down}"&@CRLF&"Links = {Left}"&@CRLF&"Rechts = {Right}"&@CRLF&"Escape = {ESC}"&@CRLF&"Alt = !"&@CRLF&@CRLF&"Beispiel:"&@CRLF&"Alt+Links+T = !{left}t"&@CRLF&@CRLF&@CRLF&"Funktion: Aktuelles Fenster transparent"&@CRLF,"!y","",250,290)
$transaus = InputBox("Hotkeys","Beliebiger Buchstabe = a,b,c..."&@CRLF&"Beliebige Zahl = 1,2,3..."&@CRLF&"Hoch = {Up}"&@CRLF&"Runter = {Down}"&@CRLF&"Links = {Left}"&@CRLF&"Rechts = {Right}"&@CRLF&"Escape = {ESC}"&@CRLF&"Alt = !"&@CRLF&@CRLF&"Beispiel:"&@CRLF&"Alt+Links+T = !{left}t"&@CRLF&@CRLF&@CRLF&"Funktion: Aktuelles Fenster nicht transparent"&@CRLF,"!x","",250,290)
$kill = InputBox("Hotkeys","Beliebiger Buchstabe = a,b,c..."&@CRLF&"Beliebige Zahl = 1,2,3..."&@CRLF&"Hoch = {Up}"&@CRLF&"Runter = {Down}"&@CRLF&"Links = {Left}"&@CRLF&"Rechts = {Right}"&@CRLF&"Escape = {ESC}"&@CRLF&"Alt = !"&@CRLF&@CRLF&"Beispiel:"&@CRLF&"Alt+Links+T = !{left}t"&@CRLF&@CRLF&@CRLF&"Funktion: Aktuelles Fenster schließen(killen)"&@CRLF,"!k","",250,290)
$links = InputBox("Hotkeys","Beliebiger Buchstabe = a,b,c..."&@CRLF&"Beliebige Zahl = 1,2,3..."&@CRLF&"Hoch = {Up}"&@CRLF&"Runter = {Down}"&@CRLF&"Links = {Left}"&@CRLF&"Rechts = {Right}"&@CRLF&"Escape = {ESC}"&@CRLF&"Alt = !"&@CRLF&@CRLF&"Beispiel:"&@CRLF&"Alt+Links+T = !{left}t"&@CRLF&@CRLF&@CRLF&"Funktion: Aktuelles Fenster nach links"&@CRLF,"!{left}","",250,290)
$rechts = InputBox("Hotkeys","Beliebiger Buchstabe = a,b,c..."&@CRLF&"Beliebige Zahl = 1,2,3..."&@CRLF&"Hoch = {Up}"&@CRLF&"Runter = {Down}"&@CRLF&"Links = {Left}"&@CRLF&"Rechts = {Right}"&@CRLF&"Escape = {ESC}"&@CRLF&"Alt = !"&@CRLF&@CRLF&"Beispiel:"&@CRLF&"Alt+Links+T = !{left}t"&@CRLF&@CRLF&@CRLF&"Funktion: Aktuelles Fenster nach rechts"&@CRLF,"!{right}","",250,290)
$hoch = InputBox("Hotkeys","Beliebiger Buchstabe = a,b,c..."&@CRLF&"Beliebige Zahl = 1,2,3..."&@CRLF&"Hoch = {Up}"&@CRLF&"Runter = {Down}"&@CRLF&"Links = {Left}"&@CRLF&"Rechts = {Right}"&@CRLF&"Escape = {ESC}"&@CRLF&"Alt = !"&@CRLF&@CRLF&"Beispiel:"&@CRLF&"Alt+Links+T = !{left}t"&@CRLF&@CRLF&@CRLF&"Funktion: Aktuelles Fenster nach oben"&@CRLF,"!{up}","",250,290)
$runter = InputBox("Hotkeys","Beliebiger Buchstabe = a,b,c..."&@CRLF&"Beliebige Zahl = 1,2,3..."&@CRLF&"Hoch = {Up}"&@CRLF&"Runter = {Down}"&@CRLF&"Links = {Left}"&@CRLF&"Rechts = {Right}"&@CRLF&"Escape = {ESC}"&@CRLF&"Alt = !"&@CRLF&@CRLF&"Beispiel:"&@CRLF&"Alt+Links+T = !{left}t"&@CRLF&@CRLF&@CRLF&"Funktion: Aktuelles Fenster nach unten"&@CRLF,"!{down}","",250,290)
$hochlinks = InputBox("Hotkeys","Beliebiger Buchstabe = a,b,c..."&@CRLF&"Beliebige Zahl = 1,2,3..."&@CRLF&"Hoch = {Up}"&@CRLF&"Runter = {Down}"&@CRLF&"Links = {Left}"&@CRLF&"Rechts = {Right}"&@CRLF&"Escape = {ESC}"&@CRLF&"Alt = !"&@CRLF&@CRLF&"Beispiel:"&@CRLF&"Alt+Links+T = !{left}t"&@CRLF&@CRLF&@CRLF&"Funktion: Aktuelles Fenster nach obenlinks"&@CRLF,"!1","",250,290)
$hochrechts = InputBox("Hotkeys","Beliebiger Buchstabe = a,b,c..."&@CRLF&"Beliebige Zahl = 1,2,3..."&@CRLF&"Hoch = {Up}"&@CRLF&"Runter = {Down}"&@CRLF&"Links = {Left}"&@CRLF&"Rechts = {Right}"&@CRLF&"Escape = {ESC}"&@CRLF&"Alt = !"&@CRLF&@CRLF&"Beispiel:"&@CRLF&"Alt+Links+T = !{left}t"&@CRLF&@CRLF&@CRLF&"Funktion: Aktuelles Fenster nach obenrechts"&@CRLF,"!2","",250,290)
$runterlinks = InputBox("Hotkeys","Beliebiger Buchstabe = a,b,c..."&@CRLF&"Beliebige Zahl = 1,2,3..."&@CRLF&"Hoch = {Up}"&@CRLF&"Runter = {Down}"&@CRLF&"Links = {Left}"&@CRLF&"Rechts = {Right}"&@CRLF&"Escape = {ESC}"&@CRLF&"Alt = !"&@CRLF&@CRLF&"Beispiel:"&@CRLF&"Alt+Links+T = !{left}t"&@CRLF&@CRLF&@CRLF&"Funktion: Aktuelles Fenster nach untenlinks"&@CRLF,"!3","",250,290)
$runterrechts = InputBox("Hotkeys","Beliebiger Buchstabe = a,b,c..."&@CRLF&"Beliebige Zahl = 1,2,3..."&@CRLF&"Hoch = {Up}"&@CRLF&"Runter = {Down}"&@CRLF&"Links = {Left}"&@CRLF&"Rechts = {Right}"&@CRLF&"Escape = {ESC}"&@CRLF&"Alt = !"&@CRLF&@CRLF&"Beispiel:"&@CRLF&"Alt+Links+T = !{left}t"&@CRLF&@CRLF&@CRLF&"Funktion: Aktuelles Fenster nach untenrechts"&@CRLF,"!4","",250,290)
Iniwrite("Hotkeys.ini","Sektion1","Hotkeyende",$ende)
Iniwrite("Hotkeys.ini","Sektion1","Hotkeyoptions",$options)
Iniwrite("Hotkeys.ini","Sektion1","Hotkeyallemini",$allemini)
Iniwrite("Hotkeys.ini","Sektion1","Hotkeyallemaxi",$allemaxi)
Iniwrite("Hotkeys.ini","Sektion1","Hotkeymini",$mini)
Iniwrite("Hotkeys.ini","Sektion1","Hotkeymaxi",$maxi)
Iniwrite("Hotkeys.ini","Sektion1","Hotkeytransan",$transan)
Iniwrite("Hotkeys.ini","Sektion1","Hotkeytransaus",$transaus)
Iniwrite("Hotkeys.ini","Sektion1","Hotkeykill",$kill)
Iniwrite("Hotkeys.ini","Sektion1","Hotkeylinks",$links)
Iniwrite("Hotkeys.ini","Sektion1","Hotkeyrechts",$rechts)
Iniwrite("Hotkeys.ini","Sektion1","Hotkeyhoch",$hoch)
Iniwrite("Hotkeys.ini","Sektion1","Hotkeyrunter",$runter)
Iniwrite("Hotkeys.ini","Sektion1","Hotkeyhochlinks",$hochlinks)
Iniwrite("Hotkeys.ini","Sektion1","Hotkeyhochrechts",$hochrechts)
Iniwrite("Hotkeys.ini","Sektion1","Hotkeyrunterlinks",$runterlinks)
Iniwrite("Hotkeys.ini","Sektion1","Hotkeyrunterrechts",$runterrechts)
ShellExecute(@AutoItExe, $CMDLINERAW, @WorkingDir)
exit
Endfunc ;==optionsFunc allemini()
[/autoit] [autoit][/autoit] [autoit]
WinMinimizeAll()
EndFunc ;==>alleminiFunc allemaxi()
[/autoit] [autoit][/autoit] [autoit]EndFunc ;==>allemaxi
[/autoit] [autoit][/autoit] [autoit]Func mini()
[/autoit] [autoit][/autoit] [autoit]
WinSetState("[active]", "", @SW_MINIMIZE)
EndFunc ;==>miniFunc maxi()
[/autoit] [autoit][/autoit] [autoit]
WinSetState("[active]", "", @SW_MAXIMIZE)
EndFunc ;==>maxiFunc transan()
[/autoit] [autoit][/autoit] [autoit]
WinSetTrans("[active]", "", 170)
EndFunc ;==>transanFunc transaus()
[/autoit] [autoit][/autoit] [autoit]
WinSetTrans("[active]", "", 255)
EndFunc ;==>transausFunc kill()
[/autoit] [autoit][/autoit] [autoit]
WinKill("[active]")
EndFunc ;==>killFunc links()
[/autoit] [autoit][/autoit] [autoit]
WinMove("[active]", "", 0, 0, @DesktopWidth / 2 - 30, @DesktopHeight)
EndFunc ;==>linksFunc rechts()
[/autoit] [autoit][/autoit] [autoit]
WinMove("[active]", "", @DesktopWidth / 2 - 30, 0, @DesktopWidth / 2 + 30, @DesktopHeight)
EndFunc ;==>rechtsFunc hoch()
[/autoit] [autoit][/autoit] [autoit]
WinMove("[active]", "", 0, 0, @DesktopWidth, @DesktopHeight / 2 - 30)
EndFunc ;==>hochFunc runter()
[/autoit] [autoit][/autoit] [autoit]
WinMove("[active]", "", 0, @DesktopHeight / 2 - 30, @DesktopWidth, @DesktopHeight)
EndFunc ;==>runterFunc hochlinks()
[/autoit] [autoit][/autoit] [autoit]
WinMove("[active]", "", 0, 0, @DesktopWidth / 2 - 30, @DesktopHeight / 2 - 30)
EndFunc ;==>hochlinksFunc hochrechts()
[/autoit] [autoit][/autoit] [autoit]
WinMove("[active]", "", @DesktopWidth / 2 - 30, 0, @DesktopWidth / 2 + 30, @DesktopHeight / 2 - 30)
EndFunc ;==>hochrechtsFunc runterlinks()
[/autoit] [autoit][/autoit] [autoit]
WinMove("[active]", "", 0, @DesktopHeight / 2 - 30, @DesktopWidth / 2 - 30, @DesktopHeight / 2)
EndFunc ;==>runterlinksFunc runterrechts()
[/autoit]
WinMove("[active]", "", @DesktopWidth / 2 - 30, @DesktopHeight / 2 - 30, @DesktopWidth / 2 + 30, @DesktopHeight / 2)
EndFunc ;==>runterrechts -