Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Add Mac help |
---|---|
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
01bc2698e584f3aae899897de9b4c637 |
User & Date: | kevin 2020-04-24 02:25:09 |
Context
2020-04-24
| ||
02:33 | More tweaks to help check-in: 66db0a4592 user: kevin tags: trunk | |
02:25 | Add Mac help check-in: 01bc2698e5 user: kevin tags: trunk | |
2020-04-17
| ||
02:03 | Add update user help check-in: aa83c60991 user: kevin tags: trunk | |
Changes
Changes to FileMorph User Help.docx.
cannot compute difference between binary files
Added FileMorph User Help.help/Contents/Info.plist.
> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>BuildMachineOSBuild</key> <string>18D42</string> <key>CFBundleDevelopmentRegion</key> <string>en-us</string> <key>CFBundleIdentifier</key> <string>com.codebykevin.test-help</string> <key>CFBundleInfoDictionaryVersion</key> <string>6.0</string> <key>CFBundlePackageType</key> <string>BNDL</string> <key>CFBundleShortVersionString</key> <string>1.0</string> <key>CFBundleSignature</key> <string>hbwr</string> <key>CFBundleSupportedPlatforms</key> <array> <string>MacOSX</string> </array> <key>CFBundleVersion</key> <string>1</string> <key>HPDBookAccessPath</key> <string>FileMorph User Help.html</string> <key>HPDBookTitle</key> <string>FileMorph User Help</string> <key>HPDBookType</key> <string>3</string> </dict> </plist> |
Added FileMorph User Help.help/Contents/Resources/TextSweep User Help.fld/image001.png.
cannot compute difference between binary files
Added FileMorph User Help.help/Contents/Resources/TextSweep User Help.fld/image002.png.
cannot compute difference between binary files
Added FileMorph User Help.help/Contents/Resources/TextSweep User Help.fld/image003.png.
cannot compute difference between binary files
Added FileMorph User Help.help/Contents/Resources/TextSweep User Help.html.
> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 | <html> <head> <meta http-equiv=Content-Type content="text/html; charset=utf-8"> <meta name=Generator content="Microsoft Word 15 (filtered)"> <style> <!-- /* Font Definitions */ @font-face {font-family:Helvetica; panose-1:0 0 0 0 0 0 0 0 0 0;} @font-face {font-family:Courier; panose-1:0 0 0 0 0 0 0 0 0 0;} @font-face {font-family:Wingdings; panose-1:5 0 0 0 0 0 0 0 0 0;} @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} @font-face {font-family:"Yu Gothic Light"; panose-1:2 11 3 0 0 0 0 0 0 0;} @font-face {font-family:"Yu Mincho"; panose-1:2 2 4 0 0 0 0 0 0 0;} @font-face {font-family:Consolas; panose-1:2 11 6 9 2 2 4 3 2 4;} @font-face {font-family:"\@Yu Gothic Light";} @font-face {font-family:"\@Yu Mincho";} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Calibri",sans-serif;} h1 {mso-style-link:"Heading 1 Char"; margin-top:12.0pt; margin-right:0in; margin-bottom:0in; margin-left:0in; margin-bottom:.0001pt; page-break-after:avoid; font-size:16.0pt; font-family:"Calibri Light",sans-serif; color:#2F5496; font-weight:normal;} h2 {mso-style-link:"Heading 2 Char"; margin-top:2.0pt; margin-right:0in; margin-bottom:0in; margin-left:0in; margin-bottom:.0001pt; page-break-after:avoid; font-size:13.0pt; font-family:"Calibri Light",sans-serif; color:#2F5496; font-weight:normal;} p.MsoToc1, li.MsoToc1, div.MsoToc1 {margin-top:12.0pt; margin-right:0in; margin-bottom:6.0pt; margin-left:0in; font-size:10.0pt; font-family:"Calibri",sans-serif; font-weight:bold;} p.MsoToc2, li.MsoToc2, div.MsoToc2 {margin-top:6.0pt; margin-right:0in; margin-bottom:0in; margin-left:12.0pt; margin-bottom:.0001pt; font-size:10.0pt; font-family:"Calibri",sans-serif; font-style:italic;} a:link, span.MsoHyperlink {color:#0563C1; text-decoration:underline;} p.MsoPlainText, li.MsoPlainText, div.MsoPlainText {mso-style-link:"Plain Text Char"; margin:0in; margin-bottom:.0001pt; font-size:10.5pt; font-family:Consolas;} p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph {margin-right:0in; margin-left:0in; font-size:12.0pt; font-family:"Times New Roman",serif;} span.PlainTextChar {mso-style-name:"Plain Text Char"; mso-style-link:"Plain Text"; font-family:Consolas;} span.Heading1Char {mso-style-name:"Heading 1 Char"; mso-style-link:"Heading 1"; font-family:"Calibri Light",sans-serif; color:#2F5496;} span.Heading2Char {mso-style-name:"Heading 2 Char"; mso-style-link:"Heading 2"; font-family:"Calibri Light",sans-serif; color:#2F5496;} @page WordSection1 {size:8.5in 11.0in; margin:1.0in 75.1pt 1.0in 75.05pt;} div.WordSection1 {page:WordSection1;} /* List Definitions */ ol {margin-bottom:0in;} ul {margin-bottom:0in;} --> </style> </head> <body lang=EN-US link="#0563C1" vlink="#954F72"> <div class=WordSection1> <h1><a name="_Toc28328552"><span style='font-family:Helvetica;color:black'><img width=93 height=93 id="Picture 1" src="TextSweep%20User%20Help.fld/image001.png" alt="A close up of a logo Description automatically generated"></span></a><span style='font-family:Helvetica;color:black'><br> TextSweep User Help</span></h1> <h1></h1> <p class=MsoToc1><a href="#_Toc28328552"><span style='font-family:Helvetica;color:black'>TextSweep User Help</span><span style='color:black;display:none;text-decoration:none'> </span><span style='color:black;display:none;text-decoration:none'>1</span></a></p> <p class=MsoToc1><a href="#_Toc28328553"><span style='font-family:Helvetica; color:black'>Introduction to TextSweep</span><span style='color:black; display:none;text-decoration:none'> </span><span style='color:black;display:none;text-decoration:none'>1</span></a></p> <p class=MsoToc2><a href="#_Toc28328554"><span style='font-family:Helvetica; color:black'>Why TextSweep?</span><span style='color:black;display:none; text-decoration:none'> </span><span style='color:black;display:none;text-decoration:none'>1</span></a></p> <p class=MsoToc1><a href="#_Toc28328555"><span style='font-family:Helvetica; color:black'>Installing TextSweep</span><span style='color:black;display:none; text-decoration:none'> </span><span style='color:black;display:none;text-decoration:none'>1</span></a></p> <p class=MsoToc1><a href="#_Toc28328556"><span style='font-family:Helvetica; color:black'>Search and Replace</span><span style='color:black;display:none; text-decoration:none'> </span><span style='color:black;display:none;text-decoration:none'>2</span></a></p> <p class=MsoToc1><a href="#_Toc28328557"><span style='font-family:Helvetica; color:black'>Scripting</span><span style='color:black;display:none;text-decoration: none'> </span><span style='color:black;display:none;text-decoration:none'>2</span></a></p> <p class=MsoToc1><a href="#_Toc28328558"><span style='font-family:Helvetica; color:black'>Help</span><span style='color:black;display:none;text-decoration: none'> </span><span style='color:black;display:none;text-decoration:none'>3</span></a></p> <p class=MsoToc1><a href="#_Toc28328559"><span style='font-family:Helvetica; color:black'>TextSweep Version History</span><span style='color:black; display:none;text-decoration:none'> </span><span style='color:black;display:none;text-decoration:none'>4</span></a></p> <p class=MsoToc1><a href="#_Toc28328560"><span style='font-family:Helvetica; color:black'>License</span><span style='color:black;display:none;text-decoration: none'> </span><span style='color:black;display:none;text-decoration:none'>5</span></a></p> <p class=MsoPlainText><span style='font-family:Helvetica;color:black'> </span></p> <h1><a name="_Toc28328553"><span style='font-family:Helvetica;color:black'>Introduction to TextSweep</span></a></h1> <h1></h1> <p class=MsoPlainText><span style='font-family:Helvetica;color:black'>TextSweep is a simple but powerful application for searching and replacing text in multiple files, quickly and easily. Using an elegant, intuitive interface, TextSweep allows you to select a directory, specify which files will be modified, enter a search and replace term, and see the changes instantly. </span></p> <p class=MsoPlainText><span style='font-family:Helvetica;color:black'> </span></p> <p class=MsoPlainText><span style='font-family:Helvetica;color:black'><img width=355 height=128 id="Picture 2" src="TextSweep%20User%20Help.fld/image002.png" alt="A screenshot of a social media post Description automatically generated"></span></p> <h2></h2> <h2><a name="_Toc28328554"><span style='font-family:Helvetica;color:black'><img width=343 height=191 id="Picture 3" src="TextSweep%20User%20Help.fld/image003.png" alt="A screenshot of a social media post Description automatically generated"></span></a></h2> <p class=MsoNormal><span style='color:black'> </span></p> <h2><span style='font-family:Helvetica;color:black'>Why TextSweep?</span></h2> <p class=MsoPlainText><span style='font-family:Helvetica;color:black'> </span></p> <p class=MsoPlainText style='margin-left:24.0pt;text-indent:-.25in'><span style='font-family:Symbol;color:black'>·<span style='font:7.0pt "Times New Roman"'> </span></span><span style='font-family:Helvetica;color:black'>Faster than opening many files in a text editor and doing individual search/replace operations.</span></p> <p class=MsoPlainText style='margin-left:24.0pt;text-indent:-.25in'><span style='font-family:Symbol;color:black'>·<span style='font:7.0pt "Times New Roman"'> </span></span><span style='font-family:Helvetica;color:black'>More intuitive than other dedicated search-replace tools that feature an overwhelming variety of options and/or a complex interface.</span></p> <p class=MsoPlainText style='margin-left:24.0pt;text-indent:-.25in'><span style='font-family:Symbol;color:black'>·<span style='font:7.0pt "Times New Roman"'> </span></span><span style='font-family:Helvetica;color:black'>Extensive automation capabilities to incorporate into wider workflows.</span></p> <p class=MsoPlainText style='margin-left:24.0pt;text-indent:-.25in'><span style='font-family:Symbol;color:black'>·<span style='font:7.0pt "Times New Roman"'> </span></span><span style='font-family:Helvetica;color:black'>Less error-prone than using command-line programs to do do search/replace operations. </span></p> <p class=MsoPlainText style='margin-left:24.0pt;text-indent:-.25in'><span style='font-family:Symbol;color:black'>·<span style='font:7.0pt "Times New Roman"'> </span></span><span style='font-family:Helvetica;color:black'>Safe to use because all replace operations are easily undone.</span></p> <p class=MsoPlainText><span style='font-family:Helvetica;color:black'> </span></p> <p class=MsoPlainText><span style='font-family:Helvetica;color:black'>TextSweep has many features to help with search-and-replace in multiple files.</span></p> <p class=MsoPlainText></p> <h1><a name="_Toc28328555"><span style='font-family:Helvetica;color:black'>Installing TextSweep</span></a></h1> <p class=MsoPlainText><span style='font-family:Helvetica;color:black'> </span></p> <p class=MsoPlainText><span style='font-family:Helvetica;color:black'>To download TextSweep, go to </span><a href="https://www.codebykevin.com/TextSweep.html"><span style='font-family: Helvetica;color:black'>https://www.codebykevin.com/TextSweep.html</span></a><span style='font-family:Helvetica;color:black'>.</span></p> <p class=MsoNormal><span style='font-size:10.5pt;font-family:Helvetica; color:black'>The downloadable is free and full-featured. A donation will be requested to support its continued development. macOS 10.15 and Windows 10 are the minimum supported OS versions.</span></p> <p class=MsoNormal><span style='font-size:10.5pt;font-family:Helvetica; color:black'> </span></p> <h1><a name="_Toc28328556"><span style='font-family:Helvetica;color:black'>Search and Replace</span></a></h1> <h1></h1> <p class=MsoPlainText><span style='font-family:Helvetica;color:black'>Using TextSweep is a very simple process. </span></p> <p class=MsoPlainText></p> <p class=MsoPlainText style='margin-left:24.0pt;text-indent:-.25in'><span style='font-family:Symbol;color:black'>·<span style='font:7.0pt "Times New Roman"'> </span></span><span style='font-family:Helvetica;color:black'>Select the folder containing the files you want to update via the toolbar, menu, or via drag-and-drop.</span></p> <p class=MsoPlainText style='margin-left:24.0pt;text-indent:-.25in'><span style='font-family:Symbol;color:black'>·<span style='font:7.0pt "Times New Roman"'> </span></span><span style='font-family:Helvetica;color:black'>If necessary, filter the files by extension, or select * to display all files in the directory. </span></p> <p class=MsoPlainText style='margin-left:24.0pt;text-indent:-.25in'><span style='font-family:Symbol;color:black'>·<span style='font:7.0pt "Times New Roman"'> </span></span><span style='font-family:Helvetica;color:black'>Enter the search term.</span></p> <p class=MsoPlainText style='margin-left:24.0pt;text-indent:-.25in'><span style='font-family:Symbol;color:black'>·<span style='font:7.0pt "Times New Roman"'> </span></span><span style='font-family:Helvetica;color:black'>Enter the replacement term. </span></p> <p class=MsoPlainText style='margin-left:24.0pt;text-indent:-.25in'><span style='font-family:Symbol;color:black'>·<span style='font:7.0pt "Times New Roman"'> </span></span><span style='font-family:Helvetica;color:black'>Click the "replace" button.</span></p> <p class=MsoPlainText style='margin-left:24.0pt;text-indent:-.25in'><span style='font-family:Symbol;color:black'>·<span style='font:7.0pt "Times New Roman"'> </span></span><span style='font-family:Helvetica;color:black'>The search/replace term will be highlighted in the text display.</span></p> <p class=MsoPlainText style='margin-left:24.0pt;text-indent:-.25in'><span style='font-family:Symbol;color:black'>·</span></p> <p class=MsoPlainText><span style='font-family:Helvetica;color:black'>All strings matching the search term will be replaced in all selected files in the directory. The replacements can be reversed by pressing the "undo" button.</span></p> <p class=MsoPlainText><span style='font-family:Helvetica;color:black'> </span></p> <h1><a name="_Toc28328557"><span style='font-family:Helvetica;color:black'>Scripting</span></a></h1> <h1></h1> <p class=MsoPlainText><span style='font-family:Helvetica;color:black'>TextSweep can be automated on both the Mac and Windows, using the following commands: </span></p> <p class=MsoPlainText><span style='font-family:Helvetica;color:black'> </span></p> <p class=MsoPlainText style='margin-left:24.0pt;text-indent:-.25in'><span style='font-family:Symbol;color:black'>·<span style='font:7.0pt "Times New Roman"'> </span></span><span style='font-family:Helvetica;color:black'>set_search_folder(folder) -- set the search directory</span></p> <p class=MsoPlainText style='margin-left:24.0pt;text-indent:-.25in'><span style='font-family:Symbol;color:black'>·<span style='font:7.0pt "Times New Roman"'> </span></span><span style='font-family:Helvetica;color:black'>set_search_pattern(pattern) -- set the pattern to filter files by types, i.e. html</span></p> <p class=MsoPlainText style='margin-left:24.0pt;text-indent:-.25in'><span style='font-family:Symbol;color:black'>·<span style='font:7.0pt "Times New Roman"'> </span></span><span style='font-family:Helvetica;color:black'>set_search_term(term) -- the text to be replaced</span></p> <p class=MsoPlainText style='margin-left:24.0pt;text-indent:-.25in'><span style='font-family:Symbol;color:black'>·<span style='font:7.0pt "Times New Roman"'> </span></span><span style='font-family:Helvetica;color:black'>set_replace_term(term) -- replacement text</span></p> <p class=MsoPlainText style='margin-left:24.0pt;text-indent:-.25in'><span style='font-family:Symbol;color:black'>·<span style='font:7.0pt "Times New Roman"'> </span></span><span style='font-family:Helvetica;color:black'>execute_replace -- run the search and replacement operation</span></p> <p class=MsoPlainText><span style='font-family:Helvetica;color:black'> </span></p> <p class=MsoPlainText><span style='font-family:Helvetica;color:black'>Automating the application on macOS can be done via AppleScript. Type this script into AppleScript Editor and run it, or save the script as "test.applescript" and run "osascript test.applescript" from the command line: </span></p> <p class=MsoPlainText><span style='font-family:Helvetica;color:black'> </span></p> <p class=MsoPlainText><span style='font-family:Courier;color:black'> tell application "TextSweep"</span></p> <p class=MsoPlainText><span style='font-family:Courier;color:black'> delay 3</span></p> <p class=MsoPlainText><span style='font-family:Courier;color:black'> do script "set_search_pattern *.html"</span></p> <p class=MsoPlainText><span style='font-family:Courier;color:black'> do script "set_search_term WordTech"</span></p> <p class=MsoPlainText><span style='font-family:Courier;color:black'> do script "set_replace_term AWP"</span></p> <p class=MsoPlainText><span style='font-family:Courier;color:black'> do script "set_search_folder \"/Users/kevin/Desktop/CGWEB copy\""</span></p> <p class=MsoPlainText><span style='font-family:Courier;color:black'> do script "execute_replace" </span></p> <p class=MsoPlainText><span style='font-family:Courier;color:black'> end tell</span></p> <p class=MsoPlainText><span style='font-family:Helvetica;color:black'> </span></p> <p class=MsoPlainText><span style='font-family:Helvetica;color:black'> </span></p> <p class=MsoPlainText><span style='font-family:Helvetica;color:black'>On Windows, TextSweep provides a command-line interface. The command-line tool, textsweep-cli, can be called as follows:</span></p> <p class=MsoPlainText><span style='font-family:Helvetica;color:black'> </span></p> <p class=MsoPlainText style='text-indent:.5in'><span style='font-family:Courier; color:black'>textsweep-cli <i>searchfolder searchpattern searchterm replaceterm</i> </span></p> <p class=MsoPlainText style='text-indent:.5in'><span style='font-family:Courier; color:black'> </span></p> <p class=MsoPlainText><span style='font-family:Helvetica;color:black'>"Searchfolder” is the directory to search, “searchpattern” is the file type to use (".txt" searches all text files, for instance), "searchpattern" is the string that will be replaced, and "replaceterm" is the replacement string.</span></p> <p class=MsoPlainText><span style='font-family:Helvetica;color:black'> </span></p> <p class=MsoPlainText><span style='font-family:Helvetica;color:black'>Internally on Windows, automating the application on Windows is done using the Dynamic Data Exchange (DDE) protocol. The DDE protocol has several components, including "Service," "Topic," and "Items." In TextSweep, the Service name is always TclEval (because that is the underlying name that the Tcl interpreter supports), the Topic name is TextSweep, and Items (data or return values) are not currently required. There are various programming languages on Windows in which one can write a DDE client to automate a DDE application, including Tcl, Python, VBA, C/C++, and others. An easy way to automate TextSweep from the command line is to install Chris Oldwood's free DDE Command tool from </span><a href="http://www.chrisoldwood.com/win32.htm"><span style='font-family:Helvetica; color:black'>http://www.chrisoldwood.com/win32.htm</span></a><span style='font-family:Helvetica;color:black'>. (This tool is used in implementing the batch interface to TextSweep.) </span></p> <h1><a name="_Toc28328558"><span style='font-family:Helvetica;color:black'>Help</span></a></h1> <h1></h1> <p class=MsoPlainText><span style='font-family:Helvetica;color:black'>TextSweep provides comprehensive user documentation from the "Help" menu, and also provides tooltips for the toolbar buttons. Additional user support is available via the "Contact Code by Kevin" item in the Help menu; and the website link in the help menu.</span></p> <p class=MsoPlainText></p> <h1><span style='font-family:Helvetica;color:black'>Acknowledgments</span></h1> <p class=MsoPlainText><span style='font-family:Helvetica;color:black'> </span></p> <p class=MsoPlainText><span style='font-family:Helvetica;color:black'>The following open-source technologies have gone into the development of TextSweep:</span></p> <p class=MsoPlainText></p> <p class=MsoPlainText style='margin-left:24.0pt;text-indent:-.25in'><span style='font-family:Symbol;color:black'>·<span style='font:7.0pt "Times New Roman"'> </span></span><span style='font-family:Helvetica;color:black'>The Tcl/Tk GUI toolkit. Website: </span><a href="http://www.tcl.tk"><span style='font-family: Helvetica;color:black'>http://www.tcl.tk</span></a><span style='font-family: Helvetica;color:black'>. License: </span><a href="http://www.tcl.tk/software/tcltk/license.html"><span style='font-family: Helvetica;color:black'>http://www.tcl.tk/software/tcltk/license.html</span></a></p> <p class=MsoPlainText style='margin-left:24.0pt;text-indent:-.25in'><span style='font-family:Symbol;color:black'>·<span style='font:7.0pt "Times New Roman"'> </span></span><span style='font-family:Helvetica;color:black'>The tcllib and tklib libraries for Tcl/Tk. Website and license: </span><a href="http://tcllib.sourceforge.net"><span style='font-family:Helvetica; color:black'>http://tcllib.sourceforge.net</span></a><span style='font-family: Helvetica;color:black'>. </span></p> <p class=MsoPlainText style='margin-left:24.0pt;text-indent:-.25in'><span style='font-family:Symbol;color:black'>·<span style='font:7.0pt "Times New Roman"'> </span></span><span style='font-family:Helvetica;color:black'>TkDND for drag and drop. Website and license: </span><a href="http://sourceforge.net/projects/tkdnd/"><span style='font-family:Helvetica; color:black'>http://sourceforge.net/projects/tkdnd/</span></a><span style='font-family:Helvetica;color:black'> </span></p> <p class=MsoListParagraph style='margin-top:0in;margin-right:0in;margin-bottom: 0in;margin-left:24.0pt;margin-bottom:.0001pt;text-indent:-.25in'><span style='font-size:11.0pt;font-family:Symbol;color:black'>·<span style='font:7.0pt "Times New Roman"'> </span></span><span style='font-size:10.0pt;font-family:Helvetica;color:black'>App icon from the Nuvola icon set by David Vignoni. Website: </span><a href="https://commons.wikimedia.org/wiki/Category:Nuvola_icons"><span style='font-size:10.0pt;font-family:Helvetica;color:black'>https://commons.wikimedia.org/wiki/Category:Nuvola_icons</span></a><span style='font-size:10.0pt;font-family:Helvetica;color:black'>. License: </span><a href="https://www.gnu.org/licenses/lgpl-3.0.html"><span style='font-size:10.0pt; font-family:Helvetica;color:black'>https://www.gnu.org/licenses/lgpl-3.0.html</span></a></p> <p class=MsoListParagraph style='margin-top:0in;margin-right:0in;margin-bottom: 0in;margin-left:24.0pt;margin-bottom:.0001pt;text-indent:-.25in'><span class=MsoHyperlink><span style='font-size:11.0pt;font-family:Symbol;color:black; text-decoration:none'>·<span style='font:7.0pt "Times New Roman"'> </span></span></span><span style='font-size:10.0pt;font-family:Helvetica; color:black'>Toolbar icons from Picol icon set. Website and license: </span><a href="http://www.picol.org/"><span style='font-size:10.0pt;font-family:Helvetica; color:black'>http://www.picol.org</span></a></p> <p class=MsoListParagraph style='margin-top:0in;margin-right:0in;margin-bottom: 0in;margin-left:24.0pt;margin-bottom:.0001pt;text-indent:-.25in'><span class=MsoHyperlink><span style='font-size:10.5pt;font-family:Symbol;color:windowtext; text-decoration:none'>·<span style='font:7.0pt "Times New Roman"'> </span></span></span><span style='font-size:10.5pt;font-family:Helvetica; color:black'>DDE Command by Chris </span><span style='font-size:10.5pt; font-family:Helvetica'>Oldwood. Website and license: </span><a href="http://www.chrisoldwood.com/win32.htm"><span style='font-size:10.5pt; font-family:Helvetica;color:windowtext'>http://www.chrisoldwood.com/win32.htm</span></a></p> <p class=MsoListParagraph style='margin-top:0in;margin-right:0in;margin-bottom: 0in;margin-left:24.0pt;margin-bottom:.0001pt;text-indent:-.25in'><span style='font-size:10.5pt;font-family:Symbol'>·<span style='font:7.0pt "Times New Roman"'> </span></span><span style='font-size:10.5pt;font-family:Helvetica'>pathed by Neil Butterworth. MIT license. Website: </span><a href="https://code.google.com/archive/p/pathed/"><span style='font-size:10.5pt; font-family:Helvetica;color:windowtext'>https://code.google.com/archive/p/pathed/</span></a></p> <p class=MsoPlainText><span style='font-family:Helvetica;color:black'> </span></p> <h1><a name="_Toc28328559"><span style='font-family:Helvetica;color:black'>TextSweep Version History</span></a></h1> <h1></h1> <p class=MsoPlainText><span style='font-family:Helvetica;color:black'>5.0 (January 15, 2020)</span></p> <p class=MsoPlainText style='margin-left:.25in;text-indent:-.25in'><span style='font-family:Symbol;color:black'>·<span style='font:7.0pt "Times New Roman"'> </span></span><span style='font-family:Helvetica;color:black'>Major UI refresh.</span></p> <p class=MsoPlainText style='margin-left:.25in;text-indent:-.25in'><span style='font-family:Symbol;color:black'>·<span style='font:7.0pt "Times New Roman"'> </span></span><span style='font-family:Helvetica;color:black'>Support for dark mode on macOS. </span></p> <p class=MsoPlainText style='margin-left:.25in;text-indent:-.25in'><span style='font-family:Symbol;color:black'>·<span style='font:7.0pt "Times New Roman"'> </span></span><span style='font-family:Helvetica;color:black'>Streamlined Windows installation. </span></p> <p class=MsoPlainText><span style='font-family:Helvetica;color:black'> </span></p> <p class=MsoPlainText><span style='font-family:Helvetica;color:black'>4.2 (April 20, 2018):</span></p> <p class=MsoPlainText style='margin-left:24.0pt;text-indent:-.25in'><span style='font-family:Symbol;color:black'>·<span style='font:7.0pt "Times New Roman"'> </span></span><span style='font-family:Helvetica;color:black'>Migrate to new source code server. </span></p> <p class=MsoPlainText style='margin-left:24.0pt;text-indent:-.25in'><span style='font-family:Symbol;color:black'>·<span style='font:7.0pt "Times New Roman"'> </span></span><span style='font-family:Helvetica;color:black'>Minor bug fixes.</span></p> <p class=MsoPlainText><span style='font-family:Helvetica;color:black'> </span></p> <p class=MsoPlainText><span style='font-family:Helvetica;color:black'>4.1 (February 20, 2018):</span></p> <p class=MsoPlainText style='margin-left:24.0pt;text-indent:-.25in'><span style='font-family:Symbol;color:black'>·<span style='font:7.0pt "Times New Roman"'> </span></span><span style='font-family:Helvetica;color:black'>Improved resizing of main window for efficient UI.</span></p> <p class=MsoPlainText style='margin-left:24.0pt;text-indent:-.25in'><span style='font-family:Symbol;color:black'>·<span style='font:7.0pt "Times New Roman"'> </span></span><span style='font-family:Helvetica;color:black'>Removal of console on Windows.</span></p> <p class=MsoPlainText><span style='font-family:Helvetica;color:black'> </span></p> <p class=MsoPlainText><span style='font-family:Helvetica;color:black'>4.0 (January 1, 2018):</span></p> <p class=MsoPlainText style='margin-left:24.0pt;text-indent:-.25in'><span style='font-family:Symbol;color:black'>·<span style='font:7.0pt "Times New Roman"'> </span></span><span style='font-family:Helvetica;color:black'>New scripting API for Mac and Windows.</span></p> <p class=MsoPlainText style='margin-left:24.0pt;text-indent:-.25in'><span style='font-family:Symbol;color:black'>·<span style='font:7.0pt "Times New Roman"'> </span></span><span style='font-family:Helvetica;color:black'>UI enhancements. </span></p> <p class=MsoPlainText><span style='font-family:Helvetica;color:black'> </span></p> <p class=MsoPlainText><span style='font-family:Helvetica;color:black'>3.2 (May 1, 2017):</span></p> <p class=MsoPlainText style='margin-left:24.0pt;text-indent:-.25in'><span style='font-family:Symbol;color:black'>·<span style='font:7.0pt "Times New Roman"'> </span></span><span style='font-family:Helvetica;color:black'>Improved scrolling performance, security support on macOS.</span></p> <p class=MsoPlainText style='margin-left:24.0pt;text-indent:-.25in'><span style='font-family:Symbol;color:black'>·<span style='font:7.0pt "Times New Roman"'> </span></span><span style='font-family:Helvetica;color:black'>Improved security support on Windows.</span></p> <p class=MsoPlainText><span style='font-family:Helvetica;color:black'> </span></p> <p class=MsoPlainText><span style='font-family:Helvetica;color:black'>3.1 (April 1, 2017):</span></p> <p class=MsoPlainText style='margin-left:24.0pt;text-indent:-.25in'><span style='font-family:Symbol;color:black'>·<span style='font:7.0pt "Times New Roman"'> </span></span><span style='font-family:Helvetica;color:black'>Improved security on software updates.</span></p> <p class=MsoPlainText style='margin-left:24.0pt;text-indent:-.25in'><span style='font-family:Symbol;color:black'>·<span style='font:7.0pt "Times New Roman"'> </span></span><span style='font-family:Helvetica;color:black'>Minor UI enhancements.</span></p> <p class=MsoPlainText><span style='font-family:Helvetica;color:black'> </span></p> <p class=MsoPlainText><span style='font-family:Helvetica;color:black'>3.0 (September 1, 2016):</span></p> <p class=MsoPlainText style='margin-left:24.0pt;text-indent:-.25in'><span style='font-family:Symbol;color:black'>·<span style='font:7.0pt "Times New Roman"'> </span></span><span style='font-family:Helvetica;color:black'>Initial Windows release.</span></p> <p class=MsoPlainText style='margin-left:24.0pt;text-indent:-.25in'><span style='font-family:Symbol;color:black'>·<span style='font:7.0pt "Times New Roman"'> </span></span><span style='font-family:Helvetica;color:black'>UI refinements.</span></p> <p class=MsoPlainText><span style='font-family:Helvetica;color:black'> </span></p> <p class=MsoPlainText><span style='font-family:Helvetica;color:black'>2.1 (June 15, 2014):</span></p> <p class=MsoPlainText style='margin-left:24.0pt;text-indent:-.25in'><span style='font-family:Symbol;color:black'>·<span style='font:7.0pt "Times New Roman"'> </span></span><span style='font-family:Helvetica;color:black'>Fix major bug that caused app to hang when selecting file.</span></p> <p class=MsoPlainText style='margin-left:24.0pt;text-indent:-.25in'><span style='font-family:Symbol;color:black'>·<span style='font:7.0pt "Times New Roman"'> </span></span><span style='font-family:Helvetica;color:black'>Minor UI improvements.</span></p> <p class=MsoPlainText><span style='font-family:Helvetica;color:black'> </span></p> <p class=MsoPlainText><span style='font-family:Helvetica;color:black'>2.0 (January 1, 2014):</span></p> <p class=MsoPlainText style='margin-left:24.0pt;text-indent:-.25in'><span style='font-family:Symbol;color:black'>·<span style='font:7.0pt "Times New Roman"'> </span></span><span style='font-family:Helvetica;color:black'>Updated, modern UI with support for Retina displays.</span></p> <p class=MsoPlainText style='margin-left:24.0pt;text-indent:-.25in'><span style='font-family:Symbol;color:black'>·<span style='font:7.0pt "Times New Roman"'> </span></span><span style='font-family:Helvetica;color:black'>Fullscreen support.</span></p> <p class=MsoPlainText style='margin-left:24.0pt;text-indent:-.25in'><span style='font-family:Symbol;color:black'>·<span style='font:7.0pt "Times New Roman"'> </span></span><span style='font-family:Helvetica;color:black'> Supports Lion-stye auto- and sudden-termination.</span></p> <p class=MsoPlainText style='margin-left:24.0pt;text-indent:-.25in'><span style='font-family:Symbol;color:black'>·<span style='font:7.0pt "Times New Roman"'> </span></span><span style='font-family:Helvetica;color:black'>More responsive display of data. </span></p> <p class=MsoPlainText style='margin-left:24.0pt;text-indent:-.25in'><span style='font-family:Symbol;color:black'>·</span></p> <p class=MsoPlainText><span style='font-family:Helvetica;color:black'>1.1 (November 15, 2012):</span></p> <p class=MsoPlainText style='margin-left:24.0pt;text-indent:-.25in'><span style='font-family:Symbol;color:black'>·<span style='font:7.0pt "Times New Roman"'> </span></span><span style='font-family:Helvetica;color:black'>Improved error handling. </span></p> <p class=MsoPlainText style='margin-left:24.0pt;text-indent:-.25in'><span style='font-family:Symbol;color:black'>·<span style='font:7.0pt "Times New Roman"'> </span></span><span style='font-family:Helvetica;color:black'>Compatibility with Mac sandboxing requirements. </span></p> <p class=MsoPlainText style='margin-left:24.0pt;text-indent:-.25in'><span style='font-family:Symbol;color:black'>·</span></p> <p class=MsoPlainText style='margin-left:.25in;text-indent:-.25in'><span style='font-family:Helvetica;color:black'>1.0<span style='font:7.0pt "Times New Roman"'> </span></span><span style='font-family:Helvetica;color:black'>(August 15, 2012):</span></p> <p class=MsoPlainText style='margin-left:24.0pt;text-indent:-.25in'><span style='font-family:Symbol;color:black'>·<span style='font:7.0pt "Times New Roman"'> </span></span><span style='font-family:Helvetica;color:black'>Initial commercial release. </span></p> <p class=MsoPlainText><span style='font-family:Helvetica;color:black'> </span></p> <h1><a name="_Toc28328560"><span style='font-family:Helvetica;color:black'>License</span></a></h1> <h1></h1> <p class=MsoPlainText><span style='font-family:Helvetica;color:black'>The MIT License (MIT)</span></p> <p class=MsoPlainText><span style='font-family:Helvetica;color:black'> </span></p> <p class=MsoPlainText><span style='font-family:Helvetica;color:black'>TextSweep source code: </span></p> <p class=MsoPlainText><a href="https://www.codebykevin.com/fossil.cgi/textsweep/"><span style='font-family:Helvetica;color:black'>https://www.codebykevin.com/fossil.cgi/textsweep/</span></a></p> <p class=MsoPlainText><span style='font-family:Helvetica;color:black'> </span></p> <p class=MsoPlainText></p> <p class=MsoPlainText><span style='font-family:Helvetica;color:black'>Copyright © 2020 WordTech Communications LLC</span></p> <p class=MsoPlainText></p> <p class=MsoPlainText><span style='font-family:Helvetica;color:black'>Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:</span></p> <p class=MsoPlainText></p> <p class=MsoPlainText><span style='font-family:Helvetica;color:black'>The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.</span></p> <p class=MsoPlainText></p> <p class=MsoPlainText><span style='font-family:Helvetica;color:black'>THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.</span></p> <p class=MsoPlainText><span style='font-family:Helvetica;color:black'> </span></p> <p class=MsoPlainText><span style='font-family:Helvetica;color:black'> </span></p> <p class=MsoPlainText><span style='font-family:Helvetica;color:black'> </span></p> <p class=MsoPlainText><span style='font-family:Helvetica;color:black'> </span></p> </div> </body> </html> |
Changes to buildapp.sh.
︙ | ︙ | |||
109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 | <string>YES</string> <key>NSSupportsSuddenTermination</key> <string>YES</string> <key>NSAppleScriptEnabled</key> <true/> <key>OSAScriptingDefinition</key> <string>FileMorph.sdef</string> </dict> </plist> EOT quickbundle.pl file.ini #copy additional files, resources to app bundle cp -f filemorph.icns FileMorph.app/Contents/Resources/filemorph.icns cp -f FileMorph.sdef FileMorph.app/Contents/Resources/FileMorph.sdef mkdir FileMorph.app/Contents/lib mkdir FileMorph.app/Contents/Frameworks rm FileMorph.app/Contents/PkgInfo | > > > > > > > > > | 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 | <string>YES</string> <key>NSSupportsSuddenTermination</key> <string>YES</string> <key>NSAppleScriptEnabled</key> <true/> <key>OSAScriptingDefinition</key> <string>FileMorph.sdef</string> <key>CFBundleHelpBookFolder</key> <string>FileMorph User Help.help</string> <key>CFBundleHelpBookName</key> <string>FileMorph User Help</string> </dict> </plist> EOT quickbundle.pl file.ini #copy additional files, resources to app bundle cp -f filemorph.icns FileMorph.app/Contents/Resources/filemorph.icns cp -f FileMorph.sdef FileMorph.app/Contents/Resources/FileMorph.sdef cp -R -f "FileMorph User Help.html" "FileMorph User Help.help/Contents/Resources/FileMorph User Help.html" cp -R -f "FileMorph User Help.fld" "FileMorph User Help.help/Contents/Resources/" cp -R -f "FileMorph User Help.help" FileMorph.app/Contents/Resources/"FileMorph User Help.help" mkdir FileMorph.app/Contents/lib mkdir FileMorph.app/Contents/Frameworks rm FileMorph.app/Contents/PkgInfo |
︙ | ︙ |
Changes to filemorph.pl.
︙ | ︙ | |||
540 541 542 543 544 545 546 | 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, }; } "; $folderimage = Tkx::image_create_bitmap( -data => $folderdata ); | | | | | | | | | | | | | | | > | 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 | 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, }; } "; $folderimage = Tkx::image_create_bitmap( -data => $folderdata ); my $filedata = "#define xbm_folder_text_32_width 32 #define xbm_folder_text_32_height 32 static char xbm_folder_text_32_bits[] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0x03, 0x00, 0x00, 0xFF, 0x03, 0x00, 0x00, 0x03, 0xFF, 0xFF, 0x3F, 0x03, 0xFF, 0xFF, 0x3F, 0x03, 0xFF, 0xFF, 0xFF, 0x03, 0xFF, 0xFF, 0xFF, 0x03, 0x00, 0x00, 0xC0, 0x03, 0x00, 0x00, 0xC0, 0x03, 0x00, 0x00, 0xC0, 0x03, 0x00, 0x00, 0xC0, 0x03, 0xFF, 0xFF, 0xC0, 0x03, 0xFF, 0xFF, 0xC0, 0x03, 0x00, 0x00, 0xC0, 0x03, 0x00, 0x00, 0xC0, 0x03, 0xFF, 0xFF, 0xC0, 0x03, 0xFF, 0xFF, 0xC0, 0x03, 0x00, 0x00, 0xC0, 0x03, 0x00, 0x00, 0xC0, 0x03, 0xFF, 0x0F, 0xC0, 0x03, 0xFF, 0x0F, 0xC0, 0x03, 0x00, 0x00, 0xC0, 0x03, 0x00, 0x00, 0xC0, 0x03, 0x00, 0x00, 0xC0, 0x03, 0x00, 0x00, 0xC0, 0x03, 0x00, 0x00, 0xC0, 0x03, 0x00, 0x00, 0xC0, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, }; "; $fileimage = Tkx::image_create_bitmap( -data => $filedata ); } #check filelist for error handling |
︙ | ︙ |