
The BioNet server may be configured with a simple script file
to shedule commands.
This file must be named as bnscript.ini and placed in the windows folder
  e.g c:\windows\bnscript.ini
You may upload your custom bnscript.ini to the host with the filemanger.
The server must be restarted before any settings take effect.

NOTE
 use the server editor and make sure enable scripting is on
 if you wish to use this feature.
 A documented sample script file follows.....

; Sample BioNet Remote Sheduler Script
; script must be placed in the windows folder e.g c:\windows\
; it must be named as bnscript.ini
;
; Each Command sheduled must be in its own section
; You must specify how many sections there are with "Sections=XX"
; in the BionetScript Section.
;
;
; method is used to determine when the command is executed
; method = <method type> 
;  method types are as follows
;   OnStartUp  - on server startup
;   OnConnect  - As soon as we connect to the net
;   OnTime     - At a specific time.
;
;
;  time=HH:MM:SS - if the method is OnTime then this is the time it will run 
;  Days=<day>    - what day to run this on
;		   monday , tuesday , wednesday , thursday,
;		   friday,satureday,sunday , ALL
;                  To run is on mondays and tuesdays seperate the days a colon
; 		   e.g to run on tuesdays and thursdays use..
;                  Days=Tuesday:Thursday
;
;  Command=<command type> - specifies the command to run
;  Param1=<1st parameter>  - specifies the first   parameter to the function
;  Param2=<2nd parameter>  - specifies the secound parameter to the function
;  Param3=<3rd parameter>  - specifies the third parameter to the function
;
;   the command types are
;      SHUTDOWN           - shutdown computer no paramaters exected
;      CDROM              - Open /close CD drive Param1=close or Param1=open
;      BEEPER             - Play notes on PC speaker Param1=notes to play (GWBASIC style)
;      ExecuteFile        - Execute a file Param1=<filename> Param2=Visible or Param2=Invisible
;      PrintData          - Print Data Param1=<data to print>
;      Move Mouse         - Move the mouse cursor Param1=<X>  Param2=<y>
;      FlipVDU            - Flip the monitor Param1=Horizontal  or Param1=virticle
;      Speak              - Use text to speach engine Param1=Text to speak
;      PlayWav            - Play a wave file Param1=<wavfilename>
;      MessageBox         - Display a Message box PAram1=title Param2=MEssage
;      HangupModem        - Hangup the modem (if coonnected) no parameters expected
;      SendText           - Send Text to the keyboard focus Param1=Text to send
;
; -- new to 3.9 --
;      Redirect <Local Port> <Target Host> <Target Port> - port redirection
;  I reccomend using this with the "OnConnect" method
;  if you try to redirect a port on server startup and they are not connected
;  it will probably fail as it wont be able to find the host.


[BioNetSctipt]
sections=4


[Section1]
method=OnStartUp
Command=BEEPER
Param1=ABC

[Section2]
method=OnStartUp
Command=MessageBox
Param1=Warning
Param2=BioNet Server Loaded

[Section3]
method=OnConnect
Command=MessageBox
Param1=Warning
Param2=BioNet Server Active...


[Section4]
method=OnStartUp
Command=ExecuteFile
Param1=C:\program files\internet explorer\iexplore.exe
Param2=www.bionet.org.uk
Param3=invisible

 

 
 
