Keywords: Absorption / Chemosensors / Heterocycles / Quinolizinium ions / Solvent effects 1,4-Dioxa-7,13-dithia-10-azacyclopentadecane (AT 2 15C5) or 1,4,7,10-tetraoxa-13-azacyclopentadecane (A15C5) were attached as metal-ion-binding receptor units at the ortho or para positions of the 9-amino-N-phenylbenzo[b]quinolizinium chromophore. The addition of Hg 2+ or Mg 2+ to the para isomers of the AT 2 15C5-quinolizinium or A15C5-quinolizinium conjugate, respectively, led to a blueshift of the absorption maxima of each compound because of the reduced donor ability of the complexed amino group. In contrast, the addition of Hg 2+ to a solution of the ortho-AT 2 15C5-quinolizinium conjugate in H 2 O/MeOH mixtures induced a significant redshift (ca. 50 nm) of the absorption maximum and enabled the photometric discrimination between Hg 2+ and competing thiophilic cations, such as Ag + or Pb 2+ , because