# AG\_SHORTCUT _Reviewed and revised December 2023_ **tab(-10, AG\_SHORTCUT); target, lnkspec \{, descr, workdir, icon, iconidx\}; chr(127);** [Tab(-10,x) Syntax Notes](ag_xxx_syntax-notes.md) AG\_SHORTCUT (72) creates a shortcut on the client. This function has both a [subroutine and a print tab implementation](subroutine-print-pairs.md). **Parameters** See [MX\_SHORTCUT](mx_shortcut.md)[xs](keyword-types.md) for descriptions. **Response** A number followed be a carriage return indicating the status of the operation: 0=ok. Positive numbers are Windows system error codes. (See MX\_ERRNOMSG to display text). -1 indicates no GUI support available (requires Windows or ATE), and -15 indicates that ATE did not respond. **Comments** Note that this AG\_SHORTCUT command version does not support expansion of %ENV% variables. (But the MX\_SHORTCUT does, providing another reason to use it instead.) **See Also** • [MX\_SHORTCUT](mx_shortcut.md)[xs](keyword-types.md)