Text this: Detecting halfmetallic electronic structures of spintronic materials in a magnetic field