TIP: Click on subject to list as thread! ANSI
echo: 4dos
to: Ralf Brinkmann
from: Jasen Betts
date: 2004-06-04 06:48:08
subject: Change batch commands

Hi Ralf.

03-Jun-04 11:56:39, Ralf Brinkmann wrote to Jasen Betts

 RB> Hi Jasen,

 RB>>> The alias CALC = KEYSTACK "CALC
%{at}comma[%{at}EVAL[%&]]" works under
 RB>>> 4DOS, but under 4NT I don't get a result. The alias should be
 RB>>> used like "calc 4 + 5 ENTER"

 JB>> I think keystack is the problem. there may be a way to make it
 JB>> work woth NT, I don't use it.

 RB> What do you use?

something small which I wrote myself, it doesn't have all the features of
keystack, but it doesn't have the overhead either.

it should OTOH work in NT (etc) - (it worked in version NT 3.x)

 JB>> perhaps something like this instead.

 RB> No, unfortunately this doesn't work. Maybe there's somebody else
 RB> who has an idea. Or are we the only ones here


here's the keyboard stuffer encoded as execuatble text.
==== cut here ====
XPPPYZIQD[L-f6-g41GDSCu*SXK,I,IP^P_FX,O,O(GS(GU(GZ(Gnu+J.BETTS98
CFFFRX,`,`2$F={at}!t|rQ0%IuL0%(%(%GERYAARX2%(%t8++j=B|:|>{at}J|(|-([{{at}
*[{)B}(:/jB&B/&J){{at}J|(}-([{{at}]-B{at}*{at}*|--|J^*|J:]}J}<{~""B]}(={
B\:]B"([*-!4vbAw_O>^*W_+>eXBO33%%X7po'7,T;S##5K%,(v?
UYqfR*1'9.:%W`vA${d*m$I%i$y%(fR-AU}'3,drJBNJZ[w*$x(ST6n#i'5zrgX+
OC)$FPr`m+KM^:i$|CkLe-DlT4v
+CnBW,m|i8OCKT}K#mIL,^*u6D?qrw01($HtQp9wmjoP{at}%m"---STUFF.COM----
==== cut here ====
save it as stuff.com

stuff.com stuffs simulated keysttrokes into the bios keyboard buffer
(which usually has room for 15 keystrokes)

instructions...
 regular ascii can be put in the key buffer inside quotes "like this"
 or 'like this'

 if you leave the last quote off and don't have anything following an
 "enter" is automatically stuffed (due to a bug that I have declared a
 feature

 other keys can be stuffed in hex, 2 digits is an ascii value, 4 digits
 a scancode-value pair eg F1 is 3b00, 0D or just D is enter, but some
 programs require 1c0d.

due to bios limitations, in most cases a maximum of 15 keys can be
stuffed.

 -=> Bye <=-

---
* Origin: As King Arthur said: Some days it all seems so feudal. (3:640/1042)
SEEN-BY: 633/267 270
@PATH: 640/1042 531 954 774/605 123/500 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.