$spy.MakeHoverButton(button-move_near,if strcmp\(spy.check_for_selection\(),True) then run\(if strcmp\(spy.GetParam\(olex2.in_mode),'move sel') then 'mode off' else 'mode move sel') else None) $spy.MakeHoverButton(button-copy_near,if strcmp\(spy.check_for_selection\(),True) then run\(if strcmp\(spy.GetParam\(olex2.in_mode),'move sel -c') then 'mode off' else 'mode move -c sel') else None) $spy.MakeHoverButton(button-assemble,'compaq -a') $spy.MakeHoverButton(button-centre_on_cell,move) $spy.MakeHoverButton(button-largest_part,move) $spy.MakeHoverButton(button-show_basis,basis) $spy.MakeHoverButton(button-show_cell,cell) $spy.MakeHoverButton(button-fuse,fuse) $spy.MakeHoverButton(button-grow_all,grow)