Jump to content
Sign in to follow this  

need sytem information in note pad

Recommended Posts


Hi all,

I developed a script where in i can have some system information on GUI.Now I want the same information in a notepad.I did use FileWriteLine . It is getting saved in C drive but the information displayed on the notepad is plain text.No system information is being displayed.I just started to use auto it. I need help on this please....


#include <GuiConstantsEx.au3>

#include <WindowsConstants.au3>


Opt('MustDeclareVars', 1)


Func _Main()

Local $Input_ComputerName, $Input_CurrentUserName

Local $Input_Time, $msg

#forceref $Input_ComputerName, $Input_CurrentUserName

FileWriteLine(@ScriptDir & "\Info.txt","ComputerName: @ComputerName")

FileWriteLine(@ScriptDir & "\Info.txt","Username: @CurrentUsername")

FileWriteLine(@ScriptDir & "\Info.txt","Time: _Now()")



Share this post

Link to post
Share on other sites


just gather the information. Write it to an txt file and then open the file with notepad.


Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Share this post

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.