TITLE=Miscellaneous actions (Keyboard Shortcuts) CONTENT=

Miscellaneous actions (Keyboard Shortcuts)

The Miscellaneous category contains the following actions:

$STRACTION_SENDMESSAGE@M$ and $STRACTION_POSTMESSAGE@M$: These actions can be used to send messages using SendMessage and PostMessage Win32 API functions. Wnd is the handle to the window (e.g., "0x00345A45") or one of the following: HWND_BROADCAST, LOCATEDLG, Find(class,name) (finding a window which class contains text "class" and name contais "name"). Msg is the message (integer value). wParam and lParam can be DWORD values (e.g., 0x0123A34B) or data in the same form as in "File containing text" field (see this). These actions can cause Locate32, other programs or even Windows to crash or function improperly. USE ONLY IF YOU KNOW WHAT YOU ARE DOING!

$STRACTION_EXECUTECOMMAND@M$: This action can be used to execute command (e.g. open the selected file into a viewer application). The following variables can be used in the Command: fields:
CategoryDescription
%d The path of the selected file (e.g. "C:\Windows\notepad.exe").
%p The parent directory for the selected file (e.g. "C:\Windows").
%f The file name (e.g. "notepad.exe").
%n The file name without extension (e.g. "notepad").
%e The extension (e.g. "exe").
This action is same as the "$STRACTION_EXECUTECOMMAND@M$" action in the $STRACTION_RESULTLIST$ gategory.

$STRACTION_INSERTASTERISKS@M$: This action will add asterisks '*' to the beginning and end of the string in "$DLGNAME_NAMED@M$" field.