From: Steve
According to the documentation for PushKey() the queue holds 64 keys. =
Depending on what you may have already pushed, the maximum additional =
number you could put would be less.
Also, PushKey() can be called an unlimited number of times without =
crashing the editor. However, according to the documentation, once the =
keyboard queue is full, PushKey() returns FALSE until keys are removed =
from the queue.
assuming you haven't pushed any keys you could do the following:
do 63 times
PushKey()
enddo
PushKey()
Steve
On Friday, October 10, 1997 9:28 AM, Skip Gore wrote:
> Hi Gang,
>=20
> Anyone have any idea as to how high I can boost the x =3D in this =
macro
> without it crashing?
>=20
> =
snip=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3Dsnip
> proc Main()
> integer x =3D 50
> Repeat
> PushKey()
> x =3D x-1
> until not x
> pushkey()
> ExecMacro("Spellchk")
> end
> =
snip=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3Dsnip
>=20
> Thanks,
>=20
> Skip
>=20
>=20
---
---------------
* Origin: apana>>>>>fidonet [sawasdi.apana.org.au] (3:800/846.13)
|