Please enable JavaScript to view this site.

A-Shell Consolidated Reference

Modified November 2022; see History

ImgDir=dirspec

Specifies the default directory for the images, allowing you to avoid having to specify the complete directory redundantly for each image. The directory may be specified using either AMOS or native (Windows) syntax. It may also be a URL directory, e.g. https://www.mydomain.com/myimages (leaving off the trailing delimiter). Note that if a WEBCACHE directory is defined—with the OPENI and LOOKUP attributes—it will also be searched in addition to the ImgDir directory. Note also that images pulled down from a website will be cached for subsequent accesses in the %MIAME%\webcache directory. See History below.

You may also specify the name of a DLL (when loading icons from a DLL) in order to be able to omit the "::dllname" from the icon specification in the cell data. In this case you must include the "::" in front of the DLL name in the ImgDir specification. For example, if you specify ImgDir=::ashico1 then in the cell data you can specify icon names within that DLL, such as "add" or "delete" without the ::ashico suffix.

ImgDir is ignored if blank, not specified, and for any individual image file name that contains a directory specifier. For example:

ImgDir=appimg:

ImgDir=c:\my documents\my images\app images

Example of a complete image column definition:

COLDEF = COLDEF + "50~25~Images~I~ImgSiz=80,60,24,Fit,Scaleq~ImgCount=150,1~ImgDir=appimg:~~

 

Example of a DLL specification:

ImgDir=::ashico1

 

See Also

History

2023 August, A-Shell 6.5.1739:  Add support for URL directory specification.

2022 August, A-Shell 6.5.1720:  ImgDir can now be used to specify the name of a DLL containing icons, allowing just the icon name to be specified in each cell.