DL 0 : r keyfak.thd #: 193566 S8/Ask SysOps 03-Dec-85 22:36:24 Sb: KEY-FAKE in PC Mag. Fm: Francis Lapeyre 70665,207 To: All Volume 4, No. 26 of PC Magazine just arrived, and had the answer to my sof tware problems: KEY-FAKE.COM. It allows you to "fake" a program into thinking i t got just a few bytes of "keyboard" input from a batch file (or elsewhere). Pr oblem is: (1) the BASIC program to create the .COM file is missing the last line , apparently. (2) PC's modem (212-696-0360) rings & rings -- I set the Hayes to ATS7=60 with no answer. Anybody got a copy, or anybody fom PC Magazine like to give us the last line?? Francis L. #: 194318 S8/Ask SysOps 05-Dec-85 08:46:33 Sb: #194243-#KEY-FAKE in PC Mag. Fm: dave rothman 70240,372 To: Earle Robinson 70135,141 (X) if irecall correctly, keyfake lets u throw certain keystrokes into program s when the programs are called...its sorta like redirecting input but the difference is that when u redirect input, the entire 'session' of keystrok es must be in the auxilliary file. in other words, u can't redirect some input, u gotta put in everything including an exit commandto blow u back to dos. keyfake lets u throw in some keystrokes and then gives u back command in t he program u r runnning. one reason i would like to get a copy of keyfake is for 123. u can't redirect input into 123 (plus even if u could, u wouldnt be able to do anything cuz u would have to includes a '/qy' so that u wouldnt hang). i have a pced syn called 'load': syn load 'cd\123^chmod -n %1.wks^123^chmod -h %1.wks' it lets me unprotect certain hidden 123 worksheets which contain certain sensitive financial data (i taught my girlfriend everything about the pc, except for hidden files). unfortunately, with this setup, the one thing i still have to type when i get into 123 is '/fr%1' (obviously %1 is the now unprtected file). with keyfake, i should be able to import that char stri ng into 123, thus having a working, totally integrated macro...dave #: 194580 S8/Ask SysOps 05-Dec-85 21:15:46 Sb: #194243-KEY-FAKE in PC Mag. Fm: Jim McKeown 74666,511 To: Earle Robinson 70135,141 (X) I don't know exactly what KEY-FAKE does, but from the discussion it seemed to be very similar to KBSTAK. KBSTAK was written by Jim Kyle to trap int 16 and insert characters from a buffer in response to calls to that int. The buf fer is filled from a file named in the invocation of KBSTAK. It seems to work beautifully with one minor quibble: it also picks up the CTRL-Z eof marke r. I have taken to using DEBUG to pull that off the file, but that is definitely inconvenient -- although it is also proper given a strict interpretation o f the function of KBSTAK. jcm #: 194495 S0/General/New Uploads 05-Dec-85 17:33:22 Sb: #keyfake applic Fm: dave rothman 70240,372 To: er 70135,141 (X) i got a copy pf keyfake and stuck it in that syn i mentioned. here it is: syn load 'cd\123^chmod -n %1.wks^keyfake "/fr%1" 13 ^123^chmod -h %1.wks' it basically unhides a .wks file and loads it into 123. then when i exit, it hides it again #: 194803 S0/General/New Uploads 06-Dec-85 16:00:39 Sb: #194702-keyfake applic Fm: dave rothman 70240,372 To: Nelson Ford 71355,470 here are a coupla other 'slick' syns: syn add 'nsq %1.doc^lu -u c:\doc\docfils %1.dqc^*vdel %1.d?c' syn get 'lu -e c:\doc\docfils %1.dqc ^*nusq %1.dqc ^li %1.doc' syn help 'lq -qfp c:\doc\docfils %1.dqc' syn load 'cd\123^chmod -n %1.wks^keyfake "/fr%1" 13 ^123^chmod -h % 1.wks' syn cis 'call cis' syn call 'b-off ^yam call %1^b-off' the add, get & help all help to manage my doc files. ie. 'help kbfix' gets it out of a packed lib and shows it to me...etc... #: 195060 S0/General/New Uploads 07-Dec-85 12:02:20 Sb: #195021-keyfake applic Fm: dave rothman 70240,372 To: Earle Robinson 70135,141 following is that section of my script: syn call 'b-off ^yam call %1^b-off' syn cis 'call cis' syn fid 'call fid' syn stk 'call stk' syn hang 'call hang' syn mci 'call mci' syn morn 'call morn' syn fritz 'call fritz' by having the 'call' command and thus not having the b-on etc business repeated, i save something like 140 chars....dave #: 195115 S0/General/New Uploads 07-Dec-85 14:32:47 Sb: #195060-#keyfake applic Fm: Dave Hoagland 72365,42 To: dave rothman 70240,372 (X) One other approach...I disable/enable burnout in a batch file when I run YAM. In addition, I have a couple of function keys defined in phones.t to toggle burnout on/off if I want to change while I'm in YAM. set fx "@!bur nout 0" and set fy "@!burnout 10920" (where fx & fy are the respective function keys) does it nicely. ...DaveH #: 195150 S0/General/New Uploads 07-Dec-85 16:00:54 Sb: #195115-keyfake applic Fm: dave rothman 70240,372 To: Dave Hoagland 72365,42 (X) u bring up a pt that i discussed here a while ago. i set burnout both outside yam and inside yam. i turn it off before entering and then after dl'ing s ome msgs yam calls my editor: !burnout 15000 obey "!edix /mail/cis%d" as u can c, i turn burnout back o n just before calling the editor. i do it this way cuz sometimes i interupt scripts so i know that whenever INSIDE yam, burnout is off and whenever OUTSIDE yam (either after exiting or when calling something else) burnout is on). #: 195184 S0/General/New Uploads 07-Dec-85 17:30:59 Sb: #194803-keyfake applic Fm: Ed Vielmetti 76174,2061 To: dave rothman 70240,372 In the spirit of CED synonym collection, here's my favorites: SYN go cd \%1 SYN up cd .. SYN timer time'. the syn, 'fix', adds the ^Z if it's missing from the temp data file. finally, there is an autostart macro in 123 (\0) which imports the tmp file. >>here are the syns: fix 'copy %1 + (026) >nul' load 'cd\123^chmod -n %1.wks^fix %1.prn^keyfake "/fr%1" 13^123^chmod -h %1 .wks' >>here is yam script: fid: speed 1200;mput "ATM2DT18005446600;\r";sleep 120 !del c:\123\fidtmp.prn >>c:\123\fidtmp.prn acceptl s1 "Hit when remote system is ready [(q)uit]: " set s2 "ATDT*1*21#;\r";set s3 "Magellan_NAV: "; gosub fidsub set s2 "ATDT*1*05#;\r";set s3 "Trend_NAV: "; gosub fidsub set s2 "ATDT*1*40#;\r";set s3 "Mrtg_NAV: ";gosub fidsub set s2 "ATDT*2*21**#;\r";set s3 "Mag_Shs:";gosub fidsub set s2 "ATDT*2*05**#;\r";set s3 "Trend_Shs:";gosub f idsub set s2 "ATDT*2*40**#;\r";set s3 "Mrtg_Shs:";gosub fidsub echo "\r" hangup: close; speed 1200; putw "ATZ\r";off fidsub: mput %s2; sleep 40 obey "acceptl s1 %s3" if is1,q echo "Quittin..." goto hangup echo "%s1" return BTW, thanks to -er for a helpful yam suggestion! #: 195667 S0/General/New Uploads 08-Dec-85 23:35:27 Sb: #195561-#tricks w/utils Fm: Basil Copeland 71656,472 To: dave rothman 70240,372 (X) Thnx for the tips. I don't use yam, but keyfake is a great enhancement fo r ced. I don't like long filenames, even in syns, so I renamed keyfake to kf.com. Had a hard time getting keyfake to work under DoubleDOS. Found t hat if I loaded it in my autoexec.bat file before loading DD, it ran well in both memory partitions. Don't know if that would hold for other multitasking environments, but thought I would pass it on. --Basil #: 195761 S0/General/New Uploads 09-Dec-85 09:33:15 Sb: #195561-tricks w/utils Fm: Basil Copeland 71656,472 To: dave rothman 70240,372 (X) Your msg reminded me of the one you left a couple of days ago with some of your other ced syns. Your syn for handling docs was novel, but I do it differe ntly. Since I have plenty of hard disk space, I have no need to squeeze or libra ry my docs. I just put them in a \dc subdir, and then access them with the foll owing syn: syn h cd \dc^lf^list..... lf gives me a directory listing, and executing vern's list program without a command line parameter gives me an "Enter Filename:" prompt. The two--lf and list--are nifty together. And list, in my opinion, is more versatile than lqtype. One last trick. My docfiles in \dc have no filena me extensions. No need to put a .doc at the end of the filename because it wouldn't be in \dc if it wasn't a doc. Saves a few more keystrokes. --Ba sil #: 196742 S0/General/New Uploads 11-Dec-85 09:16:44 Sb: #Key-fake.com Fm: Stephen Sisler 72366,3724 To: ALL For those who haven't yet picked up PC magazine's KEY-FAKE.COM, I would recommend doing so, as you'll probably find it will save you time and key strokes. I just started using it today, and find it very useful. I've always been annoyed by programs I use frequently, that won't accept file names, etc. on the command line, and KEY-FAKE solves this problem. For example, when using MSGVU5.COM to quickly read and sort CIS message downloads, I use a MV.BAT file consisting of: KEY-FAKE @59 "%1" 13 @60 MSGVU5 /I which lets me type MV FILENAME and the sorted message directory appears without further key strokes. TP.BAT consisting of: KEY-FAKE "y" "e" "%1" 13 TURBO lets me type: TP FILENAME and the named file appears ready for editing within TURBO PASCAL. These are very simple examples, but much more complex things can be done. Using KEY-FAKE in BAT files and the X O feature of QDO S, I can jump instantly from file to file, and DIR to DIR, carrying out operations with a minimum of keystrokes. KEY-FAKE can be found on some BBS , or entered from the listing in the December 24 issue of PC magazine. -----Stephen #: 196810 S0/General/New Uploads 11-Dec-85 12:05:08 Sb: #196742-Key-fake.com Fm: Basil Copeland 71656,472 To: Stephen Sisler 72366,3724 (X) No doubt about it...keyfake.com is a great program. Better than what it d oes with .bat files is the way it enhances ced. Here's a ced synonym that tak es your mv.bat file a few steps further: . The command line will take ibmsigm.ato, sort it, write it to a .tm p file, erase the old ibmsigm.ato file, and rename the .tmp file to ibmsigm.ato. PRESTO, ATO's ibmsigm.ato file has been sorted with msgvu. Hey...this is not meant to be one-upmanship. Your mv.bat was what gave me this idea! (Note that I have renamed keyfake.com to kf.com). Got any other ideas? Keyfake is g reat! --Basil #: 196929 S0/General/New Uploads 11-Dec-85 19:22:53 Sb: #196742-Key-fake.com Fm: Earle Robinson 70135,141 To: Stephen Sisler 72366,3724 For some reason, when I use keyfake I have to have to load the file and th e commands on the same line. Perhaps this is because of the tsr's I have an d I should load keyfake before kbfix, which I don't. Any ideas? -er #: 197270 S0/General/New Uploads 12-Dec-85 13:56:36 Sb: #196810-Key-fake.com Fm: Stephen Sisler 72366,3724 To: Basil Copeland 71656,472 Basil, I think you need to take some of those 13s out of your syn, because in MSGVU5, Function Keys execute without a . Looks like CED and KEY-FAKE make a great combination (judging from your's and some of the other syns I've s een), but I've never become a CED user because I like using a TSR called TALL SCREEN which already has some CED-like functions, and CED knocks out TALL SCREEN and takes over, so to use TALL SCREEN I have to stick with batch files. The MV .BAT in my previous message is what I use to call up presorted archive message files for searching through and viewing. For cleaning up an ATO file of several days of unsorted messages, I use: CISMSG %1 D:%1 KEY-FAKE @59 "D:%1" 13 @60 MSGVU5 ERASE C:%1 I use CISMSG for sorting, and deleting duplicate messages because it's fas ter, and seems pretty good at maintaining the correct message order within a th read. Then use MSGVU5 to read msgs, delete the unwanted ones, then write the cleaned up file to C: with a new name. I also use MSGVU5 to quickly mark msgs and threads to write to a single topic file (such as my Kedit.THD tutorial msg file). (D: is my VDISK in Extended memory). Thanks for the suggestion. I w ish CED was compatible with TALL SCREEN. (P.S. I noticed I had made an error i n my 1st reply to your msg, so I deleted it and sent this msg, so you might get both versions). -------Stephen #: 197276 S0/General/New Uploads 12-Dec-85 14:51:22 Sb: #196929-Key-fake.com Fm: Stephen Sisler 72366,3724 To: Earle Robinson 70135,141 Earle, I'm not sure I understand your question, but I'll give it a try. It's my understanding, based on the KEY-FAKE documentation, that you have to have KEY-FAKE and its parameters on the same command line, though CED SYN users might have more flexibility (I'm not a CED user). Does this answer your question? If you haven't already, read the DOCs in the December 24 PC maga zine. -------Stephen #: 197348 S0/General/New Uploads 12-Dec-85 19:53:00 Sb: #197276-#Key-fake.com Fm: Earle Robinson 70135,141 To: Stephen Sisler 72366,3724 Thx for the reply. However, I understood that one could do as follows: keyfake "parameter" 13 "whatever else,etc." 13 progname I have to proceed thus: progname keyfake "parameter" 13 "whatever else,etc ." 13 This may be due to the tsr's I have though I don't know. -er #: 197370 S0/General/New Uploads 12-Dec-85 20:44:04 Sb: #197348-Key-fake.com Fm: Bill Higgins 70575,307 To: Earle Robinson 70135,141 Not supposed to work that way, Earle. You must have a problem elsewhere. In fact, in doing 'foo keyfake "mumble" 13 ', I don't understand how foo gets any benefit from keyfake since it wouldn't be called until after foo was exited, what? Which of your TSR's mess with the kbd buffer? #: 197415 S0/General/New Uploads 12-Dec-85 23:05:04 Sb: #196929-Key-fake.com Fm: Dennis Wiener 76505,2040 To: Earle Robinson 70135,141 Earl, I tried loading keyfake before kbfix at one point and it didn't work and or locked up the keyboard on me. But then it could have been a combination of everything else I have loaded as well. Anyway I find loading kbfix first prevents this. Dennis #: 197467 S0/General/New Uploads 13-Dec-85 00:20:38 Sb: #197370-Key-fake.com Fm: Earle Robinson 70135,141 To: Bill Higgins 70575,307 (X) I have: kbfix2, pro-ced, keyfake, superkey, lightning and superkick. I t ried keyfake before pro-ced and the same thing happens. -er #: 197505 S0/General/New Uploads 13-Dec-85 01:25:32 Sb: #197348-Key-fake.com Fm: Stephen Sisler 72366,3724 To: Earle Robinson 70135,141 Yes, KEY-FAKE Parameter is how it's supposed to work. Programname Don't know why you should have to use: Programname KEY-FAKE Parameter. ----Stephen #: 197522 S0/General/New Uploads 13-Dec-85 02:52:04 Sb: #Key-fake.com Fm: Ed Fitzgerald 72447,1631 To: All Just want to report an apparent incompatibility between Key-fake and XTREE , a harddisk management program by Executive Systems Inc of Sherman Oaks, CA. When Key-fake is resident, XTREE loads, reads the disk information, opens its m ain display, and then locks up, necessitating a cold-reboot (a warm on if you try to use its F2 key to return to DOS, as you normally can. When you press F 2, the area below the main display goes blank [not colored as is normal] and a warm-boot is needed.) I've eliminated most of the other TSRs I have as the villain, although XTREE *will* run with key-fake resident if I unload Turb o Lighting using CTRL-HOME CTRL-END. The program doesn't lock up with only Lightning and no key-fake. This is on a Kaypro-16. ed f #: 197592 S0/General/New Uploads 13-Dec-85 09:57:56 Sb: #197467-#Key-fake.com Fm: David Turcotte 70150,540 To: Earle Robinson 70135,141 (X) Earle, this is my autoexec showing the order of utilities. It works. path c:\;c:\util;\msdos30;d:\wp ; mode lpt1: >nul ; mode co80 >nul ; prompt $p $g ; wht_blu q >nul ;set screen color/color magic burnout 65000 F10 V- C+ H- >nul ;screen blanker nuepsn >nul ;tsr printer control prgm superspl lpt1:/m=40/b >nul ;ast print spooler key dos.mac /ml >nul ;superkey kf ;key-fake e: ; cd light ; light ;turbo lightning envi h ;set lightning evironment to dos c: ; cd \ ; sk >nul ;sidekick kbfix2 /kb0 /kt1 /d0 /b0 /s1 >nul ;keyboard speed enhancer ced -fced.cfg ;command line editor set mjogdir=c:\ ;set memory jogger default directory mjog -60 -l ;mem jog for 60 days + calendar space c: ;list available space on drive space d: ; " " " " " space e: ; " " " " " mem ;show memory available #: 197653 S0/General/New Uploads 13-Dec-85 13:18:04 Sb: #197476-Key-fake.com Fm: Earle Robinson 70135,141 To: N. Arley Dealey 70130,177 kbfix, keyfake, pro-ced, skey, lightning and sk. -er #: 197654 S0/General/New Uploads 13-Dec-85 13:18:24 Sb: #197505-#Key-fake.com Fm: Earle Robinson 70135,141 To: Stephen Sisler 72366,3724 (X) Actually, since I would really only use it from within a pro-ced definition, or more remotely, from a batch file, it doesn't really make that much differe nce. However, I am intrigued as to why I have this problem. -er #: 197702 S0/General/New Uploads 13-Dec-85 16:47:21 Sb: #197654-Key-fake.com Fm: Stephen Sisler 72366,3724 To: Earle Robinson 70135,141 Might be interesting to see if your version of Key-fake works normally on another PC, to make sure you don't have a modified version (if you got your copy off someone's BBS). Otherwise, I can't figure out how it could work t he way you say it does. ----Stephen #: 197884 S0/General/New Uploads 14-Dec-85 03:30:16 Sb: #197348-Key-fake.com Fm: Dennis Wiener 76505,2040 To: Earle Robinson 70135,141 Earle, That doesn't sound right at all. It looks to me like your using key -fake as a parameter to progname? The first method you listed as in the PC Mag docs, works fine in all my applications. The only way I've used it similar to yo urs is to run debug to call the program in my disk controller rom to park my h ard disk, but even that runs key-fake "debug" 13 "g=c800: etc. Dennis DL 0 : bye Thank you for using CompuServe! Off at 14:08 EST 22-Jan-86 Connect time = 0:05 *** Network connection closed.