SHORTCUT command question

  • This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
#1
The documentation for the SHORTCUT command indicates that all parameters,
except numeric ones (icon offset and mode) and hotkey, must be quoted. Is
this actually required, or required only if the parameter is empty or the
parameter contains special characters, i.e., would the result of
%@quote[parm] work correctly (except for the empty string case)?
--
Steve
 

rconn

Administrator
Staff member
May 14, 2008
10,207
86
#2
> The documentation for the SHORTCUT command indicates that all
> parameters, except numeric ones (icon offset and mode) and hotkey,
> must be quoted.
The documentation doesn't say they must -- it says:

"Any parameter must be enclosed in double quotes if it includes white space
or other special characters."

And that's true.

The only arguments which should never be quoted are mode & icon offset.

Rex Conn
JP Software