Please enable JavaScript to view this site.

A-Shell Reference

Reviewed and revised December 2023

tab(-10, AG_SHORTCUT); target, lnkspec {, descr, workdir, icon, iconidx}; chr(127);     Tab(-10,x) Syntax Notes

AG_SHORTCUT (72) creates a shortcut on the client.

This function has both a subroutine and a print tab implementation.

Parameters

See MX_SHORTCUT 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