home *** CD-ROM | disk | FTP | other *** search
Wrap
INI File | 1996-05-14 | 5.9 KB | 453 lines
[ver] 4 [sty] _default.sty [files] [charset] 82 ANSI (Windows, IBM CP 1252) [revisions] 0 [prn] HP LaserJet Series II [port] LPT1: [lang] 1 [desc] 830548078 70 748656235 329 1 0 0 0 0 1 [fopts] 0 1 0 0 [lnopts] 2 Body Text 1 [docopts] 5 2 [GramStyle] [tag] Body Text 2 [fnt] Courier 240 0 32768 [algn] 1 1 0 0 0 [spc] 33 273 1 0 0 1 100 [brk] 4 [line] 8 0 1 0 1 1 1 10 10 1 [spec] 0 0 0 1 1 0 0 0 0 [nfmt] 280 1 2 . , $ Body Text 0 0 [tag] Footnote 12 [fnt] Courier 240 0 32768 [algn] 1 1 0 720 0 [spc] 33 273 1 0 0 1 100 [brk] 4 [line] 8 0 1 0 1 1 1 10 10 1 [spec] 0 0 <*:> 0 1 1 256 0 0 0 [nfmt] 280 1 2 . , $ Footnote 0 0 [lay] Standard 513 [rght] 15840 12240 1 1440 1440 1 720 720 0 1 0 1 0 2 1 1440 11520 12 1 720 1 1440 1 2160 1 2880 1 3600 1 4320 1 5040 1 5760 1 6480 1 7200 1 7920 1 8640 [hrght] [lyfrm] 1 11200 0 0 12240 720 0 1 3 1 0 0 0 0 0 0 0 0 1 [frmlay] 720 12240 1 1440 0 1 720 1440 0 1 0 1 1 0 1 1440 10800 1 3 9360 [txt] > [frght] [lyfrm] 1 13248 0 14400 12240 15840 0 1 3 1 0 0 0 0 0 0 0 0 2 [frmlay] 15840 12240 1 1440 792 1 14472 1440 0 1 0 1 1 0 1 1440 10800 2 2 4680 3 9360 [txt] > [elay] [l1] 0 [edoc] <:f240,QCourier,0,0,0>FUNCTION InitHotDocs(tplReq) <:f240,QCourier,0,0,0> InitHotDocs = 1<:f><:f240,QCourier,0,0,0><:f> <:f240,QCourier,0,0,0><:f><:f240,QCourier,0,0,0><:f240,QCourier,0,0,0> '*** GET LANGUAGE CODE <:f240,QCourier,0,0,0> lCode = <:f><:f240,QCourier,0,0,0>GetProfileString$("intl"<:f><:f240,QCourier,0,0,0>,<:f><:f240,QCourier,0,0,0>"sLanguage"<:f><:f240,QCourier,0,0,0>,"win.ini"<:f><:f240,QCourier,0,0,0>)<:f> <:f240,QCourier,0,0,0> IF (LEN(lCode) <;> 2) <:f240,QCourier,0,0,0> lCode<:f><:f240,QCourier,0,0,0> = UCASE$(MID$(<:f><:f240,QCourier,0,0,0>lCode,1,2))<:f> <:f240,QCourier,0,0,0> ENDIF<:f> <:f240,QCourier,0,0,0><:f240,QCourier,0,0,0> '*** ADD HELP TO THE MENU BAR <:f240,QCourier,0,0,0> DeleteMenuItem(1,"&Help","Hot&Docs...") <:f240,QCourier,0,0,0> IF (lCode = "DE")<:f> <+@><:S+-1><:f240,QCourier,0,0,0> InsertMenu<:f><:f240,QCourier,0,0,0>Item(1,"&Help",9,"Hot&Docs...","hdhelp<:f><:f240,QCourier,0,0,0>.smm","<:f>Die HotDocs Hilfedatei <\v>ffnen<:f240,QCourier,0,0,0>")<:f> <:f240,QCourier,0,0,0> ELSE <:f240,QCourier,0,0,0> InsertMenu<:f><:f240,QCourier,0,0,0>Item(1,"&Help",9,"Hot&Docs...","hdhelp<:f><:f240,QCourier,0,0,0>.smm","<:f>Opens the HotDocs help file<:f240,QCourier,0,0,0>")<:f> <:f240,QCourier,0,0,0> ENDIF <:f240,QCourier,0,0,0> <:f240,QCourier,0,0,0> '*** SEE IF HOTDOCS IS ALREADY RUNNING <:f240,QCourier,0,0,0> <:f><:f240,QCourier,0,0,0>IF (AppIsRunning("HotDocs") = <:f><:f240,QCourier,0,0,0>1)<:f> <:f240,QCourier,0,0,0> GoTo HotDocsRunning<:f> <:f240,QCourier,0,0,0> ENDIF<:f> <:f240,QCourier,0,0,0> '*** <:f><:f240,QCourier,0,0,0>LOAD HOTDOCS<:f> <:f240,QCourier,0,0,0><:f><:f240,QCourier,0,0,0> Suc=EXEC("hd3start.exe /mi"<:f><:f240,QCourier,0,0,0>,"")<:f> <:f240,QCourier,0,0,0><:f><:f240,QCourier,0,0,0> '*** MAKE SURE A HOTDOCS TEMPLATE IS OPEN <:f240,QCourier,0,0,0><:f><:f240,QCourier,0,0,0><:f240,QCourier,0,0,0> <:f><:f240,QCourier,0,0,0>IF (AppIsRunning("HotDocs") <<<;><:f><:f240,QCourier,0,0,0><:f><:f240,QCourier,0,0,0> <:f><:f240,QCourier,0,0,0>1)<:f> <:f240,QCourier,0,0,0> <:f><:f240,QCourier,0,0,0>InitHotDocs = 0<:f> <:f240,QCourier,0,0,0> ENDIF<:f> ActivateApp("Ami Pro") <:f240,QCourier,0,0,0>HotDocsRunning: <:f240,QCourier,0,0,0> IF(InitHotDocs = 1 AND tplReq = 1) <:f240,QCourier,0,0,0> IF (GetOpenFileCount<:f><:f240,QCourier,0,0,0>() = 0)<:f> <:f240,QCourier,0,0,0>retVal<:f><:f240,QCourier,0,0,0> = DllCall("hd3.dll,Res<:f><:f240,QCourier,0,0,0>MsgBox<:f><:f240,QCourier,0,0,0>,JJJ<:f><:f240,QCourier,0,0,0>",<:f><:f240,QCourier,0,0,0>0,1910<:f><:f240,QCourier,0,0,0>)<:f> <:f240,QCourier,0,0,0> InitHotDocs = 0<:f> <:f240,QCourier,0,0,0> ELSE<:f><:f240,QCourier,0,0,0>IF (GetDocInfo$(8)<<<;>"HotDocs Template")<:f> <:f240,QCourier,0,0,0>retVal<:f><:f240,QCourier,0,0,0> = DllCall("hd3.dll,Res<:f><:f240,QCourier,0,0,0>MsgBox<:f><:f240,QCourier,0,0,0>,JJJ<:f><:f240,QCourier,0,0,0>",<:f><:f240,QCourier,0,0,0>0,1909<:f><:f240,QCourier,0,0,0>)<:f> <:f240,QCourier,0,0,0> InitHotDocs = 0<:f> <:f240,QCourier,0,0,0> ENDIF <:f240,QCourier,0,0,0> ENDIF<:f> <:f240,QCourier,0,0,0>END FUNCTION<:O-<* >><:f> > [Embedded] 00005167 > [macsum] 1 InitHotDocs 0 1 4 0 [macse] 14 InitHotDocs 5 1 8 1 0 286 "intl" "sLanguage" "win.ini" 13 8 2 0 14 "{2}" 13 5 2 18 3 11 00000150 0 15 "{2}" 1 2 13 0 18 [X] 13 8 2 0 520 1 "&Help" "Hot&Docs..." 6 2 7 "DE" 18 0 11 00000307 0 527 1 "&Help" 9 "Hot&Docs..." "hdhelp.smm" "Die HotDocs Hilfedatei <\v>ffnen" 10 00000383 0 527 1 "&Help" 9 "Hot&Docs..." "hdhelp.smm" "Opens the HotDocs help file" 0 1032 "HotDocs" 13 5 1 18 0 11 00000442 10 00000551 0 22 "hd3start.exe /mi" "" 13 8 3 0 1032 "HotDocs" 13 5 1 18 1 11 00000535 5 0 8 1 0 38 "Ami Pro" 6 1 5 1 18 0 6 0 5 1 18 0 1 1 11 00000818 0 1050 13 5 0 18 0 11 00000707 0 284 "hd3.dll,ResMsgBox,JJJ" 0 1910 13 8 4 5 0 8 1 10 00000818 0 279 8 13 7 "HotDocs Template" 18 1 11 00000818 0 284 "hd3.dll,ResMsgBox,JJJ" 0 1909 13 8 4 5 0 8 1 6 1 15 9 00005192