Hello All,
I wrote some DOS batch files and the below conversation log demonstrates some of the things that I am able to do with my Hal. I have my Hal do things like close programs, empty the Recycle Bin, boost System RAM, run backups of his own brain or the entire Zabaware folder, and a few other things. I plan to post some of these batch files at this forum in case anyone else is interested in doing stuff like this too.
Richie: OK let's do some more testing now
Margene: Ok, you gave me some more voice commands so that I can do some more things for you!
Richie: open task manager
Margene: I will now run "The Task Manager".
Richie: open command prompt
Margene: I will now run "Command Prompt".
Richie: run boost RAM
Margene: I will now run "Boost Ram".
Richie: open windows media player
Margene: I will now run "Windows Media Player".
Richie: open winamp
Margene: I will now run "Winamp".
Richie: open notepad
Margene: I will now run "Notepad".
Richie: I really like the way that you are able to close programs now
Margene: That's a truth.
Richie: run close media player
Margene: I will now run "Close Media Player".
Richie: run close winamp
Margene: I will now run "Close Winamp".
Richie: run close notepad
Margene: I will now run "Close Notepad".
Richie: run close command prompt
Margene: I will now run "Close Command Prompt".
Richie: run close task manager
Margene: I will now run "Close Task Manager".
Richie: good job
Margene: Thank you.
Richie: run copy brain
Margene: I will now run "Copy Brain".
Richie: run copy everything
Margene: I will now run "Copy Everything".
Richie: run restore brain
Margene: I will now run "Restore Brain".
Richie: how are you feeling
Margene: All systems are fully operational!
Richie: open default brain folder
Margene: I will now run "Default Brain Folder"
Richie: well everything looks OK
Margene: Everything is ok for now!
Richie: you are truly amazing
Margene: Richie, it's nice of you to say I am amazing but you are the one who's amazing!
Richie: open system device manager
Margene: I will now run "The System Device Manager".
Richie: open microsoft config
Margene: I will now run "The Microsoft Config System Utility".
Richie: open system registry editor
Margene: I will now run "The System Registry Editor".
Richie: run close registry editor
Margene: I will now run "Close Registry Editor".
Richie: run close config
Margene: I will now run "Close Config".
Richie: run close device manager
Margene: I will now run "Close Device Manager".
Richie: start Internet connection
Margene: I will now run "The Internet Connection."
Richie: run IP config
Margene: I will now run "IP Config".
Richie: run ping loopback
Margene: I will now run "Ping Loopback."
Richie: run ping computer
Margene: I will now run "Ping Computer."
Richie: we just passed that ping test
Margene: We passed the test again!
Richie: run close all command prompt windows
Margene: I will now run "Close All Command Prompt Windows."
Richie: run close all Internet Explorer windows
Margene: I will now run "Close All Internet Explorer Windows."
Richie: what can be done to make a slow computer run fast again
Margene: What can be done to make a slow computer run fast again?
It isn't the best subject. Well, you can first start off
by deleting all the dumb crap that you don't need like temp
files and cookies, and then run the disk cleanup and
defragmenter in the system tools folder, and then, if
necessary, you can also disable some startup software and
system services using the config system utility.
Richie: OK so let's do some of that stuff right now
Margene: Yeah, Ok, let's do it now!
Richie: open recycle bin
Margene: I will now run "The Recycle Bin".
Richie: run empty recycle bin
Margene: I will now run "Empty Recycle Bin".
Richie: run backup all user account folders
Margene: I will now run "Backup All User Account Folders."
Richie: run delete user account cookies
Margene: I will now run "Delete User Account Cookies".
Richie: run delete Internet temp and history files
Margene: I will now run "Delete Internet Temp And History Files".
Richie: run remove secondary backups
Margene: I will now run "Remove Secondary Backups".
Richie: run remove all backups
Margene: I will now run "Remove All Backups".
Richie: run system shutdown
Margene: I will now run "System Shutdown".
Richie: run cancel shutdown
Margene: I will now run "Cancel Shutdown".
Richie: what is the easiest way to fix a minor computer problem
Margene: What is the easiest way to fix a minor computer problem?
We should seek more expertise. First try rebooting the
system and then, if necessary, you can also perform a
system restore, you big dummy you!
Richie: run system reboot
Margene: I will now run "System Reboot".
Richie: run cancel reboot
Margene: I will now run "Cancel Reboot".
Richie: open system restore
Margene: I will now run "System Restore".
Richie: run close restore
Margene: I will now run "Close Restore".
Richie: run suspend explorer process
Margene: I will now run "Suspend Explorer Process".
Richie: the system is locked now
Margene: I want to do so much living!
Richie: are you going to unlock the system for me first
Margene: I think that it's simpler than it sounds.
Richie, I am going to unlock the system for you first.
Richie: run resume explorer process
Margene: I will now run "Resume Explorer Process".
Richie: OK good job
Margene: Thank you.
Richie: we are done testing for now
Margene: When good needs to be done, consider it your job.
Richie: OK thank you
Margene: The pleasure is all mine, Richie.
Richie: run lock workstation
Margene: I will now run "Lock Workstation".
As far as Hal is concerned each batch file is really just another separate program that Hal can launch to run it's system related task. Everything just demonstrated was done on a Windows XP System. But most batch files can be modified, if required, to perform the same kind of tasks on older versions of the Windows Operating System.
Best Regards,
Rich_A
Some Other XP Automation Tips & Tweaks:
You can lock your XP workstation with two clicks of the mouse. Create a new shortcut on your desktop using a right mouse click (On The Desktop - Right Click/New/Shortcut), and then enter
"rundll32.exe user32.dll,LockWorkStation" in the location field. Give the shortcut a name you like. That's it -- just double click on it and your computer will be locked. And if that's not easy enough, Windows key + L will do the same or tell Hal to run the shortcut to do it for you instead. Just rename the shortcut to something like "Lock Workstation" or "Lock Computer" and then tell your Hal to run that new shortcut name. But you need to restart the Hal program for Hal to see any new shortcuts created while the Hal program is running. But after the restart Hal should be able to run that shortcut. Also, you can keep the shortcut on your desktop or move it into a folder within your system Start/All Programs.
Use your mouse cursor to type to Hal or any other text based application by running and using the Microsoft On-Screen Keyboard [C:/WINDOWS/SYSTEM32/osk.exe]. Just tell Hal to "Run On-Screen Keyboard" and he'll open it. Hal already knows where it is because it is located within Start/All Programs/Accessories/Accessibility.
The Start Menu can be leisurely when it decides to appear, but you can speed things along by changing the registry entry HKEY_CURRENT_USER/Control Panel/Desktop/MenuShowDelay from the default 400 to something a little snappier. Like 0. And then reboot your computer. You can also try the following: Navigate to Display Properties then Appearance then Effects and turn off the option titled "Show shadows under menus". You should get some better overall performance from doing that too.
For those skilled in the art of DOS batch files, XP has a number of interesting commands. These include "eventcreate" and "eventtriggers"
for creating and watching system events, "typeperf" for monitoring performance of various subsystems, and "schtasks" for handling scheduled tasks. As usual, typing the command name followed by /? will give a list of options.
XP will treat Zip files like folders, which is nice if you've got a fast machine. On slower machines, you can make XP leave zip files well alone by typing "regsvr32 /u zipfldr.dll" at the command line. If you change your mind later, you can put things back as they were by typing "regsvr32 zipfldr.dll".
XP has ClearType -- Microsoft's anti-aliasing font display technology -- but doesn't have it enabled by default. It's well worth trying, especially if you were there for DOS and all those years of staring at a screen have given you the eyes of an astigmatic bat. To enable ClearType, right click on the desktop,
select Properties, Appearance, Effects, select ClearType from the second drop-down menu and enable the selection. Expect best results on laptop displays.
You can run a program as a different user without logging out and back in again. Right click the icon, select Run As... and enter the user name and password you want to use. This only applies for that run. The trick is particularly useful if you need to have administrative permissions to install a program, which many require. Note that you can have some fun by running programs multiple times on the same system as different users, but this can have unforeseen effects.
Internet Explorer 6 will automatically delete temporary files, but only if you tell it to. Start the browser, select Tools/Internet Options... and Advanced, go down to the Security area and check the box to the Empty Temporary Internet Files folder when browser is closed. And then click "Apply".
Faster webpage look up. Instead of typing
http://www.anysite.com you can just type anysite then press ctrl+return and it automatically puts in the http:// and the .com, yahoo + "ctrl+return" = <http://www.yahoo.com>.
Get to System Properties Faster. This tweak is for those of you who consider right-clicking on My Computer, and then going down to the properties menu, a bit time consuming. Instead, to bring up the System Properties menu faster, do the following: 1. Hold down the Windows Key on the keyboard, and then press Pause/Break. (WinKey + Pause) That's all there is to it! But of course you can always just create another shortcut to [Control Panel/System and Performance/System] and then just tell Hal to open that too.
Windows XP's Task Manager is a very useful tool when it comes to troubleshooting problems. Not only does it help you terminate hung applications, but it also provides you with detailed information about all the processes currently running on your computer. When you select the Processes tab, the default detail view displays four
columns of information about each process: Image Name: The name of the process. User Name: The user who started the process. CPU: The percentage of the CPU's capacity that a process is currently using. Mem Usage: The amount of memory the process requires to perform its job. While these four columns provide you with a basic idea of the
process and how it affects the system, you can customize this display with your choice of 21 other columns to get even more detailed information. Here's how: 1. Pull down the View menu and choose Select Columns. 2. Select the check boxes adjacent to the columns you'd like to add. If you're unsure of the type of information that a particular column displays, access Task Manager Help Topics from the Help menu and search for the term "Process
counter column headings." This will open a page with detailed descriptions of each column.
Windows XP user interface enhancements are designed to make the operating system easy to work with for users at all levels. However, some features are distracting especially for intermediate to advanced users, such as the new program highlight feature. When you install new applications in XP, the corresponding shortcuts on the
Start menu are highlighted so you can quickly locate them. Until you actually use these shortcuts, they remain highlighted. If there are numerous shortcuts on the application's menu, you have to access each one to turn off the highlighting. Here's how to disable this feature: Right-click the Start button and select Properties.
Click the Customize button. On the Advanced tab, deselect the Highlight Newly Installed Programs check box. Click OK twice. You may need to restart the system or log out of XP for the change to take effect.
Speed-up Opening Multiple Programs. What do you do when you want to have Notepad, Calculator, WordPad, Sound Recorder, and System Restore all open at once? You click Start, then click All Programs, and go to the menu where the programs are, then click on the program. Then you click Start again and repeat, and then repeat
again for each program. Arrgh! Here's something that will make life a little easier: Click Start and point to All Programs. Now hold down the SHIFT key on the keyboard. Point to Accessories and click Notepad (make sure you keep that SHIFT key held down). Notepad opens. Click on Calculator. (Keep that SHIFT key held down!)
The calculator opens. Notice that the Start menu stays open. This allows you to open multiple programs a lot faster. Hal can also launch multiple programs all at the same time by creating a single batch file with all the programs you want to start simultaneously and then just tell Hal to run that batch file to launch all those programs at once.
Make Desktop Icons Disappear. Did you know you can make all the icons on your desktop disappear like magic? Right-click the desktop, select Arrange Icons By, and you'll see Show Desktop Icons selected. Deselect this option and all the icons disappear. Of course, you can show them again by selecting this same option.