Running Forte's Agent using Seans Scheduler

  An example of how to set up the scheduler is given in the help file, but it can be tweaked a bit to make the macro better and reduce your online time.
  The first thing to do is to set up Winsock so it loads and unloads on demand. There is an FAQ on Forte's web site (www.forte.com) on this but briefly, in Trumpet Winsock, go to the menu File| Setup and set the online detection to DCD check or similar. 
  Set Agent to use the offline defaults, which means it will go offline when it has finished and Winsock will hang up. Set the time to logout at around 240 seconds, to make sure it won't time out during the excecution of the script.
  If you are using a fax program on auto-recieve, you will have to quit this before starting  Agent and reload it when it has finished.
 A sample script is below:

Close		Sfaxmge				(close winfax)
Execute		C:\internet\agent\agent.exe	(launch agent, change path 						as necessary)
Delay		60				(wait as Agent launches)
SendkeysClass	@on				(get new headers)							
Delay		180				(While Agent is logging in, 						it won't accept any more key 						commands, so you must wait 						until it is logged in and 						retrieving before a new key 						can be issued)
SendkeyClass	@om				(get marked messages)
delay		30
SendkeysClass	@op				(post outgoing messages)
Delay		3600				(Wait for agent to finish)	
Execute		C:\winfax\sfaxmge.exe		(Relaunch winfax)
