xlabel or timer bug ? Thread last updated on 2003-10-21 00:37:26

Posted by member 7223 on 2003-10-20 10:56:19

Hi all,

I've just found a strange issue when using timer and xlabel:
!timerupdate x 1000 '!labelshow label' ; DOESN'T WORKS

But:
!timerupdate x 1000 '!exec labelshow label' ; WORKS

It's the same with !labelhide, but using !labelsettext works

Posted by member 37809 on 2003-10-20 12:11:41 link

are these lines inside mzscript'ed bangs?
'!exec <?>labelshow label' strikes me as weird;
that's a typo, or shouldn't '!' or $mzBangChar$ be there? it could run a labelshow.exe in your PATH :D

Posted by member 7223 on 2003-10-21 00:37:26 link

No, it's not a typo: it happens in scripts and with lsxcommand, too. If I type:
!timerupdate x 1000 '!labelshow label'
!timerstart x

The timer starts but nothing happens. But with:
!timerupdate x 1000 '!exec labelshow label'
!timerstart x

It works!!! and I don't know why

Note: with xlabel, !bang are different than label: !mylabelshow = !labelshow mylabel