deef99 Posted October 26, 2009 Share Posted October 26, 2009 We have a script that picks up what is going on Real Time based on data in text files are they are periodically generated. I have created a script that gets key values from a text file and tried SplashtextOn, but that overwrites each line. I want to be able to show a line then show the newest line of data on top of the previous one. Any ideas? Link to comment Share on other sites More sharing options...
deef99 Posted October 26, 2009 Author Share Posted October 26, 2009 What about the possibility of using a Window and the scroll down bar? That would be ok...Can anyone point me in the right direction for creating something like that please?THANK YOU!We have a script that picks up what is going on Real Time based on data in text files are they are periodically generated. I have created a script that gets key values from a text file and tried SplashtextOn, but that overwrites each line. I want to be able to show a line then show the newest line of data on top of the previous one.Any ideas? Link to comment Share on other sites More sharing options...
KaFu Posted October 26, 2009 Share Posted October 26, 2009 #include <GUIConstantsEx.au3> Opt("GUIOnEventMode", 1) $hGUI = GUICreate("Edit", 300, 200) GUISetOnEvent($GUI_EVENT_CLOSE, "_Exit") $cEdit = GUICtrlCreateEdit("",10,10,280,180) GUISetState() $i = 1 While 1 GUICtrlSetData($cEdit,"DataLine " & $i & @crlf & GUICtrlRead($cEdit)) Sleep(100) $i += 1 WEnd Func _Exit() Exit EndFunc OS: Win10-22H2 - 64bit - German, AutoIt Version: 3.3.16.1, AutoIt Editor: SciTE, Website: https://funk.eu AMT - Auto-Movie-Thumbnailer (2024-Oct-13) BIC - Batch-Image-Cropper (2023-Apr-01) COP - Color Picker (2009-May-21) DCS - Dynamic Cursor Selector (2024-Oct-13) HMW - Hide my Windows (2024-Oct-19) HRC - HotKey Resolution Changer (2012-May-16) ICU - Icon Configuration Utility (2018-Sep-16) SMF - Search my Files (2024-Oct-20) - THE file info and duplicates search tool SSD - Set Sound Device (2017-Sep-16) Link to comment Share on other sites More sharing options...
deef99 Posted October 26, 2009 Author Share Posted October 26, 2009 WOW! Thanks for the super quick response! I can work with this...thanks so much! #include <GUIConstantsEx.au3> Opt("GUIOnEventMode", 1) $hGUI = GUICreate("Edit", 300, 200) GUISetOnEvent($GUI_EVENT_CLOSE, "_Exit") $cEdit = GUICtrlCreateEdit("",10,10,280,180) GUISetState() $i = 1 While 1 GUICtrlSetData($cEdit,"DataLine " & $i & @crlf & GUICtrlRead($cEdit)) Sleep(100) $i += 1 WEnd Func _Exit() Exit EndFunc Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now