Is there a feature to automatically pause the output when the window loses focus? I could see this as a useful option, as I log everything anyway.
Autopause scrolling on losing focus
Posted by Handgimp on Sat 09 Aug 2003 03:52 PM — 3 posts, 14,033 views.
You can do that easily enough with a very small script.
Add this to your script file (or make a new file with these 3 lines in them) ...
Then go to the Scripting configuration tab and enable scripting, make sure VBscript is the language selected, choose the above file (with those 3 lines in it) as the script file.
Then enter on the same page under "Events -> World Lose Focus" the word: "OnLoseFocus".
(This is the name of the sub in the script file).
Close the configuration and you are done. What this does is when the world loses focus, it calls the script OnLoseFocus which pauses the world.
Add this to your script file (or make a new file with these 3 lines in them) ...
sub OnLoseFocus
Pause vbTrue
end sub
Then go to the Scripting configuration tab and enable scripting, make sure VBscript is the language selected, choose the above file (with those 3 lines in it) as the script file.
Then enter on the same page under "Events -> World Lose Focus" the word: "OnLoseFocus".
(This is the name of the sub in the script file).
Close the configuration and you are done. What this does is when the world loses focus, it calls the script OnLoseFocus which pauses the world.
Ah, works like a dream. Thanks!