home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1999-04-23 | 80.1 KB | [SMAC/NISI] |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
You can browse this item here: Screenwriting Macros
Confidence | Program | Detection | Match Type | Support
|
---|
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, Sun Jul 6 11:06:16 1997, modified Fri Apr 23 06:15:07 1999, creator 'NISI', type 'SMAC', 29666 bytes "Screenwriting Macros" , at 0x7462 52220 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
66%
| TrID
| raw Group 3 FAX bitmap
| default (weak)
| |
33%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [SMAC] |
macFileCreator | [NISI] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 14 53 63 72 65 65 6e | 77 72 69 74 69 6e 67 20 |..Screen|writing |
|00000010| 4d 61 63 72 6f 73 00 00 | 00 00 00 00 00 00 00 00 |Macros..|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 53 4d 41 43 4e 49 53 | 49 01 00 00 00 00 00 00 |.SMACNIS|I.......|
|00000050| 00 00 00 00 00 73 e2 00 | 00 cb fc af e5 64 e8 b3 |.....s..|.....d..|
|00000060| 45 f8 ab 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |E.......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 60 09 00 00 |........|....`...|
|00000080| 2f 2f 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |//======|========|
|00000090| 3d 3d 3d 3d 3d 3d 20 4d | 41 43 52 4f 20 a5 4c 69 |====== M|ACRO .Li|
|000000a0| 73 74 20 43 68 61 72 61 | 63 74 65 72 73 0d 2f 2f |st Chara|cters.//|
|000000b0| 09 43 72 65 61 74 65 73 | 20 61 20 6c 69 73 74 20 |.Creates| a list |
|000000c0| 6f 66 20 63 68 61 72 61 | 63 74 65 72 73 20 69 6e |of chara|cters in|
|000000d0| 20 74 68 65 20 6f 70 65 | 6e 20 73 63 72 69 70 74 | the ope|n script|
|000000e0| 2c 20 69 6e 20 6f 72 64 | 65 72 20 6f 66 20 61 70 |, in ord|er of ap|
|000000f0| 70 65 61 72 61 6e 63 65 | 20 6f 72 20 61 6c 70 68 |pearance| or alph|
|00000100| 61 62 65 74 69 63 61 6c | 6c 79 0d 0d 35 0d 63 6c |abetical|ly..5.cl|
|00000110| 69 70 62 6f 61 72 64 3d | 22 22 0d 34 0d 53 68 6f |ipboard=|"".4.Sho|
|00000120| 77 20 43 6c 69 70 62 6f | 61 72 64 20 22 4f 66 66 |w Clipbo|ard "Off|
|00000130| 22 0d 63 6c 69 70 62 6f | 61 72 64 3d 22 22 0d 63 |".clipbo|ard="".c|
|00000140| 6c 69 70 62 6f 61 72 64 | 3d 64 6f 63 4e 61 6d 65 |lipboard|=docName|
|00000150| 0d 69 66 28 28 63 6c 69 | 70 62 6f 61 72 64 3d 3d |.if((cli|pboard==|
|00000160| 22 22 29 20 7c 7c 20 28 | 63 6c 69 70 62 6f 61 72 |"") || (|clipboar|
|00000170| 64 3d 3d 22 43 61 74 61 | 6c 6f 67 22 29 20 7c 7c |d=="Cata|log") |||
|00000180| 20 28 63 6c 69 70 62 6f | 61 72 64 3d 3d 22 46 69 | (clipbo|ard=="Fi|
|00000190| 6e 64 20 26 20 52 65 70 | 6c 61 63 65 22 29 20 7c |nd & Rep|lace") ||
|000001a0| 7c 20 28 63 6c 69 70 62 | 6f 61 72 64 3d 3d 22 43 || (clipb|oard=="C|
|000001b0| 68 61 72 61 63 74 65 72 | 20 53 65 74 22 29 29 20 |haracter| Set")) |
|000001c0| 67 6f 74 6f 20 77 61 72 | 6e 0d 67 6f 74 6f 20 67 |goto war|n.goto g|
|000001d0| 6f 74 44 6f 63 0d 0d 77 | 61 72 6e 3a 0d 62 65 65 |otDoc..w|arn:.bee|
|000001e0| 70 0d 67 6f 74 6f 20 74 | 68 65 45 78 69 74 0d 0d |p.goto t|heExit..|
|000001f0| 67 6f 74 44 6f 63 3a 0d | 2f 2f 09 73 74 6f 72 65 |gotDoc:.|//.store|
|00000200| 20 73 65 6c 65 63 74 69 | 6f 6e 20 66 6f 72 20 72 | selecti|on for r|
|00000210| 65 73 74 6f 72 69 6e 67 | 20 69 74 0d 73 3d 53 65 |estoring| it.s=Se|
|00000220| 6c 65 63 74 53 74 61 72 | 74 0d 65 3d 53 65 6c 65 |lectStar|t.e=Sele|
|00000230| 63 74 45 6e 64 0d 74 31 | 77 61 3d 22 54 68 69 73 |ctEnd.t1|wa="This|
|00000240| 20 63 68 61 72 61 63 74 | 65 72 20 6c 69 73 74 20 | charact|er list |
|00000250| 63 6f 75 72 74 65 73 79 | 20 6f 66 20 61 6e 20 75 |courtesy| of an u|
|00000260| 6e 72 65 67 69 73 74 65 | 72 65 64 20 63 6f 70 79 |nregiste|red copy|
|00000270| 20 6f 66 20 4b 44 53 53 | 2e 20 50 6c 65 61 73 65 | of KDSS|. Please|
|00000280| 20 72 65 67 69 73 74 65 | 72 2e 22 0d 0d 74 74 79 | registe|r."..tty|
|00000290| 70 65 3d 22 69 6e 61 6c | 70 68 61 62 65 74 22 0d |pe="inal|phabet".|
|000002a0| 3a 31 20 22 4c 69 73 74 | 20 69 6e 20 61 6c 70 68 |:1 "List| in alph|
|000002b0| 61 62 65 74 69 63 61 6c | 20 6f 72 64 65 72 3f 20 |abetical| order? |
|000002c0| 28 45 6e 74 65 72 20 d2 | 6e d3 20 6f 72 20 d2 6e |(Enter .|n. or .n|
|000002d0| 6f d3 20 74 6f 20 6c 69 | 73 74 20 69 6e 20 6f 72 |o. to li|st in or|
|000002e0| 64 65 72 20 6f 66 20 61 | 70 70 65 61 72 61 6e 63 |der of a|ppearanc|
|000002f0| 65 2e 29 22 20 22 59 65 | 73 22 0d 69 66 20 28 28 |e.)" "Ye|s".if ((|
|00000300| 21 63 6c 69 70 62 6f 61 | 72 64 29 20 7c 7c 20 28 |!clipboa|rd) || (|
|00000310| 63 6c 69 70 62 6f 61 72 | 64 3d 3d 22 2e 22 29 29 |clipboar|d=="."))|
|00000320| 20 67 6f 74 6f 20 74 68 | 65 45 78 69 74 0d 69 66 | goto th|eExit.if|
|00000330| 20 28 28 6c 65 66 74 28 | 63 6c 69 70 62 6f 61 72 | ((left(|clipboar|
|00000340| 64 2c 31 29 21 3d 22 79 | 22 29 20 26 26 20 28 6c |d,1)!="y|") && (l|
|00000350| 65 66 74 28 63 6c 69 70 | 62 6f 61 72 64 2c 31 29 |eft(clip|board,1)|
|00000360| 21 3d 22 59 22 29 29 20 | 74 74 79 70 65 3d 22 69 |!="Y")) |ttype="i|
|00000370| 6e 61 70 70 65 61 72 61 | 6e 63 65 22 0d 0d 53 65 |nappeara|nce"..Se|
|00000380| 6c 65 63 74 20 41 6c 6c | 0d 69 66 28 53 65 6c 65 |lect All|.if(Sele|
|00000390| 63 74 53 74 61 72 74 3d | 3d 53 65 6c 65 63 74 45 |ctStart=|=SelectE|
|000003a0| 6e 64 29 20 67 6f 74 6f | 20 77 61 72 6e 0d 0d 2f |nd) goto| warn../|
|000003b0| 2f 09 6c 6f 6f 6b 20 66 | 6f 72 20 6e 61 6d 65 73 |/.look f|or names|
|000003c0| 20 69 6e 20 64 72 61 66 | 74 20 61 6e 64 20 63 68 | in draf|t and ch|
|000003d0| 61 72 61 63 74 65 72 20 | 73 74 79 6c 65 73 0d 2f |aracter |styles./|
|000003e0| 2f 09 74 65 6d 70 6f 72 | 61 72 69 6c 79 20 73 74 |/.tempor|arily st|
|000003f0| 79 6c 65 20 44 72 61 66 | 74 20 63 68 61 72 73 20 |yle Draf|t chars |
|00000400| 61 73 20 43 68 61 72 61 | 63 74 65 72 0d 46 69 6e |as Chara|cter.Fin|
|00000410| 64 20 69 6e 20 53 65 6c | 65 63 74 69 6f 6e 20 22 |d in Sel|ection "|
|00000420| 5e 2e 3a 2b 3a 28 5c 73 | 5c 73 5c 73 7c 5c 74 3a |^.:+:(\s|\s\s|\t:|
|00000430| 29 2e 2b 5c 72 22 20 22 | 2d 6f 2d 77 57 73 67 74 |).+\r" "|-o-wWsgt|
|00000440| 22 0d 69 66 28 21 6e 75 | 6d 46 6f 75 6e 64 29 20 |".if(!nu|mFound) |
|00000450| 67 6f 74 6f 20 61 66 74 | 65 72 43 68 61 72 31 0d |goto aft|erChar1.|
|00000460| 43 68 61 72 61 63 74 65 | 72 0d 61 66 74 65 72 43 |Characte|r.afterC|
|00000470| 68 61 72 31 3a 0d 73 65 | 74 73 65 6c 65 63 74 28 |har1:.se|tselect(|
|00000480| 30 2c 30 29 0d 46 69 6e | 64 20 41 6c 6c 20 22 5e |0,0).Fin|d All "^|
|00000490| 2e 2b 5c 72 22 20 22 2d | 6f 2d 77 57 67 74 22 0d |.+\r" "-|o-wWgt".|
|000004a0| 69 66 28 21 6e 75 6d 46 | 6f 75 6e 64 29 20 67 6f |if(!numF|ound) go|
|000004b0| 74 6f 20 77 61 72 6e 0d | 4d 61 63 72 6f 43 6f 70 |to warn.|MacroCop|
|000004c0| 79 0d 2f 2f 09 72 65 69 | 6e 73 74 61 74 65 20 64 |y.//.rei|nstate d|
|000004d0| 72 61 66 74 20 73 74 79 | 6c 65 0d 46 69 6e 64 20 |raft sty|le.Find |
|000004e0| 69 6e 20 53 65 6c 65 63 | 74 69 6f 6e 20 22 5e 2e |in Selec|tion "^.|
|000004f0| 3a 2b 3a 28 5c 73 5c 73 | 5c 73 7c 5c 74 3a 29 2e |:+:(\s\s|\s|\t:).|
|00000500| 2b 5c 72 22 20 22 2d 6f | 2d 77 57 73 67 74 22 0d |+\r" "-o|-wWsgt".|
|00000510| 69 66 28 21 6e 75 6d 46 | 6f 75 6e 64 29 20 67 6f |if(!numF|ound) go|
|00000520| 74 6f 20 61 66 74 65 72 | 43 68 61 72 32 0d 44 72 |to after|Char2.Dr|
|00000530| 61 66 74 0d 61 66 74 65 | 72 43 68 61 72 32 3a 0d |aft.afte|rChar2:.|
|00000540| 73 65 74 73 65 6c 65 63 | 74 28 73 2c 65 29 0d 0d |setselec|t(s,e)..|
|00000550| 2f 2f 09 6e 65 77 20 64 | 6f 63 0d 4e 65 77 20 22 |//.new d|oc.New "|
|00000560| 43 68 61 72 61 63 74 65 | 72 73 20 4c 69 73 74 22 |Characte|rs List"|
|00000570| 0d 0d 4d 61 63 72 6f 50 | 61 73 74 65 0d 53 65 6c |..MacroP|aste.Sel|
|00000580| 65 63 74 20 41 6c 6c 0d | 52 65 70 6f 72 74 45 72 |ect All.|ReportEr|
|00000590| 72 6f 72 73 20 3d 20 66 | 61 6c 73 65 0d 50 6c 61 |rors = f|alse.Pla|
|000005a0| 69 6e 20 54 65 78 74 0d | 50 6c 61 69 6e 0d 52 65 |in Text.|Plain.Re|
|000005b0| 70 6f 72 74 45 72 72 6f | 72 73 20 3d 20 74 72 75 |portErro|rs = tru|
|000005c0| 65 0d 46 69 6e 64 2f 52 | 65 70 6c 61 63 65 20 22 |e.Find/R|eplace "|
|000005d0| 3a 28 5c 73 5c 73 5c 73 | 7c 5c 74 3a 29 2e 2b 22 |:(\s\s\s||\t:).+"|
|000005e0| 20 22 22 20 22 6f 4f 2d | 77 57 73 67 74 22 0d 46 | "" "oO-|wWsgt".F|
|000005f0| 69 6e 64 2f 52 65 70 6c | 61 63 65 20 22 5c 72 2b |ind/Repl|ace "\r+|
|00000600| 22 20 22 5c 72 22 20 22 | 6f 4f 2d 77 57 73 67 74 |" "\r" "|oO-wWsgt|
|00000610| 22 0d 0d 69 66 28 74 74 | 79 70 65 3d 3d 22 69 6e |"..if(tt|ype=="in|
|00000620| 61 70 70 65 61 72 61 6e | 63 65 22 29 20 67 6f 74 |appearan|ce") got|
|00000630| 6f 20 69 6e 61 70 70 65 | 61 72 61 6e 63 65 0d 0d |o inappe|arance..|
|00000640| 69 6e 61 6c 70 68 61 62 | 65 74 3a 0d 53 65 6c 65 |inalphab|et:.Sele|
|00000650| 63 74 20 41 6c 6c 0d 2f | 2f 09 65 61 72 6c 69 65 |ct All./|/.earlie|
|00000660| 72 20 76 65 72 73 69 6f | 6e 73 20 6d 61 79 20 68 |r versio|ns may h|
|00000670| 61 76 65 20 64 69 66 66 | 65 72 65 6e 74 20 73 6f |ave diff|erent so|
|00000680| 72 74 20 63 6f 6d 6d 61 | 6e 64 0d 52 65 70 6f 72 |rt comma|nd.Repor|
|00000690| 74 45 72 72 6f 72 73 20 | 3d 20 66 61 6c 73 65 0d |tErrors |= false.|
|000006a0| 53 6f 72 74 20 50 61 72 | 61 67 72 61 70 68 73 0d |Sort Par|agraphs.|
|000006b0| 53 6f 72 74 20 a6 0d 52 | 65 70 6f 72 74 45 72 72 |Sort ..R|eportErr|
|000006c0| 6f 72 73 20 3d 20 74 72 | 75 65 0d 2f 2f 09 72 65 |ors = tr|ue.//.re|
|000006d0| 6d 6f 76 65 20 64 75 70 | 6c 69 63 61 74 65 20 77 |move dup|licate w|
|000006e0| 6f 72 64 73 0d 46 69 6e | 64 2f 52 65 70 6c 61 63 |ords.Fin|d/Replac|
|000006f0| 65 20 22 5c 28 5e 2e 2a | 5c 72 5c 29 5c 31 2b 22 |e "\(^.*|\r\)\1+"|
|00000700| 20 22 5c 31 22 20 22 6f | 4f 2d 77 57 61 67 74 22 | "\1" "o|O-wWagt"|
|00000710| 0d 46 69 6e 64 2f 52 65 | 70 6c 61 63 65 20 22 3a |.Find/Re|place ":|
|00000720| 73 5c 72 22 20 22 22 20 | 22 6f 4f 2d 77 57 61 67 |s\r" "" |"oO-wWag|
|00000730| 74 22 0d 67 6f 74 6f 20 | 66 69 6e 0d 0d 69 6e 61 |t".goto |fin..ina|
|00000740| 70 70 65 61 72 61 6e 63 | 65 3a 0d 73 65 74 73 65 |ppearanc|e:.setse|
|00000750| 6c 65 63 74 28 30 2c 30 | 29 0d 46 69 6e 64 20 4e |lect(0,0|).Find N|
|00000760| 65 78 74 20 22 2e 2b 5c | 72 22 20 22 6f 41 69 2d |ext ".+\|r" "oAi-|
|00000770| 77 74 2d 47 67 22 0d 69 | 66 28 21 6e 75 6d 46 6f |wt-Gg".i|f(!numFo|
|00000780| 75 6e 64 29 20 67 6f 74 | 6f 20 66 69 6e 31 0d 4d |und) got|o fin1.M|
|00000790| 61 63 72 6f 43 6f 70 79 | 0d 74 74 3d 63 6c 69 70 |acroCopy|.tt=clip|
|000007a0| 62 6f 61 72 64 0d 35 0d | 63 6c 69 70 62 6f 61 72 |board.5.|clipboar|
|000007b0| 64 3d 63 6c 69 70 62 6f | 61 72 64 20 2b 20 74 74 |d=clipbo|ard + tt|
|000007c0| 0d 34 0d 73 65 74 73 65 | 6c 65 63 74 28 30 2c 30 |.4.setse|lect(0,0|
|000007d0| 29 0d 46 69 6e 64 20 41 | 6c 6c 20 27 5e 5c 43 43 |).Find A|ll '^\CC|
|000007e0| 27 20 22 6f 4f 2d 53 41 | 69 2d 77 74 2d 47 67 22 |' "oO-SA|i-wt-Gg"|
|000007f0| 0d 43 6c 65 61 72 0d 67 | 6f 74 6f 20 69 6e 61 70 |.Clear.g|oto inap|
|00000800| 70 65 61 72 61 6e 63 65 | 0d 66 69 6e 31 3a 0d 35 |pearance|.fin1:.5|
|00000810| 0d 53 65 6c 65 63 74 20 | 41 6c 6c 0d 4d 61 63 72 |.Select |All.Macr|
|00000820| 6f 50 61 73 74 65 0d 0d | 66 69 6e 3a 0d 62 65 65 |oPaste..|fin:.bee|
|00000830| 70 0d 73 65 74 73 65 6c | 65 63 74 28 30 2c 30 29 |p.setsel|ect(0,0)|
|00000840| 0d 63 6c 69 70 62 6f 61 | 72 64 3d 74 31 77 61 0d |.clipboa|rd=t1wa.|
|00000850| 52 65 70 6f 72 74 45 72 | 72 6f 72 73 20 3d 20 66 |ReportEr|rors = f|
|00000860| 61 6c 73 65 0d 43 6c 65 | 61 72 20 4d 65 6d 6f 72 |alse.Cle|ar Memor|
|00000870| 79 0d 52 65 70 6f 72 74 | 45 72 72 6f 72 73 20 3d |y.Report|Errors =|
|00000880| 20 74 72 75 65 0d 3a 31 | 20 27 5c 43 43 27 0d 0d | true.:1| '\CC'..|
|00000890| 0d 74 68 65 45 78 69 74 | 3a 0d 63 6c 69 70 62 6f |.theExit|:.clipbo|
|000008a0| 61 72 64 3d 22 22 0d 30 | 0d 0d 2f 2f 3d 3d 3d 3d |ard="".0|..//====|
|000008b0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000008c0| 20 4d 41 43 52 4f 20 c6 | 53 65 6c 65 63 74 20 53 | MACRO .|Select S|
|000008d0| 63 65 6e 65 0d 2f 2f 09 | 53 65 6c 65 63 74 73 20 |cene.//.|Selects |
|000008e0| 74 68 65 20 73 63 65 6e | 65 20 63 6f 6e 74 61 69 |the scen|e contai|
|000008f0| 6e 69 6e 67 20 74 68 65 | 20 63 75 72 73 6f 72 0d |ning the| cursor.|
|00000900| 0d 34 0d 67 32 33 74 3d | 22 50 6c 65 61 73 65 20 |.4.g23t=|"Please |
|00000910| 72 65 67 69 73 74 65 72 | 20 73 6f 6f 6e 2e 22 0d |register| soon.".|
|00000920| 53 68 6f 77 20 43 6c 69 | 70 62 6f 61 72 64 20 22 |Show Cli|pboard "|
|00000930| 4f 66 66 22 0d 63 6c 69 | 70 62 6f 61 72 64 3d 22 |Off".cli|pboard="|
|00000940| 22 0d 63 6c 69 70 62 6f | 61 72 64 3d 64 6f 63 4e |".clipbo|ard=docN|
|00000950| 61 6d 65 0d 69 66 28 28 | 63 6c 69 70 62 6f 61 72 |ame.if((|clipboar|
|00000960| 64 3d 3d 22 22 29 20 7c | 7c 20 28 63 6c 69 70 62 |d=="") ||| (clipb|
|00000970| 6f 61 72 64 3d 3d 22 43 | 61 74 61 6c 6f 67 22 29 |oard=="C|atalog")|
|00000980| 20 7c 7c 20 28 63 6c 69 | 70 62 6f 61 72 64 3d 3d | || (cli|pboard==|
|00000990| 22 46 69 6e 64 20 26 20 | 52 65 70 6c 61 63 65 22 |"Find & |Replace"|
|000009a0| 29 20 7c 7c 20 28 63 6c | 69 70 62 6f 61 72 64 3d |) || (cl|ipboard=|
|000009b0| 3d 22 43 68 61 72 61 63 | 74 65 72 20 53 65 74 22 |="Charac|ter Set"|
|000009c0| 29 29 20 67 6f 74 6f 20 | 77 61 72 6e 0d 67 6f 74 |)) goto |warn.got|
|000009d0| 6f 20 67 6f 74 44 6f 63 | 0d 0d 77 61 72 6e 3a 0d |o gotDoc|..warn:.|
|000009e0| 62 65 65 70 0d 67 6f 74 | 6f 20 66 69 6e 0d 0d 67 |beep.got|o fin..g|
|000009f0| 6f 74 44 6f 63 3a 0d 62 | 65 65 70 0d 63 6c 69 70 |otDoc:.b|eep.clip|
|00000a00| 62 6f 61 72 64 3d 67 32 | 33 74 0d 0d 2f 2f 09 72 |board=g2|3t..//.r|
|00000a10| 65 63 6f 72 64 20 73 65 | 6c 65 63 74 69 6f 6e 0d |ecord se|lection.|
|00000a20| 73 3d 73 65 6c 65 63 74 | 73 74 61 72 74 0d 65 3d |s=select|start.e=|
|00000a30| 73 65 6c 65 63 74 65 6e | 64 0d 3a 31 20 27 5c 43 |selecten|d.:1 '\C|
|00000a40| 43 27 0d 2f 2f 09 69 66 | 20 61 74 20 73 74 61 72 |C'.//.if| at star|
|00000a50| 74 20 6f 66 20 6c 69 6e | 65 2c 20 67 6f 20 62 65 |t of lin|e, go be|
|00000a60| 68 69 6e 64 20 61 6e 79 | 20 69 6e 74 2f 65 78 74 |hind any| int/ext|
|00000a70| 20 74 68 65 72 65 0d 69 | 66 28 6c 69 6e 65 43 68 | there.i|f(lineCh|
|00000a80| 61 72 4e 75 6d 3e 3d 33 | 29 20 67 6f 74 6f 20 61 |arNum>=3|) goto a|
|00000a90| 66 74 65 72 4b 65 79 31 | 0d 4b 65 79 20 1d 1d 1d |fterKey1|.Key ...|
|00000aa0| 0d 61 66 74 65 72 4b 65 | 79 31 3a 0d 2f 2f 09 6c |.afterKe|y1:.//.l|
|00000ab0| 6f 6f 6b 20 75 70 20 66 | 6f 72 20 69 6e 74 2f 65 |ook up f|or int/e|
|00000ac0| 78 74 20 69 6e 20 61 6e | 79 20 73 74 79 6c 65 0d |xt in an|y style.|
|00000ad0| 46 69 6e 64 20 4e 65 78 | 74 20 22 5e 3a 28 69 6e |Find Nex|t "^:(in|
|00000ae0| 74 7c 65 78 74 3a 29 22 | 20 22 6f 2d 41 69 72 77 |t|ext:)"| "o-Airw|
|00000af0| 74 2d 47 67 22 0d 69 66 | 28 21 6e 75 6d 46 6f 75 |t-Gg".if|(!numFou|
|00000b00| 6e 64 29 20 73 65 74 73 | 65 6c 65 63 74 28 73 2c |nd) sets|elect(s,|
|00000b10| 65 29 20 3b 20 67 6f 74 | 6f 20 77 61 72 6e 0d 72 |e) ; got|o warn.r|
|00000b20| 73 3d 73 65 6c 65 63 74 | 73 74 61 72 74 0d 4b 65 |s=select|start.Ke|
|00000b30| 79 20 1d 1d 0d 2f 2f 09 | 6c 6f 6f 6b 20 64 6f 77 |y ...//.|look dow|
|00000b40| 6e 20 66 6f 72 20 69 6e | 74 2f 65 78 74 0d 46 69 |n for in|t/ext.Fi|
|00000b50| 6e 64 20 4e 65 78 74 20 | 22 5e 3a 28 69 6e 74 7c |nd Next |"^:(int||
|00000b60| 65 78 74 3a 29 22 20 22 | 6f 2d 41 69 77 74 2d 47 |ext:)" "|o-Aiwt-G|
|00000b70| 67 22 0d 69 66 28 6e 75 | 6d 46 6f 75 6e 64 29 20 |g".if(nu|mFound) |
|00000b80| 67 6f 74 6f 20 61 66 74 | 65 72 4d 6f 76 65 31 0d |goto aft|erMove1.|
|00000b90| 2f 2f 09 69 66 20 6e 6f | 74 20 66 6f 75 6e 64 20 |//.if no|t found |
|00000ba0| 6d 6f 76 65 20 74 6f 20 | 65 6e 64 20 6f 66 20 64 |move to |end of d|
|00000bb0| 6f 63 0d 73 65 74 73 65 | 6c 65 63 74 28 65 6e 64 |oc.setse|lect(end|
|00000bc0| 63 68 61 72 6e 75 6d 2c | 65 6e 64 63 68 61 72 6e |charnum,|endcharn|
|00000bd0| 75 6d 29 0d 61 66 74 65 | 72 4d 6f 76 65 31 3a 0d |um).afte|rMove1:.|
|00000be0| 73 65 74 73 65 6c 65 63 | 74 28 72 73 2c 73 65 6c |setselec|t(rs,sel|
|00000bf0| 65 63 74 73 74 61 72 74 | 29 0d 0d 66 69 6e 3a 0d |ectstart|)..fin:.|
|00000c00| 30 0d 0d 2f 2f 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |0..//===|========|
|00000c10| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 20 4d 41 43 52 4f 20 |========|= MACRO |
|00000c20| c6 53 65 6c 65 63 74 69 | 6f 6e 20 74 6f 20 44 72 |.Selecti|on to Dr|
|00000c30| 61 66 74 0d 2f 2f 09 43 | 6f 6e 76 65 72 74 73 20 |aft.//.C|onverts |
|00000c40| 73 65 6c 65 63 74 69 6f | 6e 20 74 6f 20 44 72 61 |selectio|n to Dra|
|00000c50| 66 74 20 74 65 78 74 0d | 0d 34 0d 53 68 6f 77 20 |ft text.|.4.Show |
|00000c60| 43 6c 69 70 62 6f 61 72 | 64 20 22 4f 66 66 22 0d |Clipboar|d "Off".|
|00000c70| 63 6c 69 70 62 6f 61 72 | 64 3d 22 22 0d 74 72 31 |clipboar|d="".tr1|
|00000c80| 65 3d 22 50 78 6c 78 65 | 78 61 73 78 65 20 72 78 |e="Pxlxe|xasxe rx|
|00000c90| 65 78 67 78 69 78 73 74 | 78 65 78 72 78 20 73 78 |exgxixst|xexrx sx|
|00000ca0| 6f 78 6f 78 6e 2e 22 0d | 63 6c 69 70 62 6f 61 72 |oxoxn.".|clipboar|
|00000cb0| 64 3d 64 6f 63 4e 61 6d | 65 0d 64 71 3d 6e 75 6d |d=docNam|e.dq=num|
|00000cc0| 74 6f 63 68 61 72 28 33 | 34 29 0d 69 66 28 28 63 |tochar(3|4).if((c|
|00000cd0| 6c 69 70 62 6f 61 72 64 | 3d 3d 22 22 29 20 7c 7c |lipboard|=="") |||
|00000ce0| 20 28 63 6c 69 70 62 6f | 61 72 64 3d 3d 22 43 61 | (clipbo|ard=="Ca|
|00000cf0| 74 61 6c 6f 67 22 29 20 | 7c 7c 20 28 63 6c 69 70 |talog") ||| (clip|
|00000d00| 62 6f 61 72 64 3d 3d 22 | 46 69 6e 64 20 26 20 52 |board=="|Find & R|
|00000d10| 65 70 6c 61 63 65 22 29 | 20 7c 7c 20 28 63 6c 69 |eplace")| || (cli|
|00000d20| 70 62 6f 61 72 64 3d 3d | 22 43 68 61 72 61 63 74 |pboard==|"Charact|
|00000d30| 65 72 20 53 65 74 22 29 | 29 20 67 6f 74 6f 20 77 |er Set")|) goto w|
|00000d40| 61 72 6e 0d 0d 69 66 20 | 28 73 65 6c 65 63 74 73 |arn..if |(selects|
|00000d50| 74 61 72 74 3d 3d 73 65 | 6c 65 63 74 65 6e 64 29 |tart==se|lectend)|
|00000d60| 20 67 6f 74 6f 20 77 61 | 72 6e 0d 69 66 20 28 73 | goto wa|rn.if (s|
|00000d70| 65 6c 65 63 74 73 74 61 | 72 74 21 3d 30 29 20 67 |electsta|rt!=0) g|
|00000d80| 6f 74 6f 20 73 74 61 72 | 74 0d 0d 2f 2f 09 64 6f |oto star|t..//.do|
|00000d90| 6e 27 74 20 73 74 79 6c | 65 20 74 68 65 20 74 69 |n't styl|e the ti|
|00000da0| 74 6c 65 20 70 61 67 65 | 20 61 73 20 64 72 61 66 |tle page| as draf|
|00000db0| 74 0d 65 65 3d 73 65 6c | 65 63 74 65 6e 64 0d 52 |t.ee=sel|ectend.R|
|00000dc0| 65 70 6f 72 74 45 72 72 | 6f 72 73 20 3d 20 66 61 |eportErr|ors = fa|
|00000dd0| 6c 73 65 0d 50 61 67 65 | 20 22 31 22 0d 54 6f 20 |lse.Page| "1".To |
|00000de0| 50 61 67 65 20 22 31 22 | 0d 52 65 70 6f 72 74 45 |Page "1"|.ReportE|
|00000df0| 72 72 6f 72 73 20 3d 20 | 74 72 75 65 0d 2f 2f 09 |rrors = |true.//.|
|00000e00| 64 6f 6e 27 74 20 73 74 | 79 6c 65 20 74 68 65 20 |don't st|yle the |
|00000e10| 66 69 72 73 74 20 6c 69 | 6e 65 20 61 73 20 64 72 |first li|ne as dr|
|00000e20| 61 66 74 0d 4b 65 79 20 | 1f 0d 73 65 74 73 65 6c |aft.Key |..setsel|
|00000e30| 65 63 74 28 73 65 6c 65 | 63 74 73 74 61 72 74 2c |ect(sele|ctstart,|
|00000e40| 65 65 29 0d 0d 73 74 61 | 72 74 3a 0d 63 6c 69 70 |ee)..sta|rt:.clip|
|00000e50| 62 6f 61 72 64 3d 22 3a | 31 20 22 2b 64 71 2b 74 |board=":|1 "+dq+t|
|00000e60| 72 31 65 2f 22 78 22 2b | 64 71 0d 2f 2f 09 73 65 |r1e/"x"+|dq.//.se|
|00000e70| 6c 65 63 74 20 77 68 6f | 6c 65 20 70 61 72 61 28 |lect who|le para(|
|00000e80| 73 29 0d 73 73 3d 73 65 | 6c 65 63 74 73 74 61 72 |s).ss=se|lectstar|
|00000e90| 74 0d 62 65 65 70 0d 65 | 65 3d 73 65 6c 65 63 74 |t.beep.e|e=select|
|00000ea0| 65 6e 64 0d 45 78 65 63 | 75 74 65 20 53 65 6c 65 |end.Exec|ute Sele|
|00000eb0| 63 74 69 6f 6e 20 27 5c | 43 43 27 0d 2f 2f 09 67 |ction '\|CC'.//.g|
|00000ec0| 65 74 20 70 61 72 61 20 | 73 74 61 72 74 0d 69 66 |et para |start.if|
|00000ed0| 20 28 21 6c 69 6e 65 43 | 68 61 72 4e 75 6d 29 20 | (!lineC|harNum) |
|00000ee0| 6e 73 3d 73 73 20 3b 20 | 67 6f 74 6f 20 67 65 74 |ns=ss ; |goto get|
|00000ef0| 50 61 72 61 45 6e 64 0d | 6e 73 3d 63 68 61 72 6e |ParaEnd.|ns=charn|
|00000f00| 75 6d 2d 6c 69 6e 65 63 | 68 61 72 6e 75 6d 0d 67 |um-linec|harnum.g|
|00000f10| 65 74 50 61 72 61 45 6e | 64 3a 0d 69 66 20 28 65 |etParaEn|d:.if (e|
|00000f20| 65 3d 3d 65 6e 64 63 68 | 61 72 6e 75 6d 29 20 6e |e==endch|arnum) n|
|00000f30| 65 3d 65 65 20 3b 20 67 | 6f 74 6f 20 73 65 6c 65 |e=ee ; g|oto sele|
|00000f40| 63 74 50 61 72 61 73 0d | 2f 2f 09 66 69 6e 64 20 |ctParas.|//.find |
|00000f50| 65 6e 64 20 6f 66 20 70 | 61 72 61 0d 4b 65 79 20 |end of p|ara.Key |
|00000f60| 1d 0d 2f 2f 09 61 72 65 | 20 77 65 20 6f 6e 20 6e |..//.are| we on n|
|00000f70| 65 77 20 6c 69 6e 65 c9 | 3f 0d 69 66 20 28 6c 69 |ew line.|?.if (li|
|00000f80| 6e 65 43 68 61 72 4e 75 | 6d 29 20 67 6f 74 6f 20 |neCharNu|m) goto |
|00000f90| 66 69 6e 64 50 61 72 61 | 45 6e 64 0d 2f 2f 09 c9 |findPara|End.//..|
|00000fa0| 79 65 73 0d 4b 65 79 20 | 1c 0d 6e 65 3d 73 65 6c |yes.Key |..ne=sel|
|00000fb0| 65 63 74 65 6e 64 0d 67 | 6f 74 6f 20 73 65 6c 65 |ectend.g|oto sele|
|00000fc0| 63 74 50 61 72 61 73 0d | 66 69 6e 64 50 61 72 61 |ctParas.|findPara|
|00000fd0| 45 6e 64 3a 0d 2f 2f 09 | c9 6e 6f 0d 4b 65 79 20 |End:.//.|.no.Key |
|00000fe0| 1c 0d 46 69 6e 64 20 4e | 65 78 74 20 22 24 22 20 |..Find N|ext "$" |
|00000ff0| 22 6f 74 2d 57 67 22 0d | 6e 65 3d 73 65 6c 65 63 |"ot-Wg".|ne=selec|
|00001000| 74 65 6e 64 0d 73 65 6c | 65 63 74 50 61 72 61 73 |tend.sel|ectParas|
|00001010| 3a 0d 73 65 74 73 65 6c | 65 63 74 28 6e 73 2c 6e |:.setsel|ect(ns,n|
|00001020| 65 29 0d 0d 2f 2f 09 63 | 6f 6e 76 65 72 74 20 73 |e)..//.c|onvert s|
|00001030| 74 79 6c 65 64 20 74 65 | 78 74 20 74 6f 20 64 72 |tyled te|xt to dr|
|00001040| 61 66 74 0d 2f 2f 09 63 | 68 61 72 61 63 74 65 72 |aft.//.c|haracter|
|00001050| 20 72 65 74 75 72 6e 73 | 20 74 6f 20 74 61 62 73 | returns| to tabs|
|00001060| 0d 52 65 70 6c 61 63 65 | 20 69 6e 20 53 65 6c 65 |.Replace| in Sele|
|00001070| 63 74 69 6f 6e 20 22 5c | 72 22 20 22 5c 74 22 20 |ction "\|r" "\t" |
|00001080| 22 2d 6f 4f 2d 53 2d 41 | 73 69 2d 77 74 2d 47 67 |"-oO-S-A|si-wt-Gg|
|00001090| 22 0d 0d 2f 2f 09 70 61 | 72 65 6e 73 20 70 61 72 |"..//.pa|rens par|
|000010a0| 61 20 73 74 61 72 74 73 | 0d 73 65 74 73 65 6c 65 |a starts|.setsele|
|000010b0| 63 74 28 6e 73 2c 6e 65 | 29 0d 52 65 70 6c 61 63 |ct(ns,ne|).Replac|
|000010c0| 65 20 69 6e 20 53 65 6c | 65 63 74 69 6f 6e 20 22 |e in Sel|ection "|
|000010d0| 5c 72 5c 28 28 5c 29 22 | 20 22 5c 73 5c 31 22 20 |\r\((\)"| "\s\1" |
|000010e0| 22 6f 4f 2d 53 2d 41 73 | 69 2d 77 74 2d 47 67 22 |"oO-S-As|i-wt-Gg"|
|000010f0| 0d 2f 2f 09 70 61 72 65 | 6e 73 20 70 61 72 61 20 |.//.pare|ns para |
|00001100| 65 6e 64 73 0d 73 65 74 | 73 65 6c 65 63 74 28 6e |ends.set|select(n|
|00001110| 73 2c 6e 65 29 0d 52 65 | 70 6c 61 63 65 20 69 6e |s,ne).Re|place in|
|00001120| 20 53 65 6c 65 63 74 69 | 6f 6e 20 22 5c 28 29 5c | Selecti|on "\()\|
|00001130| 29 5c 72 5c 28 2e 5c 29 | 22 20 22 5c 31 5c 73 5c |)\r\(.\)|" "\1\s\|
|00001140| 32 22 20 22 6f 4f 2d 53 | 2d 41 73 69 2d 77 74 2d |2" "oO-S|-Asi-wt-|
|00001150| 47 67 22 0d 2f 2f 09 73 | 74 79 6c 65 20 61 73 20 |Gg".//.s|tyle as |
|00001160| 64 72 61 66 74 2c 20 66 | 69 72 73 74 20 61 73 20 |draft, f|irst as |
|00001170| 61 63 74 69 6f 6e 20 69 | 6e 20 63 61 73 65 20 64 |action i|n case d|
|00001180| 72 61 66 74 20 74 65 78 | 74 20 69 6e 63 6c 75 64 |raft tex|t includ|
|00001190| 65 64 20 69 6e 20 73 65 | 6c 65 63 74 69 6f 6e 0d |ed in se|lection.|
|000011a0| 73 65 74 73 65 6c 65 63 | 74 28 6e 73 2c 6e 65 29 |setselec|t(ns,ne)|
|000011b0| 0d 61 63 74 69 6f 6e 0d | 64 72 61 66 74 0d 0d 67 |.action.|draft..g|
|000011c0| 6f 74 6f 20 66 69 6e 0d | 0d 77 61 72 6e 3a 0d 62 |oto fin.|.warn:.b|
|000011d0| 65 65 70 0d 0d 74 68 65 | 45 78 69 74 3a 0d 30 0d |eep..the|Exit:.0.|
|000011e0| 65 78 69 74 0d 0d 66 69 | 6e 3a 0d 30 0d 0d 2f 2f |exit..fi|n:.0..//|
|000011f0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00001200| 3d 3d 3d 3d 20 4d 41 43 | 52 4f 20 d7 46 6f 72 6d |==== MAC|RO .Form|
|00001210| 61 74 20 53 63 72 65 65 | 6e 70 6c 61 79 0d 2f 2f |at Scree|nplay.//|
|00001220| 09 52 65 2d 66 6f 72 6d | 61 74 73 20 74 68 65 20 |.Re-form|ats the |
|00001230| 73 63 72 69 70 74 20 74 | 6f 20 63 6f 72 72 65 63 |script t|o correc|
|00001240| 74 20 61 6e 79 20 62 72 | 6f 6b 65 6e 20 72 75 6c |t any br|oken rul|
|00001250| 65 72 73 20 61 6e 64 20 | 63 6f 6e 76 65 72 74 73 |ers and |converts|
|00001260| 20 64 72 61 66 74 20 74 | 65 78 74 20 74 6f 20 73 | draft t|ext to s|
|00001270| 63 72 69 70 74 20 66 6f | 72 6d 61 74 0b 0b 09 46 |cript fo|rmat...F|
|00001280| 6f 72 6d 61 74 74 69 6e | 67 20 6f 66 20 64 72 61 |ormattin|g of dra|
|00001290| 66 74 20 74 65 78 74 20 | 61 73 73 75 6d 65 73 20 |ft text |assumes |
|000012a0| 74 68 65 20 66 6f 6c 6c | 6f 77 69 6e 67 3a 0b 09 |the foll|owing:..|
|000012b0| 2a 20 73 63 72 65 65 6e | 77 72 69 74 69 6e 67 20 |* screen|writing |
|000012c0| 73 74 79 6c 65 73 20 61 | 72 65 20 61 6c 72 65 61 |styles a|re alrea|
|000012d0| 64 79 20 69 6e 20 74 68 | 65 20 64 6f 63 75 6d 65 |dy in th|e docume|
|000012e0| 6e 74 20 2d 20 73 74 61 | 72 74 20 77 69 74 68 20 |nt - sta|rt with |
|000012f0| 74 68 65 20 74 65 6d 70 | 6c 61 74 65 0b 09 2a 20 |the temp|late..* |
|00001300| 73 6c 75 67 20 6c 69 6e | 65 73 20 62 65 67 69 6e |slug lin|es begin|
|00001310| 20 77 69 74 68 20 77 68 | 6f 6c 65 20 77 6f 72 64 | with wh|ole word|
|00001320| 20 d2 69 6e 74 d3 20 6f | 72 20 d2 65 78 74 d3 20 | .int. o|r .ext. |
|00001330| 2d 20 63 61 73 65 20 26 | 20 70 75 6e 63 74 75 61 |- case &| punctua|
|00001340| 74 69 6f 6e 20 64 6f 20 | 6e 6f 74 20 6d 61 74 74 |tion do |not matt|
|00001350| 65 72 0b 09 2a 20 74 72 | 61 6e 73 69 74 69 6f 6e |er..* tr|ansition|
|00001360| 73 20 61 72 65 20 6f 6e | 20 6f 77 6e 20 6c 69 6e |s are on| own lin|
|00001370| 65 73 2c 20 77 69 74 68 | 20 6f 72 20 77 69 74 68 |es, with| or with|
|00001380| 6f 75 74 20 65 6e 64 69 | 6e 67 20 63 6f 6c 6f 6e |out endi|ng colon|
|00001390| 73 0b 09 2a 20 63 68 61 | 72 61 63 74 65 72 20 6e |s..* cha|racter n|
|000013a0| 61 6d 65 73 20 61 72 65 | 20 73 65 70 61 72 61 74 |ames are| separat|
|000013b0| 65 64 20 66 72 6f 6d 20 | 64 69 61 6c 6f 67 75 65 |ed from |dialogue|
|000013c0| 20 28 6f 72 20 70 61 72 | 65 6e 74 68 65 74 69 63 | (or par|enthetic|
|000013d0| 61 6c 73 29 20 62 79 20 | 61 20 74 61 62 20 6f 72 |als) by |a tab or|
|000013e0| 20 33 2b 20 73 70 61 63 | 65 73 0b 09 2a 20 70 61 | 3+ spac|es..* pa|
|000013f0| 72 65 6e 74 68 65 74 69 | 63 61 6c 73 20 77 69 74 |rentheti|cals wit|
|00001400| 68 69 6e 20 64 69 61 6c | 6f 67 75 65 20 68 61 76 |hin dial|ogue hav|
|00001410| 65 20 6f 6e 65 20 6f 72 | 20 74 77 6f 20 73 70 61 |e one or| two spa|
|00001420| 63 65 73 20 70 72 65 63 | 65 64 69 6e 67 20 61 6e |ces prec|eding an|
|00001430| 64 20 66 6f 6c 6c 6f 77 | 69 6e 67 20 74 68 65 6d |d follow|ing them|
|00001440| 0d 0d 34 0d 53 68 6f 77 | 20 43 6c 69 70 62 6f 61 |..4.Show| Clipboa|
|00001450| 72 64 20 22 4f 66 66 22 | 0d 63 6c 69 70 62 6f 61 |rd "Off"|.clipboa|
|00001460| 72 64 3d 22 22 0d 63 6c | 69 70 62 6f 61 72 64 3d |rd="".cl|ipboard=|
|00001470| 64 6f 63 4e 61 6d 65 0d | 69 66 28 28 63 6c 69 70 |docName.|if((clip|
|00001480| 62 6f 61 72 64 3d 3d 22 | 22 29 20 7c 7c 20 28 63 |board=="|") || (c|
|00001490| 6c 69 70 62 6f 61 72 64 | 3d 3d 22 43 61 74 61 6c |lipboard|=="Catal|
|000014a0| 6f 67 22 29 20 7c 7c 20 | 28 63 6c 69 70 62 6f 61 |og") || |(clipboa|
|000014b0| 72 64 3d 3d 22 46 69 6e | 64 20 26 20 52 65 70 6c |rd=="Fin|d & Repl|
|000014c0| 61 63 65 22 29 20 7c 7c | 20 28 63 6c 69 70 62 6f |ace") ||| (clipbo|
|000014d0| 61 72 64 3d 3d 22 43 68 | 61 72 61 63 74 65 72 20 |ard=="Ch|aracter |
|000014e0| 53 65 74 22 29 29 20 67 | 6f 74 6f 20 77 61 72 6e |Set")) g|oto warn|
|000014f0| 0d 67 6f 74 6f 20 67 6f | 74 44 6f 63 0d 0d 77 61 |.goto go|tDoc..wa|
|00001500| 72 6e 3a 0d 62 65 65 70 | 0d 67 6f 74 6f 20 74 68 |rn:.beep|.goto th|
|00001510| 65 45 78 69 74 0d 0d 67 | 6f 74 44 6f 63 3a 0d 2f |eExit..g|otDoc:./|
|00001520| 2f 09 63 68 65 63 6b 20 | 66 6f 72 20 73 74 79 6c |/.check |for styl|
|00001530| 65 73 2c 20 70 72 65 73 | 65 72 76 65 20 63 6c 69 |es, pres|erve cli|
|00001540| 70 62 6f 61 72 64 0d 73 | 73 3d 53 65 6c 65 63 74 |pboard.s|s=Select|
|00001550| 53 74 61 72 74 0d 65 65 | 3d 53 65 6c 65 63 74 45 |Start.ee|=SelectE|
|00001560| 6e 64 0d 73 65 74 73 65 | 6c 65 63 74 28 30 2c 30 |nd.setse|lect(0,0|
|00001570| 29 0d 61 65 32 66 3d 22 | 59 6f 7a 75 20 61 72 7a |).ae2f="|Yozu arz|
|00001580| 65 20 75 73 7a 69 7a 6e | 67 20 61 6e 20 75 7a 6e |e uszizn|g an uzn|
|00001590| 7a 72 7a 65 67 7a 69 7a | 73 7a 74 7a 65 7a 72 7a |zrzegziz|sztzezrz|
|000015a0| 65 64 20 63 6f 7a 70 79 | 20 6f 66 20 4b 7a 44 7a |ed cozpy| of KzDz|
|000015b0| 53 7a 53 2e 20 50 7a 6c | 65 7a 61 73 65 20 72 7a |SzS. Pzl|ezase rz|
|000015c0| 65 7a 67 7a 69 7a 73 7a | 74 7a 65 72 2e 22 0d 52 |ezgzizsz|tzer.".R|
|000015d0| 65 70 6f 72 74 45 72 72 | 6f 72 73 20 3d 20 66 61 |eportErr|ors = fa|
|000015e0| 6c 73 65 0d 74 72 61 6e | 73 69 74 69 6f 6e 0d 69 |lse.tran|sition.i|
|000015f0| 66 28 65 72 72 6f 72 29 | 20 67 6f 74 6f 20 77 61 |f(error)| goto wa|
|00001600| 72 6e 69 6e 67 0d 52 65 | 70 6f 72 74 45 72 72 6f |rning.Re|portErro|
|00001610| 72 73 20 3d 20 74 72 75 | 65 0d 75 6e 64 6f 0d 73 |rs = tru|e.undo.s|
|00001620| 65 74 73 65 6c 65 63 74 | 28 73 73 2c 65 65 29 0d |etselect|(ss,ee).|
|00001630| 67 6f 74 6f 20 73 74 61 | 72 74 0d 0d 77 61 72 6e |goto sta|rt..warn|
|00001640| 69 6e 67 3a 0d 73 65 74 | 73 65 6c 65 63 74 28 73 |ing:.set|select(s|
|00001650| 73 2c 65 65 29 0d 62 65 | 65 70 0d 3a 31 20 22 54 |s,ee).be|ep.:1 "T|
|00001660| 68 69 73 20 6d 61 63 72 | 6f 20 77 6f 72 6b 73 20 |his macr|o works |
|00001670| 6f 6e 20 64 6f 63 75 6d | 65 6e 74 73 20 6f 70 65 |on docum|ents ope|
|00001680| 6e 65 64 20 66 72 6f 6d | 20 74 68 65 20 53 63 72 |ned from| the Scr|
|00001690| 65 65 6e 77 72 69 74 69 | 6e 67 20 54 65 6d 70 6c |eenwriti|ng Templ|
|000016a0| 61 74 65 20 6f 6e 6c 79 | 2e 22 0d 52 65 70 6f 72 |ate only|.".Repor|
|000016b0| 74 45 72 72 6f 72 73 20 | 3d 20 74 72 75 65 0d 67 |tErrors |= true.g|
|000016c0| 6f 74 6f 20 74 68 65 45 | 78 69 74 0d 0d 73 74 61 |oto theE|xit..sta|
|000016d0| 72 74 3a 0d 69 66 28 21 | 4e 69 73 75 73 5b 46 72 |rt:.if(!|Nisus[Fr|
|000016e0| 6f 6e 74 57 69 6e 64 6f | 77 5d 5b 4e 65 65 64 73 |ontWindo|w][Needs|
|000016f0| 53 61 76 65 41 73 5d 29 | 20 67 6f 74 6f 20 73 61 |SaveAs])| goto sa|
|00001700| 76 69 6e 67 0d 62 65 65 | 70 0d 3a 31 20 22 54 68 |ving.bee|p.:1 "Th|
|00001710| 69 73 20 6d 61 63 72 6f | 20 77 6f 72 6b 73 20 6f |is macro| works o|
|00001720| 6e 6c 79 20 6f 6e 20 64 | 6f 63 75 6d 65 6e 74 73 |nly on d|ocuments|
|00001730| 20 74 68 61 74 20 68 61 | 76 65 20 62 65 65 6e 20 | that ha|ve been |
|00001740| 73 61 76 65 64 20 74 6f | 20 64 69 73 6b 2e 20 50 |saved to| disk. P|
|00001750| 6c 65 61 73 65 20 73 61 | 76 65 20 61 6e 64 20 72 |lease sa|ve and r|
|00001760| 75 6e 20 74 68 65 20 6d | 61 63 72 6f 20 61 67 61 |un the m|acro aga|
|00001770| 69 6e 2e 22 0d 53 61 76 | 65 0d 67 6f 74 6f 20 74 |in.".Sav|e.goto t|
|00001780| 68 65 45 78 69 74 0d 0d | 73 61 76 69 6e 67 3a 0d |heExit..|saving:.|
|00001790| 3a 31 20 22 54 68 69 73 | 20 64 6f 63 75 6d 65 6e |:1 "This| documen|
|000017a0| 74 20 77 69 6c 6c 20 6e | 6f 77 20 62 65 20 73 61 |t will n|ow be sa|
|000017b0| 76 65 64 2e 20 50 72 65 | 73 73 20 45 6e 74 65 72 |ved. Pre|ss Enter|
|000017c0| 20 74 6f 20 63 6f 6e 74 | 69 6e 75 65 2c 20 6f 72 | to cont|inue, or|
|000017d0| 20 44 65 6c 65 74 65 20 | 74 6f 20 63 61 6e 63 65 | Delete |to cance|
|000017e0| 6c 2e 22 20 22 43 6f 6e | 74 69 6e 75 65 22 0d 69 |l." "Con|tinue".i|
|000017f0| 66 28 63 6c 69 70 62 6f | 61 72 64 21 3d 22 43 6f |f(clipbo|ard!="Co|
|00001800| 6e 74 69 6e 75 65 22 29 | 20 67 6f 74 6f 20 74 68 |ntinue")| goto th|
|00001810| 65 45 78 69 74 0d 53 61 | 76 65 0d 62 65 65 70 0d |eExit.Sa|ve.beep.|
|00001820| 0d 63 6c 69 70 62 6f 61 | 72 64 3d 61 65 32 66 2f |.clipboa|rd=ae2f/|
|00001830| 22 7a 22 0d 2f 2f 09 74 | 68 65 20 66 6f 6c 6c 6f |"z".//.t|he follo|
|00001840| 77 69 6e 67 20 65 78 70 | 72 65 73 73 69 6f 6e 73 |wing exp|ressions|
|00001850| 20 77 6f 72 6b 20 6f 6e | 20 73 65 6c 65 63 74 69 | work on| selecti|
|00001860| 6f 6e 20 74 6f 20 61 76 | 6f 69 64 20 6f 70 65 6e |on to av|oid open|
|00001870| 69 6e 67 20 66 6f 6f 74 | 65 72 20 69 6e 20 4e 57 |ing foot|er in NW|
|00001880| 20 35 2e 31 2b 0d 2f 2f | 09 65 72 61 73 65 20 73 | 5.1+.//|.erase s|
|00001890| 70 61 63 65 73 20 61 6e | 64 20 74 61 62 73 20 61 |paces an|d tabs a|
|000018a0| 74 20 65 6e 64 20 6f 66 | 20 70 61 72 61 67 72 61 |t end of| paragra|
|000018b0| 70 68 73 0d 3a 31 20 27 | 5c 43 43 27 0d 53 65 6c |phs.:1 '|\CC'.Sel|
|000018c0| 65 63 74 20 41 6c 6c 0d | 52 65 70 6c 61 63 65 20 |ect All.|Replace |
|000018d0| 69 6e 20 53 65 6c 65 63 | 74 69 6f 6e 20 22 3a 28 |in Selec|tion ":(|
|000018e0| 5c 74 7c 5c 73 3a 29 2b | 24 22 20 22 22 20 22 6f |\t|\s:)+|$" "" "o|
|000018f0| 4f 2d 41 73 69 2d 77 74 | 2d 47 67 22 0d 2f 2f 09 |O-Asi-wt|-Gg".//.|
|00001900| 65 72 61 73 65 20 73 70 | 61 63 65 73 20 61 6e 64 |erase sp|aces and|
|00001910| 20 74 61 62 73 20 61 74 | 20 73 74 61 72 74 20 6f | tabs at| start o|
|00001920| 66 20 70 61 72 61 67 72 | 61 70 68 73 0d 53 65 6c |f paragr|aphs.Sel|
|00001930| 65 63 74 20 41 6c 6c 0d | 52 65 70 6c 61 63 65 20 |ect All.|Replace |
|00001940| 69 6e 20 53 65 6c 65 63 | 74 69 6f 6e 20 22 5e 3a |in Selec|tion "^:|
|00001950| 28 5c 74 7c 5c 73 3a 29 | 2b 22 20 22 22 20 22 6f |(\t|\s:)|+" "" "o|
|00001960| 4f 2d 41 73 69 2d 77 74 | 2d 47 67 22 0d 2f 2f 09 |O-Asi-wt|-Gg".//.|
|00001970| 65 72 61 73 65 20 73 70 | 61 63 65 73 20 61 72 6f |erase sp|aces aro|
|00001980| 75 6e 64 20 74 61 62 73 | 0d 53 65 6c 65 63 74 20 |und tabs|.Select |
|00001990| 41 6c 6c 0d 52 65 70 6c | 61 63 65 20 69 6e 20 53 |All.Repl|ace in S|
|000019a0| 65 6c 65 63 74 69 6f 6e | 20 22 5c 73 2b 5c 74 22 |election| "\s+\t"|
|000019b0| 20 22 5c 74 22 20 22 6f | 4f 2d 41 73 69 2d 77 74 | "\t" "o|O-Asi-wt|
|000019c0| 2d 47 67 22 0d 53 65 6c | 65 63 74 20 41 6c 6c 0d |-Gg".Sel|ect All.|
|000019d0| 52 65 70 6c 61 63 65 20 | 69 6e 20 53 65 6c 65 63 |Replace |in Selec|
|000019e0| 74 69 6f 6e 20 22 5c 74 | 5c 73 2b 22 20 22 5c 74 |tion "\t|\s+" "\t|
|000019f0| 22 20 22 6f 4f 2d 41 73 | 69 2d 77 74 2d 47 67 22 |" "oO-As|i-wt-Gg"|
|00001a00| 0d 2f 2f 09 72 65 70 6c | 61 63 65 20 64 75 70 6c |.//.repl|ace dupl|
|00001a10| 69 63 61 74 65 20 74 61 | 62 73 20 77 69 74 68 20 |icate ta|bs with |
|00001a20| 73 69 6e 67 6c 65 73 0d | 53 65 6c 65 63 74 20 41 |singles.|Select A|
|00001a30| 6c 6c 0d 52 65 70 6c 61 | 63 65 20 69 6e 20 53 65 |ll.Repla|ce in Se|
|00001a40| 6c 65 63 74 69 6f 6e 20 | 22 5c 74 5c 74 2b 22 20 |lection |"\t\t+" |
|00001a50| 22 5c 74 22 20 22 6f 4f | 2d 41 73 69 2d 77 74 2d |"\t" "oO|-Asi-wt-|
|00001a60| 47 67 22 0d 2f 2f 09 63 | 6f 6e 76 65 72 74 20 74 |Gg".//.c|onvert t|
|00001a70| 68 72 65 65 20 6f 72 20 | 6d 6f 72 65 20 73 70 61 |hree or |more spa|
|00001a80| 63 65 73 20 74 6f 20 61 | 20 74 61 62 0d 53 65 6c |ces to a| tab.Sel|
|00001a90| 65 63 74 20 41 6c 6c 0d | 52 65 70 6c 61 63 65 20 |ect All.|Replace |
|00001aa0| 69 6e 20 53 65 6c 65 63 | 74 69 6f 6e 20 22 5c 73 |in Selec|tion "\s|
|00001ab0| 5c 73 5c 73 2b 22 20 22 | 5c 74 22 20 22 6f 4f 2d |\s\s+" "|\t" "oO-|
|00001ac0| 41 73 69 2d 77 74 2d 47 | 67 22 0d 0d 2f 2f 09 65 |Asi-wt-G|g"..//.e|
|00001ad0| 72 61 73 65 20 61 6c 6c | 20 65 6d 70 74 79 20 70 |rase all| empty p|
|00001ae0| 61 72 61 67 72 61 70 68 | 73 20 65 78 63 65 70 74 |aragraph|s except|
|00001af0| 20 6f 6e 20 74 69 74 6c | 65 20 70 61 67 65 20 2d | on titl|e page -|
|00001b00| 20 74 69 74 6c 65 20 70 | 61 67 65 20 69 73 20 6e | title p|age is n|
|00001b10| 75 6d 62 65 72 20 30 0d | 2f 2f 09 74 65 73 74 20 |umber 0.|//.test |
|00001b20| 66 6f 72 20 4e 57 20 76 | 65 72 73 69 6f 6e 20 61 |for NW v|ersion a|
|00001b30| 73 20 77 65 20 6e 61 76 | 69 67 61 74 65 0d 50 61 |s we nav|igate.Pa|
|00001b40| 67 69 6e 61 74 69 6f 6e | 20 22 4f 6e 22 0d 52 65 |gination| "On".Re|
|00001b50| 70 6f 72 74 45 72 72 6f | 72 73 20 3d 20 66 61 6c |portErro|rs = fal|
|00001b60| 73 65 0d 54 6f 20 50 61 | 67 65 20 22 31 22 0d 50 |se.To Pa|ge "1".P|
|00001b70| 61 67 65 20 22 31 22 0d | 52 65 70 6f 72 74 45 72 |age "1".|ReportEr|
|00001b80| 72 6f 72 73 20 3d 20 74 | 72 75 65 0d 2f 2f 09 73 |rors = t|rue.//.s|
|00001b90| 65 6c 65 63 74 20 74 6f | 20 65 6e 64 20 6f 66 20 |elect to| end of |
|00001ba0| 64 6f 63 0d 73 65 74 73 | 65 6c 65 63 74 28 73 65 |doc.sets|elect(se|
|00001bb0| 6c 65 63 74 53 74 61 72 | 74 2c 65 6e 64 43 68 61 |lectStar|t,endCha|
|00001bc0| 72 4e 75 6d 29 0d 52 65 | 70 6c 61 63 65 20 69 6e |rNum).Re|place in|
|00001bd0| 20 53 65 6c 65 63 74 69 | 6f 6e 20 22 5e 5c 72 2b | Selecti|on "^\r+|
|00001be0| 22 20 22 22 20 22 6f 4f | 2d 41 73 74 2d 47 67 22 |" "" "oO|-Ast-Gg"|
|00001bf0| 0d 73 65 74 73 65 6c 65 | 63 74 28 30 2c 30 29 0d |.setsele|ct(0,0).|
|00001c00| 2f 2f 09 72 65 61 70 70 | 6c 79 20 73 74 79 6c 65 |//.reapp|ly style|
|00001c10| 73 20 74 6f 20 63 6f 72 | 72 65 63 74 20 65 78 69 |s to cor|rect exi|
|00001c20| 73 74 69 6e 67 20 66 6f | 72 6d 61 74 74 69 6e 67 |sting fo|rmatting|
|00001c30| 0d 2f 2f 09 61 6e 6f 74 | 68 65 72 20 73 74 79 6c |.//.anot|her styl|
|00001c40| 65 20 6d 75 73 74 20 62 | 65 20 61 70 70 6c 69 65 |e must b|e applie|
|00001c50| 64 20 66 69 72 73 74 20 | 73 6f 20 74 68 65 20 6e |d first |so the n|
|00001c60| 65 78 74 20 77 6f 72 6b | 73 20 69 6e 20 61 6c 6c |ext work|s in all|
|00001c70| 20 63 6f 6e 74 65 78 74 | 73 0d 66 69 6e 64 20 61 | context|s.find a|
|00001c80| 6c 6c 20 22 3a 2e 2b 22 | 20 22 67 61 57 74 2d 6f |ll ":.+"| "gaWt-o|
|00001c90| 22 0d 69 66 20 28 21 6e | 75 6d 46 6f 75 6e 64 29 |".if (!n|umFound)|
|00001ca0| 20 67 6f 74 6f 20 61 66 | 0d 61 63 74 69 6f 6e 0d | goto af|.action.|
|00001cb0| 63 68 61 72 61 63 74 65 | 72 0d 61 66 3a 0d 66 69 |characte|r.af:.fi|
|00001cc0| 6e 64 20 61 6c 6c 20 22 | 3a 2e 2b 22 20 22 67 61 |nd all "|:.+" "ga|
|00001cd0| 57 74 2d 6f 22 0d 69 66 | 28 21 6e 75 6d 46 6f 75 |Wt-o".if|(!numFou|
|00001ce0| 6e 64 29 20 67 6f 74 6f | 20 62 66 0d 61 63 74 69 |nd) goto| bf.acti|
|00001cf0| 6f 6e 0d 64 69 61 6c 6f | 67 75 65 0d 62 66 3a 0d |on.dialo|gue.bf:.|
|00001d00| 66 69 6e 64 20 61 6c 6c | 20 22 3a 2e 2b 22 20 22 |find all| ":.+" "|
|00001d10| 67 61 57 74 2d 6f 22 0d | 69 66 28 21 6e 75 6d 46 |gaWt-o".|if(!numF|
|00001d20| 6f 75 6e 64 29 20 67 6f | 74 6f 20 63 66 0d 61 63 |ound) go|to cf.ac|
|00001d30| 74 69 6f 6e 0d 74 72 61 | 6e 73 69 74 69 6f 6e 0d |tion.tra|nsition.|
|00001d40| 63 66 3a 0d 66 69 6e 64 | 20 61 6c 6c 20 22 3a 2e |cf:.find| all ":.|
|00001d50| 2b 22 20 22 67 61 57 74 | 2d 6f 22 0d 69 66 28 21 |+" "gaWt|-o".if(!|
|00001d60| 6e 75 6d 46 6f 75 6e 64 | 29 20 67 6f 74 6f 20 64 |numFound|) goto d|
|00001d70| 66 0d 61 63 74 69 6f 6e | 0d 70 61 72 65 6e 74 68 |f.action|.parenth|
|00001d80| 65 74 69 63 61 6c 0d 64 | 66 3a 0d 66 69 6e 64 20 |etical.d|f:.find |
|00001d90| 61 6c 6c 20 22 3a 2e 2b | 22 20 22 67 61 57 74 2d |all ":.+|" "gaWt-|
|00001da0| 6f 22 0d 69 66 28 21 6e | 75 6d 46 6f 75 6e 64 29 |o".if(!n|umFound)|
|00001db0| 20 67 6f 74 6f 20 65 66 | 0d 61 63 74 69 6f 6e 0d | goto ef|.action.|
|00001dc0| 73 6c 75 67 20 6c 69 6e | 65 0d 65 66 3a 0d 66 69 |slug lin|e.ef:.fi|
|00001dd0| 6e 64 20 61 6c 6c 20 22 | 3a 2e 2b 22 20 22 67 61 |nd all "|:.+" "ga|
|00001de0| 57 74 2d 6f 22 0d 69 66 | 28 21 6e 75 6d 46 6f 75 |Wt-o".if|(!numFou|
|00001df0| 6e 64 29 20 67 6f 74 6f | 20 66 66 0d 74 72 61 6e |nd) goto| ff.tran|
|00001e00| 73 69 74 69 6f 6e 0d 61 | 63 74 69 6f 6e 0d 66 66 |sition.a|ction.ff|
|00001e10| 3a 0d 69 66 28 63 6c 69 | 70 62 6f 61 72 64 2f 22 |:.if(cli|pboard/"|
|00001e20| 75 73 69 6e 67 22 3d 3d | 63 6c 69 70 62 6f 61 72 |using"==|clipboar|
|00001e30| 64 29 20 65 78 69 74 0d | 2f 2f 09 44 52 41 46 54 |d) exit.|//.DRAFT|
|00001e40| 20 53 54 59 4c 45 20 46 | 4f 52 4d 41 54 54 49 4e | STYLE F|ORMATTIN|
|00001e50| 47 3a 0b 0b 09 61 63 74 | 69 6f 6e 73 0d 0d 2f 2f |G:...act|ions..//|
|00001e60| 09 66 69 6e 64 20 61 6c | 6c 20 74 65 78 74 20 69 |.find al|l text i|
|00001e70| 6e 20 64 72 61 66 74 20 | 73 74 79 6c 65 0d 2f 2f |n draft |style.//|
|00001e80| 09 73 6b 69 70 20 64 72 | 61 66 74 20 73 65 63 74 |.skip dr|aft sect|
|00001e90| 69 6f 6e 20 69 66 20 6e | 6f 6e 65 20 66 6f 75 6e |ion if n|one foun|
|00001ea0| 64 0d 46 69 6e 64 20 41 | 6c 6c 20 22 3a 2e 2b 22 |d.Find A|ll ":.+"|
|00001eb0| 20 22 57 67 74 2d 6f 22 | 0d 69 66 28 21 6e 75 6d | "Wgt-o"|.if(!num|
|00001ec0| 46 6f 75 6e 64 29 20 67 | 6f 74 6f 20 6e 74 74 0d |Found) g|oto ntt.|
|00001ed0| 61 63 74 69 6f 6e 0d 0d | 2f 2f 0b 09 73 6c 75 67 |action..|//..slug|
|00001ee0| 20 6c 69 6e 65 73 0d 0d | 73 65 74 73 65 6c 65 63 | lines..|setselec|
|00001ef0| 74 28 30 2c 30 29 0d 2f | 2f 09 6c 6f 6f 6b 20 66 |t(0,0)./|/.look f|
|00001f00| 6f 72 20 77 68 6f 6c 65 | 20 77 6f 72 64 20 69 6e |or whole| word in|
|00001f10| 74 7c 65 78 74 20 61 74 | 20 73 74 61 72 74 20 6f |t|ext at| start o|
|00001f20| 66 20 70 61 72 61 67 72 | 61 70 68 73 0d 46 69 6e |f paragr|aphs.Fin|
|00001f30| 64 20 41 6c 6c 20 22 3a | 28 5e 69 6e 74 2e 2b 24 |d All ":|(^int.+$|
|00001f40| 3a 29 7c 3a 28 5e 65 78 | 74 2e 2b 24 3a 29 22 20 |:)|:(^ex|t.+$:)" |
|00001f50| 22 69 77 67 74 2d 6f 22 | 0d 69 66 28 21 6e 75 6d |"iwgt-o"|.if(!num|
|00001f60| 46 6f 75 6e 64 29 20 67 | 6f 74 6f 20 68 66 0d 65 |Found) g|oto hf.e|
|00001f70| 6e 64 0d 73 6c 75 67 20 | 6c 69 6e 65 0d 68 66 3a |nd.slug |line.hf:|
|00001f80| 0d 2f 2f 0b 09 74 72 61 | 6e 73 69 74 69 6f 6e 73 |.//..tra|nsitions|
|00001f90| 0d 0d 73 65 74 73 65 6c | 65 63 74 28 30 2c 30 29 |..setsel|ect(0,0)|
|00001fa0| 0d 2f 2f 09 6c 6f 6f 6b | 20 66 6f 72 20 74 68 65 |.//.look| for the|
|00001fb0| 20 66 61 64 65 20 69 6e | 7c 66 61 64 65 20 6f 75 | fade in||fade ou|
|00001fc0| 74 7c 63 75 74 20 74 6f | 7c 64 69 73 73 6f 6c 76 |t|cut to||dissolv|
|00001fd0| 65 20 74 6f 20 69 6e 20 | 6f 77 6e 20 70 61 72 61 |e to in |own para|
|00001fe0| 67 72 61 70 68 73 0d 2f | 2f 09 6f 64 64 20 62 65 |graphs./|/.odd be|
|00001ff0| 68 61 76 69 6f 72 20 68 | 65 72 65 3a 20 69 74 20 |havior h|ere: it |
|00002000| 66 69 6e 64 73 20 74 68 | 65 20 73 74 72 69 6e 67 |finds th|e string|
|00002010| 73 20 69 6e 20 74 72 61 | 6e 73 69 74 69 6f 6e 20 |s in tra|nsition |
|00002020| 73 74 79 6c 65 20 74 6f | 6f 20 69 66 20 6e 6f 20 |style to|o if no |
|00002030| 63 6f 6c 6f 6e 20 61 74 | 20 65 6e 64 0d 2f 2f 09 |colon at| end.//.|
|00002040| 74 68 61 74 27 73 20 77 | 68 79 20 74 68 65 79 20 |that's w|hy they |
|00002050| 61 72 65 20 6e 6f 77 20 | 28 73 69 6e 63 65 20 76 |are now |(since v|
|00002060| 2e 20 33 29 20 66 69 72 | 73 74 20 73 74 79 6c 65 |. 3) fir|st style|
|00002070| 64 20 61 73 20 22 65 6e | 64 22 20 28 61 6e 64 20 |d as "en|d" (and |
|00002080| 73 6c 75 67 73 20 61 62 | 6f 76 65 29 0d 46 69 6e |slugs ab|ove).Fin|
|00002090| 64 20 41 6c 6c 20 22 5c | 28 5e 66 61 64 65 20 6f |d All "\|(^fade o|
|000020a0| 75 74 5b 3a 5d 2a 24 5c | 29 7c 5c 28 5e 66 61 64 |ut[:]*$\|)|\(^fad|
|000020b0| 65 20 69 6e 5b 3a 5d 2a | 24 5c 29 7c 5c 28 5e 63 |e in[:]*|$\)|\(^c|
|000020c0| 75 74 20 74 6f 5b 3a 5d | 2a 24 5c 29 7c 5c 28 5e |ut to[:]|*$\)|\(^|
|000020d0| 64 69 73 73 6f 6c 76 65 | 20 74 6f 5b 3a 5d 2a 24 |dissolve| to[:]*$|
|000020e0| 5c 29 22 20 22 69 67 74 | 2d 6f 22 0d 69 66 28 21 |\)" "igt|-o".if(!|
|000020f0| 6e 75 6d 46 6f 75 6e 64 | 29 20 67 6f 74 6f 20 6a |numFound|) goto j|
|00002100| 66 0d 65 6e 64 0d 74 72 | 61 6e 73 69 74 69 6f 6e |f.end.tr|ansition|
|00002110| 0d 6a 66 3a 0d 2f 2f 0b | 09 63 68 61 72 61 63 74 |.jf:.//.|.charact|
|00002120| 65 72 73 0d 0d 2f 2f 09 | 6c 6f 6f 6b 20 66 6f 72 |ers..//.|look for|
|00002130| 20 74 61 62 73 2c 20 6d | 61 6b 65 20 74 68 65 6d | tabs, m|ake them|
|00002140| 20 63 68 61 72 61 63 74 | 65 72 20 73 74 79 6c 65 | charact|er style|
|00002150| 2c 20 73 65 70 61 72 61 | 74 65 20 63 68 61 72 20 |, separa|te char |
|00002160| 66 72 6f 6d 20 64 69 61 | 6c 6f 67 0d 2f 2f 09 61 |from dia|log.//.a|
|00002170| 76 6f 69 64 20 66 6f 6f | 74 65 72 20 77 69 6e 64 |void foo|ter wind|
|00002180| 6f 77 20 69 6e 20 4e 57 | 20 35 2e 31 2b 20 77 69 |ow in NW| 5.1+ wi|
|00002190| 74 68 20 73 65 6c 65 63 | 74 69 6f 6e 0d 53 65 6c |th selec|tion.Sel|
|000021a0| 65 63 74 20 41 6c 6c 0d | 46 69 6e 64 20 41 6c 6c |ect All.|Find All|
|000021b0| 20 22 5c 74 22 20 22 6f | 4f 2d 41 73 74 2d 47 67 | "\t" "o|O-Ast-Gg|
|000021c0| 22 0d 69 66 20 28 21 6e | 75 6d 46 6f 75 6e 64 29 |".if (!n|umFound)|
|000021d0| 20 67 6f 74 6f 20 6e 65 | 0d 63 68 61 72 61 63 74 | goto ne|.charact|
|000021e0| 65 72 0d 53 65 6c 65 63 | 74 20 41 6c 6c 0d 52 65 |er.Selec|t All.Re|
|000021f0| 70 6c 61 63 65 20 69 6e | 20 53 65 6c 65 63 74 69 |place in| Selecti|
|00002200| 6f 6e 20 22 5c 74 22 20 | 22 5c 72 5c 74 22 20 22 |on "\t" |"\r\t" "|
|00002210| 6f 4f 2d 41 73 74 2d 47 | 67 22 0d 6e 65 3a 0d 2f |oO-Ast-G|g".ne:./|
|00002220| 2f 0b 09 70 61 72 65 6e | 74 68 65 74 69 63 61 6c |/..paren|thetical|
|00002230| 73 20 77 69 74 68 69 6e | 20 64 69 61 6c 6f 67 75 |s within| dialogu|
|00002240| 65 20 6d 61 64 65 20 73 | 65 70 61 72 61 74 65 0d |e made s|eparate.|
|00002250| 0d 53 65 6c 65 63 74 20 | 41 6c 6c 0d 52 65 70 6c |.Select |All.Repl|
|00002260| 61 63 65 20 69 6e 20 53 | 65 6c 65 63 74 69 6f 6e |ace in S|election|
|00002270| 20 22 5c 73 2b 5c 28 28 | 5b 5e 29 5c 72 5d 2b 29 | "\s+\((|[^)\r]+)|
|00002280| 5c 73 2b 5c 29 22 20 22 | 5c 72 5c 74 5c 31 22 20 |\s+\)" "|\r\t\1" |
|00002290| 22 6f 4f 2d 41 73 74 2d | 47 67 22 0d 2f 2f 0b 09 |"oO-Ast-|Gg".//..|
|000022a0| 61 6c 6c 20 70 61 72 65 | 6e 74 68 65 74 69 63 61 |all pare|nthetica|
|000022b0| 6c 73 20 73 65 70 61 72 | 61 74 65 64 20 69 6e 74 |ls separ|ated int|
|000022c0| 6f 20 6f 77 6e 20 70 61 | 72 61 67 72 61 70 68 73 |o own pa|ragraphs|
|000022d0| 0d 0d 2f 2f 09 6c 6f 6f | 6b 20 66 6f 72 20 74 61 |..//.loo|k for ta|
|000022e0| 62 73 20 66 6f 6c 6c 6f | 77 65 64 20 62 79 20 65 |bs follo|wed by e|
|000022f0| 78 70 72 65 73 73 69 6f | 6e 73 20 69 6e 20 70 61 |xpressio|ns in pa|
|00002300| 72 65 6e 74 68 65 73 69 | 73 20 77 68 69 63 68 20 |renthesi|s which |
|00002310| 61 72 65 20 62 79 20 6e | 6f 77 20 61 74 20 62 65 |are by n|ow at be|
|00002320| 67 69 6e 6e 69 6e 67 20 | 6f 66 20 70 61 72 61 67 |ginning |of parag|
|00002330| 72 61 70 68 73 0d 53 65 | 6c 65 63 74 20 41 6c 6c |raphs.Se|lect All|
|00002340| 0d 46 69 6e 64 20 41 6c | 6c 20 22 5e 5c 74 5c 28 |.Find Al|l "^\t\(|
|00002350| 28 5b 5e 29 5c 72 5d 2b | 29 5c 29 5c 73 2b 22 20 |([^)\r]+|)\)\s+" |
|00002360| 22 6f 4f 2d 41 73 74 2d | 47 67 22 0d 69 66 20 28 |"oO-Ast-|Gg".if (|
|00002370| 21 6e 75 6d 46 6f 75 6e | 64 29 20 67 6f 74 6f 20 |!numFoun|d) goto |
|00002380| 6e 65 78 73 0d 70 61 72 | 65 6e 74 68 65 74 69 63 |nexs.par|enthetic|
|00002390| 61 6c 0d 53 65 6c 65 63 | 74 20 41 6c 6c 0d 52 65 |al.Selec|t All.Re|
|000023a0| 70 6c 61 63 65 20 69 6e | 20 53 65 6c 65 63 74 69 |place in| Selecti|
|000023b0| 6f 6e 20 22 5e 5c 74 5c | 28 28 5b 5e 29 5d 2b 29 |on "^\t\|(([^)]+)|
|000023c0| 5c 29 5c 73 2b 22 20 22 | 5c 31 5c 72 5c 74 22 20 |\)\s+" "|\1\r\t" |
|000023d0| 22 6f 4f 2d 41 73 74 2d | 47 67 22 0d 6e 65 78 73 |"oO-Ast-|Gg".nexs|
|000023e0| 3a 0d 2f 2f 0b 09 64 69 | 61 6c 6f 67 75 65 73 20 |:.//..di|alogues |
|000023f0| 66 6f 72 6d 61 74 74 65 | 64 0d 0d 2f 2f 09 6c 6f |formatte|d..//.lo|
|00002400| 6f 6b 20 66 6f 72 20 74 | 61 62 73 20 61 74 20 62 |ok for t|abs at b|
|00002410| 65 67 69 6e 6e 69 6e 67 | 20 6f 66 20 70 61 72 61 |eginning| of para|
|00002420| 67 72 61 70 68 73 20 61 | 67 61 69 6e 0d 53 65 6c |graphs a|gain.Sel|
|00002430| 65 63 74 20 41 6c 6c 0d | 46 69 6e 64 20 41 6c 6c |ect All.|Find All|
|00002440| 20 22 5e 5c 74 5c 28 2e | 2b 5c 29 22 20 22 6f 4f | "^\t\(.|+\)" "oO|
|00002450| 2d 41 73 74 2d 47 67 22 | 0d 69 66 28 21 6e 75 6d |-Ast-Gg"|.if(!num|
|00002460| 46 6f 75 6e 64 29 20 67 | 6f 74 6f 20 6e 74 74 0d |Found) g|oto ntt.|
|00002470| 64 69 61 6c 6f 67 75 65 | 0d 53 65 6c 65 63 74 20 |dialogue|.Select |
|00002480| 41 6c 6c 0d 52 65 70 6c | 61 63 65 20 69 6e 20 53 |All.Repl|ace in S|
|00002490| 65 6c 65 63 74 69 6f 6e | 20 22 5e 5c 74 5c 28 2e |election| "^\t\(.|
|000024a0| 2b 5c 29 22 20 22 5c 31 | 22 20 22 6f 4f 2d 41 73 |+\)" "\1|" "oO-As|
|000024b0| 74 2d 47 67 22 0d 6e 74 | 74 3a 0d 2f 2f 0b 09 6e |t-Gg".nt|t:.//..n|
|000024c0| 6f 77 20 66 6f 72 6d 61 | 74 20 54 68 65 20 45 6e |ow forma|t The En|
|000024d0| 64 20 69 66 20 69 74 20 | 65 78 69 73 74 73 0d 2f |d if it |exists./|
|000024e0| 2f 09 74 65 73 74 20 66 | 6f 72 20 4e 57 20 76 65 |/.test f|or NW ve|
|000024f0| 72 73 69 6f 6e 20 61 73 | 20 77 65 20 6e 61 76 69 |rsion as| we navi|
|00002500| 67 61 74 65 0d 52 65 70 | 6f 72 74 45 72 72 6f 72 |gate.Rep|ortError|
|00002510| 73 20 3d 20 66 61 6c 73 | 65 0d 50 61 67 65 20 22 |s = fals|e.Page "|
|00002520| 45 4e 44 22 0d 54 6f 20 | 50 61 67 65 20 22 45 4e |END".To |Page "EN|
|00002530| 44 22 0d 52 65 70 6f 72 | 74 45 72 72 6f 72 73 20 |D".Repor|tErrors |
|00002540| 3d 20 74 72 75 65 0d 46 | 69 6e 64 20 4e 65 78 74 |= true.F|ind Next|
|00002550| 20 22 5e 2e 2b 22 20 22 | 69 67 72 74 6f 22 0d 46 | "^.+" "|igrto".F|
|00002560| 69 6e 64 20 69 6e 20 53 | 65 6c 65 63 74 69 6f 6e |ind in S|election|
|00002570| 20 22 5e 74 68 65 20 65 | 6e 64 24 22 20 22 69 67 | "^the e|nd$" "ig|
|00002580| 72 74 6f 22 0d 69 66 20 | 28 53 65 6c 65 63 74 53 |rto".if |(SelectS|
|00002590| 74 61 72 74 3d 3d 53 65 | 6c 65 63 74 45 6e 64 29 |tart==Se|lectEnd)|
|000025a0| 20 67 6f 74 6f 20 66 69 | 6e 0d 61 63 74 69 6f 6e | goto fi|n.action|
|000025b0| 0d 65 6e 64 0d 0d 66 69 | 6e 3a 0d 73 65 74 73 65 |.end..fi|n:.setse|
|000025c0| 6c 65 63 74 28 30 2c 30 | 29 0d 2f 2f 09 74 72 79 |lect(0,0|).//.try|
|000025d0| 20 74 6f 20 63 6c 65 61 | 72 20 6d 65 6d 6f 72 79 | to clea|r memory|
|000025e0| 0d 52 65 70 6f 72 74 45 | 72 72 6f 72 73 20 3d 20 |.ReportE|rrors = |
|000025f0| 66 61 6c 73 65 0d 43 6c | 65 61 72 20 4d 65 6d 6f |false.Cl|ear Memo|
|00002600| 72 79 0d 52 65 70 6f 72 | 74 45 72 72 6f 72 73 20 |ry.Repor|tErrors |
|00002610| 3d 20 74 72 75 65 0d 0d | 62 65 65 70 0d 62 65 65 |= true..|beep.bee|
|00002620| 70 0d 3a 31 20 22 46 6f | 72 6d 61 74 74 69 6e 67 |p.:1 "Fo|rmatting|
|00002630| 20 77 61 73 20 73 75 63 | 63 65 73 73 66 75 6c 2e | was suc|cessful.|
|00002640| 22 0d 0d 74 68 65 45 78 | 69 74 3a 0d 30 0d 0d 2f |"..theEx|it:.0../|
|00002650| 2f 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |/=======|========|
|00002660| 3d 3d 3d 3d 3d 20 4d 41 | 43 52 4f 20 d7 50 72 69 |===== MA|CRO .Pri|
|00002670| 6e 74 20 53 63 72 65 65 | 6e 70 6c 61 79 0d 2f 2f |nt Scree|nplay.//|
|00002680| 0d 2f 2f 20 20 54 68 69 | 73 20 6d 61 63 72 6f 20 |.// Thi|s macro |
|00002690| 64 6f 65 73 20 73 65 76 | 65 72 61 6c 20 74 68 69 |does sev|eral thi|
|000026a0| 6e 67 73 20 62 65 66 6f | 72 65 20 70 72 69 6e 74 |ngs befo|re print|
|000026b0| 69 6e 67 20 74 68 65 20 | 73 63 72 65 65 6e 70 6c |ing the |screenpl|
|000026c0| 61 79 3a 0b 09 2a 20 69 | 74 20 75 6e 69 74 65 73 |ay:..* i|t unites|
|000026d0| 20 63 68 61 72 61 63 74 | 65 72 20 61 6e 64 20 70 | charact|er and p|
|000026e0| 61 72 65 6e 74 68 65 74 | 69 63 61 6c 20 6c 69 6e |arenthet|ical lin|
|000026f0| 65 73 20 77 69 74 68 20 | 64 69 61 6c 6f 67 75 65 |es with |dialogue|
|00002700| 20 77 68 65 72 65 20 73 | 70 6c 69 74 20 62 79 20 | where s|plit by |
|00002710| 70 61 67 69 6e 61 74 69 | 6f 6e 0b 09 2a 20 69 74 |paginati|on..* it|
|00002720| 20 74 61 6b 65 73 20 63 | 61 72 65 20 6f 66 20 6f | takes c|are of o|
|00002730| 72 70 68 61 6e 73 20 61 | 63 72 6f 73 73 20 74 68 |rphans a|cross th|
|00002740| 65 20 64 6f 63 75 6d 65 | 6e 74 20 28 77 69 64 6f |e docume|nt (wido|
|00002750| 77 73 20 64 6f 6e d5 74 | 20 6d 61 74 74 65 72 20 |ws don.t| matter |
|00002760| 69 6e 20 73 63 72 69 70 | 74 73 29 0b 09 2a 20 69 |in scrip|ts)..* i|
|00002770| 74 20 69 6e 73 65 72 74 | 73 20 63 68 61 72 61 63 |t insert|s charac|
|00002780| 74 65 72 20 6e 61 6d 65 | 73 20 77 69 74 68 20 28 |ter name|s with (|
|00002790| 43 4f 4e 54 27 44 29 20 | 77 68 65 72 65 20 73 70 |CONT'D) |where sp|
|000027a0| 6c 69 74 20 66 72 6f 6d | 20 64 69 61 6c 6f 67 75 |lit from| dialogu|
|000027b0| 65 20 6f 72 20 70 61 72 | 65 6e 74 68 65 74 69 63 |e or par|enthetic|
|000027c0| 61 6c 0d 0d 2f 2f 20 20 | 59 6f 75 20 63 61 6e 20 |al..// |You can |
|000027d0| 73 65 74 20 74 68 65 20 | 22 63 6f 6e 74 69 6e 75 |set the |"continu|
|000027e0| 65 64 22 20 73 74 72 69 | 6e 67 20 68 65 72 65 20 |ed" stri|ng here |
|000027f0| 74 6f 20 6f 77 6e 20 74 | 61 73 74 65 2c 20 6c 69 |to own t|aste, li|
|00002800| 6b 65 20 43 4f 4e 54 2e | 20 66 6f 72 20 69 6e 73 |ke CONT.| for ins|
|00002810| 74 61 6e 63 65 2e 0b 09 | 48 65 72 65 27 73 20 68 |tance...|Here's h|
|00002820| 6f 77 3a 0b 09 52 65 70 | 6c 61 63 65 20 74 68 65 |ow:..Rep|lace the|
|00002830| 20 62 6c 75 65 20 74 65 | 78 74 20 69 6e 20 74 68 | blue te|xt in th|
|00002840| 65 20 6c 69 6e 65 20 62 | 65 6c 6f 77 20 77 69 74 |e line b|elow wit|
|00002850| 68 20 77 68 61 74 20 79 | 6f 75 20 70 72 65 66 65 |h what y|ou prefe|
|00002860| 72 2e 0b 09 53 65 74 74 | 69 6e 67 20 69 74 20 74 |r...Sett|ing it t|
|00002870| 6f 20 43 4f 4e 54 49 4e | 55 45 44 20 6d 69 67 68 |o CONTIN|UED migh|
|00002880| 74 20 6e 6f 74 20 62 65 | 20 61 20 67 6f 6f 64 20 |t not be| a good |
|00002890| 69 64 65 61 20 62 65 63 | 61 75 73 65 20 6f 66 20 |idea bec|ause of |
|000028a0| 69 74 73 20 6c 65 6e 67 | 74 68 2e 0b 09 49 66 20 |its leng|th...If |
|000028b0| 79 6f 75 20 6d 61 6b 65 | 20 74 68 69 73 20 63 68 |you make| this ch|
|000028c0| 61 6e 67 65 2c 20 53 61 | 76 65 20 61 6e 64 20 63 |ange, Sa|ve and c|
|000028d0| 6c 6f 73 65 20 74 68 69 | 73 20 77 69 6e 64 6f 77 |lose thi|s window|
|000028e0| 2e 0d 0d 63 6f 6e 74 64 | 3d 22 28 43 4f 4e 54 27 |...contd|="(CONT'|
|000028f0| 44 29 22 0d 0d 6e 75 6d | 62 65 72 53 63 65 6e 65 |D)"..num|berScene|
|00002900| 73 3d 66 61 6c 73 65 0d | 34 0d 53 68 6f 77 20 43 |s=false.|4.Show C|
|00002910| 6c 69 70 62 6f 61 72 64 | 20 22 4f 66 66 22 0d 63 |lipboard| "Off".c|
|00002920| 6c 69 70 62 6f 61 72 64 | 3d 22 22 0d 63 6c 69 70 |lipboard|="".clip|
|00002930| 62 6f 61 72 64 3d 64 6f | 63 4e 61 6d 65 0d 69 66 |board=do|cName.if|
|00002940| 28 28 63 6c 69 70 62 6f | 61 72 64 3d 3d 22 22 29 |((clipbo|ard=="")|
|00002950| 20 7c 7c 20 28 63 6c 69 | 70 62 6f 61 72 64 3d 3d | || (cli|pboard==|
|00002960| 22 43 61 74 61 6c 6f 67 | 22 29 20 7c 7c 20 28 63 |"Catalog|") || (c|
|00002970| 6c 69 70 62 6f 61 72 64 | 3d 3d 22 46 69 6e 64 20 |lipboard|=="Find |
|00002980| 26 20 52 65 70 6c 61 63 | 65 22 29 20 7c 7c 20 28 |& Replac|e") || (|
|00002990| 63 6c 69 70 62 6f 61 72 | 64 3d 3d 22 43 68 61 72 |clipboar|d=="Char|
|000029a0| 61 63 74 65 72 20 53 65 | 74 22 29 29 20 67 6f 74 |acter Se|t")) got|
|000029b0| 6f 20 77 61 72 6e 0d 67 | 6f 74 6f 20 67 6f 74 44 |o warn.g|oto gotD|
|000029c0| 6f 63 0d 0d 77 61 72 6e | 3a 0d 62 65 65 70 0d 67 |oc..warn|:.beep.g|
|000029d0| 6f 74 6f 20 74 68 65 45 | 78 69 74 0d 0d 67 6f 74 |oto theE|xit..got|
|000029e0| 44 6f 63 3a 0d 73 73 3d | 53 65 6c 65 63 74 53 74 |Doc:.ss=|SelectSt|
|000029f0| 61 72 74 0d 65 65 3d 53 | 65 6c 65 63 74 45 6e 64 |art.ee=S|electEnd|
|00002a00| 0d 73 65 74 73 65 6c 65 | 63 74 28 30 2c 30 29 0d |.setsele|ct(0,0).|
|00002a10| 52 65 70 6f 72 74 45 72 | 72 6f 72 73 20 3d 20 66 |ReportEr|rors = f|
|00002a20| 61 6c 73 65 0d 74 72 61 | 6e 73 69 74 69 6f 6e 0d |alse.tra|nsition.|
|00002a30| 69 66 28 65 72 72 6f 72 | 29 20 67 6f 74 6f 20 77 |if(error|) goto w|
|00002a40| 61 72 6e 69 6e 67 0d 52 | 65 70 6f 72 74 45 72 72 |arning.R|eportErr|
|00002a50| 6f 72 73 20 3d 20 74 72 | 75 65 0d 75 6e 64 6f 0d |ors = tr|ue.undo.|
|00002a60| 73 65 74 73 65 6c 65 63 | 74 28 73 73 2c 65 65 29 |setselec|t(ss,ee)|
|00002a70| 0d 67 6f 74 6f 20 73 74 | 61 72 74 0d 0d 77 61 72 |.goto st|art..war|
|00002a80| 6e 69 6e 67 3a 0d 73 65 | 74 73 65 6c 65 63 74 28 |ning:.se|tselect(|
|00002a90| 73 73 2c 65 65 29 0d 62 | 65 65 70 0d 3a 31 20 22 |ss,ee).b|eep.:1 "|
|00002aa0| 54 68 69 73 20 6d 61 63 | 72 6f 20 77 6f 72 6b 73 |This mac|ro works|
|00002ab0| 20 6f 6e 20 64 6f 63 75 | 6d 65 6e 74 73 20 6f 70 | on docu|ments op|
|00002ac0| 65 6e 65 64 20 66 72 6f | 6d 20 74 68 65 20 53 63 |ened fro|m the Sc|
|00002ad0| 72 65 65 6e 77 72 69 74 | 69 6e 67 20 54 65 6d 70 |reenwrit|ing Temp|
|00002ae0| 6c 61 74 65 20 6f 6e 6c | 79 2e 22 0d 52 65 70 6f |late onl|y.".Repo|
|00002af0| 72 74 45 72 72 6f 72 73 | 20 3d 20 74 72 75 65 0d |rtErrors| = true.|
|00002b00| 67 6f 74 6f 20 74 68 65 | 45 78 69 74 0d 0d 73 74 |goto the|Exit..st|
|00002b10| 61 72 74 3a 0d 69 66 28 | 21 4e 69 73 75 73 5b 46 |art:.if(|!Nisus[F|
|00002b20| 72 6f 6e 74 57 69 6e 64 | 6f 77 5d 5b 4e 65 65 64 |rontWind|ow][Need|
|00002b30| 73 53 61 76 65 41 73 5d | 29 20 67 6f 74 6f 20 73 |sSaveAs]|) goto s|
|00002b40| 61 76 69 6e 67 0d 62 65 | 65 70 0d 3a 31 20 22 54 |aving.be|ep.:1 "T|
|00002b50| 68 69 73 20 6d 61 63 72 | 6f 20 77 6f 72 6b 73 20 |his macr|o works |
|00002b60| 6f 6e 6c 79 20 6f 6e 20 | 64 6f 63 75 6d 65 6e 74 |only on |document|
|00002b70| 73 20 74 68 61 74 20 68 | 61 76 65 20 62 65 65 6e |s that h|ave been|
|00002b80| 20 73 61 76 65 64 20 74 | 6f 20 64 69 73 6b 2e 20 | saved t|o disk. |
|00002b90| 50 6c 65 61 73 65 20 73 | 61 76 65 20 61 6e 64 20 |Please s|ave and |
|00002ba0| 72 75 6e 20 74 68 65 20 | 6d 61 63 72 6f 20 61 67 |run the |macro ag|
|00002bb0| 61 69 6e 2e 22 0d 53 61 | 76 65 0d 67 6f 74 6f 20 |ain.".Sa|ve.goto |
|00002bc0| 74 68 65 45 78 69 74 0d | 0d 73 61 76 69 6e 67 3a |theExit.|.saving:|
|00002bd0| 0d 53 65 6c 65 63 74 20 | 41 6c 6c 0d 2f 2f 09 62 |.Select |All.//.b|
|00002be0| 75 74 20 66 69 72 73 74 | 2c 20 73 65 65 20 69 66 |ut first|, see if|
|00002bf0| 20 74 68 65 72 65 27 73 | 20 61 6e 79 20 64 72 61 | there's| any dra|
|00002c00| 66 74 20 74 65 78 74 20 | 68 65 72 65 0d 46 69 6e |ft text |here.Fin|
|00002c10| 64 20 69 6e 20 53 65 6c | 65 63 74 69 6f 6e 20 22 |d in Sel|ection "|
|00002c20| 2e 22 20 22 2d 6f 2d 41 | 69 2d 77 74 2d 47 67 22 |." "-o-A|i-wt-Gg"|
|00002c30| 0d 69 66 28 6e 75 6d 46 | 6f 75 6e 64 29 20 67 6f |.if(numF|ound) go|
|00002c40| 74 6f 20 73 61 76 69 6e | 67 32 0d 2f 2f 09 61 6e |to savin|g2.//.an|
|00002c50| 79 20 65 6d 70 74 79 20 | 70 61 72 61 73 20 61 6e |y empty |paras an|
|00002c60| 79 77 68 65 72 65 20 65 | 78 63 65 70 74 20 74 69 |ywhere e|xcept ti|
|00002c70| 74 6c 65 20 70 61 67 65 | 3f 0d 50 61 67 69 6e 61 |tle page|?.Pagina|
|00002c80| 74 69 6f 6e 20 22 4f 6e | 22 0d 52 65 70 6f 72 74 |tion "On|".Report|
|00002c90| 45 72 72 6f 72 73 20 3d | 20 66 61 6c 73 65 0d 54 |Errors =| false.T|
|00002ca0| 6f 20 50 61 67 65 20 22 | 31 22 0d 50 61 67 65 20 |o Page "|1".Page |
|00002cb0| 22 31 22 0d 52 65 70 6f | 72 74 45 72 72 6f 72 73 |"1".Repo|rtErrors|
|00002cc0| 20 3d 20 74 72 75 65 0d | 73 65 74 73 65 6c 65 63 | = true.|setselec|
|00002cd0| 74 28 73 65 6c 65 63 74 | 73 74 61 72 74 2c 65 6e |t(select|start,en|
|00002ce0| 64 63 68 61 72 6e 75 6d | 29 0d 46 69 6e 64 20 69 |dcharnum|).Find i|
|00002cf0| 6e 20 53 65 6c 65 63 74 | 69 6f 6e 20 22 5c 72 5c |n Select|ion "\r\|
|00002d00| 72 2b 22 20 22 6f 2d 41 | 69 2d 77 74 2d 47 67 22 |r+" "o-A|i-wt-Gg"|
|00002d10| 0d 69 66 28 21 6e 75 6d | 46 6f 75 6e 64 29 20 67 |.if(!num|Found) g|
|00002d20| 6f 74 6f 20 74 72 75 65 | 53 61 76 69 6e 67 0d 73 |oto true|Saving.s|
|00002d30| 61 76 69 6e 67 32 3a 0d | 73 65 74 73 65 6c 65 63 |aving2:.|setselec|
|00002d40| 74 28 73 73 2c 65 65 29 | 0d 62 65 65 70 0d 3a 31 |t(ss,ee)|.beep.:1|
|00002d50| 20 22 54 68 69 73 20 73 | 63 72 69 70 74 20 68 61 | "This s|cript ha|
|00002d60| 73 20 64 72 61 66 74 20 | 74 65 78 74 20 6f 72 20 |s draft |text or |
|00002d70| 65 6d 70 74 79 20 6c 69 | 6e 65 73 20 77 68 65 72 |empty li|nes wher|
|00002d80| 65 20 74 68 65 79 d5 72 | 65 20 6e 6f 74 20 61 6c |e they.r|e not al|
|00002d90| 6c 6f 77 65 64 2e 20 52 | 75 6e 20 74 68 65 20 46 |lowed. R|un the F|
|00002da0| 6f 72 6d 61 74 20 53 63 | 72 65 65 6e 70 6c 61 79 |ormat Sc|reenplay|
|00002db0| 20 6d 61 63 72 6f 20 66 | 69 72 73 74 2e 22 0d 67 | macro f|irst.".g|
|00002dc0| 6f 74 6f 20 74 68 65 45 | 78 69 74 0d 0d 74 72 75 |oto theE|xit..tru|
|00002dd0| 65 53 61 76 69 6e 67 3a | 0d 73 65 74 73 65 6c 65 |eSaving:|.setsele|
|00002de0| 63 74 28 73 73 2c 65 65 | 29 0d 3a 31 20 22 54 68 |ct(ss,ee|).:1 "Th|
|00002df0| 69 73 20 64 6f 63 75 6d | 65 6e 74 20 77 69 6c 6c |is docum|ent will|
|00002e00| 20 6e 6f 77 20 62 65 20 | 73 61 76 65 64 2e 20 50 | now be |saved. P|
|00002e10| 72 65 73 73 20 45 6e 74 | 65 72 20 74 6f 20 63 6f |ress Ent|er to co|
|00002e20| 6e 74 69 6e 75 65 2c 20 | 6f 72 20 44 65 6c 65 74 |ntinue, |or Delet|
|00002e30| 65 20 74 6f 20 63 61 6e | 63 65 6c 2e 22 20 22 43 |e to can|cel." "C|
|00002e40| 6f 6e 74 69 6e 75 65 22 | 0d 69 66 28 63 6c 69 70 |ontinue"|.if(clip|
|00002e50| 62 6f 61 72 64 21 3d 22 | 43 6f 6e 74 69 6e 75 65 |board!="|Continue|
|00002e60| 22 29 20 67 6f 74 6f 20 | 74 68 65 45 78 69 74 0d |") goto |theExit.|
|00002e70| 53 61 76 65 0d 3a 31 20 | 22 4e 75 6d 62 65 72 20 |Save.:1 |"Number |
|00002e80| 73 63 65 6e 65 73 20 62 | 65 66 6f 72 65 20 70 72 |scenes b|efore pr|
|00002e90| 69 6e 74 69 6e 67 3f 20 | 28 54 68 69 73 20 73 68 |inting? |(This sh|
|00002ea0| 6f 75 6c 64 20 62 65 20 | 64 6f 6e 65 20 6f 6e 20 |ould be |done on |
|00002eb0| 70 72 6f 64 75 63 74 69 | 6f 6e 20 73 63 72 69 70 |producti|on scrip|
|00002ec0| 74 73 20 6f 6e 6c 79 2e | 29 22 20 22 4e 6f 22 0d |ts only.|)" "No".|
|00002ed0| 69 66 20 28 28 21 63 6c | 69 70 62 6f 61 72 64 29 |if ((!cl|ipboard)|
|00002ee0| 20 7c 7c 20 28 63 6c 69 | 70 62 6f 61 72 64 3d 3d | || (cli|pboard==|
|00002ef0| 22 2e 22 29 29 20 67 6f | 74 6f 20 74 68 65 45 78 |".")) go|to theEx|
|00002f00| 69 74 0d 69 66 20 28 28 | 6c 65 66 74 28 63 6c 69 |it.if ((|left(cli|
|00002f10| 70 62 6f 61 72 64 2c 31 | 29 3d 3d 22 79 22 29 20 |pboard,1|)=="y") |
|00002f20| 7c 7c 20 28 6c 65 66 74 | 28 63 6c 69 70 62 6f 61 ||| (left|(clipboa|
|00002f30| 72 64 2c 31 29 3d 3d 22 | 59 22 29 29 20 6e 75 6d |rd,1)=="|Y")) num|
|00002f40| 62 65 72 53 63 65 6e 65 | 73 3d 74 72 75 65 0d 0d |berScene|s=true..|
|00002f50| 2f 2f 09 73 61 76 65 20 | 61 73 20 74 65 6d 70 6f |//.save |as tempo|
|00002f60| 72 61 72 79 20 70 72 69 | 6e 74 20 66 69 6c 65 20 |rary pri|nt file |
|00002f70| 69 6e 20 74 72 61 73 68 | 20 66 6f 6c 64 65 72 20 |in trash| folder |
|00002f80| 28 21 29 20 6f 6e 20 73 | 61 6d 65 20 64 72 69 76 |(!) on s|ame driv|
|00002f90| 65 20 61 73 20 6f 72 69 | 67 69 6e 61 6c 0d 69 74 |e as ori|ginal.it|
|00002fa0| 3d 64 6f 63 50 61 74 68 | 0d 63 6c 69 70 62 6f 61 |=docPath|.clipboa|
|00002fb0| 72 64 3d 6c 65 66 74 28 | 69 74 2c 6f 66 66 73 65 |rd=left(|it,offse|
|00002fc0| 74 28 22 3a 22 2c 69 74 | 29 29 20 2b 20 22 54 72 |t(":",it|)) + "Tr|
|00002fd0| 61 73 68 3a 22 20 2b 20 | 6c 65 66 74 28 64 6f 63 |ash:" + |left(doc|
|00002fe0| 4e 61 6d 65 2c 32 37 29 | 20 2b 20 22 2e 70 6e 74 |Name,27)| + ".pnt|
|00002ff0| 22 0d 53 61 76 65 20 41 | 73 20 27 5c 43 43 27 0d |".Save A|s '\CC'.|
|00003000| 70 6f 35 74 3d 22 54 68 | 78 69 73 20 70 72 69 78 |po5t="Th|xis prix|
|00003010| 6e 74 78 6f 75 74 20 63 | 6f 78 75 72 78 74 65 78 |ntxout c|oxurxtex|
|00003020| 73 79 20 6f 66 20 61 6e | 20 75 78 6e 72 78 65 78 |sy of an| uxnrxex|
|00003030| 67 69 73 78 74 65 78 72 | 65 64 20 63 6f 78 70 79 |gisxtexr|ed coxpy|
|00003040| 20 6f 66 20 4b 78 44 78 | 53 78 53 2e 20 50 6c 78 | of KxDx|SxS. Plx|
|00003050| 65 61 73 78 65 20 72 65 | 78 67 69 78 73 74 65 78 |easxe re|xgixstex|
|00003060| 72 2e 22 0d 0d 2f 2f 0b | 09 55 6e 69 74 65 20 63 |r."..//.|.Unite c|
|00003070| 68 61 72 61 63 74 65 72 | 73 20 61 6e 64 20 70 61 |haracter|s and pa|
|00003080| 72 65 6e 74 68 65 74 69 | 63 61 6c 73 20 77 69 74 |rentheti|cals wit|
|00003090| 68 20 64 69 61 6c 6f 67 | 75 65 2e 0b 09 43 6c 65 |h dialog|ue...Cle|
|000030a0| 61 72 20 75 70 20 61 6e | 79 20 70 72 65 76 69 6f |ar up an|y previo|
|000030b0| 75 73 20 6b 65 65 70 2d | 74 6f 67 65 74 68 65 72 |us keep-|together|
|000030c0| 20 66 6f 72 6d 61 74 2e | 0d 0d 53 65 6c 65 63 74 | format.|..Select|
|000030d0| 20 41 6c 6c 0d 69 66 20 | 28 21 70 6f 35 74 29 20 | All.if |(!po5t) |
|000030e0| 65 78 69 74 0d 52 65 70 | 6f 72 74 45 72 72 6f 72 |exit.Rep|ortError|
|000030f0| 73 20 3d 20 66 61 6c 73 | 65 0d 4b 65 65 70 20 4f |s = fals|e.Keep O|
|00003100| 6e 20 53 61 6d 65 20 50 | 61 67 65 0d 4b 65 65 70 |n Same P|age.Keep|
|00003110| 20 4f 6e 20 53 61 6d 65 | 20 50 61 67 65 0d 69 66 | On Same| Page.if|
|00003120| 28 21 65 72 72 6f 72 29 | 20 67 6f 74 6f 20 6b 74 |(!error)| goto kt|
|00003130| 31 0d 4b 65 65 70 20 54 | 65 78 74 20 4f 6e 20 53 |1.Keep T|ext On S|
|00003140| 61 6d 65 20 50 61 67 65 | 0d 4b 65 65 70 20 54 65 |ame Page|.Keep Te|
|00003150| 78 74 20 4f 6e 20 53 61 | 6d 65 20 50 61 67 65 0d |xt On Sa|me Page.|
|00003160| 6b 74 31 3a 0d 52 65 70 | 6f 72 74 45 72 72 6f 72 |kt1:.Rep|ortError|
|00003170| 73 20 3d 20 74 72 75 65 | 0d 50 61 67 69 6e 61 74 |s = true|.Paginat|
|00003180| 69 6f 6e 20 22 4f 66 66 | 22 0d 0d 2f 2f 09 77 65 |ion "Off|"..//.we|
|00003190| 20 74 61 6b 65 20 63 61 | 72 65 20 74 68 61 74 20 | take ca|re that |
|000031a0| 6f 6e 6c 79 20 6c 61 73 | 74 20 61 6e 64 20 66 69 |only las|t and fi|
|000031b0| 72 73 74 20 63 68 61 72 | 73 20 69 6e 20 74 68 65 |rst char|s in the|
|000031c0| 20 70 61 72 61 73 20 6f | 66 20 63 68 61 72 61 63 | paras o|f charac|
|000031d0| 74 65 72 2f 64 69 61 6c | 6f 67 75 65 2f 70 61 72 |ter/dial|ogue/par|
|000031e0| 65 6e 74 68 65 74 69 63 | 61 6c 20 61 72 65 20 74 |enthetic|al are t|
|000031f0| 69 65 64 20 73 6f 20 74 | 68 61 74 20 74 68 65 20 |ied so t|hat the |
|00003200| 70 61 72 61 67 72 61 70 | 68 73 20 73 74 69 6c 6c |paragrap|hs still|
|00003210| 20 67 65 74 20 66 6f 72 | 6d 61 74 74 65 64 20 77 | get for|matted w|
|00003220| 68 65 6e 20 6f 72 70 68 | 61 6e 73 20 61 72 65 20 |hen orph|ans are |
|00003230| 64 65 61 6c 74 20 77 69 | 74 68 2e 0d 0d 73 65 74 |dealt wi|th...set|
|00003240| 73 65 6c 65 63 74 28 30 | 2c 30 29 0d 2f 2f 09 66 |select(0|,0).//.f|
|00003250| 69 6e 64 20 63 68 61 72 | 61 63 74 65 72 73 20 66 |ind char|acters f|
|00003260| 6f 72 20 74 79 69 6e 67 | 20 74 6f 20 70 61 72 65 |or tying| to pare|
|00003270| 6e 74 68 65 74 69 63 61 | 6c 73 20 61 6e 64 20 64 |nthetica|ls and d|
|00003280| 69 61 6c 6f 67 75 65 0d | 66 69 6e 64 20 61 6c 6c |ialogue.|find all|
|00003290| 20 22 3a 2e 2b 22 20 22 | 67 61 57 74 2d 6f 22 0d | ":.+" "|gaWt-o".|
|000032a0| 73 2d 3e 71 70 75 73 68 | 28 65 6e 64 73 29 0d 73 |s->qpush|(ends).s|
|000032b0| 65 74 73 65 6c 65 63 74 | 28 30 2c 30 29 0d 2f 2f |etselect|(0,0).//|
|000032c0| 09 66 69 6e 64 20 70 61 | 72 65 6e 74 68 65 74 69 |.find pa|rentheti|
|000032d0| 63 61 6c 73 20 66 6f 72 | 20 74 79 69 6e 67 20 74 |cals for| tying t|
|000032e0| 6f 20 64 69 61 6c 6f 67 | 75 65 0d 66 69 6e 64 20 |o dialog|ue.find |
|000032f0| 61 6c 6c 20 22 3a 2e 2b | 22 20 22 67 61 57 74 2d |all ":.+|" "gaWt-|
|00003300| 6f 22 0d 74 2d 3e 71 70 | 75 73 68 28 65 6e 64 73 |o".t->qp|ush(ends|
|00003310| 29 0d 73 65 74 73 65 6c | 65 63 74 28 30 2c 30 29 |).setsel|ect(0,0)|
|00003320| 0d 73 65 74 53 65 6c 65 | 63 74 4d 6f 72 65 28 30 |.setSele|ctMore(0|
|00003330| 2c 30 29 0d 73 6c 6f 6f | 70 31 3a 0d 6e 73 3d 73 |,0).sloo|p1:.ns=s|
|00003340| 2d 3e 70 6f 70 0d 73 65 | 74 53 65 6c 65 63 74 4d |->pop.se|tSelectM|
|00003350| 6f 72 65 28 6e 73 2d 32 | 2c 6e 73 2b 31 29 0d 69 |ore(ns-2|,ns+1).i|
|00003360| 66 28 73 2d 3e 73 69 7a | 65 29 20 67 6f 74 6f 20 |f(s->siz|e) goto |
|00003370| 73 6c 6f 6f 70 31 0d 74 | 6c 6f 6f 70 31 3a 0d 6e |sloop1.t|loop1:.n|
|00003380| 74 3d 74 2d 3e 70 6f 70 | 0d 73 65 74 53 65 6c 65 |t=t->pop|.setSele|
|00003390| 63 74 4d 6f 72 65 28 6e | 74 2d 32 2c 6e 74 2b 31 |ctMore(n|t-2,nt+1|
|000033a0| 29 0d 69 66 28 74 2d 3e | 73 69 7a 65 29 20 67 6f |).if(t->|size) go|
|000033b0| 74 6f 20 74 6c 6f 6f 70 | 31 0d 0d 52 65 70 6f 72 |to tloop|1..Repor|
|000033c0| 74 45 72 72 6f 72 73 20 | 3d 20 66 61 6c 73 65 0d |tErrors |= false.|
|000033d0| 4b 65 65 70 20 4f 6e 20 | 53 61 6d 65 20 50 61 67 |Keep On |Same Pag|
|000033e0| 65 0d 4b 65 65 70 20 54 | 65 78 74 20 4f 6e 20 53 |e.Keep T|ext On S|
|000033f0| 61 6d 65 20 50 61 67 65 | 0d 52 65 70 6f 72 74 45 |ame Page|.ReportE|
|00003400| 72 72 6f 72 73 20 3d 20 | 74 72 75 65 0d 0d 2f 2f |rrors = |true..//|
|00003410| 0b 09 74 61 6b 65 20 63 | 61 72 65 20 6f 66 20 6f |..take c|are of o|
|00003420| 72 70 68 61 6e 73 20 2d | 20 6b 65 65 70 20 74 68 |rphans -| keep th|
|00003430| 65 20 6c 61 73 74 20 74 | 77 6f 20 6c 69 6e 65 73 |e last t|wo lines|
|00003440| 20 6f 66 20 70 61 72 61 | 67 72 61 70 68 73 20 6f | of para|graphs o|
|00003450| 6e 20 73 61 6d 65 20 70 | 61 67 65 0d 53 65 6c 65 |n same p|age.Sele|
|00003460| 63 74 20 41 6c 6c 0d 52 | 65 70 6c 61 63 65 20 69 |ct All.R|eplace i|
|00003470| 6e 20 53 65 6c 65 63 74 | 69 6f 6e 20 22 5c 28 2e |n Select|ion "\(.|
|00003480| 2a 3a 5e 2e 5c 29 5c 28 | 2e 2b 3a 5e 2e 2a 5c 29 |*:^.\)\(|.+:^.*\)|
|00003490| 24 22 20 22 5c 31 5c 32 | 22 20 22 6f 2d 4f 2d 41 |$" "\1\2|" "o-O-A|
|000034a0| 73 74 2d 47 67 22 0d 0d | 50 61 67 69 6e 61 74 69 |st-Gg"..|Paginati|
|000034b0| 6f 6e 20 22 4f 6e 22 0d | 52 65 70 6f 72 74 45 72 |on "On".|ReportEr|
|000034c0| 72 6f 72 73 20 3d 20 66 | 61 6c 73 65 0d 50 61 67 |rors = f|alse.Pag|
|000034d0| 65 20 22 45 4e 44 22 0d | 69 66 28 21 65 72 72 6f |e "END".|if(!erro|
|000034e0| 72 29 20 76 65 72 73 3d | 34 20 3b 20 67 6f 74 6f |r) vers=|4 ; goto|
|000034f0| 20 6e 77 33 0d 54 6f 20 | 50 61 67 65 20 22 45 4e | nw3.To |Page "EN|
|00003500| 44 22 0d 76 65 72 73 3d | 35 0d 6e 77 33 3a 0d 52 |D".vers=|5.nw3:.R|
|00003510| 65 70 6f 72 74 45 72 72 | 6f 72 73 20 3d 20 74 72 |eportErr|ors = tr|
|00003520| 75 65 0d 6e 75 6d 50 61 | 67 65 73 3d 70 61 67 65 |ue.numPa|ges=page|
|00003530| 4e 75 6d 0d 73 65 74 73 | 65 6c 65 63 74 28 30 2c |Num.sets|elect(0,|
|00003540| 30 29 0d 2f 2f 0b 09 50 | 6c 61 63 65 20 74 68 65 |0).//..P|lace the|
|00003550| 20 28 43 4f 4e 54 27 44 | 29 73 20 61 73 20 6e 65 | (CONT'D|)s as ne|
|00003560| 65 64 65 64 2e 0b 0d 72 | 65 70 65 61 74 3a 0d 2f |eded...r|epeat:./|
|00003570| 2f 09 69 74 20 6d 69 67 | 68 74 20 6c 6f 6f 6b 20 |/.it mig|ht look |
|00003580| 6c 69 6b 65 20 77 65 27 | 72 65 20 73 74 61 6e 64 |like we'|re stand|
|00003590| 69 6e 67 20 73 74 69 6c | 6c 20 69 6e 20 74 68 69 |ing stil|l in thi|
|000035a0| 73 20 6c 6f 6f 70 2c 20 | 62 75 74 20 74 68 65 20 |s loop, |but the |
|000035b0| 70 61 67 65 20 6e 75 6d | 62 65 72 20 75 73 65 64 |page num|ber used|
|000035c0| 20 62 79 20 70 61 67 65 | 4e 75 6d 20 69 73 20 74 | by page|Num is t|
|000035d0| 68 65 20 70 68 79 73 69 | 63 61 6c 20 70 61 67 65 |he physi|cal page|
|000035e0| 20 6e 75 6d 62 65 72 3b | 20 74 68 65 20 6f 6e 65 | number;| the one|
|000035f0| 20 75 73 65 64 20 62 79 | 20 54 6f 20 50 61 67 65 | used by| To Page|
|00003600| 20 63 6f 6d 6d 61 6e 64 | 20 69 73 20 61 73 20 73 | command| is as s|
|00003610| 65 74 20 69 6e 20 74 68 | 65 20 70 61 67 69 6e 61 |et in th|e pagina|
|00003620| 74 69 6f 6e 20 64 69 61 | 6c 6f 67 2e 20 57 6f 72 |tion dia|log. Wor|
|00003630| 6b 69 6e 67 20 6f 6e 20 | 53 63 72 65 65 6e 77 72 |king on |Screenwr|
|00003640| 69 74 69 6e 67 20 54 65 | 6d 70 6c 61 74 65 2c 20 |iting Te|mplate, |
|00003650| 54 6f 20 50 61 67 65 2c | 20 75 73 69 6e 67 20 70 |To Page,| using p|
|00003660| 61 67 65 4e 75 6d 2c 20 | 6d 6f 76 65 73 20 74 6f |ageNum, |moves to|
|00003670| 20 6e 65 78 74 20 70 61 | 67 65 20 62 65 63 61 75 | next pa|ge becau|
|00003680| 73 65 20 70 61 67 69 6e | 61 74 69 6f 6e 20 73 74 |se pagin|ation st|
|00003690| 61 72 74 73 20 61 74 20 | 30 0d 0d 69 66 20 28 6e |arts at |0..if (n|
|000036a0| 75 6d 50 61 67 65 73 3d | 3d 70 61 67 65 4e 75 6d |umPages=|=pageNum|
|000036b0| 29 20 67 6f 74 6f 20 6e | 75 6d 62 65 72 53 63 65 |) goto n|umberSce|
|000036c0| 6e 65 73 31 0d 63 6c 69 | 70 62 6f 61 72 64 3d 70 |nes1.cli|pboard=p|
|000036d0| 61 67 65 4e 75 6d 0d 69 | 66 28 76 65 72 73 21 3d |ageNum.i|f(vers!=|
|000036e0| 34 29 20 67 6f 74 6f 20 | 6e 77 34 0d 50 61 67 65 |4) goto |nw4.Page|
|000036f0| 20 27 5c 43 43 27 0d 67 | 6f 74 6f 20 6e 77 35 0d | '\CC'.g|oto nw5.|
|00003700| 6e 77 34 3a 0d 54 6f 20 | 50 61 67 65 20 27 5c 43 |nw4:.To |Page '\C|
|00003710| 43 27 0d 6e 77 35 3a 0d | 69 66 20 28 28 72 75 6c |C'.nw5:.|if ((rul|
|00003720| 65 72 4e 61 6d 65 21 3d | 22 64 69 61 6c 6f 67 75 |erName!=|"dialogu|
|00003730| 65 22 29 20 26 26 20 28 | 72 75 6c 65 72 4e 61 6d |e") && (|rulerNam|
|00003740| 65 21 3d 22 70 61 72 65 | 6e 74 68 65 74 69 63 61 |e!="pare|nthetica|
|00003750| 6c 22 29 29 20 67 6f 74 | 6f 20 72 65 70 65 61 74 |l")) got|o repeat|
|00003760| 0d 70 6f 69 6e 74 3d 73 | 65 6c 65 63 74 73 74 61 |.point=s|electsta|
|00003770| 72 74 0d 0d 2f 2f 09 73 | 65 61 72 63 68 20 66 6f |rt..//.s|earch fo|
|00003780| 72 20 63 68 61 72 61 63 | 74 65 72 20 73 74 79 6c |r charac|ter styl|
|00003790| 65 20 69 6e 20 72 65 76 | 65 72 73 65 0d 46 69 6e |e in rev|erse.Fin|
|000037a0| 64 20 4e 65 78 74 20 22 | 5e 2e 2e 2b 24 22 20 22 |d Next "|^..+$" "|
|000037b0| 67 2d 57 2d 6f 72 74 22 | 20 2f 2f 63 68 61 72 61 |g-W-ort"| //chara|
|000037c0| 63 74 65 72 0d 63 6c 69 | 70 62 6f 61 72 64 3d 22 |cter.cli|pboard="|
|000037d0| 22 0d 4d 61 63 72 6f 43 | 6f 70 79 0d 63 6c 69 70 |".MacroC|opy.clip|
|000037e0| 62 6f 61 72 64 3d 63 6c | 69 70 62 6f 61 72 64 20 |board=cl|ipboard |
|000037f0| 2b 20 22 20 22 20 2b 20 | 63 6f 6e 74 64 0d 2f 2f |+ " " + |contd.//|
|00003800| 09 67 6f 20 62 61 63 6b | 20 74 6f 20 74 68 65 20 |.go back| to the |
|00003810| 70 61 67 65 20 77 68 65 | 72 65 20 79 6f 75 20 66 |page whe|re you f|
|00003820| 6f 75 6e 64 20 74 68 65 | 20 73 70 6c 69 74 0d 73 |ound the| split.s|
|00003830| 65 74 73 65 6c 65 63 74 | 28 70 6f 69 6e 74 2c 70 |etselect|(point,p|
|00003840| 6f 69 6e 74 29 0d 0d 69 | 66 28 72 75 6c 65 72 4e |oint)..i|f(rulerN|
|00003850| 61 6d 65 3d 3d 22 64 69 | 61 6c 6f 67 75 65 22 29 |ame=="di|alogue")|
|00003860| 20 63 6c 69 70 62 6f 61 | 72 64 3d 22 5c 72 22 2b | clipboa|rd="\r"+|
|00003870| 63 6c 69 70 62 6f 61 72 | 64 2b 22 5c 72 22 20 3b |clipboar|d+"\r" ;|
|00003880| 20 67 6f 74 6f 20 70 64 | 31 0d 4b 65 79 20 1c 0d | goto pd|1.Key ..|
|00003890| 69 66 28 72 75 6c 65 72 | 4e 61 6d 65 3d 3d 22 64 |if(ruler|Name=="d|
|000038a0| 69 61 6c 6f 67 75 65 22 | 29 20 63 6c 69 70 62 6f |ialogue"|) clipbo|
|000038b0| 61 72 64 3d 63 6c 69 70 | 62 6f 61 72 64 2b 22 5c |ard=clip|board+"\|
|000038c0| 72 22 20 3b 20 67 6f 74 | 6f 20 70 64 32 0d 63 6c |r" ; got|o pd2.cl|
|000038d0| 69 70 62 6f 61 72 64 3d | 22 5c 72 22 2b 63 6c 69 |ipboard=|"\r"+cli|
|000038e0| 70 62 6f 61 72 64 2b 22 | 5c 72 22 0d 70 64 32 3a |pboard+"|\r".pd2:|
|000038f0| 0d 4b 65 79 20 1d 0d 70 | 64 31 3a 0d 52 65 70 6c |.Key ..p|d1:.Repl|
|00003900| 61 63 65 20 57 69 74 68 | 20 27 5c 43 43 27 20 22 |ace With| '\CC' "|
|00003910| 6f 4f 2d 41 2d 77 74 2d | 47 67 22 0d 4b 65 79 20 |oO-A-wt-|Gg".Key |
|00003920| 1d 0d 4b 65 79 20 1c 0d | 63 68 61 72 61 63 74 65 |..Key ..|characte|
|00003930| 72 0d 2f 2f 09 73 65 6c | 65 63 74 20 74 68 65 20 |r.//.sel|ect the |
|00003940| 65 6e 64 20 6f 66 20 74 | 68 69 73 20 61 6e 64 20 |end of t|his and |
|00003950| 74 68 65 20 73 74 61 72 | 74 20 6f 66 20 74 68 65 |the star|t of the|
|00003960| 20 66 6f 6c 6c 6f 77 69 | 6e 67 20 70 61 72 61 67 | followi|ng parag|
|00003970| 72 61 70 68 0d 4b 65 79 | 20 1c 13 1d 13 1d 13 1d |raph.Key| .......|
|00003980| 0d 52 65 70 6f 72 74 45 | 72 72 6f 72 73 20 3d 20 |.ReportE|rrors = |
|00003990| 66 61 6c 73 65 0d 4b 65 | 65 70 20 4f 6e 20 53 61 |false.Ke|ep On Sa|
|000039a0| 6d 65 20 50 61 67 65 0d | 4b 65 65 70 20 54 65 78 |me Page.|Keep Tex|
|000039b0| 74 20 4f 6e 20 53 61 6d | 65 20 50 61 67 65 0d 52 |t On Sam|e Page.R|
|000039c0| 65 70 6f 72 74 45 72 72 | 6f 72 73 20 3d 20 74 72 |eportErr|ors = tr|
|000039d0| 75 65 0d 4b 65 79 20 1c | 0d 69 66 20 28 6e 75 6d |ue.Key .|.if (num|
|000039e0| 50 61 67 65 73 21 3d 70 | 61 67 65 4e 75 6d 29 20 |Pages!=p|ageNum) |
|000039f0| 67 6f 74 6f 20 72 65 70 | 65 61 74 0d 0d 6e 75 6d |goto rep|eat..num|
|00003a00| 62 65 72 53 63 65 6e 65 | 73 31 3a 0d 69 66 28 21 |berScene|s1:.if(!|
|00003a10| 6e 75 6d 62 65 72 53 63 | 65 6e 65 73 29 20 67 6f |numberSc|enes) go|
|00003a20| 74 6f 20 66 69 6e 0d 53 | 65 6c 65 63 74 20 41 6c |to fin.S|elect Al|
|00003a30| 6c 0d 46 69 6e 64 20 69 | 6e 20 53 65 6c 65 63 74 |l.Find i|n Select|
|00003a40| 69 6f 6e 20 22 5e 3a 28 | 69 6e 74 7c 65 78 74 3a |ion "^:(|int|ext:|
|00003a50| 29 22 20 22 2d 6f 2d 41 | 69 77 74 2d 47 67 22 0d |)" "-o-A|iwt-Gg".|
|00003a60| 69 66 28 21 6e 75 6d 46 | 6f 75 6e 64 29 20 67 6f |if(!numF|ound) go|
|00003a70| 74 6f 20 66 69 6e 0d 6e | 73 6e 3d 30 0d 6e 73 70 |to fin.n|sn=0.nsp|
|00003a80| 2d 3e 70 75 73 68 28 73 | 74 61 72 74 73 29 0d 6e |->push(s|tarts).n|
|00003a90| 73 6e 3d 6e 73 70 2d 3e | 73 69 7a 65 0d 6e 73 6c |sn=nsp->|size.nsl|
|00003aa0| 6f 6f 70 3a 0d 74 70 3d | 6e 73 70 2d 3e 70 6f 70 |oop:.tp=|nsp->pop|
|00003ab0| 0d 73 65 74 73 65 6c 65 | 63 74 28 74 70 2c 74 70 |.setsele|ct(tp,tp|
|00003ac0| 29 0d 63 6c 69 70 62 6f | 61 72 64 3d 6e 73 6e 20 |).clipbo|ard=nsn |
|00003ad0| 2b 20 22 2e 20 22 0d 4d | 61 63 72 6f 50 61 73 74 |+ ". ".M|acroPast|
|00003ae0| 65 0d 6e 73 6e 3d 6e 73 | 6e 2d 31 0d 69 66 28 6e |e.nsn=ns|n-1.if(n|
|00003af0| 73 70 2d 3e 73 69 7a 65 | 29 20 67 6f 74 6f 20 6e |sp->size|) goto n|
|00003b00| 73 6c 6f 6f 70 0d 67 6f | 74 6f 20 66 69 6e 0d 0d |sloop.go|to fin..|
|00003b10| 74 68 65 45 78 69 74 3a | 0d 30 0d 65 78 69 74 0d |theExit:|.0.exit.|
|00003b20| 0d 66 69 6e 3a 0d 2f 2f | 09 6d 61 6b 65 20 69 74 |.fin:.//|.make it|
|00003b30| 20 61 6c 6c 20 62 6c 61 | 63 6b 20 69 6e 20 63 61 | all bla|ck in ca|
|00003b40| 73 65 20 75 73 65 72 20 | 75 73 65 64 20 63 6f 6c |se user |used col|
|00003b50| 6f 72 73 0d 73 65 74 73 | 65 6c 65 63 74 28 65 6e |ors.sets|elect(en|
|00003b60| 64 63 68 61 72 6e 75 6d | 2c 65 6e 64 63 68 61 72 |dcharnum|,endchar|
|00003b70| 6e 75 6d 29 0d 63 6c 69 | 70 62 6f 61 72 64 3d 6e |num).cli|pboard=n|
|00003b80| 75 6d 74 6f 63 68 61 72 | 28 31 33 29 2b 6e 75 6d |umtochar|(13)+num|
|00003b90| 74 6f 63 68 61 72 28 31 | 33 29 2b 70 6f 35 74 2f |tochar(1|3)+po5t/|
|00003ba0| 22 78 22 0d 2f 2f 09 74 | 72 79 20 74 6f 20 63 6c |"x".//.t|ry to cl|
|00003bb0| 65 61 72 20 6d 65 6d 6f | 72 79 20 61 6c 73 6f 2c |ear memo|ry also,|
|00003bc0| 20 61 73 20 77 65 20 61 | 72 65 20 69 6e 20 76 65 | as we a|re in ve|
|00003bd0| 72 73 69 6f 6e 2d 73 65 | 6e 73 69 74 69 76 65 20 |rsion-se|nsitive |
|00003be0| 6d 6f 64 65 0d 4d 61 63 | 72 6f 50 61 73 74 65 0d |mode.Mac|roPaste.|
|00003bf0| 53 65 6c 65 63 74 20 41 | 6c 6c 0d 2f 2f 09 6e 6f |Select A|ll.//.no|
|00003c00| 20 69 64 65 61 20 77 68 | 65 74 68 65 72 20 42 6c | idea wh|ether Bl|
|00003c10| 61 63 6b 20 69 73 20 74 | 68 65 20 73 61 6d 65 20 |ack is t|he same |
|00003c20| 69 6e 20 76 2e 33 2f 34 | 2c 20 62 65 74 74 65 72 |in v.3/4|, better|
|00003c30| 20 62 65 20 63 61 72 65 | 66 75 6c 0d 52 65 70 6f | be care|ful.Repo|
|00003c40| 72 74 45 72 72 6f 72 73 | 20 3d 20 66 61 6c 73 65 |rtErrors| = false|
|00003c50| 0d 42 6c 61 63 6b 0d 43 | 6c 65 61 72 20 4d 65 6d |.Black.C|lear Mem|
|00003c60| 6f 72 79 0d 52 65 70 6f | 72 74 45 72 72 6f 72 73 |ory.Repo|rtErrors|
|00003c70| 20 3d 20 74 72 75 65 0d | 73 65 74 73 65 6c 65 63 | = true.|setselec|
|00003c80| 74 28 30 2c 30 29 0d 53 | 61 76 65 0d 2f 2f 09 72 |t(0,0).S|ave.//.r|
|00003c90| 65 2d 6f 70 65 6e 20 6f | 72 69 67 69 6e 61 6c 0d |e-open o|riginal.|
|00003ca0| 63 6c 69 70 62 6f 61 72 | 64 3d 69 74 0d 4f 70 65 |clipboar|d=it.Ope|
|00003cb0| 6e 20 27 5c 43 43 27 0d | 53 65 6e 64 20 42 61 63 |n '\CC'.|Send Bac|
|00003cc0| 6b 0d 30 0d 62 65 65 70 | 0d 62 65 65 70 0d 3a 31 |k.0.beep|.beep.:1|
|00003cd0| 20 22 54 68 65 20 73 63 | 72 69 70 74 20 77 69 6c | "The sc|ript wil|
|00003ce0| 6c 20 6e 6f 77 20 70 72 | 69 6e 74 2e 20 57 68 65 |l now pr|int. Whe|
|00003cf0| 6e 20 64 6f 6e 65 2c 20 | 63 6c 6f 73 65 20 74 68 |n done, |close th|
|00003d00| 69 73 20 74 65 6d 70 6f | 72 61 72 79 20 d2 2e 70 |is tempo|rary ..p|
|00003d10| 6e 74 d3 20 66 69 6c 65 | 20 74 6f 20 64 69 73 63 |nt. file| to disc|
|00003d20| 61 72 64 20 69 74 2e 22 | 0d 50 72 69 6e 74 c9 0d |ard it."|.Print..|
|00003d30| 0d 0d 2f 2f 20 6d 65 6e | 75 20 73 65 70 61 72 61 |..// men|u separa|
|00003d40| 74 6f 72 20 77 69 74 68 | 20 6e 6f 20 6d 61 63 72 |tor with| no macr|
|00003d50| 6f 20 66 75 6e 63 74 69 | 6f 6e 0d 0d 2f 2f 3d 3d |o functi|on..//==|
|00003d60| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00003d70| 3d 3d 20 4d 41 43 52 4f | 20 45 58 54 20 2d 20 44 |== MACRO| EXT - D|
|00003d80| 41 59 0d 2f 2f 09 49 6e | 73 65 72 74 73 20 73 6c |AY.//.In|serts sl|
|00003d90| 75 67 20 6c 69 6e 65 20 | 74 65 6d 70 6c 61 74 65 |ug line |template|
|00003da0| 20 61 6e 64 20 73 65 6c | 65 63 74 73 20 6c 6f 63 | and sel|ects loc|
|00003db0| 61 74 69 6f 6e 20 70 6c | 61 63 65 68 6f 6c 64 65 |ation pl|aceholde|
|00003dc0| 72 20 66 6f 72 20 65 64 | 69 74 69 6e 67 0d 0d 34 |r for ed|iting..4|
|00003dd0| 0d 53 68 6f 77 20 43 6c | 69 70 62 6f 61 72 64 20 |.Show Cl|ipboard |
|00003de0| 22 4f 66 66 22 0d 63 6c | 69 70 62 6f 61 72 64 3d |"Off".cl|ipboard=|
|00003df0| 22 22 0d 63 6c 69 70 62 | 6f 61 72 64 3d 64 6f 63 |"".clipb|oard=doc|
|00003e00| 4e 61 6d 65 0d 69 66 28 | 28 63 6c 69 70 62 6f 61 |Name.if(|(clipboa|
|00003e10| 72 64 3d 3d 22 22 29 20 | 7c 7c 20 28 63 6c 69 70 |rd=="") ||| (clip|
|00003e20| 62 6f 61 72 64 3d 3d 22 | 43 61 74 61 6c 6f 67 22 |board=="|Catalog"|
|00003e30| 29 20 7c 7c 20 28 63 6c | 69 70 62 6f 61 72 64 3d |) || (cl|ipboard=|
|00003e40| 3d 22 46 69 6e 64 20 26 | 20 52 65 70 6c 61 63 65 |="Find &| Replace|
|00003e50| 22 29 20 7c 7c 20 28 63 | 6c 69 70 62 6f 61 72 64 |") || (c|lipboard|
|00003e60| 3d 3d 22 43 68 61 72 61 | 63 74 65 72 20 53 65 74 |=="Chara|cter Set|
|00003e70| 22 29 29 20 67 6f 74 6f | 20 77 61 72 6e 0d 67 6f |")) goto| warn.go|
|00003e80| 74 6f 20 67 6f 74 44 6f | 63 0d 0d 77 61 72 6e 3a |to gotDo|c..warn:|
|00003e90| 0d 62 65 65 70 0d 67 6f | 74 6f 20 66 69 6e 0d 0d |.beep.go|to fin..|
|00003ea0| 67 6f 74 44 6f 63 3a 0d | 74 77 72 64 3d 22 54 68 |gotDoc:.|twrd="Th|
|00003eb0| 61 6e 6b 20 79 6f 75 20 | 66 6f 72 20 75 73 69 6e |ank you |for usin|
|00003ec0| 67 20 4b 44 53 53 2e 20 | 50 6c 65 61 73 65 20 72 |g KDSS. |Please r|
|00003ed0| 65 67 69 73 74 65 72 20 | 74 6f 64 61 79 2e 22 0d |egister |today.".|
|00003ee0| 72 75 6c 65 72 73 52 65 | 63 6f 72 64 65 64 3d 66 |rulersRe|corded=f|
|00003ef0| 61 6c 73 65 20 3b 20 64 | 72 61 66 74 52 75 6c 65 |alse ; d|raftRule|
|00003f00| 72 3d 66 61 6c 73 65 0d | 2f 2f 09 65 6d 70 74 79 |r=false.|//.empty|
|00003f10| 20 63 6c 69 70 73 20 34 | 20 26 20 35 20 62 65 63 | clips 4| & 5 bec|
|00003f20| 61 75 73 65 20 77 65 20 | 6d 61 79 20 6e 65 65 64 |ause we |may need|
|00003f30| 20 74 6f 20 70 75 74 20 | 72 65 74 75 72 6e 73 20 | to put |returns |
|00003f40| 6f 6e 20 74 68 65 6d 0d | 43 6f 70 79 20 22 34 22 |on them.|Copy "4"|
|00003f50| 20 22 22 0d 43 6f 70 79 | 20 22 35 22 20 22 22 0d | "".Copy| "5" "".|
|00003f60| 0d 2f 2f 09 63 61 72 65 | 66 75 6c 20 74 6f 20 64 |.//.care|ful to d|
|00003f70| 69 73 74 69 6e 67 75 69 | 73 68 20 62 65 74 77 65 |istingui|sh betwe|
|00003f80| 65 6e 20 64 72 61 66 74 | 20 61 6e 64 20 61 75 74 |en draft| and aut|
|00003f90| 6f 20 6d 6f 64 65 73 0d | 69 66 28 73 65 6c 65 63 |o modes.|if(selec|
|00003fa0| 74 73 74 61 72 74 21 3d | 73 65 6c 65 63 74 65 6e |tstart!=|selecten|
|00003fb0| 64 29 20 67 6f 74 6f 20 | 70 61 72 61 31 0d 69 66 |d) goto |para1.if|
|00003fc0| 28 72 75 6c 65 72 4e 61 | 6d 65 3d 3d 22 64 72 61 |(rulerNa|me=="dra|
|00003fd0| 66 74 22 29 20 64 72 61 | 66 74 52 75 6c 65 72 3d |ft") dra|ftRuler=|
|00003fe0| 74 72 75 65 0d 67 6f 74 | 6f 20 61 66 74 65 72 63 |true.got|o afterc|
|00003ff0| 6c 65 61 72 0d 70 61 72 | 61 31 3a 0d 36 0d 4d 61 |lear.par|a1:.6.Ma|
|00004000| 63 72 6f 43 6f 70 79 0d | 2f 2f 09 61 6e 79 20 72 |croCopy.|//.any r|
|00004010| 65 74 75 72 6e 73 20 73 | 65 6c 65 63 74 65 64 3f |eturns s|elected?|
|00004020| 0d 69 66 28 63 6c 69 70 | 62 6f 61 72 64 21 3d 63 |.if(clip|board!=c|
|00004030| 6c 69 70 62 6f 61 72 64 | 2f 6e 75 6d 54 6f 43 68 |lipboard|/numToCh|
|00004040| 61 72 28 31 33 29 29 20 | 67 6f 74 6f 20 70 61 72 |ar(13)) |goto par|
|00004050| 61 32 0d 69 66 28 72 75 | 6c 65 72 4e 61 6d 65 3d |a2.if(ru|lerName=|
|00004060| 3d 22 64 72 61 66 74 22 | 29 20 64 72 61 66 74 52 |="draft"|) draftR|
|00004070| 75 6c 65 72 3d 74 72 75 | 65 0d 67 6f 74 6f 20 63 |uler=tru|e.goto c|
|00004080| 6c 65 61 72 49 74 0d 70 | 61 72 61 32 3a 0d 2f 2f |learIt.p|ara2:.//|
|00004090| 09 72 65 63 6f 72 64 20 | 72 75 6c 65 72 73 20 6f |.record |rulers o|
|000040a0| 66 20 73 75 72 72 6f 75 | 6e 64 69 6e 67 20 74 65 |f surrou|nding te|
|000040b0| 78 74 2c 20 73 74 79 6c | 65 20 61 73 20 64 72 61 |xt, styl|e as dra|
|000040c0| 66 74 0d 73 3d 73 65 6c | 65 63 74 73 74 61 72 74 |ft.s=sel|ectstart|
|000040d0| 20 3b 20 65 3d 73 65 6c | 65 63 74 65 6e 64 0d 73 | ; e=sel|ectend.s|
|000040e0| 65 74 73 65 6c 65 63 74 | 28 73 2d 31 2c 73 2d 31 |etselect|(s-1,s-1|
|000040f0| 29 0d 73 72 3d 72 75 6c | 65 72 4e 61 6d 65 0d 73 |).sr=rul|erName.s|
|00004100| 65 74 73 65 6c 65 63 74 | 28 65 2b 31 2c 65 2b 31 |etselect|(e+1,e+1|
|00004110| 29 0d 65 72 3d 72 75 6c | 65 72 4e 61 6d 65 0d 73 |).er=rul|erName.s|
|00004120| 65 74 73 65 6c 65 63 74 | 28 73 2c 65 29 0d 72 75 |etselect|(s,e).ru|
|00004130| 6c 65 72 73 52 65 63 6f | 72 64 65 64 3d 74 72 75 |lersReco|rded=tru|
|00004140| 65 0d 69 66 28 28 65 72 | 3d 3d 22 64 72 61 66 74 |e.if((er|=="draft|
|00004150| 22 29 20 26 26 20 28 65 | 72 3d 3d 73 72 29 20 26 |") && (e|r==sr) &|
|00004160| 26 20 28 72 75 6c 65 72 | 4e 61 6d 65 3d 3d 22 64 |& (ruler|Name=="d|
|00004170| 72 61 66 74 22 29 29 20 | 64 72 61 66 74 52 75 6c |raft")) |draftRul|
|00004180| 65 72 3d 74 72 75 65 20 | 3b 20 67 6f 74 6f 20 63 |er=true |; goto c|
|00004190| 6c 65 61 72 49 74 0d 65 | 6e 64 0d 64 72 61 66 74 |learIt.e|nd.draft|
|000041a0| 0d 0d 63 6c 65 61 72 49 | 74 3a 0d 43 6c 65 61 72 |..clearI|t:.Clear|
|000041b0| 0d 0d 61 66 74 65 72 63 | 6c 65 61 72 3a 0d 69 66 |..afterc|lear:.if|
|000041c0| 28 28 74 77 72 64 2f 22 | 66 6f 72 22 29 3d 3d 74 |((twrd/"|for")==t|
|000041d0| 77 72 64 29 20 67 6f 74 | 6f 20 66 69 6e 0d 69 66 |wrd) got|o fin.if|
|000041e0| 28 21 6c 69 6e 65 43 68 | 61 72 4e 75 6d 29 20 67 |(!lineCh|arNum) g|
|000041f0| 6f 74 6f 20 61 66 74 65 | 72 34 0d 43 6f 70 79 20 |oto afte|r4.Copy |
|00004200| 22 34 22 20 22 5c 72 22 | 0d 0d 61 66 74 65 72 34 |"4" "\r"|..after4|
|00004210| 3a 0d 6c 6e 3d 6c 69 6e | 65 4e 75 6d 0d 69 66 28 |:.ln=lin|eNum.if(|
|00004220| 63 68 61 72 6e 75 6d 3d | 3d 65 6e 64 63 68 61 72 |charnum=|=endchar|
|00004230| 6e 75 6d 29 20 67 6f 74 | 6f 20 61 66 74 65 72 4b |num) got|o afterK|
|00004240| 65 79 31 0d 4b 65 79 20 | 1d 0d 69 66 28 6c 6e 21 |ey1.Key |..if(ln!|
|00004250| 3d 6c 69 6e 65 4e 75 6d | 29 20 67 6f 74 6f 20 61 |=lineNum|) goto a|
|00004260| 66 74 65 72 35 0d 43 6f | 70 79 20 22 35 22 20 22 |fter5.Co|py "5" "|
|00004270| 5c 72 22 0d 0d 61 66 74 | 65 72 35 3a 0d 4b 65 79 |\r"..aft|er5:.Key|
|00004280| 20 1c 0d 61 66 74 65 72 | 4b 65 79 31 3a 0d 52 65 | ..after|Key1:.Re|
|00004290| 70 6c 61 63 65 20 57 69 | 74 68 20 27 5c 43 34 45 |place Wi|th '\C4E|
|000042a0| 78 74 5c 2e 5c 73 4c 6f | 63 61 74 69 6f 6e 5c 73 |xt\.\sLo|cation\s|
|000042b0| 5c 2d 5c 73 44 61 79 5c | 43 35 27 20 22 6f 4f 2d |\-\sDay\|C5' "oO-|
|000042c0| 41 69 2d 77 74 2d 47 67 | 22 0d 0d 2f 2f 09 72 65 |Ai-wt-Gg|"..//.re|
|000042d0| 61 70 70 6c 79 20 73 74 | 79 6c 65 73 20 74 6f 20 |apply st|yles to |
|000042e0| 73 75 72 72 6f 75 6e 64 | 69 6e 67 20 70 61 72 61 |surround|ing para|
|000042f0| 73 0d 69 66 28 28 21 72 | 75 6c 65 72 73 52 65 63 |s.if((!r|ulersRec|
|00004300| 6f 72 64 65 64 29 20 7c | 7c 20 28 64 72 61 66 74 |orded) ||| (draft|
|00004310| 52 75 6c 65 72 29 29 20 | 67 6f 74 6f 20 61 66 74 |Ruler)) |goto aft|
|00004320| 65 72 73 32 0d 73 3d 73 | 65 6c 65 63 74 73 74 61 |ers2.s=s|electsta|
|00004330| 72 74 0d 65 3d 73 65 6c | 65 63 74 65 6e 64 0d 73 |rt.e=sel|ectend.s|
|00004340| 65 74 73 65 6c 65 63 74 | 28 73 2d 31 2c 73 2d 31 |etselect|(s-1,s-1|
|00004350| 29 0d 63 6c 69 70 62 6f | 61 72 64 3d 73 72 0d 65 |).clipbo|ard=sr.e|
|00004360| 6e 64 0d 45 78 65 63 75 | 74 65 20 53 65 6c 65 63 |nd.Execu|te Selec|
|00004370| 74 69 6f 6e 20 27 5c 43 | 43 27 0d 73 65 74 73 65 |tion '\C|C'.setse|
|00004380| 6c 65 63 74 28 65 2b 31 | 2c 65 2b 31 29 0d 63 6c |lect(e+1|,e+1).cl|
|00004390| 69 70 62 6f 61 72 64 3d | 65 72 0d 65 6e 64 0d 45 |ipboard=|er.end.E|
|000043a0| 78 65 63 75 74 65 20 53 | 65 6c 65 63 74 69 6f 6e |xecute S|election|
|000043b0| 20 27 5c 43 43 27 0d 73 | 65 74 73 65 6c 65 63 74 | '\CC'.s|etselect|
|000043c0| 28 73 2c 65 29 0d 0d 61 | 66 74 65 72 73 32 3a 0d |(s,e)..a|fters2:.|
|000043d0| 62 65 65 70 0d 63 6c 69 | 70 62 6f 61 72 64 3d 74 |beep.cli|pboard=t|
|000043e0| 77 72 64 0d 3a 31 20 27 | 5c 43 43 27 0d 46 69 6e |wrd.:1 '|\CC'.Fin|
|000043f0| 64 20 69 6e 20 53 65 6c | 65 63 74 69 6f 6e 20 22 |d in Sel|ection "|
|00004400| 4c 6f 63 61 74 69 6f 6e | 22 20 22 6f 4f 2d 41 2d |Location|" "oO-A-|
|00004410| 77 74 2d 47 67 22 0d 2f | 2f 09 61 6e 6f 74 68 65 |wt-Gg"./|/.anothe|
|00004420| 72 20 73 74 79 6c 65 20 | 6d 75 73 74 20 62 65 20 |r style |must be |
|00004430| 61 70 70 6c 69 65 64 20 | 66 69 72 73 74 20 73 6f |applied |first so|
|00004440| 20 74 68 61 74 20 74 68 | 65 20 6e 65 78 74 20 77 | that th|e next w|
|00004450| 6f 72 6b 73 20 69 6e 20 | 61 6e 79 20 63 6f 6e 74 |orks in |any cont|
|00004460| 65 78 74 0d 69 66 28 64 | 72 61 66 74 52 75 6c 65 |ext.if(d|raftRule|
|00004470| 72 29 20 67 6f 74 6f 20 | 66 69 6e 0d 61 63 74 69 |r) goto |fin.acti|
|00004480| 6f 6e 0d 73 6c 75 67 20 | 6c 69 6e 65 0d 0d 66 69 |on.slug |line..fi|
|00004490| 6e 3a 0d 30 0d 0d 2f 2f | 3d 3d 3d 3d 3d 3d 3d 3d |n:.0..//|========|
|000044a0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 20 4d 41 43 |========|==== MAC|
|000044b0| 52 4f 20 45 58 54 20 2d | 20 4e 49 47 48 54 0d 2f |RO EXT -| NIGHT./|
|000044c0| 2f 09 49 6e 73 65 72 74 | 73 20 73 6c 75 67 20 6c |/.Insert|s slug l|
|000044d0| 69 6e 65 20 74 65 6d 70 | 6c 61 74 65 20 61 6e 64 |ine temp|late and|
|000044e0| 20 73 65 6c 65 63 74 73 | 20 6c 6f 63 61 74 69 6f | selects| locatio|
|000044f0| 6e 20 70 6c 61 63 65 68 | 6f 6c 64 65 72 20 66 6f |n placeh|older fo|
|00004500| 72 20 65 64 69 74 69 6e | 67 0d 0d 34 0d 74 77 72 |r editin|g..4.twr|
|00004510| 72 3d 22 52 65 67 69 73 | 74 65 72 20 74 6f 20 61 |r="Regis|ter to a|
|00004520| 76 6f 69 64 20 74 68 65 | 20 72 65 6d 69 6e 64 65 |void the| reminde|
|00004530| 72 73 2e 22 0d 53 68 6f | 77 20 43 6c 69 70 62 6f |rs.".Sho|w Clipbo|
|00004540| 61 72 64 20 22 4f 66 66 | 22 0d 63 6c 69 70 62 6f |ard "Off|".clipbo|
|00004550| 61 72 64 3d 22 22 0d 63 | 6c 69 70 62 6f 61 72 64 |ard="".c|lipboard|
|00004560| 3d 64 6f 63 4e 61 6d 65 | 0d 64 71 3d 6e 75 6d 74 |=docName|.dq=numt|
|00004570| 6f 63 68 61 72 28 33 34 | 29 0d 69 66 28 28 63 6c |ochar(34|).if((cl|
|00004580| 69 70 62 6f 61 72 64 3d | 3d 22 22 29 20 7c 7c 20 |ipboard=|="") || |
|00004590| 28 63 6c 69 70 62 6f 61 | 72 64 3d 3d 22 43 61 74 |(clipboa|rd=="Cat|
|000045a0| 61 6c 6f 67 22 29 20 7c | 7c 20 28 63 6c 69 70 62 |alog") ||| (clipb|
|000045b0| 6f 61 72 64 3d 3d 22 46 | 69 6e 64 20 26 20 52 65 |oard=="F|ind & Re|
|000045c0| 70 6c 61 63 65 22 29 20 | 7c 7c 20 28 63 6c 69 70 |place") ||| (clip|
|000045d0| 62 6f 61 72 64 3d 3d 22 | 43 68 61 72 61 63 74 65 |board=="|Characte|
|000045e0| 72 20 53 65 74 22 29 29 | 20 67 6f 74 6f 20 77 61 |r Set"))| goto wa|
|000045f0| 72 6e 0d 62 65 65 70 0d | 67 6f 74 6f 20 67 6f 74 |rn.beep.|goto got|
|00004600| 44 6f 63 0d 0d 77 61 72 | 6e 3a 0d 62 65 65 70 0d |Doc..war|n:.beep.|
|00004610| 67 6f 74 6f 20 66 69 6e | 0d 0d 67 6f 74 44 6f 63 |goto fin|..gotDoc|
|00004620| 3a 0d 63 6c 69 70 62 6f | 61 72 64 3d 22 3a 22 2b |:.clipbo|ard=":"+|
|00004630| 22 31 20 22 2b 64 71 2b | 74 77 72 72 2b 64 71 0d |"1 "+dq+|twrr+dq.|
|00004640| 72 75 6c 65 72 73 52 65 | 63 6f 72 64 65 64 3d 66 |rulersRe|corded=f|
|00004650| 61 6c 73 65 20 3b 20 64 | 72 61 66 74 52 75 6c 65 |alse ; d|raftRule|
|00004660| 72 3d 66 61 6c 73 65 0d | 2f 2f 09 65 6d 70 74 79 |r=false.|//.empty|
|00004670| 20 63 6c 69 70 73 20 34 | 20 26 20 35 20 62 65 63 | clips 4| & 5 bec|
|00004680| 61 75 73 65 20 77 65 20 | 6d 61 79 20 6e 65 65 64 |ause we |may need|
|00004690| 20 74 6f 20 70 75 74 20 | 72 65 74 75 72 6e 73 20 | to put |returns |
|000046a0| 6f 6e 20 74 68 65 6d 0d | 45 78 65 63 75 74 65 20 |on them.|Execute |
|000046b0| 53 65 6c 65 63 74 69 6f | 6e 20 27 5c 43 43 27 0d |Selectio|n '\CC'.|
|000046c0| 43 6f 70 79 20 22 34 22 | 20 22 22 0d 43 6f 70 79 |Copy "4"| "".Copy|
|000046d0| 20 22 35 22 20 22 22 0d | 0d 2f 2f 09 63 61 72 65 | "5" "".|.//.care|
|000046e0| 66 75 6c 20 74 6f 20 64 | 69 73 74 69 6e 67 75 69 |ful to d|istingui|
|000046f0| 73 68 20 62 65 74 77 65 | 65 6e 20 64 72 61 66 74 |sh betwe|en draft|
|00004700| 20 61 6e 64 20 61 75 74 | 6f 20 6d 6f 64 65 73 0d | and aut|o modes.|
|00004710| 69 66 28 73 65 6c 65 63 | 74 73 74 61 72 74 21 3d |if(selec|tstart!=|
|00004720| 73 65 6c 65 63 74 65 6e | 64 29 20 67 6f 74 6f 20 |selecten|d) goto |
|00004730| 70 61 72 61 31 0d 69 66 | 28 72 75 6c 65 72 4e 61 |para1.if|(rulerNa|
|00004740| 6d 65 3d 3d 22 64 72 61 | 66 74 22 29 20 64 72 61 |me=="dra|ft") dra|
|00004750| 66 74 52 75 6c 65 72 3d | 74 72 75 65 0d 67 6f 74 |ftRuler=|true.got|
|00004760| 6f 20 61 66 74 65 72 63 | 6c 65 61 72 0d 70 61 72 |o afterc|lear.par|
|00004770| 61 31 3a 0d 36 0d 4d 61 | 63 72 6f 43 6f 70 79 0d |a1:.6.Ma|croCopy.|
|00004780| 2f 2f 09 61 6e 79 20 72 | 65 74 75 72 6e 73 20 73 |//.any r|eturns s|
|00004790| 65 6c 65 63 74 65 64 3f | 0d 69 66 28 63 6c 69 70 |elected?|.if(clip|
|000047a0| 62 6f 61 72 64 21 3d 63 | 6c 69 70 62 6f 61 72 64 |board!=c|lipboard|
|000047b0| 2f 6e 75 6d 54 6f 43 68 | 61 72 28 31 33 29 29 20 |/numToCh|ar(13)) |
|000047c0| 67 6f 74 6f 20 70 61 72 | 61 32 0d 69 66 28 72 75 |goto par|a2.if(ru|
|000047d0| 6c 65 72 4e 61 6d 65 3d | 3d 22 64 72 61 66 74 22 |lerName=|="draft"|
|000047e0| 29 20 64 72 61 66 74 52 | 75 6c 65 72 3d 74 72 75 |) draftR|uler=tru|
|000047f0| 65 0d 67 6f 74 6f 20 63 | 6c 65 61 72 49 74 0d 70 |e.goto c|learIt.p|
|00004800| 61 72 61 32 3a 0d 2f 2f | 09 72 65 63 6f 72 64 20 |ara2:.//|.record |
|00004810| 72 75 6c 65 72 73 20 6f | 66 20 73 75 72 72 6f 75 |rulers o|f surrou|
|00004820| 6e 64 69 6e 67 20 74 65 | 78 74 2c 20 73 74 79 6c |nding te|xt, styl|
|00004830| 65 20 61 73 20 64 72 61 | 66 74 0d 73 3d 73 65 6c |e as dra|ft.s=sel|
|00004840| 65 63 74 73 74 61 72 74 | 20 3b 20 65 3d 73 65 6c |ectstart| ; e=sel|
|00004850| 65 63 74 65 6e 64 0d 73 | 65 74 73 65 6c 65 63 74 |ectend.s|etselect|
|00004860| 28 73 2d 31 2c 73 2d 31 | 29 0d 73 72 3d 72 75 6c |(s-1,s-1|).sr=rul|
|00004870| 65 72 4e 61 6d 65 0d 73 | 65 74 73 65 6c 65 63 74 |erName.s|etselect|
|00004880| 28 65 2b 31 2c 65 2b 31 | 29 0d 65 72 3d 72 75 6c |(e+1,e+1|).er=rul|
|00004890| 65 72 4e 61 6d 65 0d 73 | 65 74 73 65 6c 65 63 74 |erName.s|etselect|
|000048a0| 28 73 2c 65 29 0d 72 75 | 6c 65 72 73 52 65 63 6f |(s,e).ru|lersReco|
|000048b0| 72 64 65 64 3d 74 72 75 | 65 0d 69 66 28 28 65 72 |rded=tru|e.if((er|
|000048c0| 3d 3d 22 64 72 61 66 74 | 22 29 20 26 26 20 28 65 |=="draft|") && (e|
|000048d0| 72 3d 3d 73 72 29 20 26 | 26 20 28 72 75 6c 65 72 |r==sr) &|& (ruler|
|000048e0| 4e 61 6d 65 3d 3d 22 64 | 72 61 66 74 22 29 29 20 |Name=="d|raft")) |
|000048f0| 64 72 61 66 74 52 75 6c | 65 72 3d 74 72 75 65 20 |draftRul|er=true |
|00004900| 3b 20 67 6f 74 6f 20 63 | 6c 65 61 72 49 74 0d 65 |; goto c|learIt.e|
|00004910| 6e 64 0d 64 72 61 66 74 | 0d 0d 63 6c 65 61 72 49 |nd.draft|..clearI|
|00004920| 74 3a 0d 43 6c 65 61 72 | 0d 0d 61 66 74 65 72 63 |t:.Clear|..afterc|
|00004930| 6c 65 61 72 3a 0d 69 66 | 28 21 6c 69 6e 65 43 68 |lear:.if|(!lineCh|
|00004940| 61 72 4e 75 6d 29 20 67 | 6f 74 6f 20 61 66 74 65 |arNum) g|oto afte|
|00004950| 72 34 0d 43 6f 70 79 20 | 22 34 22 20 22 5c 72 22 |r4.Copy |"4" "\r"|
|00004960| 0d 0d 61 66 74 65 72 34 | 3a 0d 6c 6e 3d 6c 69 6e |..after4|:.ln=lin|
|00004970| 65 4e 75 6d 0d 69 66 28 | 63 68 61 72 6e 75 6d 3d |eNum.if(|charnum=|
|00004980| 3d 65 6e 64 63 68 61 72 | 6e 75 6d 29 20 67 6f 74 |=endchar|num) got|
|00004990| 6f 20 61 66 74 65 72 4b | 65 79 31 0d 4b 65 79 20 |o afterK|ey1.Key |
|000049a0| 1d 0d 69 66 28 6c 6e 21 | 3d 6c 69 6e 65 4e 75 6d |..if(ln!|=lineNum|
|000049b0| 29 20 67 6f 74 6f 20 61 | 66 74 65 72 35 0d 43 6f |) goto a|fter5.Co|
|000049c0| 70 79 20 22 35 22 20 22 | 5c 72 22 0d 0d 61 66 74 |py "5" "|\r"..aft|
|000049d0| 65 72 35 3a 0d 4b 65 79 | 20 1c 0d 61 66 74 65 72 |er5:.Key| ..after|
|000049e0| 4b 65 79 31 3a 0d 69 66 | 28 28 74 77 72 72 2f 22 |Key1:.if|((twrr/"|
|000049f0| 76 6f 69 64 22 29 3d 3d | 74 77 72 72 29 20 67 6f |void")==|twrr) go|
|00004a00| 74 6f 20 66 69 6e 0d 52 | 65 70 6c 61 63 65 20 57 |to fin.R|eplace W|
|00004a10| 69 74 68 20 27 5c 43 34 | 45 78 74 5c 2e 5c 73 4c |ith '\C4|Ext\.\sL|
|00004a20| 6f 63 61 74 69 6f 6e 5c | 73 5c 2d 5c 73 4e 69 67 |ocation\|s\-\sNig|
|00004a30| 68 74 5c 43 35 27 20 22 | 6f 4f 2d 41 69 2d 77 74 |ht\C5' "|oO-Ai-wt|
|00004a40| 2d 47 67 22 0d 0d 2f 2f | 09 72 65 61 70 70 6c 79 |-Gg"..//|.reapply|
|00004a50| 20 73 74 79 6c 65 73 20 | 74 6f 20 73 75 72 72 6f | styles |to surro|
|00004a60| 75 6e 64 69 6e 67 20 70 | 61 72 61 73 0d 69 66 28 |unding p|aras.if(|
|00004a70| 28 21 72 75 6c 65 72 73 | 52 65 63 6f 72 64 65 64 |(!rulers|Recorded|
|00004a80| 29 20 7c 7c 20 28 64 72 | 61 66 74 52 75 6c 65 72 |) || (dr|aftRuler|
|00004a90| 29 29 20 67 6f 74 6f 20 | 61 66 74 65 72 73 32 0d |)) goto |afters2.|
|00004aa0| 73 3d 73 65 6c 65 63 74 | 73 74 61 72 74 0d 65 3d |s=select|start.e=|
|00004ab0| 73 65 6c 65 63 74 65 6e | 64 0d 73 65 74 73 65 6c |selecten|d.setsel|
|00004ac0| 65 63 74 28 73 2d 31 2c | 73 2d 31 29 0d 63 6c 69 |ect(s-1,|s-1).cli|
|00004ad0| 70 62 6f 61 72 64 3d 73 | 72 0d 65 6e 64 0d 45 78 |pboard=s|r.end.Ex|
|00004ae0| 65 63 75 74 65 20 53 65 | 6c 65 63 74 69 6f 6e 20 |ecute Se|lection |
|00004af0| 27 5c 43 43 27 0d 73 65 | 74 73 65 6c 65 63 74 28 |'\CC'.se|tselect(|
|00004b00| 65 2b 31 2c 65 2b 31 29 | 0d 63 6c 69 70 62 6f 61 |e+1,e+1)|.clipboa|
|00004b10| 72 64 3d 65 72 0d 65 6e | 64 0d 45 78 65 63 75 74 |rd=er.en|d.Execut|
|00004b20| 65 20 53 65 6c 65 63 74 | 69 6f 6e 20 27 5c 43 43 |e Select|ion '\CC|
|00004b30| 27 0d 73 65 74 73 65 6c | 65 63 74 28 73 2c 65 29 |'.setsel|ect(s,e)|
|00004b40| 0d 0d 61 66 74 65 72 73 | 32 3a 0d 46 69 6e 64 20 |..afters|2:.Find |
|00004b50| 69 6e 20 53 65 6c 65 63 | 74 69 6f 6e 20 22 4c 6f |in Selec|tion "Lo|
|00004b60| 63 61 74 69 6f 6e 22 20 | 22 6f 4f 2d 41 2d 77 74 |cation" |"oO-A-wt|
|00004b70| 2d 47 67 22 0d 2f 2f 09 | 61 6e 6f 74 68 65 72 20 |-Gg".//.|another |
|00004b80| 73 74 79 6c 65 20 6d 75 | 73 74 20 62 65 20 61 70 |style mu|st be ap|
|00004b90| 70 6c 69 65 64 20 66 69 | 72 73 74 20 73 6f 20 74 |plied fi|rst so t|
|00004ba0| 68 61 74 20 74 68 65 20 | 6e 65 78 74 20 77 6f 72 |hat the |next wor|
|00004bb0| 6b 73 20 69 6e 20 61 6e | 79 20 63 6f 6e 74 65 78 |ks in an|y contex|
|00004bc0| 74 0d 69 66 28 64 72 61 | 66 74 52 75 6c 65 72 29 |t.if(dra|ftRuler)|
|00004bd0| 20 67 6f 74 6f 20 66 69 | 6e 0d 61 63 74 69 6f 6e | goto fi|n.action|
|00004be0| 0d 73 6c 75 67 20 6c 69 | 6e 65 0d 0d 66 69 6e 3a |.slug li|ne..fin:|
|00004bf0| 0d 30 0d 0d 2f 2f 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |.0..//==|========|
|00004c00| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 20 4d 41 43 52 4f |========|== MACRO|
|00004c10| 20 49 4e 54 20 2d 20 44 | 41 59 0d 2f 2f 09 49 6e | INT - D|AY.//.In|
|00004c20| 73 65 72 74 73 20 73 6c | 75 67 20 6c 69 6e 65 20 |serts sl|ug line |
|00004c30| 74 65 6d 70 6c 61 74 65 | 20 61 6e 64 20 73 65 6c |template| and sel|
|00004c40| 65 63 74 73 20 6c 6f 63 | 61 74 69 6f 6e 20 70 6c |ects loc|ation pl|
|00004c50| 61 63 65 68 6f 6c 64 65 | 72 20 66 6f 72 20 65 64 |aceholde|r for ed|
|00004c60| 69 74 69 6e 67 0d 0d 34 | 0d 53 68 6f 77 20 43 6c |iting..4|.Show Cl|
|00004c70| 69 70 62 6f 61 72 64 20 | 22 4f 66 66 22 0d 63 6c |ipboard |"Off".cl|
|00004c80| 69 70 62 6f 61 72 64 3d | 22 22 0d 63 6c 69 70 62 |ipboard=|"".clipb|
|00004c90| 6f 61 72 64 3d 64 6f 63 | 4e 61 6d 65 0d 69 66 28 |oard=doc|Name.if(|
|00004ca0| 28 63 6c 69 70 62 6f 61 | 72 64 3d 3d 22 22 29 20 |(clipboa|rd=="") |
|00004cb0| 7c 7c 20 28 63 6c 69 70 | 62 6f 61 72 64 3d 3d 22 ||| (clip|board=="|
|00004cc0| 43 61 74 61 6c 6f 67 22 | 29 20 7c 7c 20 28 63 6c |Catalog"|) || (cl|
|00004cd0| 69 70 62 6f 61 72 64 3d | 3d 22 46 69 6e 64 20 26 |ipboard=|="Find &|
|00004ce0| 20 52 65 70 6c 61 63 65 | 22 29 20 7c 7c 20 28 63 | Replace|") || (c|
|00004cf0| 6c 69 70 62 6f 61 72 64 | 3d 3d 22 43 68 61 72 61 |lipboard|=="Chara|
|00004d00| 63 74 65 72 20 53 65 74 | 22 29 29 20 67 6f 74 6f |cter Set|")) goto|
|00004d10| 20 77 61 72 6e 0d 67 6f | 74 6f 20 67 6f 74 44 6f | warn.go|to gotDo|
|00004d20| 63 0d 0d 77 61 72 6e 3a | 0d 62 65 65 70 0d 67 6f |c..warn:|.beep.go|
|00004d30| 74 6f 20 66 69 6e 0d 0d | 67 6f 74 44 6f 63 3a 0d |to fin..|gotDoc:.|
|00004d40| 72 75 6c 65 72 73 52 65 | 63 6f 72 64 65 64 3d 66 |rulersRe|corded=f|
|00004d50| 61 6c 73 65 20 3b 20 64 | 72 61 66 74 52 75 6c 65 |alse ; d|raftRule|
|00004d60| 72 3d 66 61 6c 73 65 0d | 2f 2f 09 65 6d 70 74 79 |r=false.|//.empty|
|00004d70| 20 63 6c 69 70 73 20 34 | 20 26 20 35 20 62 65 63 | clips 4| & 5 bec|
|00004d80| 61 75 73 65 20 77 65 20 | 6d 61 79 20 6e 65 65 64 |ause we |may need|
|00004d90| 20 74 6f 20 70 75 74 20 | 72 65 74 75 72 6e 73 20 | to put |returns |
|00004da0| 6f 6e 20 74 68 65 6d 0d | 43 6f 70 79 20 22 34 22 |on them.|Copy "4"|
|00004db0| 20 22 22 0d 43 6f 70 79 | 20 22 35 22 20 22 22 0d | "".Copy| "5" "".|
|00004dc0| 0d 2f 2f 09 63 61 72 65 | 66 75 6c 20 74 6f 20 64 |.//.care|ful to d|
|00004dd0| 69 73 74 69 6e 67 75 69 | 73 68 20 62 65 74 77 65 |istingui|sh betwe|
|00004de0| 65 6e 20 64 72 61 66 74 | 20 61 6e 64 20 61 75 74 |en draft| and aut|
|00004df0| 6f 20 6d 6f 64 65 73 0d | 69 66 28 73 65 6c 65 63 |o modes.|if(selec|
|00004e00| 74 73 74 61 72 74 21 3d | 73 65 6c 65 63 74 65 6e |tstart!=|selecten|
|00004e10| 64 29 20 67 6f 74 6f 20 | 70 61 72 61 31 0d 69 66 |d) goto |para1.if|
|00004e20| 28 72 75 6c 65 72 4e 61 | 6d 65 3d 3d 22 64 72 61 |(rulerNa|me=="dra|
|00004e30| 66 74 22 29 20 64 72 61 | 66 74 52 75 6c 65 72 3d |ft") dra|ftRuler=|
|00004e40| 74 72 75 65 0d 67 6f 74 | 6f 20 61 66 74 65 72 63 |true.got|o afterc|
|00004e50| 6c 65 61 72 0d 70 61 72 | 61 31 3a 0d 36 0d 4d 61 |lear.par|a1:.6.Ma|
|00004e60| 63 72 6f 43 6f 70 79 0d | 2f 2f 09 61 6e 79 20 72 |croCopy.|//.any r|
|00004e70| 65 74 75 72 6e 73 20 73 | 65 6c 65 63 74 65 64 3f |eturns s|elected?|
|00004e80| 0d 69 66 28 63 6c 69 70 | 62 6f 61 72 64 21 3d 63 |.if(clip|board!=c|
|00004e90| 6c 69 70 62 6f 61 72 64 | 2f 6e 75 6d 54 6f 43 68 |lipboard|/numToCh|
|00004ea0| 61 72 28 31 33 29 29 20 | 67 6f 74 6f 20 70 61 72 |ar(13)) |goto par|
|00004eb0| 61 32 0d 69 66 28 72 75 | 6c 65 72 4e 61 6d 65 3d |a2.if(ru|lerName=|
|00004ec0| 3d 22 64 72 61 66 74 22 | 29 20 64 72 61 66 74 52 |="draft"|) draftR|
|00004ed0| 75 6c 65 72 3d 74 72 75 | 65 0d 67 6f 74 6f 20 63 |uler=tru|e.goto c|
|00004ee0| 6c 65 61 72 49 74 0d 70 | 61 72 61 32 3a 0d 2f 2f |learIt.p|ara2:.//|
|00004ef0| 09 72 65 63 6f 72 64 20 | 72 75 6c 65 72 73 20 6f |.record |rulers o|
|00004f00| 66 20 73 75 72 72 6f 75 | 6e 64 69 6e 67 20 74 65 |f surrou|nding te|
|00004f10| 78 74 2c 20 73 74 79 6c | 65 20 61 73 20 64 72 61 |xt, styl|e as dra|
|00004f20| 66 74 0d 73 3d 73 65 6c | 65 63 74 73 74 61 72 74 |ft.s=sel|ectstart|
|00004f30| 20 3b 20 65 3d 73 65 6c | 65 63 74 65 6e 64 0d 73 | ; e=sel|ectend.s|
|00004f40| 65 74 73 65 6c 65 63 74 | 28 73 2d 31 2c 73 2d 31 |etselect|(s-1,s-1|
|00004f50| 29 0d 73 72 3d 72 75 6c | 65 72 4e 61 6d 65 0d 73 |).sr=rul|erName.s|
|00004f60| 65 74 73 65 6c 65 63 74 | 28 65 2b 31 2c 65 2b 31 |etselect|(e+1,e+1|
|00004f70| 29 0d 65 72 3d 72 75 6c | 65 72 4e 61 6d 65 0d 73 |).er=rul|erName.s|
|00004f80| 65 74 73 65 6c 65 63 74 | 28 73 2c 65 29 0d 72 75 |etselect|(s,e).ru|
|00004f90| 6c 65 72 73 52 65 63 6f | 72 64 65 64 3d 74 72 75 |lersReco|rded=tru|
|00004fa0| 65 0d 69 66 28 28 65 72 | 3d 3d 22 64 72 61 66 74 |e.if((er|=="draft|
|00004fb0| 22 29 20 26 26 20 28 65 | 72 3d 3d 73 72 29 20 26 |") && (e|r==sr) &|
|00004fc0| 26 20 28 72 75 6c 65 72 | 4e 61 6d 65 3d 3d 22 64 |& (ruler|Name=="d|
|00004fd0| 72 61 66 74 22 29 29 20 | 64 72 61 66 74 52 75 6c |raft")) |draftRul|
|00004fe0| 65 72 3d 74 72 75 65 20 | 3b 20 67 6f 74 6f 20 63 |er=true |; goto c|
|00004ff0| 6c 65 61 72 49 74 0d 65 | 6e 64 0d 64 72 61 66 74 |learIt.e|nd.draft|
|00005000| 0d 0d 63 6c 65 61 72 49 | 74 3a 0d 43 6c 65 61 72 |..clearI|t:.Clear|
|00005010| 0d 0d 61 66 74 65 72 63 | 6c 65 61 72 3a 0d 69 66 |..afterc|lear:.if|
|00005020| 28 21 6c 69 6e 65 43 68 | 61 72 4e 75 6d 29 20 67 |(!lineCh|arNum) g|
|00005030| 6f 74 6f 20 61 66 74 65 | 72 34 0d 43 6f 70 79 20 |oto afte|r4.Copy |
|00005040| 22 34 22 20 22 5c 72 22 | 0d 0d 61 66 74 65 72 34 |"4" "\r"|..after4|
|00005050| 3a 0d 6c 6e 3d 6c 69 6e | 65 4e 75 6d 0d 69 66 28 |:.ln=lin|eNum.if(|
|00005060| 63 68 61 72 6e 75 6d 3d | 3d 65 6e 64 63 68 61 72 |charnum=|=endchar|
|00005070| 6e 75 6d 29 20 67 6f 74 | 6f 20 61 66 74 65 72 4b |num) got|o afterK|
|00005080| 65 79 31 0d 4b 65 79 20 | 1d 0d 69 66 28 6c 6e 21 |ey1.Key |..if(ln!|
|00005090| 3d 6c 69 6e 65 4e 75 6d | 29 20 67 6f 74 6f 20 61 |=lineNum|) goto a|
|000050a0| 66 74 65 72 35 0d 43 6f | 70 79 20 22 35 22 20 22 |fter5.Co|py "5" "|
|000050b0| 5c 72 22 0d 0d 61 66 74 | 65 72 35 3a 0d 4b 65 79 |\r"..aft|er5:.Key|
|000050c0| 20 1c 0d 61 66 74 65 72 | 4b 65 79 31 3a 0d 62 65 | ..after|Key1:.be|
|000050d0| 65 70 0d 74 74 77 72 3d | 22 52 65 67 69 73 74 65 |ep.ttwr=|"Registe|
|000050e0| 72 65 64 20 75 73 65 72 | 73 20 67 65 74 20 66 72 |red user|s get fr|
|000050f0| 65 65 20 75 70 67 72 61 | 64 65 73 2e 20 50 6c 65 |ee upgra|des. Ple|
|00005100| 61 73 65 20 72 65 67 69 | 73 74 65 72 2e 22 0d 52 |ase regi|ster.".R|
|00005110| 65 70 6c 61 63 65 20 57 | 69 74 68 20 27 5c 43 34 |eplace W|ith '\C4|
|00005120| 49 6e 74 5c 2e 5c 73 4c | 6f 63 61 74 69 6f 6e 5c |Int\.\sL|ocation\|
|00005130| 73 5c 2d 5c 73 44 61 79 | 5c 43 35 27 20 22 6f 4f |s\-\sDay|\C5' "oO|
|00005140| 2d 41 69 2d 77 74 2d 47 | 67 22 0d 0d 2f 2f 09 72 |-Ai-wt-G|g"..//.r|
|00005150| 65 61 70 70 6c 79 20 73 | 74 79 6c 65 73 20 74 6f |eapply s|tyles to|
|00005160| 20 73 75 72 72 6f 75 6e | 64 69 6e 67 20 70 61 72 | surroun|ding par|
|00005170| 61 73 0d 69 66 28 28 21 | 72 75 6c 65 72 73 52 65 |as.if((!|rulersRe|
|00005180| 63 6f 72 64 65 64 29 20 | 7c 7c 20 28 64 72 61 66 |corded) ||| (draf|
|00005190| 74 52 75 6c 65 72 29 29 | 20 67 6f 74 6f 20 61 66 |tRuler))| goto af|
|000051a0| 74 65 72 73 32 0d 73 3d | 73 65 6c 65 63 74 73 74 |ters2.s=|selectst|
|000051b0| 61 72 74 0d 65 3d 73 65 | 6c 65 63 74 65 6e 64 0d |art.e=se|lectend.|
|000051c0| 73 65 74 73 65 6c 65 63 | 74 28 73 2d 31 2c 73 2d |setselec|t(s-1,s-|
|000051d0| 31 29 0d 63 6c 69 70 62 | 6f 61 72 64 3d 73 72 0d |1).clipb|oard=sr.|
|000051e0| 65 6e 64 0d 45 78 65 63 | 75 74 65 20 53 65 6c 65 |end.Exec|ute Sele|
|000051f0| 63 74 69 6f 6e 20 27 5c | 43 43 27 0d 73 65 74 73 |ction '\|CC'.sets|
|00005200| 65 6c 65 63 74 28 65 2b | 31 2c 65 2b 31 29 0d 63 |elect(e+|1,e+1).c|
|00005210| 6c 69 70 62 6f 61 72 64 | 3d 65 72 0d 65 6e 64 0d |lipboard|=er.end.|
|00005220| 45 78 65 63 75 74 65 20 | 53 65 6c 65 63 74 69 6f |Execute |Selectio|
|00005230| 6e 20 27 5c 43 43 27 0d | 73 65 74 73 65 6c 65 63 |n '\CC'.|setselec|
|00005240| 74 28 73 2c 65 29 0d 0d | 61 66 74 65 72 73 32 3a |t(s,e)..|afters2:|
|00005250| 0d 63 6c 69 70 62 6f 61 | 72 64 3d 74 74 77 72 0d |.clipboa|rd=ttwr.|
|00005260| 3a 31 20 27 5c 43 43 27 | 0d 46 69 6e 64 20 69 6e |:1 '\CC'|.Find in|
|00005270| 20 53 65 6c 65 63 74 69 | 6f 6e 20 22 4c 6f 63 61 | Selecti|on "Loca|
|00005280| 74 69 6f 6e 22 20 22 6f | 4f 2d 41 2d 77 74 2d 47 |tion" "o|O-A-wt-G|
|00005290| 67 22 0d 2f 2f 09 61 6e | 6f 74 68 65 72 20 73 74 |g".//.an|other st|
|000052a0| 79 6c 65 20 6d 75 73 74 | 20 62 65 20 61 70 70 6c |yle must| be appl|
|000052b0| 69 65 64 20 66 69 72 73 | 74 20 73 6f 20 74 68 61 |ied firs|t so tha|
|000052c0| 74 20 74 68 65 20 6e 65 | 78 74 20 77 6f 72 6b 73 |t the ne|xt works|
|000052d0| 20 69 6e 20 61 6e 79 20 | 63 6f 6e 74 65 78 74 0d | in any |context.|
|000052e0| 69 66 28 64 72 61 66 74 | 52 75 6c 65 72 29 20 67 |if(draft|Ruler) g|
|000052f0| 6f 74 6f 20 66 69 6e 0d | 61 63 74 69 6f 6e 0d 73 |oto fin.|action.s|
|00005300| 6c 75 67 20 6c 69 6e 65 | 0d 0d 66 69 6e 3a 0d 30 |lug line|..fin:.0|
|00005310| 0d 0d 2f 2f 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |..//====|========|
|00005320| 3d 3d 3d 3d 3d 3d 3d 3d | 20 4d 41 43 52 4f 20 49 |========| MACRO I|
|00005330| 4e 54 20 2d 20 4e 49 47 | 48 54 0d 2f 2f 09 49 6e |NT - NIG|HT.//.In|
|00005340| 73 65 72 74 73 20 73 6c | 75 67 20 6c 69 6e 65 20 |serts sl|ug line |
|00005350| 74 65 6d 70 6c 61 74 65 | 20 61 6e 64 20 73 65 6c |template| and sel|
|00005360| 65 63 74 73 20 6c 6f 63 | 61 74 69 6f 6e 20 70 6c |ects loc|ation pl|
|00005370| 61 63 65 68 6f 6c 64 65 | 72 20 66 6f 72 20 65 64 |aceholde|r for ed|
|00005380| 69 74 69 6e 67 0d 0d 34 | 0d 53 68 6f 77 20 43 6c |iting..4|.Show Cl|
|00005390| 69 70 62 6f 61 72 64 20 | 22 4f 66 66 22 0d 6d 77 |ipboard |"Off".mw|
|000053a0| 72 64 3d 22 4d 61 6b 65 | 20 74 68 65 20 6d 6f 73 |rd="Make| the mos|
|000053b0| 74 20 6f 66 20 74 68 65 | 20 4b 44 20 53 63 72 65 |t of the| KD Scre|
|000053c0| 65 6e 77 72 69 74 69 6e | 67 20 53 79 73 74 65 6d |enwritin|g System|
|000053d0| 2e 20 52 65 67 69 73 74 | 65 72 20 74 6f 64 61 79 |. Regist|er today|
|000053e0| 2e 22 0d 63 6c 69 70 62 | 6f 61 72 64 3d 22 22 0d |.".clipb|oard="".|
|000053f0| 63 6c 69 70 62 6f 61 72 | 64 3d 64 6f 63 4e 61 6d |clipboar|d=docNam|
|00005400| 65 0d 69 66 28 28 63 6c | 69 70 62 6f 61 72 64 3d |e.if((cl|ipboard=|
|00005410| 3d 22 22 29 20 7c 7c 20 | 28 63 6c 69 70 62 6f 61 |="") || |(clipboa|
|00005420| 72 64 3d 3d 22 43 61 74 | 61 6c 6f 67 22 29 20 7c |rd=="Cat|alog") ||
|00005430| 7c 20 28 63 6c 69 70 62 | 6f 61 72 64 3d 3d 22 46 || (clipb|oard=="F|
|00005440| 69 6e 64 20 26 20 52 65 | 70 6c 61 63 65 22 29 20 |ind & Re|place") |
|00005450| 7c 7c 20 28 63 6c 69 70 | 62 6f 61 72 64 3d 3d 22 ||| (clip|board=="|
|00005460| 43 68 61 72 61 63 74 65 | 72 20 53 65 74 22 29 29 |Characte|r Set"))|
|00005470| 20 67 6f 74 6f 20 77 61 | 72 6e 0d 62 65 65 70 0d | goto wa|rn.beep.|
|00005480| 67 6f 74 6f 20 67 6f 74 | 44 6f 63 0d 0d 77 61 72 |goto got|Doc..war|
|00005490| 6e 3a 0d 62 65 65 70 0d | 67 6f 74 6f 20 66 69 6e |n:.beep.|goto fin|
|000054a0| 0d 0d 67 6f 74 44 6f 63 | 3a 0d 63 6c 69 70 62 6f |..gotDoc|:.clipbo|
|000054b0| 61 72 64 3d 6d 77 72 64 | 0d 3a 31 20 27 5c 43 43 |ard=mwrd|.:1 '\CC|
|000054c0| 27 0d 72 75 6c 65 72 73 | 52 65 63 6f 72 64 65 64 |'.rulers|Recorded|
|000054d0| 3d 66 61 6c 73 65 20 3b | 20 64 72 61 66 74 52 75 |=false ;| draftRu|
|000054e0| 6c 65 72 3d 66 61 6c 73 | 65 0d 2f 2f 09 65 6d 70 |ler=fals|e.//.emp|
|000054f0| 74 79 20 63 6c 69 70 73 | 20 34 20 26 20 35 20 62 |ty clips| 4 & 5 b|
|00005500| 65 63 61 75 73 65 20 77 | 65 20 6d 61 79 20 6e 65 |ecause w|e may ne|
|00005510| 65 64 20 74 6f 20 70 75 | 74 20 72 65 74 75 72 6e |ed to pu|t return|
|00005520| 73 20 6f 6e 20 74 68 65 | 6d 0d 43 6f 70 79 20 22 |s on the|m.Copy "|
|00005530| 34 22 20 22 22 0d 43 6f | 70 79 20 22 35 22 20 22 |4" "".Co|py "5" "|
|00005540| 22 0d 0d 2f 2f 09 63 61 | 72 65 66 75 6c 20 74 6f |"..//.ca|reful to|
|00005550| 20 64 69 73 74 69 6e 67 | 75 69 73 68 20 62 65 74 | disting|uish bet|
|00005560| 77 65 65 6e 20 64 72 61 | 66 74 20 61 6e 64 20 61 |ween dra|ft and a|
|00005570| 75 74 6f 20 6d 6f 64 65 | 73 0d 69 66 28 73 65 6c |uto mode|s.if(sel|
|00005580| 65 63 74 73 74 61 72 74 | 21 3d 73 65 6c 65 63 74 |ectstart|!=select|
|00005590| 65 6e 64 29 20 67 6f 74 | 6f 20 70 61 72 61 31 0d |end) got|o para1.|
|000055a0| 69 66 28 72 75 6c 65 72 | 4e 61 6d 65 3d 3d 22 64 |if(ruler|Name=="d|
|000055b0| 72 61 66 74 22 29 20 64 | 72 61 66 74 52 75 6c 65 |raft") d|raftRule|
|000055c0| 72 3d 74 72 75 65 0d 67 | 6f 74 6f 20 61 66 74 65 |r=true.g|oto afte|
|000055d0| 72 63 6c 65 61 72 0d 70 | 61 72 61 31 3a 0d 36 0d |rclear.p|ara1:.6.|
|000055e0| 4d 61 63 72 6f 43 6f 70 | 79 0d 2f 2f 09 61 6e 79 |MacroCop|y.//.any|
|000055f0| 20 72 65 74 75 72 6e 73 | 20 73 65 6c 65 63 74 65 | returns| selecte|
|00005600| 64 3f 0d 69 66 28 63 6c | 69 70 62 6f 61 72 64 21 |d?.if(cl|ipboard!|
|00005610| 3d 63 6c 69 70 62 6f 61 | 72 64 2f 6e 75 6d 54 6f |=clipboa|rd/numTo|
|00005620| 43 68 61 72 28 31 33 29 | 29 20 67 6f 74 6f 20 70 |Char(13)|) goto p|
|00005630| 61 72 61 32 0d 69 66 28 | 72 75 6c 65 72 4e 61 6d |ara2.if(|rulerNam|
|00005640| 65 3d 3d 22 64 72 61 66 | 74 22 29 20 64 72 61 66 |e=="draf|t") draf|
|00005650| 74 52 75 6c 65 72 3d 74 | 72 75 65 0d 67 6f 74 6f |tRuler=t|rue.goto|
|00005660| 20 63 6c 65 61 72 49 74 | 0d 70 61 72 61 32 3a 0d | clearIt|.para2:.|
|00005670| 2f 2f 09 72 65 63 6f 72 | 64 20 72 75 6c 65 72 73 |//.recor|d rulers|
|00005680| 20 6f 66 20 73 75 72 72 | 6f 75 6e 64 69 6e 67 20 | of surr|ounding |
|00005690| 74 65 78 74 2c 20 73 74 | 79 6c 65 20 61 73 20 64 |text, st|yle as d|
|000056a0| 72 61 66 74 0d 73 3d 73 | 65 6c 65 63 74 73 74 61 |raft.s=s|electsta|
|000056b0| 72 74 20 3b 20 65 3d 73 | 65 6c 65 63 74 65 6e 64 |rt ; e=s|electend|
|000056c0| 0d 73 65 74 73 65 6c 65 | 63 74 28 73 2d 31 2c 73 |.setsele|ct(s-1,s|
|000056d0| 2d 31 29 0d 73 72 3d 72 | 75 6c 65 72 4e 61 6d 65 |-1).sr=r|ulerName|
|000056e0| 0d 73 65 74 73 65 6c 65 | 63 74 28 65 2b 31 2c 65 |.setsele|ct(e+1,e|
|000056f0| 2b 31 29 0d 65 72 3d 72 | 75 6c 65 72 4e 61 6d 65 |+1).er=r|ulerName|
|00005700| 0d 73 65 74 73 65 6c 65 | 63 74 28 73 2c 65 29 0d |.setsele|ct(s,e).|
|00005710| 72 75 6c 65 72 73 52 65 | 63 6f 72 64 65 64 3d 74 |rulersRe|corded=t|
|00005720| 72 75 65 0d 69 66 28 28 | 65 72 3d 3d 22 64 72 61 |rue.if((|er=="dra|
|00005730| 66 74 22 29 20 26 26 20 | 28 65 72 3d 3d 73 72 29 |ft") && |(er==sr)|
|00005740| 20 26 26 20 28 72 75 6c | 65 72 4e 61 6d 65 3d 3d | && (rul|erName==|
|00005750| 22 64 72 61 66 74 22 29 | 29 20 64 72 61 66 74 52 |"draft")|) draftR|
|00005760| 75 6c 65 72 3d 74 72 75 | 65 20 3b 20 67 6f 74 6f |uler=tru|e ; goto|
|00005770| 20 63 6c 65 61 72 49 74 | 0d 65 6e 64 0d 64 72 61 | clearIt|.end.dra|
|00005780| 66 74 0d 0d 63 6c 65 61 | 72 49 74 3a 0d 43 6c 65 |ft..clea|rIt:.Cle|
|00005790| 61 72 0d 0d 61 66 74 65 | 72 63 6c 65 61 72 3a 0d |ar..afte|rclear:.|
|000057a0| 69 66 28 21 6c 69 6e 65 | 43 68 61 72 4e 75 6d 29 |if(!line|CharNum)|
|000057b0| 20 67 6f 74 6f 20 61 66 | 74 65 72 34 0d 43 6f 70 | goto af|ter4.Cop|
|000057c0| 79 20 22 34 22 20 22 5c | 72 22 0d 0d 61 66 74 65 |y "4" "\|r"..afte|
|000057d0| 72 34 3a 0d 6c 6e 3d 6c | 69 6e 65 4e 75 6d 0d 69 |r4:.ln=l|ineNum.i|
|000057e0| 66 28 63 68 61 72 6e 75 | 6d 3d 3d 65 6e 64 63 68 |f(charnu|m==endch|
|000057f0| 61 72 6e 75 6d 29 20 67 | 6f 74 6f 20 61 66 74 65 |arnum) g|oto afte|
|00005800| 72 4b 65 79 31 0d 4b 65 | 79 20 1d 0d 69 66 28 6c |rKey1.Ke|y ..if(l|
|00005810| 6e 21 3d 6c 69 6e 65 4e | 75 6d 29 20 67 6f 74 6f |n!=lineN|um) goto|
|00005820| 20 61 66 74 65 72 35 0d | 43 6f 70 79 20 22 35 22 | after5.|Copy "5"|
|00005830| 20 22 5c 72 22 0d 0d 61 | 66 74 65 72 35 3a 0d 4b | "\r"..a|fter5:.K|
|00005840| 65 79 20 1c 0d 61 66 74 | 65 72 4b 65 79 31 3a 0d |ey ..aft|erKey1:.|
|00005850| 69 66 28 28 6d 77 72 64 | 2f 22 6d 6f 73 74 22 29 |if((mwrd|/"most")|
|00005860| 3d 3d 6d 77 72 64 29 20 | 67 6f 74 6f 20 66 69 6e |==mwrd) |goto fin|
|00005870| 0d 52 65 70 6c 61 63 65 | 20 57 69 74 68 20 27 5c |.Replace| With '\|
|00005880| 43 34 49 6e 74 5c 2e 5c | 73 4c 6f 63 61 74 69 6f |C4Int\.\|sLocatio|
|00005890| 6e 5c 73 5c 2d 5c 73 4e | 69 67 68 74 5c 43 35 27 |n\s\-\sN|ight\C5'|
|000058a0| 20 22 6f 4f 2d 41 69 2d | 77 74 2d 47 67 22 0d 0d | "oO-Ai-|wt-Gg"..|
|000058b0| 2f 2f 09 72 65 61 70 70 | 6c 79 20 73 74 79 6c 65 |//.reapp|ly style|
|000058c0| 73 20 74 6f 20 73 75 72 | 72 6f 75 6e 64 69 6e 67 |s to sur|rounding|
|000058d0| 20 70 61 72 61 73 0d 69 | 66 28 28 21 72 75 6c 65 | paras.i|f((!rule|
|000058e0| 72 73 52 65 63 6f 72 64 | 65 64 29 20 7c 7c 20 28 |rsRecord|ed) || (|
|000058f0| 64 72 61 66 74 52 75 6c | 65 72 29 29 20 67 6f 74 |draftRul|er)) got|
|00005900| 6f 20 61 66 74 65 72 73 | 32 0d 73 3d 73 65 6c 65 |o afters|2.s=sele|
|00005910| 63 74 73 74 61 72 74 0d | 65 3d 73 65 6c 65 63 74 |ctstart.|e=select|
|00005920| 65 6e 64 0d 73 65 74 73 | 65 6c 65 63 74 28 73 2d |end.sets|elect(s-|
|00005930| 31 2c 73 2d 31 29 0d 63 | 6c 69 70 62 6f 61 72 64 |1,s-1).c|lipboard|
|00005940| 3d 73 72 0d 65 6e 64 0d | 45 78 65 63 75 74 65 20 |=sr.end.|Execute |
|00005950| 53 65 6c 65 63 74 69 6f | 6e 20 27 5c 43 43 27 0d |Selectio|n '\CC'.|
|00005960| 73 65 74 73 65 6c 65 63 | 74 28 65 2b 31 2c 65 2b |setselec|t(e+1,e+|
|00005970| 31 29 0d 63 6c 69 70 62 | 6f 61 72 64 3d 65 72 0d |1).clipb|oard=er.|
|00005980| 65 6e 64 0d 45 78 65 63 | 75 74 65 20 53 65 6c 65 |end.Exec|ute Sele|
|00005990| 63 74 69 6f 6e 20 27 5c | 43 43 27 0d 73 65 74 73 |ction '\|CC'.sets|
|000059a0| 65 6c 65 63 74 28 73 2c | 65 29 0d 0d 61 66 74 65 |elect(s,|e)..afte|
|000059b0| 72 73 32 3a 0d 46 69 6e | 64 20 69 6e 20 53 65 6c |rs2:.Fin|d in Sel|
|000059c0| 65 63 74 69 6f 6e 20 22 | 4c 6f 63 61 74 69 6f 6e |ection "|Location|
|000059d0| 22 20 22 6f 4f 2d 41 2d | 77 74 2d 47 67 22 0d 2f |" "oO-A-|wt-Gg"./|
|000059e0| 2f 09 61 6e 6f 74 68 65 | 72 20 73 74 79 6c 65 20 |/.anothe|r style |
|000059f0| 6d 75 73 74 20 62 65 20 | 61 70 70 6c 69 65 64 20 |must be |applied |
|00005a00| 66 69 72 73 74 20 73 6f | 20 74 68 61 74 20 74 68 |first so| that th|
|00005a10| 65 20 6e 65 78 74 20 77 | 6f 72 6b 73 20 69 6e 20 |e next w|orks in |
|00005a20| 61 6e 79 20 63 6f 6e 74 | 65 78 74 0d 69 66 28 64 |any cont|ext.if(d|
|00005a30| 72 61 66 74 52 75 6c 65 | 72 29 20 67 6f 74 6f 20 |raftRule|r) goto |
|00005a40| 66 69 6e 0d 61 63 74 69 | 6f 6e 0d 73 6c 75 67 20 |fin.acti|on.slug |
|00005a50| 6c 69 6e 65 0d 0d 66 69 | 6e 3a 0d 30 0d 0d 2f 2f |line..fi|n:.0..//|
|00005a60| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00005a70| 3d 3d 3d 3d 20 4d 41 43 | 52 4f 20 7e 43 55 54 20 |==== MAC|RO ~CUT |
|00005a80| 54 4f 0d 2f 2f 09 49 6e | 73 65 72 74 73 20 74 72 |TO.//.In|serts tr|
|00005a90| 61 6e 73 69 74 69 6f 6e | 0d 0d 34 0d 53 68 6f 77 |ansition|..4.Show|
|00005aa0| 20 43 6c 69 70 62 6f 61 | 72 64 20 22 4f 66 66 22 | Clipboa|rd "Off"|
|00005ab0| 0d 63 6c 69 70 62 6f 61 | 72 64 3d 22 22 0d 63 6c |.clipboa|rd="".cl|
|00005ac0| 69 70 62 6f 61 72 64 3d | 64 6f 63 4e 61 6d 65 0d |ipboard=|docName.|
|00005ad0| 69 66 28 28 63 6c 69 70 | 62 6f 61 72 64 3d 3d 22 |if((clip|board=="|
|00005ae0| 22 29 20 7c 7c 20 28 63 | 6c 69 70 62 6f 61 72 64 |") || (c|lipboard|
|00005af0| 3d 3d 22 43 61 74 61 6c | 6f 67 22 29 20 7c 7c 20 |=="Catal|og") || |
|00005b00| 28 63 6c 69 70 62 6f 61 | 72 64 3d 3d 22 46 69 6e |(clipboa|rd=="Fin|
|00005b10| 64 20 26 20 52 65 70 6c | 61 63 65 22 29 20 7c 7c |d & Repl|ace") |||
|00005b20| 20 28 63 6c 69 70 62 6f | 61 72 64 3d 3d 22 43 68 | (clipbo|ard=="Ch|
|00005b30| 61 72 61 63 74 65 72 20 | 53 65 74 22 29 29 20 67 |aracter |Set")) g|
|00005b40| 6f 74 6f 20 77 61 72 6e | 0d 67 6f 74 6f 20 67 6f |oto warn|.goto go|
|00005b50| 74 44 6f 63 0d 0d 77 61 | 72 6e 3a 0d 62 65 65 70 |tDoc..wa|rn:.beep|
|00005b60| 0d 67 6f 74 6f 20 66 69 | 6e 0d 0d 67 6f 74 44 6f |.goto fi|n..gotDo|
|00005b70| 63 3a 0d 72 75 6c 65 72 | 73 52 65 63 6f 72 64 65 |c:.ruler|sRecorde|
|00005b80| 64 3d 66 61 6c 73 65 20 | 3b 20 64 72 61 66 74 52 |d=false |; draftR|
|00005b90| 75 6c 65 72 3d 66 61 6c | 73 65 0d 2f 2f 09 65 6d |uler=fal|se.//.em|
|00005ba0| 70 74 79 20 63 6c 69 70 | 73 20 34 20 26 20 35 20 |pty clip|s 4 & 5 |
|00005bb0| 62 65 63 61 75 73 65 20 | 77 65 20 6d 61 79 20 6e |because |we may n|
|00005bc0| 65 65 64 20 74 6f 20 70 | 75 74 20 72 65 74 75 72 |eed to p|ut retur|
|00005bd0| 6e 73 20 6f 6e 20 74 68 | 65 6d 0d 43 6f 70 79 20 |ns on th|em.Copy |
|00005be0| 22 34 22 20 22 22 0d 43 | 6f 70 79 20 22 35 22 20 |"4" "".C|opy "5" |
|00005bf0| 22 22 0d 0d 2f 2f 09 63 | 61 72 65 66 75 6c 20 74 |""..//.c|areful t|
|00005c00| 6f 20 64 69 73 74 69 6e | 67 75 69 73 68 20 62 65 |o distin|guish be|
|00005c10| 74 77 65 65 6e 20 64 72 | 61 66 74 20 61 6e 64 20 |tween dr|aft and |
|00005c20| 61 75 74 6f 20 6d 6f 64 | 65 73 0d 69 66 28 73 65 |auto mod|es.if(se|
|00005c30| 6c 65 63 74 73 74 61 72 | 74 21 3d 73 65 6c 65 63 |lectstar|t!=selec|
|00005c40| 74 65 6e 64 29 20 67 6f | 74 6f 20 70 61 72 61 31 |tend) go|to para1|
|00005c50| 0d 69 66 28 72 75 6c 65 | 72 4e 61 6d 65 3d 3d 22 |.if(rule|rName=="|
|00005c60| 64 72 61 66 74 22 29 20 | 64 72 61 66 74 52 75 6c |draft") |draftRul|
|00005c70| 65 72 3d 74 72 75 65 0d | 67 6f 74 6f 20 61 66 74 |er=true.|goto aft|
|00005c80| 65 72 63 6c 65 61 72 0d | 70 61 72 61 31 3a 0d 36 |erclear.|para1:.6|
|00005c90| 0d 4d 61 63 72 6f 43 6f | 70 79 0d 2f 2f 09 61 6e |.MacroCo|py.//.an|
|00005ca0| 79 20 72 65 74 75 72 6e | 73 20 73 65 6c 65 63 74 |y return|s select|
|00005cb0| 65 64 3f 0d 69 66 28 63 | 6c 69 70 62 6f 61 72 64 |ed?.if(c|lipboard|
|00005cc0| 21 3d 63 6c 69 70 62 6f | 61 72 64 2f 6e 75 6d 54 |!=clipbo|ard/numT|
|00005cd0| 6f 43 68 61 72 28 31 33 | 29 29 20 67 6f 74 6f 20 |oChar(13|)) goto |
|00005ce0| 70 61 72 61 32 0d 69 66 | 28 72 75 6c 65 72 4e 61 |para2.if|(rulerNa|
|00005cf0| 6d 65 3d 3d 22 64 72 61 | 66 74 22 29 20 64 72 61 |me=="dra|ft") dra|
|00005d00| 66 74 52 75 6c 65 72 3d | 74 72 75 65 0d 67 6f 74 |ftRuler=|true.got|
|00005d10| 6f 20 63 6c 65 61 72 49 | 74 0d 70 61 72 61 32 3a |o clearI|t.para2:|
|00005d20| 0d 2f 2f 09 72 65 63 6f | 72 64 20 72 75 6c 65 72 |.//.reco|rd ruler|
|00005d30| 73 20 6f 66 20 73 75 72 | 72 6f 75 6e 64 69 6e 67 |s of sur|rounding|
|00005d40| 20 74 65 78 74 2c 20 73 | 74 79 6c 65 20 61 73 20 | text, s|tyle as |
|00005d50| 64 72 61 66 74 0d 73 3d | 73 65 6c 65 63 74 73 74 |draft.s=|selectst|
|00005d60| 61 72 74 20 3b 20 65 3d | 73 65 6c 65 63 74 65 6e |art ; e=|selecten|
|00005d70| 64 0d 73 65 74 73 65 6c | 65 63 74 28 73 2d 31 2c |d.setsel|ect(s-1,|
|00005d80| 73 2d 31 29 0d 73 72 3d | 72 75 6c 65 72 4e 61 6d |s-1).sr=|rulerNam|
|00005d90| 65 0d 73 65 74 73 65 6c | 65 63 74 28 65 2b 31 2c |e.setsel|ect(e+1,|
|00005da0| 65 2b 31 29 0d 65 72 3d | 72 75 6c 65 72 4e 61 6d |e+1).er=|rulerNam|
|00005db0| 65 0d 73 65 74 73 65 6c | 65 63 74 28 73 2c 65 29 |e.setsel|ect(s,e)|
|00005dc0| 0d 72 75 6c 65 72 73 52 | 65 63 6f 72 64 65 64 3d |.rulersR|ecorded=|
|00005dd0| 74 72 75 65 0d 69 66 28 | 28 65 72 3d 3d 22 64 72 |true.if(|(er=="dr|
|00005de0| 61 66 74 22 29 20 26 26 | 20 28 65 72 3d 3d 73 72 |aft") &&| (er==sr|
|00005df0| 29 20 26 26 20 28 72 75 | 6c 65 72 4e 61 6d 65 3d |) && (ru|lerName=|
|00005e00| 3d 22 64 72 61 66 74 22 | 29 29 20 64 72 61 66 74 |="draft"|)) draft|
|00005e10| 52 75 6c 65 72 3d 74 72 | 75 65 20 3b 20 67 6f 74 |Ruler=tr|ue ; got|
|00005e20| 6f 20 63 6c 65 61 72 49 | 74 0d 65 6e 64 0d 64 72 |o clearI|t.end.dr|
|00005e30| 61 66 74 0d 0d 63 6c 65 | 61 72 49 74 3a 0d 43 6c |aft..cle|arIt:.Cl|
|00005e40| 65 61 72 0d 0d 61 66 74 | 65 72 63 6c 65 61 72 3a |ear..aft|erclear:|
|00005e50| 0d 69 66 28 21 6c 69 6e | 65 43 68 61 72 4e 75 6d |.if(!lin|eCharNum|
|00005e60| 29 20 67 6f 74 6f 20 61 | 66 74 65 72 34 0d 43 6f |) goto a|fter4.Co|
|00005e70| 70 79 20 22 34 22 20 22 | 5c 72 22 0d 0d 61 66 74 |py "4" "|\r"..aft|
|00005e80| 65 72 34 3a 0d 6c 6e 3d | 6c 69 6e 65 4e 75 6d 0d |er4:.ln=|lineNum.|
|00005e90| 69 66 28 63 68 61 72 6e | 75 6d 3d 3d 65 6e 64 63 |if(charn|um==endc|
|00005ea0| 68 61 72 6e 75 6d 29 20 | 67 6f 74 6f 20 61 66 74 |harnum) |goto aft|
|00005eb0| 65 72 4b 65 79 31 0d 4b | 65 79 20 1d 0d 69 66 28 |erKey1.K|ey ..if(|
|00005ec0| 6c 6e 21 3d 6c 69 6e 65 | 4e 75 6d 29 20 67 6f 74 |ln!=line|Num) got|
|00005ed0| 6f 20 61 66 74 65 72 35 | 0d 43 6f 70 79 20 22 35 |o after5|.Copy "5|
|00005ee0| 22 20 22 5c 72 22 0d 0d | 61 66 74 65 72 35 3a 0d |" "\r"..|after5:.|
|00005ef0| 4b 65 79 20 1c 0d 61 66 | 74 65 72 4b 65 79 31 3a |Key ..af|terKey1:|
|00005f00| 0d 52 65 70 6c 61 63 65 | 20 57 69 74 68 20 27 5c |.Replace| With '\|
|00005f10| 43 34 43 75 74 20 54 6f | 3a 5c 43 35 27 20 22 6f |C4Cut To|:\C5' "o|
|00005f20| 4f 2d 41 69 2d 77 74 2d | 47 67 22 0d 0d 2f 2f 09 |O-Ai-wt-|Gg"..//.|
|00005f30| 72 65 61 70 70 6c 79 20 | 73 74 79 6c 65 73 20 74 |reapply |styles t|
|00005f40| 6f 20 73 75 72 72 6f 75 | 6e 64 69 6e 67 20 70 61 |o surrou|nding pa|
|00005f50| 72 61 73 0d 69 66 28 28 | 21 72 75 6c 65 72 73 52 |ras.if((|!rulersR|
|00005f60| 65 63 6f 72 64 65 64 29 | 20 7c 7c 20 28 64 72 61 |ecorded)| || (dra|
|00005f70| 66 74 52 75 6c 65 72 29 | 29 20 67 6f 74 6f 20 61 |ftRuler)|) goto a|
|00005f80| 66 74 65 72 73 32 0d 73 | 3d 73 65 6c 65 63 74 73 |fters2.s|=selects|
|00005f90| 74 61 72 74 0d 65 3d 73 | 65 6c 65 63 74 65 6e 64 |tart.e=s|electend|
|00005fa0| 0d 73 65 74 73 65 6c 65 | 63 74 28 73 2d 31 2c 73 |.setsele|ct(s-1,s|
|00005fb0| 2d 31 29 0d 63 6c 69 70 | 62 6f 61 72 64 3d 73 72 |-1).clip|board=sr|
|00005fc0| 0d 65 6e 64 0d 45 78 65 | 63 75 74 65 20 53 65 6c |.end.Exe|cute Sel|
|00005fd0| 65 63 74 69 6f 6e 20 27 | 5c 43 43 27 0d 73 65 74 |ection '|\CC'.set|
|00005fe0| 73 65 6c 65 63 74 28 65 | 2b 31 2c 65 2b 31 29 0d |select(e|+1,e+1).|
|00005ff0| 63 6c 69 70 62 6f 61 72 | 64 3d 65 72 0d 65 6e 64 |clipboar|d=er.end|
|00006000| 0d 45 78 65 63 75 74 65 | 20 53 65 6c 65 63 74 69 |.Execute| Selecti|
|00006010| 6f 6e 20 27 5c 43 43 27 | 0d 73 65 74 73 65 6c 65 |on '\CC'|.setsele|
|00006020| 63 74 28 73 2c 65 29 0d | 0d 61 66 74 65 72 73 32 |ct(s,e).|.afters2|
|00006030| 3a 0d 46 69 6e 64 20 69 | 6e 20 53 65 6c 65 63 74 |:.Find i|n Select|
|00006040| 69 6f 6e 20 22 3a 22 20 | 22 6f 4f 2d 41 2d 77 74 |ion ":" |"oO-A-wt|
|00006050| 2d 47 67 22 0d 4b 65 79 | 20 1d 0d 2f 2f 09 61 6e |-Gg".Key| ..//.an|
|00006060| 6f 74 68 65 72 20 73 74 | 79 6c 65 20 6d 75 73 74 |other st|yle must|
|00006070| 20 62 65 20 61 70 70 6c | 69 65 64 20 66 69 72 73 | be appl|ied firs|
|00006080| 74 20 73 6f 20 74 68 61 | 74 20 74 68 65 20 6e 65 |t so tha|t the ne|
|00006090| 78 74 20 77 6f 72 6b 73 | 20 69 6e 20 61 6e 79 20 |xt works| in any |
|000060a0| 63 6f 6e 74 65 78 74 0d | 69 66 28 64 72 61 66 74 |context.|if(draft|
|000060b0| 52 75 6c 65 72 29 20 67 | 6f 74 6f 20 66 69 6e 0d |Ruler) g|oto fin.|
|000060c0| 61 63 74 69 6f 6e 0d 74 | 72 61 6e 73 69 74 69 6f |action.t|ransitio|
|000060d0| 6e 0d 0d 66 69 6e 3a 0d | 30 0d 0d 2f 2f 3d 3d 3d |n..fin:.|0..//===|
|000060e0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000060f0| 3d 20 4d 41 43 52 4f 20 | 7e 44 49 53 53 4f 4c 56 |= MACRO |~DISSOLV|
|00006100| 45 20 54 4f 0d 2f 2f 09 | 49 6e 73 65 72 74 73 20 |E TO.//.|Inserts |
|00006110| 74 72 61 6e 73 69 74 69 | 6f 6e 0d 0d 34 0d 53 68 |transiti|on..4.Sh|
|00006120| 6f 77 20 43 6c 69 70 62 | 6f 61 72 64 20 22 4f 66 |ow Clipb|oard "Of|
|00006130| 66 22 0d 63 6c 69 70 62 | 6f 61 72 64 3d 22 22 0d |f".clipb|oard="".|
|00006140| 63 6c 69 70 62 6f 61 72 | 64 3d 64 6f 63 4e 61 6d |clipboar|d=docNam|
|00006150| 65 0d 69 66 28 28 63 6c | 69 70 62 6f 61 72 64 3d |e.if((cl|ipboard=|
|00006160| 3d 22 22 29 20 7c 7c 20 | 28 63 6c 69 70 62 6f 61 |="") || |(clipboa|
|00006170| 72 64 3d 3d 22 43 61 74 | 61 6c 6f 67 22 29 20 7c |rd=="Cat|alog") ||
|00006180| 7c 20 28 63 6c 69 70 62 | 6f 61 72 64 3d 3d 22 46 || (clipb|oard=="F|
|00006190| 69 6e 64 20 26 20 52 65 | 70 6c 61 63 65 22 29 20 |ind & Re|place") |
|000061a0| 7c 7c 20 28 63 6c 69 70 | 62 6f 61 72 64 3d 3d 22 ||| (clip|board=="|
|000061b0| 43 68 61 72 61 63 74 65 | 72 20 53 65 74 22 29 29 |Characte|r Set"))|
|000061c0| 20 67 6f 74 6f 20 77 61 | 72 6e 0d 67 6f 74 6f 20 | goto wa|rn.goto |
|000061d0| 67 6f 74 44 6f 63 0d 0d | 77 61 72 6e 3a 0d 62 65 |gotDoc..|warn:.be|
|000061e0| 65 70 0d 67 6f 74 6f 20 | 66 69 6e 0d 0d 67 6f 74 |ep.goto |fin..got|
|000061f0| 44 6f 63 3a 0d 72 75 6c | 65 72 73 52 65 63 6f 72 |Doc:.rul|ersRecor|
|00006200| 64 65 64 3d 66 61 6c 73 | 65 20 3b 20 64 72 61 66 |ded=fals|e ; draf|
|00006210| 74 52 75 6c 65 72 3d 66 | 61 6c 73 65 0d 2f 2f 09 |tRuler=f|alse.//.|
|00006220| 65 6d 70 74 79 20 63 6c | 69 70 73 20 34 20 26 20 |empty cl|ips 4 & |
|00006230| 35 20 62 65 63 61 75 73 | 65 20 77 65 20 6d 61 79 |5 becaus|e we may|
|00006240| 20 6e 65 65 64 20 74 6f | 20 70 75 74 20 72 65 74 | need to| put ret|
|00006250| 75 72 6e 73 20 6f 6e 20 | 74 68 65 6d 0d 43 6f 70 |urns on |them.Cop|
|00006260| 79 20 22 34 22 20 22 22 | 0d 43 6f 70 79 20 22 35 |y "4" ""|.Copy "5|
|00006270| 22 20 22 22 0d 0d 2f 2f | 09 63 61 72 65 66 75 6c |" ""..//|.careful|
|00006280| 20 74 6f 20 64 69 73 74 | 69 6e 67 75 69 73 68 20 | to dist|inguish |
|00006290| 62 65 74 77 65 65 6e 20 | 64 72 61 66 74 20 61 6e |between |draft an|
|000062a0| 64 20 61 75 74 6f 20 6d | 6f 64 65 73 0d 69 66 28 |d auto m|odes.if(|
|000062b0| 73 65 6c 65 63 74 73 74 | 61 72 74 21 3d 73 65 6c |selectst|art!=sel|
|000062c0| 65 63 74 65 6e 64 29 20 | 67 6f 74 6f 20 70 61 72 |ectend) |goto par|
|000062d0| 61 31 0d 69 66 28 72 75 | 6c 65 72 4e 61 6d 65 3d |a1.if(ru|lerName=|
|000062e0| 3d 22 64 72 61 66 74 22 | 29 20 64 72 61 66 74 52 |="draft"|) draftR|
|000062f0| 75 6c 65 72 3d 74 72 75 | 65 0d 67 6f 74 6f 20 61 |uler=tru|e.goto a|
|00006300| 66 74 65 72 63 6c 65 61 | 72 0d 70 61 72 61 31 3a |fterclea|r.para1:|
|00006310| 0d 36 0d 4d 61 63 72 6f | 43 6f 70 79 0d 2f 2f 09 |.6.Macro|Copy.//.|
|00006320| 61 6e 79 20 72 65 74 75 | 72 6e 73 20 73 65 6c 65 |any retu|rns sele|
|00006330| 63 74 65 64 3f 0d 69 66 | 28 63 6c 69 70 62 6f 61 |cted?.if|(clipboa|
|00006340| 72 64 21 3d 63 6c 69 70 | 62 6f 61 72 64 2f 6e 75 |rd!=clip|board/nu|
|00006350| 6d 54 6f 43 68 61 72 28 | 31 33 29 29 20 67 6f 74 |mToChar(|13)) got|
|00006360| 6f 20 70 61 72 61 32 0d | 69 66 28 72 75 6c 65 72 |o para2.|if(ruler|
|00006370| 4e 61 6d 65 3d 3d 22 64 | 72 61 66 74 22 29 20 64 |Name=="d|raft") d|
|00006380| 72 61 66 74 52 75 6c 65 | 72 3d 74 72 75 65 0d 67 |raftRule|r=true.g|
|00006390| 6f 74 6f 20 63 6c 65 61 | 72 49 74 0d 70 61 72 61 |oto clea|rIt.para|
|000063a0| 32 3a 0d 2f 2f 09 72 65 | 63 6f 72 64 20 72 75 6c |2:.//.re|cord rul|
|000063b0| 65 72 73 20 6f 66 20 73 | 75 72 72 6f 75 6e 64 69 |ers of s|urroundi|
|000063c0| 6e 67 20 74 65 78 74 2c | 20 73 74 79 6c 65 20 61 |ng text,| style a|
|000063d0| 73 20 64 72 61 66 74 0d | 73 3d 73 65 6c 65 63 74 |s draft.|s=select|
|000063e0| 73 74 61 72 74 20 3b 20 | 65 3d 73 65 6c 65 63 74 |start ; |e=select|
|000063f0| 65 6e 64 0d 73 65 74 73 | 65 6c 65 63 74 28 73 2d |end.sets|elect(s-|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.