Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- Gui , Font, S16 CDefault Bold, Arial
- Gui , Add, Text, x27 y0 w420 h20 +Center, Keybinder V.1.0
- Gui , Font, ,
- Gui , Add, GroupBox, x22 y20 w430 h70 , Taste
- Gui, Add, Edit, x132 y40 w190 h20 vInhalt,
- Gui, Add, Text, x44 y44 w130 h20 +BackgroundTrans, Text/Command:
- Gui , Add, GroupBox, x22 y100 w430 h230 , Numpad Tasten
- Gui , Add, DropDownList, x32 y120 w410 h200 vFunction gliste , Numpad0|Numpad1|Numpad2|Numpad3|Numpad4|Numpad5|Numpad6|Numpad7|Numpad8|Numpad9|^|*|$
- Gui , Add, Button, x372 y340 w100 h30 gtastenfunktion , Hinzufügen
- Gui , Add, Button, x12 y340 w100 h30 gwiederentfernen , alles entfernen
- Gui , Add, Button, x200 y340 w100 h30 gBeenden, Beenden
- Gui , Show, x127 y87 h379 w479, Keybinder
- Gui, Add, Text, x44 y200 w130 h500 +BackgroundTrans, Mit "<" kannst kannst die tastenfunktionen vom keybinder deaktivieren damit du die tasten imnormalen gebrauch nutzen kannst und mit ^ kannst du denn keybinder wieder aktivieren
- Return
- return
- tastenfunktion:
- ;MsgBox , 4 , Erfolg , %Inhalt% erflogreich hinzugefügt!!!
- Gui , Submit , Nohide
- GoSub , HideAll
- If (Function = "Numpad0")
- {
- FileDelete, Numpad0.txt
- FileAppend,%Inhalt%`n,Numpad0.txt, CP0
- Numpad0::
- FileRead, test, Numpad0.txt
- SendInput %test%
- return
- }
- Else If (Function = "Numpad1")
- {
- FileDelete, Numpad1.txt
- FileAppend,%Inhalt%`n,Numpad1.txt, CP0
- Numpad1::
- FileRead, test1, Numpad1.txt
- SendInput %test1%
- return
- }
- Else If (Function = "Numpad2")
- {
- FileDelete, Numpad2.txt
- sleep,1000
- FileAppend,%Inhalt%`n,Numpad2.txt, CP0
- Numpad2::
- FileRead, test2, Numpad2.txt
- SendInput %test2%
- return
- }
- Else If (Function = "Numpad3")
- {
- FileDelete, Numpad3.txt
- FileAppend,%Inhalt%`n,Numpad3.txt, CP0
- Numpad3::
- FileRead, test3, Numpad3.txt
- SendInput %test3%
- return
- }
- Else If (Function = "Numpad4")
- {
- FileDelete, Numpad4.txt
- FileAppend,%Inhalt%`n,Numpad4.txt, CP0
- Numpad4::
- FileRead, test4, Numpad4.txt
- SendInput %test4%
- return
- }
- Else If (Function = "Numpad5")
- {
- FileDelete, Numpad5.txt
- FileAppend,%Inhalt%`n,Numpad5.txt, CP0
- Numpad5::
- FileRead, test5, Numpad5.txt
- SendInput %test5%
- return
- }
- Else If (Function = "Numpad6")
- {
- FileDelete, Numpad6.txt
- FileAppend,%Inhalt%`n,Numpad6.txt, CP0
- Numpad6::
- FileRead, test6, Numpad6.txt
- SendInput %test6%
- return
- }
- Else If (Function = "Numpad7")
- {
- FileDelete, Numpad7.txt
- FileAppend,%Inhalt%`n,Numpad7.txt, CP0
- Numpad7::
- FileRead, test7, Numpad7.txt
- SendInput %test7%
- return
- }
- Else If (Function = "Numpad8")
- {
- FileDelete, Numpad8.txt
- FileAppend,%Inhalt%`n,Numpad8.txt, CP0
- Numpad8::
- FileRead, test8, Numpad8.txt
- SendInput %test8%
- return
- }
- Else If (Function = "Numpad9")
- {
- FileDelete, Numpad9.txt
- FileAppend,%Inhalt%`n,Numpad9.txt, CP0
- Numpad9::
- FileRead, test9, Numpad9.txt
- SendInput %test9%
- return
- }
- Else If (Function = "^")
- {
- FileDelete, ^.txt
- FileAppend,%Inhalt%`n,^.txt, CP0
- ^::
- FileRead, test10, ^.txt
- SendInput %test10%
- return
- }
- Else If (Function = "%")
- {
- FileDelete, *.txt
- FileAppend,%Inhalt%`n,*.txt, CP0
- *::
- FileRead, test11, *.txt
- SendInput %test11%
- return
- }
- Else If (Function = "$")
- {
- FileDelete, $.txt
- FileAppend,%Inhalt%`n,$.txt, CP0
- $::
- FileRead, test12, $.txt
- SendInput %test12%
- return
- }
- Return
- liste:
- return
- wiederentfernen:
- MsgBox , 4 , Keybinder , Möchten sie alles entfernen?
- IfMsgBox Yes
- FileDelete, $.txt
- FileDelete, *.txt
- FileDelete, ^.txt
- FileDelete, Numpad9.txt
- FileDelete, Numpad8.txt
- FileDelete, Numpad7.txt
- FileDelete, Numpad6.txt
- FileDelete, Numpad5.txt
- FileDelete, Numpad4.txt
- FileDelete, Numpad3.txt
- FileDelete, Numpad2.txt
- FileDelete, Numpad1.txt
- FileDelete, Numpad0.txt
- IF Else
- Return
- Return
- Return
- GuiClose:
- ExitApp
- <::
- Run , umschalter.exe
- ExitApp
- return
- Beenden:
- ExitApp
- return
- */
Advertisement
Add Comment
Please, Sign In to add comment