Jump to content
Sign in to follow this  
ZLP

Placeholder Strings - (Moved)

Recommended Posts

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

 

#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 by ZLP

Share this post


Link to post
Share on other sites

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

 


Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png 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 columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites

Moved to the appropriate forum.

Moderation Team


Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png 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 columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...