Exec
Overview
- The Exec command includes various functions for file, window, system, multimedia, & PowerPro manipulations.
Actions
-
Alarms
- Suspend or re-activate checks for scheduled programs.
-
Autoscroll
- Starts automatic window scrolling.
-
AutoPress
- Toggles the recognition of a window type by the mouse stop-press feature, adding it to the list of recognised window types if PowerPro does not already autopress it, or removing it if it does.
-
BrowseRun
- Shows a file open dialog, & the select file is immediately executed.
-
CalcCalendar
- Shows a PowerPro calendar dialog with 2 date/calendar fields, along with day number, week number, and the differences between the 2 dates, allowing the user to perform date calculations.
-
Calendar
- Shows a month-view calendar with current date highlighted, along with an input field containing the current date.
- The mouse or arrow keys can be used to navigate the calendar.
-
CD
- Controls the audio CD player.
-
ChangeConfiguration
- Changes to configuration stored in a different pcf file; the new file path can be entered in the command.
-
ClearRecent
- Clears the Windows Recent folder for the current user.
-
ClearRecentExplorer
- Clears the list of recent windows shown by a Menu.Explorer call.
-
CommandLine
- Shows a tiny command line allowing the user to enter a command that will be run, as with Windows' Start > Run dialog.
-
ContextMenu
- Shows the right-click menu of a file, folder, or the window under the mouse.
- Or you can specify a file or folder to get the context menu for that file.
-
Disable
- Disables PowerPro until the mouse is moved over a PowerPro bar, or a PowerPro hot key is pressed.
-
Dos
- Starts Dos, runs a command line, & restarts Windows.
-
EmptyRecycleBin
- Empties the recycle bin.
-
Explorer
- Opens the specified folder in a single-paned Explorer window.
-
Explorer2
- Opens the specified folder in a dual-paned Explorer window.
-
FindFiles
- Shows the Windows Find Files dialog.
-
FindComputer
- Shows the Windows Find Computer dialog.
-
HideWindow
- Allows user to click a window to hide it.
-
HotKeys
- Suspends or re-activates all or particular hotkeys.
-
LogKeys
- Sets keystroke logging to a file.
-
Monitor
- Suspend or re-activate repeated running of the special command list named "Monitor".
-
MoreCommandsAsScript
- This function is only relevant in the PPConfig GUI.
-
Mute
- Toggles the current "Mute sounds" setting.
-
NewFolder
- Creates a new file folder.
-
OnError
- Sets where PowerPro error messages go and whether HookErrors list is run.
-
Plugin
- Obsolete.
-
Print
- Print a file using its associated program, such as Notepad for text files.
-
Prompt
- Prompts for a Yes/No answer and sets a PowerPro flag according to the result.
-
QuoteEscape
- Sets whether single quote is an escape character in strings in expressions.
-
RefreshEnvironment
- Refreshes all environment variables from registry; does not delete variables which are deleted.
-
RestoreLastMin
- Restores the last minimized window.
-
SchedulerAdd
- Adds a new scheduled event.
-
Scroll
- Begins mouse-scrolling the window under the mouse, as if a middle-click had been pressed.
-
ScrollWindow
- Scrolls the window under the mouse.
-
ScrollWithMouse
- Begins mouse-scrolling the window under the mouse, as if a middle-click had been pressed.
-
SetEnv
- Set environment variable to provided text. Use the env(...) function in expressions to read environment variables.
-
StandardConfiguration
- Checks whether PPConfig > Setup >Advanced >"Use standard configuration" is checked & if not, outputs an error message & stops all scripts.
-
Tile
- Tiles the visible windows on the screen.
-
ToFile
- Writes a single line of text to a log file, including a line break at the end.
-
VolumeAll
- Set the volume for all types of playback.
-
VolumeWav
- Sets the volume for .wav files.
- Enter number 0 (mute) to 15 (loudest). Use + or - in front of number to adjust relative to current setting.
-
WindowInfo
- Displays/Hides a small PP window with information about the window under the mouse.
- Information includes the mouse screen position, plus the size, position, caption, class, and exe name of the window under the mouse.