Sign in to follow this  
Followers 0
R33F

need sytem information in note pad

2 posts in this topic

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>

#include<Date.au3>

Opt('MustDeclareVars', 1)

_Main()

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()")

EndFunc

*******************************************************************************

Share this post


Link to post
Share on other sites



Hi,

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

Mega


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  
Followers 0