geoCommandTime is a combination of the geoCommand and geoDateTime plugins into one in order to take up less space. It displays the date and/or time on a bar in whatever format you desire, and when clicked (or focused using it's hotkey) allows you to type commands, similar to the windows "Run Dialog" but with some extended functionality.
The basics of time formatting and command aliasing should be covered in the respective plugin sections.
It has since been expanded to include some rather sophisticated 'aliases' which are unique to this plugin and not part of geoCommand.
Double right clicking on the geoCommandTime will show the Date and Time system box, so if you want to change the date or the hour, you can do it from there.
The time-display settings are the same as in geoDateTime, so you'll find them there.
Registry Configuration
| Key |
Values |
Default |
Function |
| AliasAdd |
String |
_AliasAdd |
The name of the command used to add aliases to the bar. Actual alias functionality is discussed at the bottom. |
| AliasDelete |
String |
_AliasDelete |
Delete a existing alias previously created with _AliasAdd |
| Auto completion |
1,0 |
1 |
Enables the automatic path-completion feature. IE, when you start typing a path like C:\S you get C:\Shell automatically. This also applies to URLs |
| DateTime Format |
String |
%#x |
The datetime format to display when the bar is inactive. Check the GeoDateTime reference for a list of variables that you may use. |
| ToolTip Format |
String |
%#x |
When you put your mouse over the bar, you can see a tooltip, just like in any GeoDateTime plugin. To set the format, please refer to the GeoDateTime reference. |
| Default to Web |
1,0 |
0 |
Every command that's entered is interpreted by default as a URL. What this means is that when you enter, for example, geoshellx.com, (assuming you have no such file on your hard drive) a browser window will open and load the page (in GeoXCommand, nothing happened unless you put the http:// in front of the text). The down side is that when you enter a typo like: notpad (instead of notepad), a browser window will open and it will try to go to http://notpad . Of course you'll still be able to type Notepad to load your favourite text editor  |
| Font Face |
String |
Standard |
The font used in the command area. For example: Tahoma Bold, 16 If you don't change the "standard" text, it will use the ?DefaultFont for GeoShell. |
| Font Style |
Italic/Bold/Normal |
Normal |
Changes the style of the font specified above. |
| History add failed |
1,0 |
1 |
If set true (1), commands are added to the history (press Up and Down arrows when in the bar) even if they were not successful. |
| History max entries |
Numeric |
20 |
Number of entries to store in the local History. This is mostly useless, since the plugin now retrieves the OS command history ... we should implement adding our commands to that! |
| HotkeyAdd |
String |
_HotkeyAdd |
Adds a new hotkey to launch a program.(NOTE: use two PIPEs (the vertical bar) NOT the square brackets, around the letter. I couldn't figure out how to get the wiki to ignore the pipes in this text. (DOUBLENOTE: Since square brackets is considered as links by Wiki, I replaced them with the word PIPE) Use in the format: _HotkeyAdd Name,Modifier PIPE Key PIPE Command eg: _HotkeyAdd App_NotePad,CTRL+SHIFT PIPE n PIPE Notepad.exe would add a hotkey to launch everyones favorite text-editor. |
| Refresh |
String |
_Refresh |
Command to ?RecycleThePlugin (refresh the settings of the plugin). ie: type _refresh to recycle the plugin, OR do the standard thing, and hold SHIFT while you double-click it with your right-mouse-button. |
| Show date and time |
0,1 |
0 |
If set to 1, the clock will be shown when the bar is inactive. If set to 0, nothing will be shown. |
| Style |
normal/inset |
normal |
Should the text entry area be normal or inset ... take your pick. |
| Text Align |
left,right,centered |
left |
Set the text to be aligned to left, center or right (center or centered should work now) |
| Width |
Number |
300 |
Width of the plugin in pixels |
Aliases
You can define your own aliases for each GeoCommandTime. To set up new aliases, use the built in function _AliasAdd. (you shouldn't really try to edit the registry manually for this). The syntax is very simple. _AliasAdd is followed by a space, the name of the alias, a comma, and the command to execute
e.g. _AliasAdd winamp,C:\program files\winamp\winamp.exe This would add an alias with the name winamp, which would execute winamp.exe . The path can contain spaces and parameters will be executed without adding quotes. To delete this alias type: _AliasDelete winamp
You can also set up more complicated aliases using the "%s" escape sequence to allow for parameters.
You can find more examples in the GeoCommandTime Alias Library.
There is also a hotkey registered: HKEY_CURRENT_USER\Software\Geo\GeoShell\Services\Hotkey\szIDs\Module_geOCommandTime this is normally set to CTRL+ALT+C ... and will set focus to GeoCommandTime when pressed.