| Place the following in your HOME/ADAM3.CPZ file. You might have to shift things around to meet dependencies. I did not include this feature in the O.S. because it is based on personal preference. It belongs in your own account customizations. When doing stuff for myself, I cut corners on little things. To get a screen shot to another operating system, you must burn a CD-ROM. I have one CD-ROM drive which works perfectly and I have one which can burn a CD that LoseThos can read, but not Windows. It sucks not having documentation. void MyScreenShot() {
LTDirEntry *tempm; U8 cnt=0; Cd("::/TEMP/ScreenShots"); //"::" specifies the boot drive tempm=FindFiles("*.BMP"); while (tempm) {
tempm=tempm->next;
st2=MSPrintF("SCRN%04d.BMP",cnt); CaptureScreen4(st2); //4 bit color Free(st2); Cd(st); Free(st); Beep; BoolU4 My_EditPlugIns(Ltf *l,I8 ch,U8 sc) {
U8 sc2,sc3,ms=0; l;ch; //Ref, So not unused Warn sc2=sc & 0x17F; sc3=sc & 0x7F; //Useful for doubled-up keys if (sc2>=SC_F1 && sc2<=SC_F10 &&
return TRUE;
return FALSE; |
|