tfglogo
The F@t Guy's Utilities
Suites , applications, and tools by The F@t Guy

Navigate:
template Download See
 Download the latest file.

template See's ReadMe
 The latest See.txt.

template See's History
 The latest See.his.txt.








E-mail
Updated 062111


See
A tiny text viewer with cmdline control.



::Syntax:


See [/?, file.txt] /s | /size, /p | /pos
 
     /? - Opens help dialog.
     
     file.txt - Where "file.txt" is the file to open.

     /s | /size=000,000 (Height, Width) Form size.

     /p | /Pos=000,000  (Top, Left)     Form Position.

*Using size and/or position from the cmdline disables SaveOnExit and UsePos settings from the inifile (See 'Special Considerations' below).

*ALL SaveOnExit routines are disabled if the inifile is ReadOnly (for CDRom).  


::Dependencies


 Microsoft Windows NT (Win2k-Win7 32/64bit), probably "all".

::Using See

 See is nothing but a tiny little text viewer.
 
 Options are in the inifile:
 

[Options]
ShowStandardBar=1    [0,1 - Bool] 1, Standard toolbar is showing.
ShowStatusBar=1      [0,1 - Bool] 1, Status bar is showing.
SaveOnExit=0         [0,1 - Bool] 0, Settings are not saved on Exit.
UsePos=0             [0,1 - Bool] 0, Does not use positioning, centered.

[Positioning]
Top=2                [000 - Integer] 2,   Position top side of application.
Left=2               [000 - Integer] 2,   Position Left side of application.
Height=460           [000 - Integer] 460, Size, height of application.
Width=660            [000 - Integer] 460, Size, width of application.

[Appearance]
BColor=16777215      [000 - Integer] 16777215 (light cream), Background color.
FColor=8388608       [000 - Integer] 8388608  (navy), Font color.
FName=Lucida Console [xxx - string] Lucida Console, Font name.
FSize=10             [00  - Integer] 10, Font size.
WordWrap=1           [0,1 - Boolean] 1,  Word Wrap is on.
 
[Options] are not saved or manipulated within the viewer - They must be set by hand in See.ini. As for the rest, simply set "SaveOnExit" to "1" and start the app. Make the adjustments you desire. When it closes, any changes you have made will be saved.

::Special Consideration

Using size and/or position from the cmdline disables SaveOnExit and UsePos settings from the inifile.

So if only a file and /size specifications are found on the cmdline, then the result will be a centered form of the desired size.

If only a file and /Pos  statement are found, the size will be used from the inifile, and positioning will be taken from the cmdline, regardless of whether positioning is on in the file.

Using file, /size, and /pos will produce results as expected.

SaveOnExit is disabled in order to preserve normal settings.

Note that SaveOnExit DOES work if only a file is submitted on the cmdline, as does UsePos, and the position settings from the inifile.

::Licensing

Public: free to use, copy, and distribute. No warranty whatsoever. Use at your own risk.

::TFG


Document made with KompoZer
(c) F@t Guy Utilities 2005-2011