ZLP Posted July 27, 2019 Share Posted July 27, 2019 (edited) Currently I am working on Implimenting a system that allows the user to see keypresses he made in the past that can later be seen in a List, however, typing a input for every Key there is would take an aweful amount of time, is there a better way to display keys as a string ? Disclaimer! just to be very clear since my last topic got closed for it, my intention is NOT to make an autoclicker just because it could be abused as such! Script (sorry it's in german, I marked the important part with <<<<<<): Quote expandcollapse popup#include <GUIConstantsEx.au3> #include <GuiListView.au3> ;=============================================== ;Visueller aspekt, Tatsächliches tracking als ;extra code Makiert ;=============================================== ;----------------------------------------------- ;TO-DO: ;Letzter gedrückter Knopf anzeigen lassen ;Inputs auslesen und abspeichern ;Zwischen Inputs die zeit messen ;ZEIT, MAUSPOSITION, BUTTONPRESS ;Die letzte Sache auf der Liste immer oben ;anzeigen lassen ;----------------------------------------------- ;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ;Nützliche Links: ;Sachen oben anzeigen lassen ;https://www.autoitscript.com/forum/topic/151288-listview-item-add-on-top/ ; ;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Autoclicker() Func Autoclicker() ;Hier UI elemente GUICreate("Autoklicker",700) ;Beschreibung GUICtrlCreateLabel("F1 um eine Aufzeichnung zu beginnen",10,10,500) GUICtrlCreateLabel("F2 um die Aufzeichnung zu speichern",10,25,500) ;Hinzufügen, Löschen, Programm beenden Local $Loeschen = GUICtrlCreateButton("Löschen", 10, 320, 75, 25) Local $Eintrag = GUICtrlCreateButton("Eintrag", 90,290, 75, 25) Local $Beenden = GUICtrlCreateButton("Beenden", 90, 320, 75, 25) ;Listeninhalt Erstellen Local $VisuelleKontrollListe = GUICtrlCreateList("", 450, 50, 200, 300) ; GUICtrlSetLimit(-1, 200) ;Zum anzeigen vom display GUISetState(@SW_SHOW) ;Loop erstellen um das program offen zu halten bis Spieler ;Beenden drückt While 1 Switch GUIGetMsg() case $Beenden ExitLoop ;Eintrag von letzen Knopfdruck, -1 um immer oben angezeigt zu werden Case $Eintrag GUICtrlSetData($VisuelleKontrollListe, "Debug|", -1) <<<<<<<<<I need to replace the Debug with the given Key! ;Löschen der Visuellen Liste, des arrays Case $Loeschen GUICtrlSetData($VisuelleKontrollListe, "") EndSwitch WEnd EndFunc> Edited July 27, 2019 by ZLP Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted July 27, 2019 Moderators Share Posted July 27, 2019 ZLP, Quote Implimenting a system that allows the user to see keypresses he made in the past that can later be seen in a List That is the very definition of a keylogger - which is not a permitted subject of discussion on this forum. See this announcement for more detail. Thread locked. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted July 27, 2019 Moderators Share Posted July 27, 2019 Moved to the appropriate forum. Moderation Team Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Recommended Posts