Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
/*  Create a window with an edit box named EDITBOX_RESULTS.
If you don't want the edit box to display, uncheck the Visible property.
Then create a button and place this code in the CLICK event of the button.
The code below will save system information as a field mark delimited array
 in an operating system file named C:\SYSINFO.TXT.*/
Set_Property ("SYSTEM", "RECEIVER", @window: ".EDITBOX_RESULTS")
Set_Property (@window: ".EDITBOX_RESULTS", "TEXT", "")
get_sysinfo()
system_info = Get_Property (@window: ".EDITBOX_RESULTS", "TEXT")
convert char(9):char(13):char(10) to @fm in system_info
OSWRITE system_info on 'C:\sysinfo.txt'
* reset the receiver property to null.
Set_Property ("SYSTEM", "RECEIVER", "")