home *** CD-ROM | disk | FTP | other *** search
INI File | 1991-09-26 | 7.1 KB | 883 lines |
- [ver]
- 4
- [sty]
-
- [files]
- [prn]
- PostScript Printer
- [lang]
- 1
- [desc]
-
-
-
-
-
- 683333355
- 17
- 683312469
- [fopts]
- 0
- 1
- 0
- 0
- [lnopts]
- 2
- Body Text
- [docopts]
- 5
- 2
- [tag]
- Body Text
- 2
- [fnt]
- Tms Rmn
- 240
- 0
- 49152
- [algn]
- 225
- 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
- 0
- 0
- 0
- 0
- 0
- [nfmt]
- 272
- 1
- 2
- .
- ,
- $
- [tag]
- Body Single
- 3
- [fnt]
- Tms Rmn
- 240
- 0
- 49152
- [algn]
- 225
- 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
- 0
- 0
- 0
- 0
- 0
- [nfmt]
- 272
- 1
- 2
- .
- ,
- $
- [tag]
- Bullet 1
- 4
- [fnt]
- Tms Rmn
- 240
- 0
- 49152
- [algn]
- 1
- 1
- 720
- 360
- 360
- [spc]
- 33
- 273
- 1
- 144
- 0
- 1
- 100
- [brk]
- 4
- [line]
- 8
- 0
- 1
- 0
- 1
- 1
- 1
- 10
- 10
- 1
- [spec]
- 0
- 0
- <*0>
- 360
- 1
- 1
- 0
- 0
- 0
- 0
- [nfmt]
- 272
- 1
- 2
- .
- ,
- $
- [tag]
- Bullet 2
- 5
- [fnt]
- Tms Rmn
- 240
- 0
- 49152
- [algn]
- 1
- 1
- 1080
- 360
- 360
- [spc]
- 33
- 273
- 1
- 144
- 0
- 1
- 100
- [brk]
- 4
- [line]
- 8
- 0
- 1
- 0
- 1
- 1
- 1
- 10
- 10
- 1
- [spec]
- 0
- 0
- <*2>
- 360
- 1
- 1
- 0
- 0
- 0
- 0
- [nfmt]
- 272
- 1
- 2
- .
- ,
- $
- [tag]
- Indent 1
- 6
- [fnt]
- Tms Rmn
- 240
- 0
- 49152
- [algn]
- 193
- 1
- 1080
- 0
- 0
- [spc]
- 33
- 273
- 1
- 144
- 0
- 1
- 100
- [brk]
- 4
- [line]
- 8
- 0
- 1
- 0
- 1
- 1
- 1
- 10
- 10
- 1
- [spec]
- 0
- 0
-
- 0
- 1
- 0
- 0
- 0
- 0
- 0
- [nfmt]
- 272
- 1
- 2
- .
- ,
- $
- [tag]
- Indent 2
- 7
- [fnt]
- Tms Rmn
- 240
- 0
- 49152
- [algn]
- 193
- 1
- 1440
- 0
- 0
- [spc]
- 33
- 273
- 1
- 144
- 0
- 1
- 100
- [brk]
- 4
- [line]
- 8
- 0
- 1
- 0
- 1
- 1
- 1
- 10
- 10
- 1
- [spec]
- 0
- 0
-
- 0
- 1
- 0
- 0
- 0
- 0
- 0
- [nfmt]
- 272
- 1
- 2
- .
- ,
- $
- [tag]
- Number List
- 8
- [fnt]
- Tms Rmn
- 240
- 0
- 49152
- [algn]
- 1
- 1
- 720
- 360
- 360
- [spc]
- 33
- 273
- 1
- 144
- 0
- 1
- 100
- [brk]
- 4
- [line]
- 8
- 0
- 1
- 0
- 1
- 1
- 1
- 10
- 10
- 1
- [spec]
- 0
- 0
- <*:>.
- 360
- 1
- 1
- 0
- 0
- 0
- 0
- [nfmt]
- 272
- 1
- 2
- .
- ,
- $
- [tag]
- Bold & Center
- 9
- [fnt]
- Tms Rmn
- 240
- 0
- 49153
- [algn]
- 228
- 1
- 0
- 0
- 0
- [spc]
- 33
- 273
- 1
- 0
- 144
- 1
- 100
- [brk]
- 4
- [line]
- 8
- 0
- 1
- 0
- 1
- 1
- 1
- 10
- 10
- 1
- [spec]
- 0
- 0
-
- 0
- 1
- 0
- 0
- 0
- 0
- 0
- [nfmt]
- 272
- 1
- 2
- .
- ,
- $
- [tag]
- First Indent
- 11
- [fnt]
- Tms Rmn
- 240
- 0
- 49152
- [algn]
- 161
- 1
- 0
- 720
- 0
- [spc]
- 33
- 273
- 1
- 144
- 0
- 1
- 100
- [brk]
- 4
- [line]
- 8
- 0
- 1
- 0
- 1
- 1
- 1
- 10
- 10
- 1
- [spec]
- 0
- 0
-
- 0
- 1
- 0
- 0
- 0
- 0
- 0
- [nfmt]
- 272
- 1
- 2
- .
- ,
- $
- [tag]
- Line Above
- 12
- [fnt]
- Tms Rmn
- 240
- 0
- 49152
- [algn]
- 225
- 1
- 0
- 0
- 0
- [spc]
- 33
- 273
- 1
- 288
- 0
- 1
- 100
- [brk]
- 4
- [line]
- 5
- 0
- 1
- 0
- 1
- 2
- 1
- 92
- 10
- 1
- [spec]
- 0
- 0
-
- 0
- 1
- 0
- 0
- 0
- 0
- 0
- [nfmt]
- 272
- 1
- 2
- .
- ,
- $
- [lay]
- Standard
- 513
- [rght]
- 15840
- 12240
- 1
- 1440
- 1440
- 1
- 1440
- 1440
- 2
- 1
- 0
- 1
- 1
- 2
- 1
- 1440
- 10800
- 5
- 1
- 720
- 1
- 1440
- 1
- 2880
- 1
- 4320
- 1
- 5760
- [hrght]
- [lyfrm]
- 1
- 11200
- 0
- 0
- 12240
- 1440
- 1
- 1
- 3
- 1
- 0
- 0
- 0
- [frmlay]
- 1440
- 12240
- 1
- 1440
- 72
- 1
- 360
- 1440
- 0
- 1
- 0
- 1
- 1
- 0
- 1
- 1440
- 10800
- 0
- [txt]
-
- >
- [frght]
- [lyfrm]
- 1
- 13248
- 0
- 14400
- 12240
- 15840
- 1
- 1
- 3
- 1
- 0
- 0
- 0
- [frmlay]
- 15840
- 12240
- 1
- 1440
- 360
- 1
- 14472
- 1440
- 0
- 1
- 0
- 1
- 1
- 0
- 1
- 1440
- 10800
- 0
- [txt]
- >
- [elay]
- [l1]
- 0
- [pg]
- 2
- 46 0 21 0 16384 1 0 65535 65535 Standard 0 0 0 0 0 0 0 0 0 0 65535 0 0 0 0 0 0
- 68 0 12 1025 16384 0 0 65535 65535 Standard 0 0 0 0 0 0 0 0 0 0 65535 0 0 0 0 0 0
- [edoc]
- FUNCTION INSTALL_RWW()
-
-
- FileName = GetProfileString$("AmiPro","macrodir")
-
- FileName = strcat$(FileName,"\autoexec.smm")
-
-
- newFile = 0
-
-
- 'Open the Autoexec.SMM macro
-
- result = FileOpen(FileName, AmiFile, "")
-
- IF (result != 1)
-
- 'The file doesn't appear to exist - try creating a new file
-
- result = New("~default.sty", 0)
-
- IF (result != 1)
-
- 'Can't create a new file - give up
-
- Message("Can't set up RightWriter macros for Am<\m> Pro.")
-
- goto theend
-
- ENDIF
-
- newFile = 1
-
- ENDIF
-
-
- IF (newFile = 1)
-
- 'This is a new file
-
- 'Need to put in a function start
-
- TYPE("Function InstallRWMenu()")
-
- TYPE("<[>Enter]<[>Enter]")
-
- ELSE
-
- 'This is an existing autoexec macro that already has a function in
- it
-
- 'Find the beginning of the function declaration and put our code
- on the next line
-
- result = Replace(0,0,FindFromPage1,"Function","Function")
-
- IF (result = 1)
-
- 'Found the start of the autoexec function - now go to the next line
-
- TYPE("<[>End]")
-
- TYPE("<[>Enter]<[>Enter]")
-
- ENDIF
-
- ENDIF
-
-
- 'Put in the commands to add RightWriter menu items
-
- TYPE("AddMenuItem(1, ""Too&ls"",""RightWriter Check &Document"",")
-
- TYPE("""rwmacro.smm!CheckDoc"")")
-
- TYPE("<[>Enter]")
-
- TYPE("AddMenuItem(1, ""Too&ls"",""RightWriter Check &Selection"",")
-
- TYPE("""rwmacro.smm!CheckSel"")")
-
- TYPE("<[>Enter]<[>Enter]")
-
- IF (newFile = 1)
-
- 'Need to end the function
-
- TYPE("End Function")
-
- TYPE("<[>Enter]<[>Enter]")
-
- ENDIF
-
-
- 'Save the Autoexec macro
-
- IF (newFile = 1)
-
- 'New file - save it as the autoexec file
-
- result = SaveAs(FileName, 0, 0)
-
- ELSE
-
- 'Existing file - save over the old one
-
- result = Save()
-
- ENDIF
-
-
- IF (result != 1)
-
- Message("Can't set up RightWriter macros for Am<\m> Pro.")
-
- goto theend
-
- ENDIF
-
-
- 'Now, quit AmiPro
-
- ExitAmi()
-
-
- theend:
-
- END FUNCTION
-
- >
- [macsum] 1
- INSTALL_RWW 0 0 4 0
- [macse]
- 14 INSTALL_RWW
- 0 286 "AmiPro" "macrodir"
- 13
- 8 1
- 0 16 "{1}" "\autoexec.smm"
- 13
- 8 1
- 5 0
- 8 2
- 2 102 1 "{1}" 1 ""
- 13
- 8 3
- 6 3
- 5 1
- 18 1
- 11 00000299
- 2 101 1 "~default.sty" 0
- 13
- 8 3
- 6 3
- 5 1
- 18 1
- 11 00000289
- 0 3 "Can't set up RightWriter macros for Am<\m> Pro."
- 10 00000986
- 5 1
- 8 2
- 6 2
- 5 1
- 18 0
- 11 00000389
- 0 6 "Function InstallRWMenu()"
- 0 6 "[13][13]"
- 10 00000495
- 2 488 1 0 0 8192 "Function" "Function"
- 13
- 8 3
- 6 3
- 5 1
- 18 0
- 11 00000495
- 0 6 "[35]"
- 0 6 "[13][13]"
- 0 6 "AddMenuItem(1, ""Too&ls"",""RightWriter Check &Document"","
- 0 6 """rwmacro.smm!CheckDoc"")"
- 0 6 "[13]"
- 0 6 "AddMenuItem(1, ""Too&ls"",""RightWriter Check &Selection"","
- 0 6 """rwmacro.smm!CheckSel"")"
- 0 6 "[13][13]"
- 6 2
- 5 1
- 18 0
- 11 00000787
- 0 6 "End Function"
- 0 6 "[13][13]"
- 6 2
- 5 1
- 18 0
- 11 00000857
- 2 104 1 "{1}" 0 0
- 13
- 8 3
- 10 00000875
- 2 103 1
- 13
- 8 3
- 6 3
- 5 1
- 18 1
- 11 00000972
- 0 3 "Can't set up RightWriter macros for Am<\m> Pro."
- 10 00000986
- 26 274 -4000
- 6 0
- 15
- 9
- 00006243
-