SYSTEM OBJECT
Give Acces To Operating System Properties

 

 

 

‘System’ object will aloow to read and write (when possible) various operating system properties.

 

Current implementation allows to access (read and write) the system clipboard and various system properties(read only).

 

            Syntax:

 

                  System.Clipboard

                  System.Clipboard := <cString>

                  System.EmptyClipboard

 

                  System.DesktopWidth

                  System.DesktopHeight

                  System.DefaultPrinter

                  System.DesktopFolder

                  System.MyDocumentsFolder

                  System.ProgramFilesFolder

                  System.SystemFolder

                  System.TempFolder

                  System.WindowsFolder

 

            Samples:

 

                  System.Clipboard := 'a string'

 

                  <...>

 

                  MsgInfo(System.Clipboard)

 

                  <...>

 

                  MsgInfo(System.DesktopWidth)

 

                  <...>

 

                  MsgInfo(System.DesktopHeight)

 

                  <...>

 

                  MsgInfo(System.DefaultPrinter)