From: Eric Stork
The below macro is self-explanatory an works, but ...
It works only if I do ^9 twice -- the first time, nothing seems to happen.
Why is that? I've never before encountered having to type twice the key to
which a macro is assigned. Advice will be greatly appreciated.
Eric
proc mToggleTrailingSpace() // mapped to ^9
if Query(RemoveTrailingWhite)
Set(RemoveTrailingWhite,OFF)
Message("RemoveTrailingSpace is OFF")
Sound(1000) Delay(9) NoSound()
else
Set(RemoveTrailingWhite,ON)
Message("RemoveTrailingSpace is ON")
Sound(1000) Delay(9) NoSound()
endif
end ToggleTrailingSpace
mToggleTrailingSpace()
----------
Eric Stork
e-mail address: estork@erols.com
---
---------------
* Origin: apana>>>>>fidonet [sawasdi.apana.org.au] (3:800/846.13)
|