R33F Posted March 27, 2009 Share Posted March 27, 2009 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 ******************************************************************************* Link to comment Share on other sites More sharing options...
Xenobiologist Posted March 27, 2009 Share Posted March 27, 2009 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 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