Documentation

#CMD

CMD

Syntax: #CMD command
Related: #MENU

Executes the specified internal command. TeSSH has many internal commands that can be executed. Most are assigned to a menu item and can also be executed via the #MENU command by specifying the exact menu caption path.

However, if a menu item is moved to a different location, then the #MENU command would need to be updated to reflect the new location. Using #CMD you can execute the command directly without needing to know where it is located in the menu system.

CMD example

CMD aliases
displays the Aliases settings editor screen.

Each internal command has a fixed internal name. Most of these names correspond to obvious menu commands, and each command will not be documented here. But here is a list of valid command names:

New
NewClass
NewAlias
NewVar
NewPath
NewTrigger
NewMacro
NewButton
NewDir
NewMenu
NewStatus
Aliases
Variables
Paths
PackageLibrary
SpellCheck
Thesaurus
Open
Reconnect
Disconnect
Close
CloseAll
NewLog
AppendLog
Log
CloseLog
SaveBuffer
PrintSetup
Print
PrintSelected
PrintBuffer
PrintScreen
PrintScrollback
PrintColor
Exit
Cut
Copy
Paste
CopyDDE
SelectAll
Clear
Find
Classes
Triggers
Macros
Buttons
Directions
Menus
TabCompletion
StatusBars
Settings
PrefGeneral
PrefUserInterface
PrefCommandLine
PrefSpelling
PrefEmulation
PrefLogging
PrefSpamProtection
PrefWordWrap
PrefParsing
PrefScriptParsing
PrefSyntaxEditor
PrefPrettyPrinting
PrefColors
PrefColorSchemes
PrefANSI
PrefForeground
PrefBackground
PrefColorSyntax
PrefNetwork
PrefReconnection
PrefLookup
PrefProxy
PrefFonts
PrefMemory
PrefSlowWalking
PrefPrompt
PrefSounds
PrefGeneralSounds
PrefMSP
PrefMSPSounds
PrefMXP
PrefGeneralMXP
PrefElements
PrefEntities
PrefTags
PrefGSL
PrefSpecial
PrefTickTimer
PrefWindows
PrefWindowOptions
PrefLayout
Statistics
Parse
EnableTriggers
MakeAlias
RecordAlias
RecordPath
Speedwalk
TriggerWizard
MakeTrigger
DefineMacro
MakeButton
AddTabWord
DefineStatusBar
TickTimer
SyncTimer
SendFile
ExecuteScript
SpeedTest
SessionProperties
FullScreen
Maximize
LoadLayout
SaveLayout
LockLayout
NextWindow
Split
Refresh
ClearWindow
EmptyScrollback
ResetWindows
InstallPlugin
AutoMapper
History
Database
Debugger
Editor
Status
Help
HelpSearch
HelpReference
GettingStarted
Tutorials
Reference
ColorPicker
CheckVersion
WebHome
WebForum
License
Buy
About
CtrlTab
Theme
ThemeNormal
ThemeNone
ThemeFlat
ThemeOffice
ThemeAqua
ThemeLuna
Record
Keypad
DeleteSetting
EnableSetting
EditSetting
LoadToolbar
SaveToolbar
Feedback
ShowContainers
ShowCaption
NewSession
SaveSession

Add comment

Login or register to post comments