System Action • Interface


procedure RunApplication(ExecPath,Parameters: string; WindowState: TWindowState);
Runs application with parameters.
procedure RunFolder(Folder: string; WindowState: TWindowState; Explore: Boolean);
Opens folder. Last parameter is obsolete since Windows Vista.
procedure RunSpecialFolder(Folder: TSpecialFolder; WindowState: TWindowState; Explore: Boolean);
Opens system/special folder. Last parameter is obsolete since Windows Vista.
TSpecialFolder is an enumerate:
sfDesktop, sfInternet, sfPrograms, sfControls, sfPrinters, sfPersonal, sfFavorites, sfStartup, sfRecent, sfSendto, sfBitBucket, sfStartMenu, sfDesktopDirectory, sfDrives, sfNetwork, sfNethood, sfFonts, sfTemplates, sfCommonStartMenu, sfCommonPrograms, sfCommonStartup, sfCommonDesktopDirectory, sfAppData, sfPrinthood, sfAltStartup, sfCommonAltStartup, sfCommonFavorites, sfInternetCache, sfCookies, sfHistory, sfCommonAppData, sfLocalAppData, sfSystem, sfProgramFiles, sfProgramFilesCommon, sfMyMusic, sfMyPictures, sfAdminTools, sfCDBurnArea, sfCommonAdminTools, sfCommonDocuments, sfCommonMusic, sfCommonOEMLinks, sfCommonPictures, sfCommonTemplates, sfCommonVideo, sfMyVideo, sfProfile, sfProgramFilesCommonX86, sfProgramFilesX86, sfResources, sfResourcesLocalized, sfSystemX86, sfWindows.
procedure RunRunDialog;
Runs system "Run Application" dialog.
procedure RunFindFiles;
Runs system "Find Files" dialog.
procedure RunFindComputer;
Runs system "Find Computer" dialog.
procedure ToggleDesktop;
Toggles desktop.
procedure OpenCDROM;
Opens CD ROM tray.
procedure CloseCDROM;
Closes CD ROM tray.
procedure LogOff;
Logs off computer.
procedure Sleep;
Sleeps computer.
procedure Hibernate;
Hibernates computer.
procedure Reboot;
Reboots computer.
procedure Shutdown;
Shutdowns computer.
procedure PowerOff;
Makes computer power off.
procedure RunTurnOffDialog;
Runs standards turn off dialog.