home *** CD-ROM | disk | FTP | other *** search
/ The Best of Mecomp Multimedia 2 / MECOMP-CD-II.iso / amiga / tools / misc / textloader65 / util / textloader64.src.ascii < prev    next >
Encoding:
Text File  |  1998-03-20  |  105.6 KB  |  3,852 lines

  1. ; Dieser Sourcecode ist der ganze Quellcode des Textloader.DECK!
  2. ; Author dieser ganzen Routinen ist Pascal Gisin.
  3. ;
  4. ; Dies soll als Beispiel dienen, wie man mit CanDo einen Texteditoren
  5. ; erzeugt. Diese Datei ist aber kein Deck, sondern nur eine reine ASCII
  6. ; Datei des Original Cando Decks!
  7. ;
  8. ; Falls Sie sich für mehr Developper-Infos interessieren, können Sie mir
  9. ; auch eine EMail schicken:  An: PGisin@nextron.ch
  10. ;
  11. ; >---THE TEXTLOADER IS NOT OVER COMPLETE! IS IN WORK...---<
  12.  
  13.  
  14. *************
  15. * Deck "Textloader6.4"
  16. * Time 22:27:39
  17. * Date 03/19/98
  18. *************
  19.  
  20. *************
  21. * Card(s) in deck.
  22. *  Card "BildAnzeiger"
  23. *  Card "Hauptfenster"
  24. *  Card "Hauptfenster2"
  25. *  Card "Systeminfos..."
  26. *************
  27. * 4 Card(s), 4 were printed.
  28. *************
  29.  
  30. *************
  31. * Natural order of Cards
  32. *  Card "Hauptfenster"
  33. *  Card "Hauptfenster2"
  34. *  Card "Systeminfos..."
  35. *  Card "BildAnzeiger"
  36. *************
  37.  
  38. *************
  39. * Global Routine(s) in deck.
  40. *  Routine "AusserFunktion"
  41. *  Routine "Beep"
  42. *  Routine "Drucken"
  43. *  Routine "Einfügen"
  44. *  Routine "EinfügenDATA"
  45. *  Routine "Ende"
  46. *  Routine "Ende2"
  47. *  Routine "EndeCloseknopf"
  48. *  Routine "FehlerRoutine"
  49. *  Routine "Löschen"
  50. *  Routine "Message"
  51. *  Routine "S"
  52. *  Routine "SetzeAttr"
  53. *  Routine "SF"
  54. *  Routine "Sicherheitsabfrage"
  55. *  Routine "SichernVorBeenden"
  56. *  Routine "Suchen"
  57. *  Routine "SysInfoUpdates"
  58. *  Routine "SysInfoUpdates2"
  59. *  Routine "Timing"
  60. *  Routine "Timing2"
  61. *  Routine "Timing3"
  62. *  Routine "Timing4"
  63. *  Routine "Timing5"
  64. *  Routine "Timing6"
  65. *  Routine "Timing7"
  66. *  Routine "Timing8"
  67. *  Routine "Timing9"
  68. *  Routine "TitelUhr"
  69. *************
  70. * 29 Global routines(s), 29 were printed.
  71. *************
  72.  
  73. *************
  74. * Card "BildAnzeiger"
  75.     AfterAttachment ; used to be AfterStartup
  76.         ShowPicture Bild
  77.         IfError
  78.             SetPen 1
  79.             PrintText "Bild kann nicht geladen werden! Haben Sie überhaupt ein",10,7
  80.             PrintText "Bild Ausgewählt?",10,17
  81.             PrintText "Vielleicht wird aber Ihr verwendetes Bildspeicherformat vom ",10,37
  82.             PrintText "Textloader nicht Unterstützt!",10,47
  83.             SetPen 3
  84.             PrintText "Für das Bild-Menü zu starten, bitte mit der Maus das Balkenmenü aktivieren...",10,67
  85.         EndIf
  86.         ScreenTo FRONT 
  87.     EndScript
  88.     Window "UserWindow"
  89.         Definition
  90.             Origin 0,0
  91.             Size 640,256
  92.             Title ""
  93.             NumberOfColors 16
  94.             WindowColors 0,1,0 ; Detail, Block, Background
  95.             WindowObjects NONE 
  96.             WindowFlags ACTIVATE BORDERLESS SEPARATESCREEN TOFRONT 
  97.         EndScript
  98.         OnCloseButton
  99.             GotoCard "Aufgeben"
  100.         EndScript
  101.         OnActivated
  102.             Nop
  103.         EndScript
  104.         OnResized
  105.             ScreenTo FRONT 
  106.         EndScript
  107.     EndObject
  108.     TextMenu "Bildschirm drucken..."
  109.         Definition
  110.             AttachTo MENU ,"BildMenü"
  111.             Font "personal",8 ; FontName, PointSize
  112.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  113.             TextColors 1,2,JAM2  ; PenA, PenB, DrawMode
  114.             Text "Bildschirm drucken..."
  115.             MenuFlags NONE 
  116.             Highlight COMPLEMENT 
  117.             ShortCutKey ""
  118.         EndScript
  119.         Occurred
  120.             PrintScreen
  121.             IfError
  122.                 Do "Fehlerroutine"
  123.             EndIf
  124.         EndScript
  125.     EndObject
  126.     TextMenu "Zurück zum Textloader"
  127.         Definition
  128.             AttachTo MENU ,"BildMenü"
  129.             Font "topaz",8 ; FontName, PointSize
  130.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  131.             TextColors 0,1,NORMAL  ; PenA, PenB, DrawMode
  132.             Text "Zurück zum Textloader"
  133.             MenuFlags NONE 
  134.             Highlight COMPLEMENT 
  135.             ShortCutKey ""
  136.         EndScript
  137.         Occurred
  138.             GotoCard "Hauptfenster"
  139.         EndScript
  140.     EndObject
  141.     TextMenu "System-Infobar"
  142.         Definition
  143.             AttachTo MENU ,"BildMenü"
  144.             Font "topaz",8 ; FontName, PointSize
  145.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  146.             TextColors 0,1,NORMAL  ; PenA, PenB, DrawMode
  147.             Text "System-Infobar"
  148.             MenuFlags NONE 
  149.             Highlight COMPLEMENT 
  150.             ShortCutKey ""
  151.         EndScript
  152.         Occurred
  153.             GotoCard "Systeminfos..."
  154.         EndScript
  155.     EndObject
  156.     TextMenu "Textloader beenden"
  157.         Definition
  158.             AttachTo MENU ,"BildMenü"
  159.             Font "topaz",8 ; FontName, PointSize
  160.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  161.             TextColors 0,1,NORMAL  ; PenA, PenB, DrawMode
  162.             Text "Textloader beenden"
  163.             MenuFlags NONE 
  164.             Highlight COMPLEMENT 
  165.             ShortCutKey ""
  166.         EndScript
  167.         Occurred
  168.             Quit
  169.         EndScript
  170.     EndObject
  171. * End of Card "BildAnzeiger"
  172. *************
  173.  
  174. *************
  175. * Card "Hauptfenster"
  176.     BeforeAttachment ; used to be OnStartup
  177.         LoadSubDeck "SimpleReq","SimpleReq"
  178.         LoadSubDeck "SuchReq","SuchReq"
  179.         LoadSubDeck "ConiPalette","Palette"
  180.         LoadSubDeck "ConiAvail","Avail"
  181.         If exists ("sys:fonts/personal/8")
  182.         Else
  183.             OpenRequester "SimpleReq","Kommentar","","Textloader Meldung...","Ich kann den Textloader","Font nicht finden. Bitte","zuerst Installieren!","Sonst lade ich TOPAZ/8!"
  184.             Delay 0,5,1/50
  185.         EndIf
  186.         Echo " "
  187.         Echo "Textloader von Pascal Gisin!"
  188.         Echo "============================"
  189.         Echo " "
  190.         Echo "   >>>Der starke Editor für den AMIGA...<<<"
  191.         Echo " "
  192.         Echo "©1994-98 FORCESOFT (PASCAL GISIN)"
  193.         Echo " "
  194.         Echo "             My New Nickname, FORCE!!!"
  195.     EndScript
  196.     AfterAttachment ; used to be AfterStartup
  197.         SetScreenTitle "»FORCE SOFT« presents the Textloader by P.Gisin ©1994-98 (Force)"
  198.         OpenRequester "SimpleReq","Kommentar","","Textloader Information...","!Herzlich Willkommen!","Schicken Sie mir eine","Postkarte für die Registration!","!!! ES LOHNT SICH !!!"
  199.     EndScript
  200.     BeforeDetachment ; used to be OnFinishup
  201.         SaveDocument "TheDoc","ram:Txt.bak",ASCII 
  202.     EndScript
  203.     MessageFromSubDeck
  204.         If Arg1 <> ""
  205.             Do Arg1,Alias("Arg2"),Alias("Arg3"),Alias("Arg4")
  206.         EndIf
  207.     EndScript
  208.     Window "UserWindow"
  209.         Definition
  210.             Origin 0,11
  211.             Size 640,244
  212.             Title "Textloader 6.4"
  213.             NumberOfColors 4,167936
  214.             WindowColors 1,2,0 ; Detail, Block, Background
  215.             WindowObjects CLOSEBUTTON DEPTHBUTTONS DRAGBAR SIZEBUTTON 
  216.             WindowFlags ACTIVATE TOFRONT WORKBENCH 
  217.         EndScript
  218.         OnCloseButton
  219.             OpenRequester "SimpleReq","JaNein","EndeCloseknopf","Textloader Meldung..."," ","Möchten Sie wirklich","jetzt, den Textloader beenden?"," "
  220.         EndScript
  221.         OnActivated
  222.             Nop
  223.         EndScript
  224.         OnResized
  225.             Nop
  226.         EndScript
  227.     EndObject
  228.     Memo "Dokument"
  229.         Definition
  230.             Origin 5,12
  231.             Size 616,230
  232.             Font "topaz",8 ; FontName, PointSize
  233.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  234.             TextColors 1,0,JAM2  ; PenA, PenB, DrawMode
  235.             Border OUTLINE ,2,1 ; BorderStyle, MainPen, ExtraPen
  236.             Document "TheDoc" ; where the text comes from
  237.             ScrollBars RIGHT 
  238.             InputStyle NORMAL 
  239.         EndScript
  240.         OnDrag
  241.             Nop
  242.         EndScript
  243.     EndObject
  244.     TextMenu "Autor...                    »"
  245.         Definition
  246.             AttachTo MENU ,"Editormenü"
  247.             Font "personal",8 ; FontName, PointSize
  248.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  249.             TextColors 1,2,JAM2  ; PenA, PenB, DrawMode
  250.             Text "Autor...                    »"
  251.             MenuFlags NONE 
  252.             Highlight COMPLEMENT 
  253.             ShortCutKey ""
  254.         EndScript
  255.         Occurred
  256.             Let AutorInfo = "Pascal Gisin"||Char(10)||"Fiechtenweg 11"||Char(10)||"CH-4147 Aesch"||Char(10)||""||Char(10)||"Tel: 079/322'23'53"||Char(10)||"Fax: 079/0'322'23'53"||CHAR(10)||"Dedicated To ALL AMIGIANS OF THE WORLD"
  257.             Let Autor=AskForResponse(AutorInfo, "Textloader Info...", "Alles klar!")
  258.         EndScript
  259.     EndObject
  260.     TextMenu "SystemInfo..."
  261.         Definition
  262.             AttachTo MENU ,"Editormenü"
  263.             Font "personal",8 ; FontName, PointSize
  264.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  265.             TextColors 1,2,JAM2  ; PenA, PenB, DrawMode
  266.             Text "SystemInfo..."
  267.             MenuFlags NONE 
  268.             Highlight COMPLEMENT 
  269.             ShortCutKey "?"
  270.         EndScript
  271.         Occurred
  272.             If Hilfsmodus = TRUE
  273.                 OpenRequester "HelpReq","Card_1","","Mit diesem Menüpunkt, erhalten Sie","Interresannte Infos über Speicher-,","Chip-, Fast und Ihre Systemkonfigurationen!"," "," "
  274.             Else
  275.                 GotoCard "Systeminfos..."
  276.             EndIf
  277.         EndScript
  278.     EndObject
  279.     TextMenu "Trennstrich4"
  280.         Definition
  281.             AttachTo MENU ,"Editormenü"
  282.             Font "personal",8 ; FontName, PointSize
  283.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  284.             TextColors 0,1,NORMAL  ; PenA, PenB, DrawMode
  285.             Text "-------------------------------"
  286.             MenuFlags NONE 
  287.             Highlight NONE 
  288.             ShortCutKey ""
  289.         EndScript
  290.     EndObject
  291.     TextMenu "Laden..."
  292.         Definition
  293.             AttachTo MENU ,"Editormenü"
  294.             Font "personal",8 ; FontName, PointSize
  295.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  296.             TextColors 1,2,JAM2  ; PenA, PenB, DrawMode
  297.             Text "Laden..."
  298.             MenuFlags NONE 
  299.             Highlight COMPLEMENT 
  300.             ShortCutKey "L"
  301.         EndScript
  302.         Occurred
  303.             SetFileRequestMode REGULARMODE ,REJECTICONS 
  304.             Let Laden=AskForFilename(TheoriginDirectory,"ASCII/FTXT Datei laden...","155","39","340","180")
  305.             Let NeueDatei=Laden
  306.             If NeueDatei<>NOTHING
  307.                 If NOT MATCH (FileType(NeueDatei),"Unknown","FTXT")
  308.                     Do "Beep"
  309.                     SetWindowTitle "Kann die Datei"|||NeueDatei|||"nicht laden"
  310.                 Else
  311.                     SetWindowTitle "Lade Dokument..."
  312.                     LoadDocument NeueDatei,"TheDoc"
  313.                     IfError
  314.                     Else
  315.                         SetWindowTitle "Dateiname"|||NeueDatei
  316.                     EndIf
  317.                 EndIf
  318.             EndIf
  319.         EndScript
  320.     EndObject
  321.     TextMenu "Laden, Bild..."
  322.         Definition
  323.             AttachTo MENU ,"Editormenü"
  324.             Font "personal",8 ; FontName, PointSize
  325.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  326.             TextColors 1,2,JAM2  ; PenA, PenB, DrawMode
  327.             Text "Laden, Bild..."
  328.             MenuFlags NONE 
  329.             Highlight COMPLEMENT 
  330.             ShortCutKey "!"
  331.         EndScript
  332.         Occurred
  333.             SetFileRequestMode REGULARMODE ,REJECTICONS 
  334.             Let Datei=AskForFileName(Bild, "Bild auswählen! Zum laden...","155","39","340","180")
  335.             If Datei <> ""
  336.                 Let Bild = Datei
  337.                 GotoCard "BildAnzeiger"
  338.             EndIf
  339.         EndScript
  340.     EndObject
  341.     TextMenu "LadenBild(PP)"
  342.         Definition
  343.             AttachTo MENU ,"Editormenü"
  344.             Font "personal",8 ; FontName, PointSize
  345.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  346.             TextColors 1,2,JAM2  ; PenA, PenB, DrawMode
  347.             Text "LadenBild(PP)"
  348.             MenuFlags NONE 
  349.             Highlight COMPLEMENT 
  350.             ShortCutKey ""
  351.         EndScript
  352.         Occurred
  353.             If exists("Sys:c/PPshow")
  354.                 Dos "Run >NIL: <Nil: Sys:c/PPshow"
  355.             Else
  356.                 Let Fehler=AskForResponse("Leider konnte PPSHOW nicht gefunden werden!","Anzeigeproblem...","Schade")
  357.                 If Fehler=1
  358.                     DisableObject "LadenBild(PP)"
  359.                 EndIf
  360.             EndIf
  361.         EndScript
  362.     EndObject
  363.     TextMenu "TrennstrichX1"
  364.         Definition
  365.             AttachTo MENU ,"Editormenü"
  366.             Font "personal",8 ; FontName, PointSize
  367.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  368.             TextColors 0,1,NORMAL  ; PenA, PenB, DrawMode
  369.             Text "-------------------------------"
  370.             MenuFlags NONE 
  371.             Highlight NONE 
  372.             ShortCutKey ""
  373.         EndScript
  374.     EndObject
  375.     TextMenu "Einfügen..."
  376.         Definition
  377.             AttachTo MENU ,"Editormenü"
  378.             Font "personal",8 ; FontName, PointSize
  379.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  380.             TextColors 1,2,JAM2  ; PenA, PenB, DrawMode
  381.             Text "Einfügen..."
  382.             MenuFlags NONE 
  383.             Highlight COMPLEMENT 
  384.             ShortCutKey "E"
  385.         EndScript
  386.         Occurred
  387.             SetFileRequestMode REGULARMODE ,REJECTICONS 
  388.             Let Einfügen=AskForFilename("","Text beim Cursor einfügen...","155","39","340","180")
  389.             Let Newfile = Einfügen
  390.             If newfile<>nothing
  391.                 If Not Match(FileType(newfile),"Unknown","FTXT")
  392.                     SetWindowTitle "Kann File nicht Laden """||newfile||""""
  393.                 Else
  394.                     SetWindowTitle "Lade einzufügender Text....."
  395.                     InsertDocument newfile,"TheDoc"
  396.                     IfError
  397.                         Do "Fehlerroutine"
  398.                     Else
  399.                         Let FileToGet=newfile
  400.                         SetWindowTitle "FileName :"""||FileToGet||""""
  401.                     EndIf
  402.                 EndIf
  403.             EndIf
  404.         EndScript
  405.     EndObject
  406.     TextMenu "TrennstrichX9"
  407.         Definition
  408.             AttachTo MENU ,"Editormenü"
  409.             Font "personal",8 ; FontName, PointSize
  410.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  411.             TextColors 0,1,NORMAL  ; PenA, PenB, DrawMode
  412.             Text "-------------------------------"
  413.             MenuFlags NONE 
  414.             Highlight NONE 
  415.             ShortCutKey ""
  416.         EndScript
  417.     EndObject
  418.     TextMenu "Suchen..."
  419.         Definition
  420.             AttachTo MENU ,"Editormenü"
  421.             Font "personal",8 ; FontName, PointSize
  422.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  423.             TextColors 1,2,JAM2  ; PenA, PenB, DrawMode
  424.             Text "Suchen..."
  425.             MenuFlags NONE 
  426.             Highlight COMPLEMENT 
  427.             ShortCutKey "S"
  428.         EndScript
  429.         Occurred
  430.             Do "S"
  431.         EndScript
  432.     EndObject
  433.     TextMenu "Suchen fortsetzen..."
  434.         Definition
  435.             AttachTo MENU ,"Editormenü"
  436.             Font "personal",8 ; FontName, PointSize
  437.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  438.             TextColors 1,2,JAM2  ; PenA, PenB, DrawMode
  439.             Text "Suchen fortsetzen..."
  440.             MenuFlags NONE 
  441.             Highlight COMPLEMENT 
  442.             ShortCutKey "W"
  443.         EndScript
  444.         Occurred
  445.             Do "SF"
  446.         EndScript
  447.     EndObject
  448.     TextMenu "TrennstrichX7"
  449.         Definition
  450.             AttachTo MENU ,"Editormenü"
  451.             Font "personal",8 ; FontName, PointSize
  452.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  453.             TextColors 0,1,NORMAL  ; PenA, PenB, DrawMode
  454.             Text "-------------------------------"
  455.             MenuFlags NONE 
  456.             Highlight NONE 
  457.             ShortCutKey ""
  458.         EndScript
  459.     EndObject
  460.     TextMenu "Speichern, ASCII"
  461.         Definition
  462.             AttachTo MENU ,"Editormenü"
  463.             Font "personal",8 ; FontName, PointSize
  464.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  465.             TextColors 1,2,JAM2  ; PenA, PenB, DrawMode
  466.             Text "Speichern, ASCII"
  467.             MenuFlags NONE 
  468.             Highlight COMPLEMENT 
  469.             ShortCutKey "A"
  470.         EndScript
  471.         Occurred
  472.             SetFileRequestMode SAVEFILEMODE ,NONE 
  473.             Let SichernAscii=AskForFileName(TheCurrentDirectory,"Text in ASCII sichern...","155","39","340","180")
  474.             Let Antwort = SichernAscii
  475.             If Antwort <> ""
  476.                 Let Dateispeichername = Antwort
  477.                 SetWindowTitle "Speichere nun im ASCII Format!"
  478.                 SaveDocument "TheDoc",Dateispeichername,ASCII 
  479.                 IfError
  480.                     Do "Fehlerroutine"
  481.                 EndIf
  482.             EndIf
  483.             SetWindowTitle "Textloader ©  by P.Gisin"
  484.         EndScript
  485.     EndObject
  486.     TextMenu "Speichern, FTXT"
  487.         Definition
  488.             AttachTo MENU ,"Editormenü"
  489.             Font "personal",8 ; FontName, PointSize
  490.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  491.             TextColors 1,2,JAM2  ; PenA, PenB, DrawMode
  492.             Text "Speichern, FTXT"
  493.             MenuFlags NONE 
  494.             Highlight COMPLEMENT 
  495.             ShortCutKey "F"
  496.         EndScript
  497.         Occurred
  498.             SetFileRequestMode SAVEFILEMODE ,NONE 
  499.             Let SpeichernFTXT=askForFilename(TheCurrentDirectory,"Text im FTXT Format sichern...","155","39","340","180")
  500.             Let Antwort = SpeichernFTXT
  501.             If Antwort <> ""
  502.                 Let Dateispeichername = Antwort
  503.                 SetWindowTitle "Speichere nun im FTXT Format!"
  504.                 SaveDocument "TheDoc",Dateispeichername,FTXT 
  505.                 IfError
  506.                     Do "Fehlerroutine"
  507.                 EndIf
  508.             EndIf
  509.             SetWindowTitle "Textloader © by P.Gisin"
  510.         EndScript
  511.     EndObject
  512.     TextMenu "Speichern, Backup           »"
  513.         Definition
  514.             AttachTo MENU ,"Editormenü"
  515.             Font "personal",8 ; FontName, PointSize
  516.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  517.             TextColors 1,2,JAM2  ; PenA, PenB, DrawMode
  518.             Text "Speichern, Backup           »"
  519.             MenuFlags NONE 
  520.             Highlight COMPLEMENT 
  521.             ShortCutKey ""
  522.         EndScript
  523.     EndObject
  524.     TextMenu "Sicherheitskopie anlegen (1)"
  525.         Definition
  526.             AttachTo OBJECT ,"Speichern, Backup           »"
  527.             Font "personal",8 ; FontName, PointSize
  528.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  529.             TextColors 3,1,NORMAL  ; PenA, PenB, DrawMode
  530.             Text "Sicherheitskopie anlegen (1)"
  531.             MenuFlags NONE 
  532.             Highlight COMPLEMENT 
  533.             ShortCutKey ""
  534.         EndScript
  535.         Occurred
  536.             SetWindowTitle "Speichere den Text nun in die RAM, unter Ablage (1)"
  537.             SaveDocument "TheDoc","ram:1BackupTextloader",ASCII 
  538.             IfError
  539.                 Do "Fehlerroutine"
  540.             EndIf
  541.             Delay 0,3,1/50
  542.             SetWindowTitle "Textloader Editor, von Pascal Gisin"
  543.         EndScript
  544.     EndObject
  545.     TextMenu "Speichern"
  546.         Definition
  547.             AttachTo MENU ,"Editormenü"
  548.             Font "personal",8 ; FontName, PointSize
  549.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  550.             TextColors 1,2,JAM2  ; PenA, PenB, DrawMode
  551.             Text "Speichern"
  552.             MenuFlags NONE 
  553.             Highlight COMPLEMENT 
  554.             ShortCutKey "T"
  555.         EndScript
  556.         Occurred
  557.             Let Abfrage = AskForResponse("Dieser Text wird dort gespeichert,"||Char(10)||"wo er geladen wurde. Ist das,"||Char(10)||"so in Ordnung?","Textloader Informiert...","Aber natürlich|Hab mich verdrückt")
  558.             If Abfrage =1
  559.                 SaveAllChangedBuffers
  560.                 If error
  561.                     Do "FehlerRoutine"
  562.                     If Abfrage =0
  563.                     EndIf
  564.                 EndIf
  565.             EndIf
  566.         EndScript
  567.     EndObject
  568.     TextMenu "TrennstrichX2"
  569.         Definition
  570.             AttachTo MENU ,"Editormenü"
  571.             Font "personal",8 ; FontName, PointSize
  572.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  573.             TextColors 0,1,NORMAL  ; PenA, PenB, DrawMode
  574.             Text "-------------------------------"
  575.             MenuFlags NONE 
  576.             Highlight NONE 
  577.             ShortCutKey ""
  578.         EndScript
  579.     EndObject
  580.     TextMenu "Löschen, TEXT"
  581.         Definition
  582.             AttachTo MENU ,"Editormenü"
  583.             Font "personal",8 ; FontName, PointSize
  584.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  585.             TextColors 1,2,JAM2  ; PenA, PenB, DrawMode
  586.             Text "Löschen, TEXT"
  587.             MenuFlags NONE 
  588.             Highlight COMPLEMENT 
  589.             ShortCutKey "T"
  590.         EndScript
  591.         Occurred
  592.             OpenRequester "SimpleReq","JaNein","Löschen","Textloader Meldung...","Möchten Sie wirklich","den ganzen Text","für immer löschen?","???"
  593.         EndScript
  594.     EndObject
  595.     TextMenu "Löschen, ZEILE"
  596.         Definition
  597.             AttachTo MENU ,"Editormenü"
  598.             Font "personal",8 ; FontName, PointSize
  599.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  600.             TextColors 1,2,JAM2  ; PenA, PenB, DrawMode
  601.             Text "Löschen, ZEILE"
  602.             MenuFlags NONE 
  603.             Highlight COMPLEMENT 
  604.             ShortCutKey "Z"
  605.         EndScript
  606.         Occurred
  607.             WorkWithDocument "TheDoc"
  608.             Clear LINE 
  609.         EndScript
  610.     EndObject
  611.     TextMenu "TrennstrichX3"
  612.         Definition
  613.             AttachTo MENU ,"Editormenü"
  614.             Font "personal",8 ; FontName, PointSize
  615.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  616.             TextColors 0,1,NORMAL  ; PenA, PenB, DrawMode
  617.             Text "-------------------------------"
  618.             MenuFlags NONE 
  619.             Highlight NONE 
  620.             ShortCutKey ""
  621.         EndScript
  622.     EndObject
  623.     TextMenu "Cursor, Textanfang...   "
  624.         Definition
  625.             AttachTo MENU ,"Editormenü"
  626.             Font "personal",8 ; FontName, PointSize
  627.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  628.             TextColors 1,2,JAM2  ; PenA, PenB, DrawMode
  629.             Text "Cursor, Textanfang...   "
  630.             MenuFlags NONE 
  631.             Highlight COMPLEMENT 
  632.             ShortCutKey ":"
  633.         EndScript
  634.         Occurred
  635.             WorkWithDocument "TheDoc"
  636.             MoveCursorTo STARTOF DOCUMENT 
  637.         EndScript
  638.     EndObject
  639.     TextMenu "Cursor, Textende..."
  640.         Definition
  641.             AttachTo MENU ,"Editormenü"
  642.             Font "personal",8 ; FontName, PointSize
  643.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  644.             TextColors 1,2,JAM2  ; PenA, PenB, DrawMode
  645.             Text "Cursor, Textende..."
  646.             MenuFlags NONE 
  647.             Highlight COMPLEMENT 
  648.             ShortCutKey ";"
  649.         EndScript
  650.         Occurred
  651.             WorkWithDocument "TheDoc"
  652.             MoveCursorTo ENDOF DOCUMENT 
  653.         EndScript
  654.     EndObject
  655.     TextMenu "Cursor, EineZeile"
  656.         Definition
  657.             AttachTo MENU ,"Editormenü"
  658.             Font "personal",8 ; FontName, PointSize
  659.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  660.             TextColors 1,2,JAM2  ; PenA, PenB, DrawMode
  661.             Text "Neue Zeile"
  662.             MenuFlags NONE 
  663.             Highlight COMPLEMENT 
  664.             ShortCutKey "D"
  665.         EndScript
  666.         Occurred
  667.             NewLine
  668.         EndScript
  669.     EndObject
  670.     TextMenu "TrennstrichX4"
  671.         Definition
  672.             AttachTo MENU ,"Editormenü"
  673.             Font "personal",8 ; FontName, PointSize
  674.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  675.             TextColors 0,1,NORMAL  ; PenA, PenB, DrawMode
  676.             Text "-------------------------------"
  677.             MenuFlags NONE 
  678.             Highlight NONE 
  679.             ShortCutKey ""
  680.         EndScript
  681.     EndObject
  682.     TextMenu "Drucken..."
  683.         Definition
  684.             AttachTo MENU ,"Editormenü"
  685.             Font "personal",8 ; FontName, PointSize
  686.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  687.             TextColors 1,2,JAM2  ; PenA, PenB, DrawMode
  688.             Text "Drucken..."
  689.             MenuFlags NONE 
  690.             Highlight COMPLEMENT 
  691.             ShortCutKey "P"
  692.         EndScript
  693.         Occurred
  694.             OpenRequester "SimpleReq","JaNein","Drucken","Textloader Meldung...","Wollen Sie wirklich","dieses Dokument","jetzt Ausdrucken lassen?"," "
  695.         EndScript
  696.     EndObject
  697.     TextMenu "TrennstrichX5"
  698.         Definition
  699.             AttachTo MENU ,"Editormenü"
  700.             Font "personal",8 ; FontName, PointSize
  701.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  702.             TextColors 0,1,NORMAL  ; PenA, PenB, DrawMode
  703.             Text "-------------------------------"
  704.             MenuFlags NONE 
  705.             Highlight NONE 
  706.             ShortCutKey ""
  707.         EndScript
  708.     EndObject
  709.     TextMenu "Beenden..."
  710.         Definition
  711.             AttachTo MENU ,"Editormenü"
  712.             Font "personal",8 ; FontName, PointSize
  713.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  714.             TextColors 1,2,JAM2  ; PenA, PenB, DrawMode
  715.             Text "Beenden..."
  716.             MenuFlags NONE 
  717.             Highlight COMPLEMENT 
  718.             ShortCutKey "Q"
  719.         EndScript
  720.         Occurred
  721.             OpenRequester "SimpleReq","JaNein","Ende","Textloader Frage...","Möchten Sie Ihr Dokument, vor","dem beenden noch sichern ???","",""
  722.         EndScript
  723.     EndObject
  724.     TextMenu "HTML Information"
  725.         Definition
  726.             AttachTo MENU ," WWWEdit "
  727.             Font "personal",8 ; FontName, PointSize
  728.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  729.             TextColors 1,2,JAM2  ; PenA, PenB, DrawMode
  730.             Text "HTML (Infos)"
  731.             MenuFlags NONE 
  732.             Highlight COMPLEMENT 
  733.             ShortCutKey ""
  734.         EndScript
  735.         Occurred
  736.             LoadDocument ("SchabloneInfo"),"TheDoc"
  737.         EndScript
  738.     EndObject
  739.     TextMenu "Schablone öffnen..."
  740.         Definition
  741.             AttachTo MENU ," WWWEdit "
  742.             Font "personal",8 ; FontName, PointSize
  743.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  744.             TextColors 1,2,JAM2  ; PenA, PenB, DrawMode
  745.             Text "HTML (Text)"
  746.             MenuFlags NONE 
  747.             Highlight COMPLEMENT 
  748.             ShortCutKey ""
  749.         EndScript
  750.         Occurred
  751.             LoadDocument ("Schablone1"),"TheDoc"
  752.         EndScript
  753.     EndObject
  754.     TextMenu "Systemuhr..."
  755.         Definition
  756.             AttachTo MENU ," Workbench "
  757.             Font "personal",8 ; FontName, PointSize
  758.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  759.             TextColors 3,2,JAM2  ; PenA, PenB, DrawMode
  760.             Text "Systemuhr..."
  761.             MenuFlags NONE 
  762.             Highlight COMPLEMENT 
  763.             ShortCutKey "U"
  764.         EndScript
  765.         Occurred
  766.             Dos "Run >Nil: <Nil: Sys:Utilities/Clock" ; Run the application
  767.         EndScript
  768.     EndObject
  769.     TextMenu "Taschenrechner..."
  770.         Definition
  771.             AttachTo MENU ," Workbench "
  772.             Font "personal",8 ; FontName, PointSize
  773.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  774.             TextColors 3,2,JAM2  ; PenA, PenB, DrawMode
  775.             Text "Taschenrechner..."
  776.             MenuFlags NONE 
  777.             Highlight COMPLEMENT 
  778.             ShortCutKey "C"
  779.         EndScript
  780.         Occurred
  781.             Dos "Run >Nil: <Nil: Sys:Tools/Calculator" ; Run the application
  782.         EndScript
  783.     EndObject
  784.     TextMenu "Tastaturbelegung..."
  785.         Definition
  786.             AttachTo MENU ," Workbench "
  787.             Font "personal",8 ; FontName, PointSize
  788.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  789.             TextColors 3,2,JAM2  ; PenA, PenB, DrawMode
  790.             Text "Tastaturbelegung..."
  791.             MenuFlags NONE 
  792.             Highlight COMPLEMENT 
  793.             ShortCutKey "K"
  794.         EndScript
  795.         Occurred
  796.             Dos "Run >Nil: <Nil: Sys:Tools/KeyShow" ; Run the application
  797.         EndScript
  798.     EndObject
  799.     TextMenu "Farbeneinsteller..."
  800.         Definition
  801.             AttachTo MENU ," Workbench "
  802.             Font "personal",8 ; FontName, PointSize
  803.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  804.             TextColors 3,2,JAM2  ; PenA, PenB, DrawMode
  805.             Text "Farbeneinsteller..."
  806.             MenuFlags NONE 
  807.             Highlight COMPLEMENT 
  808.             ShortCutKey "+"
  809.         EndScript
  810.         Occurred
  811.             If exists("sys:Tools/Colors")
  812.                 Dos "Run >Nil: <Nil: Sys:Tools/Colors" ; Run the application
  813.             ElseIf exists("sys:Prefs/Palette")
  814.                 Dos "Run >Nil: <Nil: Sys:Prefs/Palette"
  815.             Else
  816.                 Let Error =askforResponse("Programm existiert nicht!","Textloader Fehler...","")
  817.             EndIf
  818.         EndScript
  819.     EndObject
  820.     TextMenu "HD-Toolbox..."
  821.         Definition
  822.             AttachTo MENU ," Workbench "
  823.             Font "personal",8 ; FontName, PointSize
  824.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  825.             TextColors 3,2,JAM2  ; PenA, PenB, DrawMode
  826.             Text "HD-Toolbox..."
  827.             MenuFlags NONE 
  828.             Highlight COMPLEMENT 
  829.             ShortCutKey "%"
  830.         EndScript
  831.         Occurred
  832.             Dos "Run >Nil: <Nil: Sys:Tools/HDToolbox" ; Run the application
  833.         EndScript
  834.     EndObject
  835.     TextMenu "Cli-Fenster..."
  836.         Definition
  837.             AttachTo MENU ," Workbench "
  838.             Font "personal",8 ; FontName, PointSize
  839.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  840.             TextColors 3,2,JAM2  ; PenA, PenB, DrawMode
  841.             Text "Cli-Fenster..."
  842.             MenuFlags NONE 
  843.             Highlight COMPLEMENT 
  844.             ShortCutKey "$"
  845.         EndScript
  846.         Occurred
  847.             Dos "Run >Nil: <Nil: Sys:System/Cli" ; Run the application
  848.         EndScript
  849.     EndObject
  850.     TextMenu "Trennstrich6"
  851.         Definition
  852.             AttachTo MENU ," Workbench "
  853.             Font "personal",8 ; FontName, PointSize
  854.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  855.             TextColors 0,1,NORMAL  ; PenA, PenB, DrawMode
  856.             Text "-------------------------------"
  857.             MenuFlags NONE 
  858.             Highlight NONE 
  859.             ShortCutKey ""
  860.         EndScript
  861.     EndObject
  862.     TextMenu "MenuItem_4"
  863.         Definition
  864.             AttachTo MENU ," Workbench "
  865.             Font "personal",8 ; FontName, PointSize
  866.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  867.             TextColors 3,2,JAM2  ; PenA, PenB, DrawMode
  868.             Text "Multiview..."
  869.             MenuFlags NONE 
  870.             Highlight COMPLEMENT 
  871.             ShortCutKey "0"
  872.         EndScript
  873.         Occurred
  874.             Dos "Run >Nil: <Nil: Sys:Utilities/Multiview"
  875.             If error
  876.                 Do "Fehlerroutine"
  877.             EndIf
  878.         EndScript
  879.     EndObject
  880.     TextMenu "DruckerPrefs..."
  881.         Definition
  882.             AttachTo MENU ," Workbench "
  883.             Font "personal",8 ; FontName, PointSize
  884.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  885.             TextColors 3,2,JAM2  ; PenA, PenB, DrawMode
  886.             Text "DruckerPrefs..."
  887.             MenuFlags NONE 
  888.             Highlight COMPLEMENT 
  889.             ShortCutKey "1"
  890.         EndScript
  891.         Occurred
  892.             Dos "Run >Nil: <Nil: Sys:prefs/Printer" ; Run the application
  893.         EndScript
  894.     EndObject
  895.     TextMenu "Zeiteinsteller..."
  896.         Definition
  897.             AttachTo MENU ," Workbench "
  898.             Font "personal",8 ; FontName, PointSize
  899.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  900.             TextColors 3,2,JAM2  ; PenA, PenB, DrawMode
  901.             Text "Zeiteinsteller..."
  902.             MenuFlags NONE 
  903.             Highlight COMPLEMENT 
  904.             ShortCutKey "2"
  905.         EndScript
  906.         Occurred
  907.             Dos "Run >Nil: <Nil: Sys:prefs/Time" ; Run the application
  908.         EndScript
  909.     EndObject
  910.     TextMenu "Sprache(Locale)..."
  911.         Definition
  912.             AttachTo MENU ," Workbench "
  913.             Font "personal",8 ; FontName, PointSize
  914.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  915.             TextColors 3,2,JAM2  ; PenA, PenB, DrawMode
  916.             Text "Sprache(Locale)..."
  917.             MenuFlags NONE 
  918.             Highlight COMPLEMENT 
  919.             ShortCutKey "3"
  920.         EndScript
  921.         Occurred
  922.             Dos "Run >Nil: <Nil: Sys:prefs/Locale" ; Run the application
  923.         EndScript
  924.     EndObject
  925.     TextMenu "Screenmodeprefs..."
  926.         Definition
  927.             AttachTo MENU ," Workbench "
  928.             Font "personal",8 ; FontName, PointSize
  929.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  930.             TextColors 3,2,JAM2  ; PenA, PenB, DrawMode
  931.             Text "Screenmodeprefs..."
  932.             MenuFlags NONE 
  933.             Highlight COMPLEMENT 
  934.             ShortCutKey "4"
  935.         EndScript
  936.         Occurred
  937.             Dos "Run >Nil: <Nil: Sys:Prefs/ScreenMode" ; Run the application
  938.         EndScript
  939.     EndObject
  940.     TextMenu "PrinterGfx..."
  941.         Definition
  942.             AttachTo MENU ," Workbench "
  943.             Font "personal",8 ; FontName, PointSize
  944.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  945.             TextColors 3,2,JAM2  ; PenA, PenB, DrawMode
  946.             Text "PrinterGfx..."
  947.             MenuFlags NONE 
  948.             Highlight COMPLEMENT 
  949.             ShortCutKey "5"
  950.         EndScript
  951.         Occurred
  952.             Dos "Run >Nil: <Nil: Sys:prefs/PrinterGfx" ; Run the application
  953.         EndScript
  954.     EndObject
  955.     TextMenu "Fonteinsteller..."
  956.         Definition
  957.             AttachTo MENU ," Workbench "
  958.             Font "personal",8 ; FontName, PointSize
  959.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  960.             TextColors 3,2,JAM2  ; PenA, PenB, DrawMode
  961.             Text "Fonteinsteller..."
  962.             MenuFlags NONE 
  963.             Highlight COMPLEMENT 
  964.             ShortCutKey "6"
  965.         EndScript
  966.         Occurred
  967.             Dos "Run >Nil: <Nil: Sys:prefs/Font" ; Run the application
  968.         EndScript
  969.     EndObject
  970.     TextMenu "Eigener Screen öffnen"
  971.         Definition
  972.             AttachTo MENU ," PrefsTools "
  973.             Font "personal",8 ; FontName, PointSize
  974.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  975.             TextColors 1,2,JAM2  ; PenA, PenB, DrawMode
  976.             Text "Eigener Screen öffnen"
  977.             MenuFlags NONE 
  978.             Highlight COMPLEMENT 
  979.             ShortCutKey ""
  980.         EndScript
  981.         Occurred
  982.             GotoCard "Hauptfenster2"
  983.         EndScript
  984.     EndObject
  985.     TextMenu "Palette..."
  986.         Definition
  987.             AttachTo MENU ," PrefsTools "
  988.             Font "personal",8 ; FontName, PointSize
  989.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  990.             TextColors 1,2,JAM2  ; PenA, PenB, DrawMode
  991.             Text "Palette..."
  992.             MenuFlags NONE 
  993.             Highlight COMPLEMENT 
  994.             ShortCutKey "X"
  995.         EndScript
  996.         Occurred
  997.             OpenRequester "Palette","Palette"
  998.         EndScript
  999.     EndObject
  1000.     TextMenu "Speicher..."
  1001.         Definition
  1002.             AttachTo MENU ," PrefsTools "
  1003.             Font "personal",8 ; FontName, PointSize
  1004.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  1005.             TextColors 1,2,JAM2  ; PenA, PenB, DrawMode
  1006.             Text "Speicher..."
  1007.             MenuFlags NONE 
  1008.             Highlight COMPLEMENT 
  1009.             ShortCutKey "M"
  1010.         EndScript
  1011.         Occurred
  1012.             OpenRequester "Avail","Avail"
  1013.         EndScript
  1014.     EndObject
  1015.     IntervalTimer "TitelUhr"
  1016.         Definition
  1017.             Duration 0,1,0 ; Minutes, Seconds, Jiffies
  1018.         EndScript
  1019.         Occurred
  1020.             Do "TitelUhr"
  1021.         EndScript
  1022.     EndObject
  1023.     TextMenu "Sicherheitskopie anlegen (2)"
  1024.         Definition
  1025.             AttachTo OBJECT ,"Speichern, Backup           »"
  1026.             Font "personal",8 ; FontName, PointSize
  1027.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  1028.             TextColors 3,1,NORMAL  ; PenA, PenB, DrawMode
  1029.             Text "Sicherheitskopie anlegen (2)"
  1030.             MenuFlags NONE 
  1031.             Highlight COMPLEMENT 
  1032.             ShortCutKey ""
  1033.         EndScript
  1034.         Occurred
  1035.             SetWindowTitle "Speichere den Text nun in die RAM, unter Ablage (2)"
  1036.             SaveDocument "TheDoc","ram:2BackupTextloader",ASCII 
  1037.             IfError
  1038.                 Do "Fehlerroutine"
  1039.             EndIf
  1040.             Delay 0,3,1/50
  1041.             SetWindowTitle "Textloader Editor, von Pascal Gisin"
  1042.         EndScript
  1043.     EndObject
  1044.     TextMenu "Sicherheitskopie anlegen (3)"
  1045.         Definition
  1046.             AttachTo OBJECT ,"Speichern, Backup           »"
  1047.             Font "personal",8 ; FontName, PointSize
  1048.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  1049.             TextColors 3,1,NORMAL  ; PenA, PenB, DrawMode
  1050.             Text "Sicherheitskopie anlegen (3)"
  1051.             MenuFlags NONE 
  1052.             Highlight COMPLEMENT 
  1053.             ShortCutKey ""
  1054.         EndScript
  1055.         Occurred
  1056.             SetWindowTitle "Speichere den Text nun in die RAM, unter Ablage (3)"
  1057.             SaveDocument "TheDoc","ram:3BackupTextloader",ASCII 
  1058.             IfError
  1059.                 Do "Fehlerroutine"
  1060.             EndIf
  1061.             Delay 0,3,1/50
  1062.             SetWindowTitle "Textloader Editor, von Pascal Gisin"
  1063.         EndScript
  1064.     EndObject
  1065.     TextMenu "Sicherheitskopie anlegen (4)"
  1066.         Definition
  1067.             AttachTo OBJECT ,"Speichern, Backup           »"
  1068.             Font "personal",8 ; FontName, PointSize
  1069.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  1070.             TextColors 3,1,NORMAL  ; PenA, PenB, DrawMode
  1071.             Text "Sicherheitskopie anlegen (4)"
  1072.             MenuFlags NONE 
  1073.             Highlight COMPLEMENT 
  1074.             ShortCutKey ""
  1075.         EndScript
  1076.         Occurred
  1077.             SetWindowTitle "Speichere den Text nun in die RAM, unter Ablage (4)"
  1078.             SaveDocument "TheDoc","ram:4BackupTextloader",ASCII 
  1079.             IfError
  1080.                 Do "Fehlerroutine"
  1081.             EndIf
  1082.             Delay 0,3,1/50
  1083.             SetWindowTitle "Textloader Editor, von Pascal Gisin"
  1084.         EndScript
  1085.     EndObject
  1086.     TextMenu "-------------------------"
  1087.         Definition
  1088.             AttachTo OBJECT ,"Speichern, Backup           »"
  1089.             Font "topaz",8 ; FontName, PointSize
  1090.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  1091.             TextColors 0,1,NORMAL  ; PenA, PenB, DrawMode
  1092.             Text "-------------------------"
  1093.             MenuFlags NONE 
  1094.             Highlight NONE 
  1095.             ShortCutKey ""
  1096.         EndScript
  1097.     EndObject
  1098.     TextMenu "Sicherheitskopie einfügen (1)"
  1099.         Definition
  1100.             AttachTo OBJECT ,"Speichern, Backup           »"
  1101.             Font "personal",8 ; FontName, PointSize
  1102.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  1103.             TextColors 0,1,NORMAL  ; PenA, PenB, DrawMode
  1104.             Text "Sicherheitskopie einfügen (1)"
  1105.             MenuFlags NONE 
  1106.             Highlight COMPLEMENT 
  1107.             ShortCutKey ""
  1108.         EndScript
  1109.         Occurred
  1110.             LoadDocument "ram:1BackupTextloader","TheDoc"
  1111.         EndScript
  1112.     EndObject
  1113.     TextMenu "Sicherheitskopie einfügen (2)"
  1114.         Definition
  1115.             AttachTo OBJECT ,"Speichern, Backup           »"
  1116.             Font "personal",8 ; FontName, PointSize
  1117.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  1118.             TextColors 0,1,NORMAL  ; PenA, PenB, DrawMode
  1119.             Text "Sicherheitskopie einfügen (2)"
  1120.             MenuFlags NONE 
  1121.             Highlight COMPLEMENT 
  1122.             ShortCutKey ""
  1123.         EndScript
  1124.         Occurred
  1125.             LoadDocument "ram:2BackupTextloader","TheDoc"
  1126.         EndScript
  1127.     EndObject
  1128.     TextMenu "Sicherheitskopie einfügen (3)"
  1129.         Definition
  1130.             AttachTo OBJECT ,"Speichern, Backup           »"
  1131.             Font "personal",8 ; FontName, PointSize
  1132.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  1133.             TextColors 0,1,NORMAL  ; PenA, PenB, DrawMode
  1134.             Text "Sicherheitskopie einfügen (3)"
  1135.             MenuFlags NONE 
  1136.             Highlight COMPLEMENT 
  1137.             ShortCutKey ""
  1138.         EndScript
  1139.         Occurred
  1140.             LoadDocument "ram:3BackupTextloader","TheDoc"
  1141.         EndScript
  1142.     EndObject
  1143.     TextMenu "Sicherheitskopie einfügen (4)"
  1144.         Definition
  1145.             AttachTo OBJECT ,"Speichern, Backup           »"
  1146.             Font "personal",8 ; FontName, PointSize
  1147.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  1148.             TextColors 0,1,NORMAL  ; PenA, PenB, DrawMode
  1149.             Text "Sicherheitskopie einfügen (4)"
  1150.             MenuFlags NONE 
  1151.             Highlight COMPLEMENT 
  1152.             ShortCutKey ""
  1153.         EndScript
  1154.         Occurred
  1155.             LoadDocument "ram:4BackupTextloader","TheDoc"
  1156.         EndScript
  1157.     EndObject
  1158.     TextMenu "OnlineHelp..."
  1159.         Definition
  1160.             AttachTo MENU ," Help "
  1161.             Font "personal",8 ; FontName, PointSize
  1162.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  1163.             TextColors 1,2,JAM2  ; PenA, PenB, DrawMode
  1164.             Text "OnlineHelp..."
  1165.             MenuFlags NONE 
  1166.             Highlight COMPLEMENT 
  1167.             ShortCutKey "O"
  1168.         EndScript
  1169.         Occurred
  1170.             If EXISTS ("sys:Utilities/Amigaguide")
  1171.                 Dos "Run >Nil: <Nil: Sys:Utilities/Amigaguide Textloader.guide" ; Run the application
  1172.             Else
  1173.                 If EXISTS ("sys:Utilities/Multiview")
  1174.                     Dos "Run >Nil: <Nil: Sys:Utilities/Multiview Textloader.guide" ; Run the Aplic.
  1175.                 Else
  1176.                     If EXISTS ("sys:c/Amigaguide")
  1177.                         Dos "Run >Nil: <Nil: Sys:c/Amigaguide Textloader.guide"
  1178.                     Else
  1179.                         OpenRequester "SimpleReq","Kommentar","","Textloader Meldung...","Leider konnte ich die","Textloader OnlineHelp nicht","starten. Benötige Amigaguide, oder","Multiview für die Ausgabe!"
  1180.                     EndIf
  1181.                 EndIf
  1182.             EndIf
  1183.         EndScript
  1184.     EndObject
  1185.     TextMenu "MenuItem_1"
  1186.         Definition
  1187.             AttachTo MENU ," Workbench "
  1188.             Font "personal",8 ; FontName, PointSize
  1189.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  1190.             TextColors 3,2,JAM2  ; PenA, PenB, DrawMode
  1191.             Text "Pointer..."
  1192.             MenuFlags NONE 
  1193.             Highlight COMPLEMENT 
  1194.             ShortCutKey "7"
  1195.         EndScript
  1196.         Occurred
  1197.             Dos "Run >Nil: <Nil: Sys:Prefs/Pointer" ; Run the application
  1198.         EndScript
  1199.     EndObject
  1200.     TextMenu "MenuItem_2"
  1201.         Definition
  1202.             AttachTo MENU ," Workbench "
  1203.             Font "personal",8 ; FontName, PointSize
  1204.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  1205.             TextColors 3,2,JAM2  ; PenA, PenB, DrawMode
  1206.             Text "Sound..."
  1207.             MenuFlags NONE 
  1208.             Highlight COMPLEMENT 
  1209.             ShortCutKey "8"
  1210.         EndScript
  1211.         Occurred
  1212.             Dos "Run >Nil: <Nil: Sys:Prefs/Sound" ; Run the application
  1213.         EndScript
  1214.     EndObject
  1215.     TextMenu "MenuItem3"
  1216.         Definition
  1217.             AttachTo MENU ," Workbench "
  1218.             Font "personal",8 ; FontName, PointSize
  1219.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  1220.             TextColors 3,2,JAM2  ; PenA, PenB, DrawMode
  1221.             Text "PrinterPostscript..."
  1222.             MenuFlags NONE 
  1223.             Highlight COMPLEMENT 
  1224.             ShortCutKey "9"
  1225.         EndScript
  1226.         Occurred
  1227.             Dos "Run >Nil: <Nil: Sys:Prefs/PrinterPS" ; Run the application
  1228.         EndScript
  1229.     EndObject
  1230.     TextMenu "Trennstrich?"
  1231.         Definition
  1232.             AttachTo MENU ," Workbench "
  1233.             Font "personal",8 ; FontName, PointSize
  1234.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  1235.             TextColors 0,1,NORMAL  ; PenA, PenB, DrawMode
  1236.             Text "-------------------------------"
  1237.             MenuFlags NONE 
  1238.             Highlight NONE 
  1239.             ShortCutKey ""
  1240.         EndScript
  1241.     EndObject
  1242.     AKey "KeyInput_1"
  1243.         Definition
  1244.             QualifiersPressed NONE 
  1245.             KeyPressed F7 
  1246.         EndScript
  1247.         OnDown
  1248.             Do "AusserFunktion"
  1249.         EndScript
  1250.     EndObject
  1251.     AKey "KeyInput_2"
  1252.         Definition
  1253.             QualifiersPressed NONE 
  1254.             KeyPressed F8 
  1255.         EndScript
  1256.         OnDown
  1257.             Do "AusserFunktion"
  1258.         EndScript
  1259.     EndObject
  1260.     AKey "KeyInput_3"
  1261.         Definition
  1262.             QualifiersPressed NONE 
  1263.             KeyPressed F9 
  1264.         EndScript
  1265.         OnDown
  1266.             Do "AusserFunktion"
  1267.         EndScript
  1268.     EndObject
  1269.     AKey "KeyInput_4"
  1270.         Definition
  1271.             QualifiersPressed NONE 
  1272.             KeyPressed F10 
  1273.         EndScript
  1274.         OnDown
  1275.             Do "AusserFunktion"
  1276.         EndScript
  1277.     EndObject
  1278.     TextMenu "NoFastMem"
  1279.         Definition
  1280.             AttachTo MENU ," Workbench "
  1281.             Font "personal",8 ; FontName, PointSize
  1282.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  1283.             TextColors 3,2,JAM2  ; PenA, PenB, DrawMode
  1284.             Text "NoFastMem"
  1285.             MenuFlags NONE 
  1286.             Highlight COMPLEMENT 
  1287.             ShortCutKey ""
  1288.         EndScript
  1289.         Occurred
  1290.             Dos "Run >Nil: <Nil: Sys:system/NoFastMem"
  1291.             If error
  1292.                 Do "Fehlerroutine"
  1293.             EndIf
  1294.         EndScript
  1295.     EndObject
  1296.     TextMenu "Rexxmast"
  1297.         Definition
  1298.             AttachTo MENU ," Workbench "
  1299.             Font "personal",8 ; FontName, PointSize
  1300.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  1301.             TextColors 3,2,JAM2  ; PenA, PenB, DrawMode
  1302.             Text "Rexxmast"
  1303.             MenuFlags NONE 
  1304.             Highlight COMPLEMENT 
  1305.             ShortCutKey ""
  1306.         EndScript
  1307.         Occurred
  1308.             Dos "Run >Nil: <Nil: Sys:system/Rexxmast"
  1309.             If error
  1310.                 Do "Fehlerroutine"
  1311.             EndIf
  1312.         EndScript
  1313.     EndObject
  1314.     TextMenu "CursorPosition"
  1315.         Definition
  1316.             AttachTo MENU ," Statistik "
  1317.             Font "personal",8 ; FontName, PointSize
  1318.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  1319.             TextColors 1,2,JAM2  ; PenA, PenB, DrawMode
  1320.             Text "Zeichen Total..."
  1321.             MenuFlags NONE 
  1322.             Highlight COMPLEMENT 
  1323.             ShortCutKey ""
  1324.         EndScript
  1325.         Occurred
  1326.             Do "Timing"
  1327.         EndScript
  1328.     EndObject
  1329.     TextMenu "Copy_of_CursorPosition"
  1330.         Definition
  1331.             AttachTo MENU ," Statistik "
  1332.             Font "personal",8 ; FontName, PointSize
  1333.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  1334.             TextColors 1,2,JAM2  ; PenA, PenB, DrawMode
  1335.             Text "Cursor wo..."
  1336.             MenuFlags NONE 
  1337.             Highlight COMPLEMENT 
  1338.             ShortCutKey ""
  1339.         EndScript
  1340.         Occurred
  1341.             Do "Timing2"
  1342.         EndScript
  1343.     EndObject
  1344.     TextMenu "Copy_2_of_CursorPosition"
  1345.         Definition
  1346.             AttachTo MENU ," Statistik "
  1347.             Font "personal",8 ; FontName, PointSize
  1348.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  1349.             TextColors 1,2,JAM2  ; PenA, PenB, DrawMode
  1350.             Text "Cursor auf Feld..."
  1351.             MenuFlags NONE 
  1352.             Highlight COMPLEMENT 
  1353.             ShortCutKey ""
  1354.         EndScript
  1355.         Occurred
  1356.             Do "Timing3"
  1357.         EndScript
  1358.     EndObject
  1359.     TextMenu "Copy_3_of_CursorPosition"
  1360.         Definition
  1361.             AttachTo MENU ," Statistik "
  1362.             Font "personal",8 ; FontName, PointSize
  1363.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  1364.             TextColors 1,2,JAM2  ; PenA, PenB, DrawMode
  1365.             Text "Cursor auf Zeile..."
  1366.             MenuFlags NONE 
  1367.             Highlight COMPLEMENT 
  1368.             ShortCutKey ""
  1369.         EndScript
  1370.         Occurred
  1371.             Do "Timing4"
  1372.         EndScript
  1373.     EndObject
  1374.     TextMenu "Copy_4_of_CursorPosition"
  1375.         Definition
  1376.             AttachTo MENU ," Statistik "
  1377.             Font "personal",8 ; FontName, PointSize
  1378.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  1379.             TextColors 1,2,JAM2  ; PenA, PenB, DrawMode
  1380.             Text "Zeilen Total..."
  1381.             MenuFlags NONE 
  1382.             Highlight COMPLEMENT 
  1383.             ShortCutKey ""
  1384.         EndScript
  1385.         Occurred
  1386.             Do "Timing5"
  1387.         EndScript
  1388.     EndObject
  1389.     TextMenu "MenuItem_3"
  1390.         Definition
  1391.             AttachTo MENU ," Statistik "
  1392.             Font "personal",8 ; FontName, PointSize
  1393.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  1394.             TextColors 4,2,JAM2  ; PenA, PenB, DrawMode
  1395.             Text "------------------------"
  1396.             MenuFlags NONE 
  1397.             Highlight NONE 
  1398.             ShortCutKey ""
  1399.         EndScript
  1400.     EndObject
  1401.     TextMenu "Copy_5_of_CursorPosition"
  1402.         Definition
  1403.             AttachTo MENU ," Statistik "
  1404.             Font "personal",8 ; FontName, PointSize
  1405.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  1406.             TextColors 1,2,JAM2  ; PenA, PenB, DrawMode
  1407.             Text "Verfügbarer Chip Ram..."
  1408.             MenuFlags NONE 
  1409.             Highlight COMPLEMENT 
  1410.             ShortCutKey ""
  1411.         EndScript
  1412.         Occurred
  1413.             Do "Timing6"
  1414.         EndScript
  1415.     EndObject
  1416.     TextMenu "Copy_6_of_CursorPosition"
  1417.         Definition
  1418.             AttachTo MENU ," Statistik "
  1419.             Font "personal",8 ; FontName, PointSize
  1420.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  1421.             TextColors 1,2,JAM2  ; PenA, PenB, DrawMode
  1422.             Text "Verfügbarer Fast Ram..."
  1423.             MenuFlags NONE 
  1424.             Highlight COMPLEMENT 
  1425.             ShortCutKey ""
  1426.         EndScript
  1427.         Occurred
  1428.             Do "Timing7"
  1429.         EndScript
  1430.     EndObject
  1431.     TextMenu "GesamtMemory"
  1432.         Definition
  1433.             AttachTo MENU ," Statistik "
  1434.             Font "personal",8 ; FontName, PointSize
  1435.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  1436.             TextColors 1,2,JAM2  ; PenA, PenB, DrawMode
  1437.             Text "Total Ram..."
  1438.             MenuFlags NONE 
  1439.             Highlight COMPLEMENT 
  1440.             ShortCutKey ""
  1441.         EndScript
  1442.         Occurred
  1443.             Do "Timing9"
  1444.         EndScript
  1445.     EndObject
  1446.     TextMenu "Copy_of_MenuItem_3"
  1447.         Definition
  1448.             AttachTo MENU ," Statistik "
  1449.             Font "personal",8 ; FontName, PointSize
  1450.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  1451.             TextColors 4,2,JAM2  ; PenA, PenB, DrawMode
  1452.             Text "------------------------"
  1453.             MenuFlags NONE 
  1454.             Highlight NONE 
  1455.             ShortCutKey ""
  1456.         EndScript
  1457.     EndObject
  1458.     TextMenu "Copy_7_of_CursorPosition"
  1459.         Definition
  1460.             AttachTo MENU ," Statistik "
  1461.             Font "personal",8 ; FontName, PointSize
  1462.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  1463.             TextColors 1,2,JAM2  ; PenA, PenB, DrawMode
  1464.             Text "System Version..."
  1465.             MenuFlags NONE 
  1466.             Highlight COMPLEMENT 
  1467.             ShortCutKey ""
  1468.         EndScript
  1469.         Occurred
  1470.             Do "Timing8"
  1471.         EndScript
  1472.     EndObject
  1473.     TextMenu "Farbenwahl"
  1474.         Definition
  1475.             AttachTo MENU ," PrefsTools "
  1476.             Font "personal",8 ; FontName, PointSize
  1477.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  1478.             TextColors 1,2,JAM2  ; PenA, PenB, DrawMode
  1479.             Text "Farben wahl..."
  1480.             MenuFlags NONE 
  1481.             Highlight COMPLEMENT 
  1482.             ShortCutKey ""
  1483.         EndScript
  1484.     EndObject
  1485.     TextMenu "Wb"
  1486.         Definition
  1487.             AttachTo OBJECT ,"Farbenwahl"
  1488.             Font "personal",8 ; FontName, PointSize
  1489.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  1490.             TextColors 1,2,JAM2  ; PenA, PenB, DrawMode
  1491.             Text "Wb"
  1492.             MenuFlags CHECKABLE CHECKIT 
  1493.             Highlight COMPLEMENT 
  1494.             ShortCutKey ""
  1495.         EndScript
  1496.         Occurred
  1497.             SetObjectState "Wb",true
  1498.             SetObjectState "WBold",false
  1499.             SetObjectState "Violetexotic",false
  1500.             SetObjectState "blacky",false
  1501.             SetObjectState "banana",false
  1502.             SetObjectState "PescaFruit",false
  1503.             SetObjectState "GreenApple",false
  1504.             SetObjectState "SpacyTint",false
  1505.             SetRGB 0,170,170,170
  1506.             SetRGB 1,0,0,17
  1507.             SetRGB 2,255,255,255
  1508.             SetRGB 3,102,136,187
  1509.         EndScript
  1510.     EndObject
  1511.     TextMenu "WBold"
  1512.         Definition
  1513.             AttachTo OBJECT ,"Farbenwahl"
  1514.             Font "personal",8 ; FontName, PointSize
  1515.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  1516.             TextColors 1,2,JAM2  ; PenA, PenB, DrawMode
  1517.             Text "WBold"
  1518.             MenuFlags CHECKABLE 
  1519.             Highlight COMPLEMENT 
  1520.             ShortCutKey ""
  1521.         EndScript
  1522.         Occurred
  1523.             SetObjectState "Wb",false
  1524.             SetObjectState "WBold",true
  1525.             SetObjectState "Violetexotic",false
  1526.             SetObjectState "blacky",false
  1527.             SetObjectState "banana",false
  1528.             SetObjectState "PescaFruit",false
  1529.             SetObjectState "GreenApple",false
  1530.             SetObjectState "SpacyTint",false
  1531.             SetRGB 0,0,85,170
  1532.             SetRGB 1,255,255,255
  1533.             SetRGB 2,0,0,34
  1534.             SetRGB 3,255,136,0
  1535.         EndScript
  1536.     EndObject
  1537.     TextMenu "Violetexotic"
  1538.         Definition
  1539.             AttachTo OBJECT ,"Farbenwahl"
  1540.             Font "personal",8 ; FontName, PointSize
  1541.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  1542.             TextColors 1,2,JAM2  ; PenA, PenB, DrawMode
  1543.             Text "Violett exotic"
  1544.             MenuFlags CHECKABLE 
  1545.             Highlight COMPLEMENT 
  1546.             ShortCutKey ""
  1547.         EndScript
  1548.         Occurred
  1549.             SetObjectState "Wb",false
  1550.             SetObjectState "WBold",false
  1551.             SetObjectState "Violetexotic",true
  1552.             SetObjectState "blacky",false
  1553.             SetObjectState "banana",false
  1554.             SetObjectState "PescaFruit",false
  1555.             SetObjectState "GreenApple",false
  1556.             SetObjectState "SpacyTint",false
  1557.             SetRGB 0,187,187,187
  1558.             SetRGB 1,0,0,0
  1559.             SetRGB 2,255,255,255
  1560.             SetRGB 3,204,0,153
  1561.         EndScript
  1562.     EndObject
  1563.     TextMenu "blacky"
  1564.         Definition
  1565.             AttachTo OBJECT ,"Farbenwahl"
  1566.             Font "personal",8 ; FontName, PointSize
  1567.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  1568.             TextColors 1,2,JAM2  ; PenA, PenB, DrawMode
  1569.             Text "blacky bounce"
  1570.             MenuFlags CHECKABLE 
  1571.             Highlight COMPLEMENT 
  1572.             ShortCutKey ""
  1573.         EndScript
  1574.         Occurred
  1575.             SetObjectState "Wb",false
  1576.             SetObjectState "WBold",false
  1577.             SetObjectState "Violetexotic",false
  1578.             SetObjectState "blacky",true
  1579.             SetObjectState "banana",false
  1580.             SetObjectState "PescaFruit",false
  1581.             SetObjectState "GreenApple",false
  1582.             SetObjectState "SpacyTint",false
  1583.             SetRGB 0,0,0,0
  1584.             SetRGB 1,255,255,255
  1585.             SetRGB 2,85,170,170
  1586.             SetRGB 3,204,51,85
  1587.         EndScript
  1588.     EndObject
  1589.     TextMenu "Banana"
  1590.         Definition
  1591.             AttachTo OBJECT ,"Farbenwahl"
  1592.             Font "personal",8 ; FontName, PointSize
  1593.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  1594.             TextColors 1,2,JAM2  ; PenA, PenB, DrawMode
  1595.             Text "Banana split"
  1596.             MenuFlags CHECKABLE 
  1597.             Highlight COMPLEMENT 
  1598.             ShortCutKey ""
  1599.         EndScript
  1600.         Occurred
  1601.             SetObjectState "Wb",false
  1602.             SetObjectState "WBold",false
  1603.             SetObjectState "Violetexotic",false
  1604.             SetObjectState "blacky",false
  1605.             SetObjectState "banana",true
  1606.             SetObjectState "PescaFruit",false
  1607.             SetObjectState "GreenApple",false
  1608.             SetObjectState "SpacyTint",false
  1609.             SetRGB 0,170,170,170
  1610.             SetRGB 1,0,0,0
  1611.             SetRGB 2,187,85,17
  1612.             SetRGB 3,221,221,0
  1613.         EndScript
  1614.     EndObject
  1615.     TextMenu "Pescafruit"
  1616.         Definition
  1617.             AttachTo OBJECT ,"Farbenwahl"
  1618.             Font "personal",8 ; FontName, PointSize
  1619.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  1620.             TextColors 1,2,JAM2  ; PenA, PenB, DrawMode
  1621.             Text "Pescafruit"
  1622.             MenuFlags CHECKABLE 
  1623.             Highlight COMPLEMENT 
  1624.             ShortCutKey ""
  1625.         EndScript
  1626.         Occurred
  1627.             SetObjectState "Wb",false
  1628.             SetObjectState "WBold",false
  1629.             SetObjectState "Violetexotic",false
  1630.             SetObjectState "blacky",false
  1631.             SetObjectState "banana",false
  1632.             SetObjectState "PescaFruit",true
  1633.             SetObjectState "GreenApple",false
  1634.             SetObjectState "SpacyTint",false
  1635.             SetRGB 0,170,170,170
  1636.             SetRGB 1,0,0,0
  1637.             SetRGB 2,255,17,68
  1638.             SetRGB 3,238,136,0
  1639.         EndScript
  1640.     EndObject
  1641.     TextMenu "GreenApple"
  1642.         Definition
  1643.             AttachTo OBJECT ,"Farbenwahl"
  1644.             Font "personal",8 ; FontName, PointSize
  1645.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  1646.             TextColors 1,2,JAM2  ; PenA, PenB, DrawMode
  1647.             Text "GreenApple"
  1648.             MenuFlags CHECKABLE 
  1649.             Highlight COMPLEMENT 
  1650.             ShortCutKey ""
  1651.         EndScript
  1652.         Occurred
  1653.             SetObjectState "Wb",false
  1654.             SetObjectState "WBold",false
  1655.             SetObjectState "Violetexotic",false
  1656.             SetObjectState "blacky",false
  1657.             SetObjectState "banana",false
  1658.             SetObjectState "PescaFruit",false
  1659.             SetObjectState "GreenApple",true
  1660.             SetObjectState "SpacyTint",false
  1661.             SetRGB 0,153,153,153
  1662.             SetRGB 1,0,0,0
  1663.             SetRGB 2,238,170,51
  1664.             SetRGB 3,0,136,0
  1665.         EndScript
  1666.     EndObject
  1667.     TextMenu "Spacytint"
  1668.         Definition
  1669.             AttachTo OBJECT ,"Farbenwahl"
  1670.             Font "personal",8 ; FontName, PointSize
  1671.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  1672.             TextColors 1,2,JAM2  ; PenA, PenB, DrawMode
  1673.             Text "Spacytint"
  1674.             MenuFlags CHECKABLE 
  1675.             Highlight COMPLEMENT 
  1676.             ShortCutKey ""
  1677.         EndScript
  1678.         Occurred
  1679.             SetObjectState "Wb",false
  1680.             SetObjectState "WBold",false
  1681.             SetObjectState "Violetexotic",false
  1682.             SetObjectState "blacky",false
  1683.             SetObjectState "banana",false
  1684.             SetObjectState "PescaFruit",false
  1685.             SetObjectState "GreenApple",false
  1686.             SetObjectState "SpacyTint",true
  1687.             SetRGB 0,255,255,255
  1688.             SetRGB 1,238,0,187
  1689.             SetRGB 2,0,0,0
  1690.             SetRGB 3,17,204,102
  1691.         EndScript
  1692.     EndObject
  1693.     AKey "OnlineHelp"
  1694.         Definition
  1695.             QualifiersPressed NONE 
  1696.             KeyPressed HELP 
  1697.         EndScript
  1698.         OnDown
  1699.             If EXISTS ("sys:Utilities/Amigaguide")
  1700.                 Dos "Run >Nil: <Nil: Sys:Utilities/Amigaguide Textloader.guide" ; Run the application
  1701.             Else
  1702.                 If EXISTS ("sys:Utilities/Multiview")
  1703.                     Dos "Run >Nil: <Nil: Sys:Utilities/Multiview Textloader.guide" ; Run the Aplic.
  1704.                 Else
  1705.                     If EXISTS ("sys:c/Amigaguide")
  1706.                         Dos "Run >Nil: <Nil: Sys:c/Amigaguide Textloader.guide"
  1707.                     Else
  1708.                         OpenRequester "SimpleReq","Kommentar","","Textloader Meldung...","Leider konnte ich die","Textloader OnlineHelp nicht","starten. Benötige Amigaguide, oder","Multiview für die Ausgabe!"
  1709.                     EndIf
  1710.                 EndIf
  1711.             EndIf
  1712.         EndScript
  1713.     EndObject
  1714. * End of Card "Hauptfenster"
  1715. *************
  1716.  
  1717. *************
  1718. * Card "Hauptfenster2"
  1719.     BeforeAttachment ; used to be OnStartup
  1720.         LoadSubDeck "SimpleReq","SimpleReq"
  1721.         LoadSubDeck "SuchReq","SuchReq"
  1722.         LoadSubDeck "ConiPalette","Palette"
  1723.         LoadSubDeck "ConiAvail","Avail"
  1724.         If exists ("sys:fonts/personal/8")
  1725.         Else
  1726.             OpenRequester "SimpleReq","Kommentar","","Textloader Meldung...","Ich kann den Textloader","Font nicht finden. Bitte","zuerst Installieren!","Sonst lade ich TOPAZ/8!"
  1727.             Delay 0,5,1/50
  1728.         EndIf
  1729.         Echo " "
  1730.         Echo "Textloader von Pascal Gisin!"
  1731.         Echo "============================"
  1732.         Echo " "
  1733.         Echo "   >>>Der starke Editor für den AMIGA...<<<"
  1734.         Echo " "
  1735.         Echo "©1994-98 FORCESOFT (PASCAL GISIN)"
  1736.         Echo " "
  1737.         Echo "             My New Nickname, FORCE!!!"
  1738.     EndScript
  1739.     AfterAttachment ; used to be AfterStartup
  1740.         SetScreenTitle "»FORCE SOFT« presents the Textloader by P.Gisin ©1994-98 (Force)"
  1741.         OpenRequester "SimpleReq","Kommentar","","Textloader Information...","!Herzlich Willkommen!","Schicken Sie mir eine","Postkarte für die Registration!","!!! ES LOHNT SICH !!!"
  1742.     EndScript
  1743.     BeforeDetachment ; used to be OnFinishup
  1744.         SaveDocument "TheDoc","ram:Txt.bak",ASCII 
  1745.     EndScript
  1746.     MessageFromSubDeck
  1747.         If Arg1 <> ""
  1748.             Do Arg1,Alias("Arg2"),Alias("Arg3"),Alias("Arg4")
  1749.         EndIf
  1750.     EndScript
  1751.     Window "UserWindow"
  1752.         Definition
  1753.             Origin 0,0
  1754.             Size 640,256
  1755.             Title "Textloader 6.4"
  1756.             NumberOfColors 8,167936
  1757.             WindowColors 1,2,0 ; Detail, Block, Background
  1758.             WindowObjects CLOSEBUTTON DEPTHBUTTONS DRAGBAR SIZEBUTTON 
  1759.             WindowFlags ACTIVATE SEPARATESCREEN TOFRONT 
  1760.         EndScript
  1761.         OnCloseButton
  1762.             OpenRequester "SimpleReq","JaNein","EndeCloseknopf","Textloader Meldung..."," ","Möchten Sie wirklich","jetzt, den Textloader beenden?"," "
  1763.         EndScript
  1764.         OnActivated
  1765.             Nop
  1766.         EndScript
  1767.         OnResized
  1768.             Nop
  1769.         EndScript
  1770.     EndObject
  1771.     Memo "Dokument"
  1772.         Definition
  1773.             Origin 5,12
  1774.             Size 616,242
  1775.             Font "topaz",8 ; FontName, PointSize
  1776.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  1777.             TextColors 1,0,JAM2  ; PenA, PenB, DrawMode
  1778.             Border OUTLINE ,2,1 ; BorderStyle, MainPen, ExtraPen
  1779.             Document "TheDoc" ; where the text comes from
  1780.             ScrollBars RIGHT 
  1781.             InputStyle NORMAL 
  1782.         EndScript
  1783.         OnDrag
  1784.             Nop
  1785.         EndScript
  1786.     EndObject
  1787.     TextMenu "Autor...                    »"
  1788.         Definition
  1789.             AttachTo MENU ,"Editormenü"
  1790.             Font "personal",8 ; FontName, PointSize
  1791.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  1792.             TextColors 1,2,JAM2  ; PenA, PenB, DrawMode
  1793.             Text "Autor...                    »"
  1794.             MenuFlags NONE 
  1795.             Highlight COMPLEMENT 
  1796.             ShortCutKey ""
  1797.         EndScript
  1798.         Occurred
  1799.             Let AutorInfo = "Pascal Gisin"||Char(10)||"Fiechtenweg 11"||Char(10)||"CH-4147 Aesch"||Char(10)||""||Char(10)||"Tel: 079/322'23'53"||Char(10)||"Fax: 079/0'322'23'53"||CHAR(10)||"Dedicated To ALL AMIGIANS OF THE WORLD"
  1800.             Let Autor=AskForResponse(AutorInfo, "Textloader Info...", "Alles klar!")
  1801.             ScreenTo FRONT 
  1802.         EndScript
  1803.     EndObject
  1804.     TextMenu "SystemInfo..."
  1805.         Definition
  1806.             AttachTo MENU ,"Editormenü"
  1807.             Font "personal",8 ; FontName, PointSize
  1808.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  1809.             TextColors 1,2,JAM2  ; PenA, PenB, DrawMode
  1810.             Text "SystemInfo..."
  1811.             MenuFlags NONE 
  1812.             Highlight COMPLEMENT 
  1813.             ShortCutKey "?"
  1814.         EndScript
  1815.         Occurred
  1816.             If Hilfsmodus = TRUE
  1817.                 OpenRequester "HelpReq","Card_1","","Mit diesem Menüpunkt, erhalten Sie","Interresannte Infos über Speicher-,","Chip-, Fast und Ihre Systemkonfigurationen!"," "," "
  1818.             Else
  1819.                 GotoCard "Systeminfos..."
  1820.             EndIf
  1821.         EndScript
  1822.     EndObject
  1823.     TextMenu "Trennstrich4"
  1824.         Definition
  1825.             AttachTo MENU ,"Editormenü"
  1826.             Font "personal",8 ; FontName, PointSize
  1827.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  1828.             TextColors 0,1,NORMAL  ; PenA, PenB, DrawMode
  1829.             Text "-------------------------------"
  1830.             MenuFlags NONE 
  1831.             Highlight NONE 
  1832.             ShortCutKey ""
  1833.         EndScript
  1834.     EndObject
  1835.     TextMenu "Laden..."
  1836.         Definition
  1837.             AttachTo MENU ,"Editormenü"
  1838.             Font "personal",8 ; FontName, PointSize
  1839.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  1840.             TextColors 1,2,JAM2  ; PenA, PenB, DrawMode
  1841.             Text "Laden..."
  1842.             MenuFlags NONE 
  1843.             Highlight COMPLEMENT 
  1844.             ShortCutKey "L"
  1845.         EndScript
  1846.         Occurred
  1847.             SetFileRequestMode REGULARMODE ,REJECTICONS 
  1848.             Let Laden=AskForFilename(TheoriginDirectory,"ASCII/FTXT Datei laden...","155","39","340","180")
  1849.             Let NeueDatei=Laden
  1850.             If NeueDatei<>NOTHING
  1851.                 If NOT MATCH (FileType(NeueDatei),"Unknown","FTXT")
  1852.                     Do "Beep"
  1853.                     SetWindowTitle "Kann die Datei"|||NeueDatei|||"nicht laden"
  1854.                 Else
  1855.                     SetWindowTitle "Lade Dokument..."
  1856.                     LoadDocument NeueDatei,"TheDoc"
  1857.                     IfError
  1858.                     Else
  1859.                         SetWindowTitle "Dateiname"|||NeueDatei
  1860.                     EndIf
  1861.                 EndIf
  1862.             EndIf
  1863.         EndScript
  1864.     EndObject
  1865.     TextMenu "Laden, Bild..."
  1866.         Definition
  1867.             AttachTo MENU ,"Editormenü"
  1868.             Font "personal",8 ; FontName, PointSize
  1869.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  1870.             TextColors 1,2,JAM2  ; PenA, PenB, DrawMode
  1871.             Text "Laden, Bild..."
  1872.             MenuFlags NONE 
  1873.             Highlight COMPLEMENT 
  1874.             ShortCutKey "!"
  1875.         EndScript
  1876.         Occurred
  1877.             SetFileRequestMode REGULARMODE ,REJECTICONS 
  1878.             Let Datei=AskForFileName(Bild, "Bild auswählen! Zum laden...","155","39","340","180")
  1879.             If Datei <> ""
  1880.                 Let Bild = Datei
  1881.                 GotoCard "BildAnzeiger"
  1882.             EndIf
  1883.         EndScript
  1884.     EndObject
  1885.     TextMenu "LadenBild(PP)"
  1886.         Definition
  1887.             AttachTo MENU ,"Editormenü"
  1888.             Font "personal",8 ; FontName, PointSize
  1889.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  1890.             TextColors 1,2,JAM2  ; PenA, PenB, DrawMode
  1891.             Text "LadenBild(PP)"
  1892.             MenuFlags NONE 
  1893.             Highlight COMPLEMENT 
  1894.             ShortCutKey ""
  1895.         EndScript
  1896.         Occurred
  1897.             If exists("Sys:c/PPshow")
  1898.                 Dos "Run >NIL: <Nil: Sys:c/PPshow"
  1899.             Else
  1900.                 Let Fehler=AskForResponse("Leider konnte PPSHOW nicht gefunden werden!","Anzeigeproblem...","Schade")
  1901.                 If Fehler=1
  1902.                     DisableObject "LadenBild(PP)"
  1903.                 EndIf
  1904.             EndIf
  1905.         EndScript
  1906.     EndObject
  1907.     TextMenu "TrennstrichX1"
  1908.         Definition
  1909.             AttachTo MENU ,"Editormenü"
  1910.             Font "personal",8 ; FontName, PointSize
  1911.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  1912.             TextColors 0,1,NORMAL  ; PenA, PenB, DrawMode
  1913.             Text "-------------------------------"
  1914.             MenuFlags NONE 
  1915.             Highlight NONE 
  1916.             ShortCutKey ""
  1917.         EndScript
  1918.     EndObject
  1919.     TextMenu "Einfügen..."
  1920.         Definition
  1921.             AttachTo MENU ,"Editormenü"
  1922.             Font "personal",8 ; FontName, PointSize
  1923.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  1924.             TextColors 1,2,JAM2  ; PenA, PenB, DrawMode
  1925.             Text "Einfügen..."
  1926.             MenuFlags NONE 
  1927.             Highlight COMPLEMENT 
  1928.             ShortCutKey "E"
  1929.         EndScript
  1930.         Occurred
  1931.             SetFileRequestMode REGULARMODE ,REJECTICONS 
  1932.             Let Einfügen=AskForFilename("","Text beim Cursor einfügen...","155","39","340","180")
  1933.             Let Newfile = Einfügen
  1934.             If newfile<>nothing
  1935.                 If Not Match(FileType(newfile),"Unknown","FTXT")
  1936.                     SetWindowTitle "Kann File nicht Laden """||newfile||""""
  1937.                 Else
  1938.                     SetWindowTitle "Lade einzufügender Text....."
  1939.                     InsertDocument newfile,"TheDoc"
  1940.                     IfError
  1941.                         Do "Fehlerroutine"
  1942.                     Else
  1943.                         Let FileToGet=newfile
  1944.                         SetWindowTitle "FileName :"""||FileToGet||""""
  1945.                     EndIf
  1946.                 EndIf
  1947.             EndIf
  1948.         EndScript
  1949.     EndObject
  1950.     TextMenu "TrennstrichX9"
  1951.         Definition
  1952.             AttachTo MENU ,"Editormenü"
  1953.             Font "personal",8 ; FontName, PointSize
  1954.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  1955.             TextColors 0,1,NORMAL  ; PenA, PenB, DrawMode
  1956.             Text "-------------------------------"
  1957.             MenuFlags NONE 
  1958.             Highlight NONE 
  1959.             ShortCutKey ""
  1960.         EndScript
  1961.     EndObject
  1962.     TextMenu "Suchen..."
  1963.         Definition
  1964.             AttachTo MENU ,"Editormenü"
  1965.             Font "personal",8 ; FontName, PointSize
  1966.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  1967.             TextColors 1,2,JAM2  ; PenA, PenB, DrawMode
  1968.             Text "Suchen..."
  1969.             MenuFlags NONE 
  1970.             Highlight COMPLEMENT 
  1971.             ShortCutKey "S"
  1972.         EndScript
  1973.         Occurred
  1974.             Do "S"
  1975.         EndScript
  1976.     EndObject
  1977.     TextMenu "Suchen fortsetzen..."
  1978.         Definition
  1979.             AttachTo MENU ,"Editormenü"
  1980.             Font "personal",8 ; FontName, PointSize
  1981.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  1982.             TextColors 1,2,JAM2  ; PenA, PenB, DrawMode
  1983.             Text "Suchen fortsetzen..."
  1984.             MenuFlags NONE 
  1985.             Highlight COMPLEMENT 
  1986.             ShortCutKey "W"
  1987.         EndScript
  1988.         Occurred
  1989.             Do "SF"
  1990.         EndScript
  1991.     EndObject
  1992.     TextMenu "TrennstrichX7"
  1993.         Definition
  1994.             AttachTo MENU ,"Editormenü"
  1995.             Font "personal",8 ; FontName, PointSize
  1996.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  1997.             TextColors 0,1,NORMAL  ; PenA, PenB, DrawMode
  1998.             Text "-------------------------------"
  1999.             MenuFlags NONE 
  2000.             Highlight NONE 
  2001.             ShortCutKey ""
  2002.         EndScript
  2003.     EndObject
  2004.     TextMenu "Speichern, ASCII"
  2005.         Definition
  2006.             AttachTo MENU ,"Editormenü"
  2007.             Font "personal",8 ; FontName, PointSize
  2008.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  2009.             TextColors 1,2,JAM2  ; PenA, PenB, DrawMode
  2010.             Text "Speichern, ASCII"
  2011.             MenuFlags NONE 
  2012.             Highlight COMPLEMENT 
  2013.             ShortCutKey "A"
  2014.         EndScript
  2015.         Occurred
  2016.             SetFileRequestMode SAVEFILEMODE ,NONE 
  2017.             Let SichernAscii=AskForFileName(TheCurrentDirectory,"Text in ASCII sichern...","155","39","340","180")
  2018.             Let Antwort = SichernAscii
  2019.             If Antwort <> ""
  2020.                 Let Dateispeichername = Antwort
  2021.                 SetWindowTitle "Speichere nun im ASCII Format!"
  2022.                 SaveDocument "TheDoc",Dateispeichername,ASCII 
  2023.                 IfError
  2024.                     Do "Fehlerroutine"
  2025.                 EndIf
  2026.             EndIf
  2027.             SetWindowTitle "Textloader ©  by P.Gisin"
  2028.         EndScript
  2029.     EndObject
  2030.     TextMenu "Speichern, FTXT"
  2031.         Definition
  2032.             AttachTo MENU ,"Editormenü"
  2033.             Font "personal",8 ; FontName, PointSize
  2034.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  2035.             TextColors 1,2,JAM2  ; PenA, PenB, DrawMode
  2036.             Text "Speichern, FTXT"
  2037.             MenuFlags NONE 
  2038.             Highlight COMPLEMENT 
  2039.             ShortCutKey "F"
  2040.         EndScript
  2041.         Occurred
  2042.             SetFileRequestMode SAVEFILEMODE ,NONE 
  2043.             Let SpeichernFTXT=askForFilename(TheCurrentDirectory,"Text im FTXT Format sichern...","155","39","340","180")
  2044.             Let Antwort = SpeichernFTXT
  2045.             If Antwort <> ""
  2046.                 Let Dateispeichername = Antwort
  2047.                 SetWindowTitle "Speichere nun im FTXT Format!"
  2048.                 SaveDocument "TheDoc",Dateispeichername,FTXT 
  2049.                 IfError
  2050.                     Do "Fehlerroutine"
  2051.                 EndIf
  2052.             EndIf
  2053.             SetWindowTitle "Textloader © by P.Gisin"
  2054.         EndScript
  2055.     EndObject
  2056.     TextMenu "Speichern, Backup           »"
  2057.         Definition
  2058.             AttachTo MENU ,"Editormenü"
  2059.             Font "personal",8 ; FontName, PointSize
  2060.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  2061.             TextColors 1,2,JAM2  ; PenA, PenB, DrawMode
  2062.             Text "Speichern, Backup           »"
  2063.             MenuFlags NONE 
  2064.             Highlight COMPLEMENT 
  2065.             ShortCutKey ""
  2066.         EndScript
  2067.     EndObject
  2068.     TextMenu "Sicherheitskopie anlegen (1)"
  2069.         Definition
  2070.             AttachTo OBJECT ,"Speichern, Backup           »"
  2071.             Font "personal",8 ; FontName, PointSize
  2072.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  2073.             TextColors 3,1,NORMAL  ; PenA, PenB, DrawMode
  2074.             Text "Sicherheitskopie anlegen (1)"
  2075.             MenuFlags NONE 
  2076.             Highlight COMPLEMENT 
  2077.             ShortCutKey ""
  2078.         EndScript
  2079.         Occurred
  2080.             SetWindowTitle "Speichere den Text nun in die RAM, unter Ablage (1)"
  2081.             SaveDocument "TheDoc","ram:1BackupTextloader",ASCII 
  2082.             IfError
  2083.                 Do "Fehlerroutine"
  2084.             EndIf
  2085.             Delay 0,3,1/50
  2086.             SetWindowTitle "Textloader Editor, von Pascal Gisin"
  2087.         EndScript
  2088.     EndObject
  2089.     TextMenu "Speichern"
  2090.         Definition
  2091.             AttachTo MENU ,"Editormenü"
  2092.             Font "personal",8 ; FontName, PointSize
  2093.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  2094.             TextColors 1,2,JAM2  ; PenA, PenB, DrawMode
  2095.             Text "Speichern"
  2096.             MenuFlags NONE 
  2097.             Highlight COMPLEMENT 
  2098.             ShortCutKey "T"
  2099.         EndScript
  2100.         Occurred
  2101.             Let Abfrage = AskForResponse("Dieser Text wird dort gespeichert,"||Char(10)||"wo er geladen wurde. Ist das,"||Char(10)||"so in Ordnung?","Textloader Informiert...","Aber natürlich|Hab mich verdrückt")
  2102.             If Abfrage =1
  2103.                 SaveAllChangedBuffers
  2104.                 If error
  2105.                     Do "FehlerRoutine"
  2106.                     If Abfrage =0
  2107.                         ScreenTo FRONT 
  2108.                     EndIf
  2109.                 EndIf
  2110.             EndIf
  2111.             ScreenTo FRONT 
  2112.         EndScript
  2113.     EndObject
  2114.     TextMenu "TrennstrichX2"
  2115.         Definition
  2116.             AttachTo MENU ,"Editormenü"
  2117.             Font "personal",8 ; FontName, PointSize
  2118.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  2119.             TextColors 0,1,NORMAL  ; PenA, PenB, DrawMode
  2120.             Text "-------------------------------"
  2121.             MenuFlags NONE 
  2122.             Highlight NONE 
  2123.             ShortCutKey ""
  2124.         EndScript
  2125.     EndObject
  2126.     TextMenu "Löschen, TEXT"
  2127.         Definition
  2128.             AttachTo MENU ,"Editormenü"
  2129.             Font "personal",8 ; FontName, PointSize
  2130.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  2131.             TextColors 1,2,JAM2  ; PenA, PenB, DrawMode
  2132.             Text "Löschen, TEXT"
  2133.             MenuFlags NONE 
  2134.             Highlight COMPLEMENT 
  2135.             ShortCutKey "T"
  2136.         EndScript
  2137.         Occurred
  2138.             OpenRequester "SimpleReq","JaNein","Löschen","Textloader Meldung...","Möchten Sie wirklich","den ganzen Text","für immer löschen?","???"
  2139.         EndScript
  2140.     EndObject
  2141.     TextMenu "Löschen, ZEILE"
  2142.         Definition
  2143.             AttachTo MENU ,"Editormenü"
  2144.             Font "personal",8 ; FontName, PointSize
  2145.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  2146.             TextColors 1,2,JAM2  ; PenA, PenB, DrawMode
  2147.             Text "Löschen, ZEILE"
  2148.             MenuFlags NONE 
  2149.             Highlight COMPLEMENT 
  2150.             ShortCutKey "Z"
  2151.         EndScript
  2152.         Occurred
  2153.             WorkWithDocument "TheDoc"
  2154.             Clear LINE 
  2155.         EndScript
  2156.     EndObject
  2157.     TextMenu "TrennstrichX3"
  2158.         Definition
  2159.             AttachTo MENU ,"Editormenü"
  2160.             Font "personal",8 ; FontName, PointSize
  2161.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  2162.             TextColors 0,1,NORMAL  ; PenA, PenB, DrawMode
  2163.             Text "-------------------------------"
  2164.             MenuFlags NONE 
  2165.             Highlight NONE 
  2166.             ShortCutKey ""
  2167.         EndScript
  2168.     EndObject
  2169.     TextMenu "Cursor, Textanfang...   "
  2170.         Definition
  2171.             AttachTo MENU ,"Editormenü"
  2172.             Font "personal",8 ; FontName, PointSize
  2173.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  2174.             TextColors 1,2,JAM2  ; PenA, PenB, DrawMode
  2175.             Text "Cursor, Textanfang...   "
  2176.             MenuFlags NONE 
  2177.             Highlight COMPLEMENT 
  2178.             ShortCutKey ":"
  2179.         EndScript
  2180.         Occurred
  2181.             WorkWithDocument "TheDoc"
  2182.             MoveCursorTo STARTOF DOCUMENT 
  2183.         EndScript
  2184.     EndObject
  2185.     TextMenu "Cursor, Textende..."
  2186.         Definition
  2187.             AttachTo MENU ,"Editormenü"
  2188.             Font "personal",8 ; FontName, PointSize
  2189.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  2190.             TextColors 1,2,JAM2  ; PenA, PenB, DrawMode
  2191.             Text "Cursor, Textende..."
  2192.             MenuFlags NONE 
  2193.             Highlight COMPLEMENT 
  2194.             ShortCutKey ";"
  2195.         EndScript
  2196.         Occurred
  2197.             WorkWithDocument "TheDoc"
  2198.             MoveCursorTo ENDOF DOCUMENT 
  2199.         EndScript
  2200.     EndObject
  2201.     TextMenu "Cursor, EineZeile"
  2202.         Definition
  2203.             AttachTo MENU ,"Editormenü"
  2204.             Font "personal",8 ; FontName, PointSize
  2205.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  2206.             TextColors 1,2,JAM2  ; PenA, PenB, DrawMode
  2207.             Text "Neue Zeile"
  2208.             MenuFlags NONE 
  2209.             Highlight COMPLEMENT 
  2210.             ShortCutKey "D"
  2211.         EndScript
  2212.         Occurred
  2213.             NewLine
  2214.         EndScript
  2215.     EndObject
  2216.     TextMenu "TrennstrichX4"
  2217.         Definition
  2218.             AttachTo MENU ,"Editormenü"
  2219.             Font "personal",8 ; FontName, PointSize
  2220.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  2221.             TextColors 0,1,NORMAL  ; PenA, PenB, DrawMode
  2222.             Text "-------------------------------"
  2223.             MenuFlags NONE 
  2224.             Highlight NONE 
  2225.             ShortCutKey ""
  2226.         EndScript
  2227.     EndObject
  2228.     TextMenu "Drucken..."
  2229.         Definition
  2230.             AttachTo MENU ,"Editormenü"
  2231.             Font "personal",8 ; FontName, PointSize
  2232.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  2233.             TextColors 1,2,JAM2  ; PenA, PenB, DrawMode
  2234.             Text "Drucken..."
  2235.             MenuFlags NONE 
  2236.             Highlight COMPLEMENT 
  2237.             ShortCutKey "P"
  2238.         EndScript
  2239.         Occurred
  2240.             OpenRequester "SimpleReq","JaNein","Drucken","Textloader Meldung...","Wollen Sie wirklich","dieses Dokument","jetzt Ausdrucken lassen?"," "
  2241.         EndScript
  2242.     EndObject
  2243.     TextMenu "TrennstrichX5"
  2244.         Definition
  2245.             AttachTo MENU ,"Editormenü"
  2246.             Font "personal",8 ; FontName, PointSize
  2247.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  2248.             TextColors 0,1,NORMAL  ; PenA, PenB, DrawMode
  2249.             Text "-------------------------------"
  2250.             MenuFlags NONE 
  2251.             Highlight NONE 
  2252.             ShortCutKey ""
  2253.         EndScript
  2254.     EndObject
  2255.     TextMenu "Beenden..."
  2256.         Definition
  2257.             AttachTo MENU ,"Editormenü"
  2258.             Font "personal",8 ; FontName, PointSize
  2259.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  2260.             TextColors 1,2,JAM2  ; PenA, PenB, DrawMode
  2261.             Text "Beenden..."
  2262.             MenuFlags NONE 
  2263.             Highlight COMPLEMENT 
  2264.             ShortCutKey "Q"
  2265.         EndScript
  2266.         Occurred
  2267.             OpenRequester "SimpleReq","JaNein","Ende","Textloader Frage...","Möchten Sie Ihr Dokument, vor","dem beenden noch sichern ???","",""
  2268.         EndScript
  2269.     EndObject
  2270.     TextMenu "HTML Information"
  2271.         Definition
  2272.             AttachTo MENU ," WWWEdit "
  2273.             Font "personal",8 ; FontName, PointSize
  2274.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  2275.             TextColors 1,2,JAM2  ; PenA, PenB, DrawMode
  2276.             Text "HTML (Infos)"
  2277.             MenuFlags NONE 
  2278.             Highlight COMPLEMENT 
  2279.             ShortCutKey ""
  2280.         EndScript
  2281.         Occurred
  2282.             LoadDocument ("SchabloneInfo"),"TheDoc"
  2283.         EndScript
  2284.     EndObject
  2285.     TextMenu "Schablone öffnen..."
  2286.         Definition
  2287.             AttachTo MENU ," WWWEdit "
  2288.             Font "personal",8 ; FontName, PointSize
  2289.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  2290.             TextColors 1,2,JAM2  ; PenA, PenB, DrawMode
  2291.             Text "HTML (Text)"
  2292.             MenuFlags NONE 
  2293.             Highlight COMPLEMENT 
  2294.             ShortCutKey ""
  2295.         EndScript
  2296.         Occurred
  2297.             LoadDocument ("Schablone1"),"TheDoc"
  2298.         EndScript
  2299.     EndObject
  2300.     TextMenu "Systemuhr..."
  2301.         Definition
  2302.             AttachTo MENU ," Workbench "
  2303.             Font "personal",8 ; FontName, PointSize
  2304.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  2305.             TextColors 3,2,JAM2  ; PenA, PenB, DrawMode
  2306.             Text "Systemuhr..."
  2307.             MenuFlags NONE 
  2308.             Highlight COMPLEMENT 
  2309.             ShortCutKey "U"
  2310.         EndScript
  2311.         Occurred
  2312.             Dos "Run >Nil: <Nil: Sys:Utilities/Clock" ; Run the application
  2313.         EndScript
  2314.     EndObject
  2315.     TextMenu "Taschenrechner..."
  2316.         Definition
  2317.             AttachTo MENU ," Workbench "
  2318.             Font "personal",8 ; FontName, PointSize
  2319.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  2320.             TextColors 3,2,JAM2  ; PenA, PenB, DrawMode
  2321.             Text "Taschenrechner..."
  2322.             MenuFlags NONE 
  2323.             Highlight COMPLEMENT 
  2324.             ShortCutKey "C"
  2325.         EndScript
  2326.         Occurred
  2327.             Dos "Run >Nil: <Nil: Sys:Tools/Calculator" ; Run the application
  2328.         EndScript
  2329.     EndObject
  2330.     TextMenu "Tastaturbelegung..."
  2331.         Definition
  2332.             AttachTo MENU ," Workbench "
  2333.             Font "personal",8 ; FontName, PointSize
  2334.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  2335.             TextColors 3,2,JAM2  ; PenA, PenB, DrawMode
  2336.             Text "Tastaturbelegung..."
  2337.             MenuFlags NONE 
  2338.             Highlight COMPLEMENT 
  2339.             ShortCutKey "K"
  2340.         EndScript
  2341.         Occurred
  2342.             Dos "Run >Nil: <Nil: Sys:Tools/KeyShow" ; Run the application
  2343.         EndScript
  2344.     EndObject
  2345.     TextMenu "Farbeneinsteller..."
  2346.         Definition
  2347.             AttachTo MENU ," Workbench "
  2348.             Font "personal",8 ; FontName, PointSize
  2349.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  2350.             TextColors 3,2,JAM2  ; PenA, PenB, DrawMode
  2351.             Text "Farbeneinsteller..."
  2352.             MenuFlags NONE 
  2353.             Highlight COMPLEMENT 
  2354.             ShortCutKey "+"
  2355.         EndScript
  2356.         Occurred
  2357.             If exists("sys:Tools/Colors")
  2358.                 Dos "Run >Nil: <Nil: Sys:Tools/Colors" ; Run the application
  2359.             ElseIf exists("sys:Prefs/Palette")
  2360.                 Dos "Run >Nil: <Nil: Sys:Prefs/Palette"
  2361.             Else
  2362.                 Let Error =askforResponse("Programm existiert nicht!","Textloader Fehler...","")
  2363.             EndIf
  2364.         EndScript
  2365.     EndObject
  2366.     TextMenu "HD-Toolbox..."
  2367.         Definition
  2368.             AttachTo MENU ," Workbench "
  2369.             Font "personal",8 ; FontName, PointSize
  2370.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  2371.             TextColors 3,2,JAM2  ; PenA, PenB, DrawMode
  2372.             Text "HD-Toolbox..."
  2373.             MenuFlags NONE 
  2374.             Highlight COMPLEMENT 
  2375.             ShortCutKey "%"
  2376.         EndScript
  2377.         Occurred
  2378.             Dos "Run >Nil: <Nil: Sys:Tools/HDToolbox" ; Run the application
  2379.         EndScript
  2380.     EndObject
  2381.     TextMenu "Cli-Fenster..."
  2382.         Definition
  2383.             AttachTo MENU ," Workbench "
  2384.             Font "personal",8 ; FontName, PointSize
  2385.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  2386.             TextColors 3,2,JAM2  ; PenA, PenB, DrawMode
  2387.             Text "Cli-Fenster..."
  2388.             MenuFlags NONE 
  2389.             Highlight COMPLEMENT 
  2390.             ShortCutKey "$"
  2391.         EndScript
  2392.         Occurred
  2393.             Dos "Run >Nil: <Nil: Sys:System/Cli" ; Run the application
  2394.         EndScript
  2395.     EndObject
  2396.     TextMenu "Trennstrich6"
  2397.         Definition
  2398.             AttachTo MENU ," Workbench "
  2399.             Font "personal",8 ; FontName, PointSize
  2400.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  2401.             TextColors 0,1,NORMAL  ; PenA, PenB, DrawMode
  2402.             Text "-------------------------------"
  2403.             MenuFlags NONE 
  2404.             Highlight NONE 
  2405.             ShortCutKey ""
  2406.         EndScript
  2407.     EndObject
  2408.     TextMenu "MenuItem_4"
  2409.         Definition
  2410.             AttachTo MENU ," Workbench "
  2411.             Font "personal",8 ; FontName, PointSize
  2412.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  2413.             TextColors 3,2,JAM2  ; PenA, PenB, DrawMode
  2414.             Text "Multiview..."
  2415.             MenuFlags NONE 
  2416.             Highlight COMPLEMENT 
  2417.             ShortCutKey "0"
  2418.         EndScript
  2419.         Occurred
  2420.             Dos "Run >Nil: <Nil: Sys:Utilities/Multiview"
  2421.             If error
  2422.                 Do "Fehlerroutine"
  2423.             EndIf
  2424.         EndScript
  2425.     EndObject
  2426.     TextMenu "DruckerPrefs..."
  2427.         Definition
  2428.             AttachTo MENU ," Workbench "
  2429.             Font "personal",8 ; FontName, PointSize
  2430.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  2431.             TextColors 3,2,JAM2  ; PenA, PenB, DrawMode
  2432.             Text "DruckerPrefs..."
  2433.             MenuFlags NONE 
  2434.             Highlight COMPLEMENT 
  2435.             ShortCutKey "1"
  2436.         EndScript
  2437.         Occurred
  2438.             Dos "Run >Nil: <Nil: Sys:prefs/Printer" ; Run the application
  2439.         EndScript
  2440.     EndObject
  2441.     TextMenu "Zeiteinsteller..."
  2442.         Definition
  2443.             AttachTo MENU ," Workbench "
  2444.             Font "personal",8 ; FontName, PointSize
  2445.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  2446.             TextColors 3,2,JAM2  ; PenA, PenB, DrawMode
  2447.             Text "Zeiteinsteller..."
  2448.             MenuFlags NONE 
  2449.             Highlight COMPLEMENT 
  2450.             ShortCutKey "2"
  2451.         EndScript
  2452.         Occurred
  2453.             Dos "Run >Nil: <Nil: Sys:prefs/Time" ; Run the application
  2454.         EndScript
  2455.     EndObject
  2456.     TextMenu "Sprache(Locale)..."
  2457.         Definition
  2458.             AttachTo MENU ," Workbench "
  2459.             Font "personal",8 ; FontName, PointSize
  2460.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  2461.             TextColors 3,2,JAM2  ; PenA, PenB, DrawMode
  2462.             Text "Sprache(Locale)..."
  2463.             MenuFlags NONE 
  2464.             Highlight COMPLEMENT 
  2465.             ShortCutKey "3"
  2466.         EndScript
  2467.         Occurred
  2468.             Dos "Run >Nil: <Nil: Sys:prefs/Locale" ; Run the application
  2469.         EndScript
  2470.     EndObject
  2471.     TextMenu "Screenmodeprefs..."
  2472.         Definition
  2473.             AttachTo MENU ," Workbench "
  2474.             Font "personal",8 ; FontName, PointSize
  2475.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  2476.             TextColors 3,2,JAM2  ; PenA, PenB, DrawMode
  2477.             Text "Screenmodeprefs..."
  2478.             MenuFlags NONE 
  2479.             Highlight COMPLEMENT 
  2480.             ShortCutKey "4"
  2481.         EndScript
  2482.         Occurred
  2483.             Dos "Run >Nil: <Nil: Sys:Prefs/ScreenMode" ; Run the application
  2484.         EndScript
  2485.     EndObject
  2486.     TextMenu "PrinterGfx..."
  2487.         Definition
  2488.             AttachTo MENU ," Workbench "
  2489.             Font "personal",8 ; FontName, PointSize
  2490.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  2491.             TextColors 3,2,JAM2  ; PenA, PenB, DrawMode
  2492.             Text "PrinterGfx..."
  2493.             MenuFlags NONE 
  2494.             Highlight COMPLEMENT 
  2495.             ShortCutKey "5"
  2496.         EndScript
  2497.         Occurred
  2498.             Dos "Run >Nil: <Nil: Sys:prefs/PrinterGfx" ; Run the application
  2499.         EndScript
  2500.     EndObject
  2501.     TextMenu "Fonteinsteller..."
  2502.         Definition
  2503.             AttachTo MENU ," Workbench "
  2504.             Font "personal",8 ; FontName, PointSize
  2505.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  2506.             TextColors 3,2,JAM2  ; PenA, PenB, DrawMode
  2507.             Text "Fonteinsteller..."
  2508.             MenuFlags NONE 
  2509.             Highlight COMPLEMENT 
  2510.             ShortCutKey "6"
  2511.         EndScript
  2512.         Occurred
  2513.             Dos "Run >Nil: <Nil: Sys:prefs/Font" ; Run the application
  2514.         EndScript
  2515.     EndObject
  2516.     TextMenu "Workbench Screen nutzen"
  2517.         Definition
  2518.             AttachTo MENU ," PrefsTools "
  2519.             Font "personal",8 ; FontName, PointSize
  2520.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  2521.             TextColors 1,2,JAM2  ; PenA, PenB, DrawMode
  2522.             Text "Workbench Screen nutzen"
  2523.             MenuFlags NONE 
  2524.             Highlight COMPLEMENT 
  2525.             ShortCutKey ""
  2526.         EndScript
  2527.         Occurred
  2528.             GotoCard "Hauptfenster"
  2529.         EndScript
  2530.     EndObject
  2531.     TextMenu "Palette..."
  2532.         Definition
  2533.             AttachTo MENU ," PrefsTools "
  2534.             Font "personal",8 ; FontName, PointSize
  2535.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  2536.             TextColors 1,2,JAM2  ; PenA, PenB, DrawMode
  2537.             Text "Palette..."
  2538.             MenuFlags NONE 
  2539.             Highlight COMPLEMENT 
  2540.             ShortCutKey "X"
  2541.         EndScript
  2542.         Occurred
  2543.             OpenRequester "Palette","Palette"
  2544.         EndScript
  2545.     EndObject
  2546.     TextMenu "Speicher..."
  2547.         Definition
  2548.             AttachTo MENU ," PrefsTools "
  2549.             Font "personal",8 ; FontName, PointSize
  2550.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  2551.             TextColors 1,2,JAM2  ; PenA, PenB, DrawMode
  2552.             Text "Speicher..."
  2553.             MenuFlags NONE 
  2554.             Highlight COMPLEMENT 
  2555.             ShortCutKey "M"
  2556.         EndScript
  2557.         Occurred
  2558.             OpenRequester "Avail","Avail"
  2559.         EndScript
  2560.     EndObject
  2561.     IntervalTimer "TitelUhr"
  2562.         Definition
  2563.             Duration 0,1,0 ; Minutes, Seconds, Jiffies
  2564.         EndScript
  2565.         Occurred
  2566.             Do "TitelUhr"
  2567.         EndScript
  2568.     EndObject
  2569.     TextMenu "Sicherheitskopie anlegen (2)"
  2570.         Definition
  2571.             AttachTo OBJECT ,"Speichern, Backup           »"
  2572.             Font "personal",8 ; FontName, PointSize
  2573.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  2574.             TextColors 3,1,NORMAL  ; PenA, PenB, DrawMode
  2575.             Text "Sicherheitskopie anlegen (2)"
  2576.             MenuFlags NONE 
  2577.             Highlight COMPLEMENT 
  2578.             ShortCutKey ""
  2579.         EndScript
  2580.         Occurred
  2581.             SetWindowTitle "Speichere den Text nun in die RAM, unter Ablage (2)"
  2582.             SaveDocument "TheDoc","ram:2BackupTextloader",ASCII 
  2583.             IfError
  2584.                 Do "Fehlerroutine"
  2585.             EndIf
  2586.             Delay 0,3,1/50
  2587.             SetWindowTitle "Textloader Editor, von Pascal Gisin"
  2588.         EndScript
  2589.     EndObject
  2590.     TextMenu "Sicherheitskopie anlegen (3)"
  2591.         Definition
  2592.             AttachTo OBJECT ,"Speichern, Backup           »"
  2593.             Font "personal",8 ; FontName, PointSize
  2594.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  2595.             TextColors 3,1,NORMAL  ; PenA, PenB, DrawMode
  2596.             Text "Sicherheitskopie anlegen (3)"
  2597.             MenuFlags NONE 
  2598.             Highlight COMPLEMENT 
  2599.             ShortCutKey ""
  2600.         EndScript
  2601.         Occurred
  2602.             SetWindowTitle "Speichere den Text nun in die RAM, unter Ablage (3)"
  2603.             SaveDocument "TheDoc","ram:3BackupTextloader",ASCII 
  2604.             IfError
  2605.                 Do "Fehlerroutine"
  2606.             EndIf
  2607.             Delay 0,3,1/50
  2608.             SetWindowTitle "Textloader Editor, von Pascal Gisin"
  2609.         EndScript
  2610.     EndObject
  2611.     TextMenu "Sicherheitskopie anlegen (4)"
  2612.         Definition
  2613.             AttachTo OBJECT ,"Speichern, Backup           »"
  2614.             Font "personal",8 ; FontName, PointSize
  2615.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  2616.             TextColors 3,1,NORMAL  ; PenA, PenB, DrawMode
  2617.             Text "Sicherheitskopie anlegen (4)"
  2618.             MenuFlags NONE 
  2619.             Highlight COMPLEMENT 
  2620.             ShortCutKey ""
  2621.         EndScript
  2622.         Occurred
  2623.             SetWindowTitle "Speichere den Text nun in die RAM, unter Ablage (4)"
  2624.             SaveDocument "TheDoc","ram:4BackupTextloader",ASCII 
  2625.             IfError
  2626.                 Do "Fehlerroutine"
  2627.             EndIf
  2628.             Delay 0,3,1/50
  2629.             SetWindowTitle "Textloader Editor, von Pascal Gisin"
  2630.         EndScript
  2631.     EndObject
  2632.     TextMenu "-------------------------"
  2633.         Definition
  2634.             AttachTo OBJECT ,"Speichern, Backup           »"
  2635.             Font "topaz",8 ; FontName, PointSize
  2636.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  2637.             TextColors 0,1,NORMAL  ; PenA, PenB, DrawMode
  2638.             Text "-------------------------"
  2639.             MenuFlags NONE 
  2640.             Highlight NONE 
  2641.             ShortCutKey ""
  2642.         EndScript
  2643.     EndObject
  2644.     TextMenu "Sicherheitskopie einfügen (1)"
  2645.         Definition
  2646.             AttachTo OBJECT ,"Speichern, Backup           »"
  2647.             Font "personal",8 ; FontName, PointSize
  2648.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  2649.             TextColors 0,1,NORMAL  ; PenA, PenB, DrawMode
  2650.             Text "Sicherheitskopie einfügen (1)"
  2651.             MenuFlags NONE 
  2652.             Highlight COMPLEMENT 
  2653.             ShortCutKey ""
  2654.         EndScript
  2655.         Occurred
  2656.             LoadDocument "ram:1BackupTextloader","TheDoc"
  2657.         EndScript
  2658.     EndObject
  2659.     TextMenu "Sicherheitskopie einfügen (2)"
  2660.         Definition
  2661.             AttachTo OBJECT ,"Speichern, Backup           »"
  2662.             Font "personal",8 ; FontName, PointSize
  2663.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  2664.             TextColors 0,1,NORMAL  ; PenA, PenB, DrawMode
  2665.             Text "Sicherheitskopie einfügen (2)"
  2666.             MenuFlags NONE 
  2667.             Highlight COMPLEMENT 
  2668.             ShortCutKey ""
  2669.         EndScript
  2670.         Occurred
  2671.             LoadDocument "ram:2BackupTextloader","TheDoc"
  2672.         EndScript
  2673.     EndObject
  2674.     TextMenu "Sicherheitskopie einfügen (3)"
  2675.         Definition
  2676.             AttachTo OBJECT ,"Speichern, Backup           »"
  2677.             Font "personal",8 ; FontName, PointSize
  2678.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  2679.             TextColors 0,1,NORMAL  ; PenA, PenB, DrawMode
  2680.             Text "Sicherheitskopie einfügen (3)"
  2681.             MenuFlags NONE 
  2682.             Highlight COMPLEMENT 
  2683.             ShortCutKey ""
  2684.         EndScript
  2685.         Occurred
  2686.             LoadDocument "ram:3BackupTextloader","TheDoc"
  2687.         EndScript
  2688.     EndObject
  2689.     TextMenu "Sicherheitskopie einfügen (4)"
  2690.         Definition
  2691.             AttachTo OBJECT ,"Speichern, Backup           »"
  2692.             Font "personal",8 ; FontName, PointSize
  2693.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  2694.             TextColors 0,1,NORMAL  ; PenA, PenB, DrawMode
  2695.             Text "Sicherheitskopie einfügen (4)"
  2696.             MenuFlags NONE 
  2697.             Highlight COMPLEMENT 
  2698.             ShortCutKey ""
  2699.         EndScript
  2700.         Occurred
  2701.             LoadDocument "ram:4BackupTextloader","TheDoc"
  2702.         EndScript
  2703.     EndObject
  2704.     TextMenu "OnlineHelp..."
  2705.         Definition
  2706.             AttachTo MENU ," Help "
  2707.             Font "personal",8 ; FontName, PointSize
  2708.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  2709.             TextColors 1,2,JAM2  ; PenA, PenB, DrawMode
  2710.             Text "OnlineHelp..."
  2711.             MenuFlags NONE 
  2712.             Highlight COMPLEMENT 
  2713.             ShortCutKey "O"
  2714.         EndScript
  2715.         Occurred
  2716.             If EXISTS ("sys:Utilities/Amigaguide")
  2717.                 Dos "Run >Nil: <Nil: Sys:Utilities/Amigaguide Textloader.guide" ; Run the application
  2718.             Else
  2719.                 If EXISTS ("sys:Utilities/Multiview")
  2720.                     Dos "Run >Nil: <Nil: Sys:Utilities/Multiview Textloader.guide" ; Run the Aplic.
  2721.                 Else
  2722.                     If EXISTS ("sys:c/Amigaguide")
  2723.                         Dos "Run >Nil: <Nil: Sys:c/Amigaguide Textloader.guide"
  2724.                     Else
  2725.                         OpenRequester "SimpleReq","Kommentar","","Textloader Meldung...","Leider konnte ich die","Textloader OnlineHelp nicht","starten. Benötige Amigaguide, oder","Multiview für die Ausgabe!"
  2726.                     EndIf
  2727.                 EndIf
  2728.             EndIf
  2729.         EndScript
  2730.     EndObject
  2731.     TextMenu "MenuItem_1"
  2732.         Definition
  2733.             AttachTo MENU ," Workbench "
  2734.             Font "personal",8 ; FontName, PointSize
  2735.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  2736.             TextColors 3,2,JAM2  ; PenA, PenB, DrawMode
  2737.             Text "Pointer..."
  2738.             MenuFlags NONE 
  2739.             Highlight COMPLEMENT 
  2740.             ShortCutKey "7"
  2741.         EndScript
  2742.         Occurred
  2743.             Dos "Run >Nil: <Nil: Sys:Prefs/Pointer" ; Run the application
  2744.         EndScript
  2745.     EndObject
  2746.     TextMenu "MenuItem_2"
  2747.         Definition
  2748.             AttachTo MENU ," Workbench "
  2749.             Font "personal",8 ; FontName, PointSize
  2750.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  2751.             TextColors 3,2,JAM2  ; PenA, PenB, DrawMode
  2752.             Text "Sound..."
  2753.             MenuFlags NONE 
  2754.             Highlight COMPLEMENT 
  2755.             ShortCutKey "8"
  2756.         EndScript
  2757.         Occurred
  2758.             Dos "Run >Nil: <Nil: Sys:Prefs/Sound" ; Run the application
  2759.         EndScript
  2760.     EndObject
  2761.     TextMenu "MenuItem3"
  2762.         Definition
  2763.             AttachTo MENU ," Workbench "
  2764.             Font "personal",8 ; FontName, PointSize
  2765.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  2766.             TextColors 3,2,JAM2  ; PenA, PenB, DrawMode
  2767.             Text "PrinterPostscript..."
  2768.             MenuFlags NONE 
  2769.             Highlight COMPLEMENT 
  2770.             ShortCutKey "9"
  2771.         EndScript
  2772.         Occurred
  2773.             Dos "Run >Nil: <Nil: Sys:Prefs/PrinterPS" ; Run the application
  2774.         EndScript
  2775.     EndObject
  2776.     TextMenu "Trennstrich?"
  2777.         Definition
  2778.             AttachTo MENU ," Workbench "
  2779.             Font "personal",8 ; FontName, PointSize
  2780.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  2781.             TextColors 0,1,NORMAL  ; PenA, PenB, DrawMode
  2782.             Text "-------------------------------"
  2783.             MenuFlags NONE 
  2784.             Highlight NONE 
  2785.             ShortCutKey ""
  2786.         EndScript
  2787.     EndObject
  2788.     AKey "KeyInput_1"
  2789.         Definition
  2790.             QualifiersPressed NONE 
  2791.             KeyPressed F7 
  2792.         EndScript
  2793.         OnDown
  2794.             Do "AusserFunktion"
  2795.         EndScript
  2796.     EndObject
  2797.     AKey "KeyInput_2"
  2798.         Definition
  2799.             QualifiersPressed NONE 
  2800.             KeyPressed F8 
  2801.         EndScript
  2802.         OnDown
  2803.             Do "AusserFunktion"
  2804.         EndScript
  2805.     EndObject
  2806.     AKey "KeyInput_3"
  2807.         Definition
  2808.             QualifiersPressed NONE 
  2809.             KeyPressed F9 
  2810.         EndScript
  2811.         OnDown
  2812.             Do "AusserFunktion"
  2813.         EndScript
  2814.     EndObject
  2815.     AKey "KeyInput_4"
  2816.         Definition
  2817.             QualifiersPressed NONE 
  2818.             KeyPressed F10 
  2819.         EndScript
  2820.         OnDown
  2821.             Do "AusserFunktion"
  2822.         EndScript
  2823.     EndObject
  2824.     TextMenu "NoFastMem"
  2825.         Definition
  2826.             AttachTo MENU ," Workbench "
  2827.             Font "personal",8 ; FontName, PointSize
  2828.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  2829.             TextColors 3,2,JAM2  ; PenA, PenB, DrawMode
  2830.             Text "NoFastMem"
  2831.             MenuFlags NONE 
  2832.             Highlight COMPLEMENT 
  2833.             ShortCutKey ""
  2834.         EndScript
  2835.         Occurred
  2836.             Dos "Run >Nil: <Nil: Sys:system/NoFastMem"
  2837.             If error
  2838.                 Do "Fehlerroutine"
  2839.             EndIf
  2840.         EndScript
  2841.     EndObject
  2842.     TextMenu "Rexxmast"
  2843.         Definition
  2844.             AttachTo MENU ," Workbench "
  2845.             Font "personal",8 ; FontName, PointSize
  2846.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  2847.             TextColors 3,2,JAM2  ; PenA, PenB, DrawMode
  2848.             Text "Rexxmast"
  2849.             MenuFlags NONE 
  2850.             Highlight COMPLEMENT 
  2851.             ShortCutKey ""
  2852.         EndScript
  2853.         Occurred
  2854.             Dos "Run >Nil: <Nil: Sys:system/Rexxmast"
  2855.             If error
  2856.                 Do "Fehlerroutine"
  2857.             EndIf
  2858.         EndScript
  2859.     EndObject
  2860.     TextMenu "CursorPosition"
  2861.         Definition
  2862.             AttachTo MENU ," Statistik "
  2863.             Font "personal",8 ; FontName, PointSize
  2864.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  2865.             TextColors 1,2,JAM2  ; PenA, PenB, DrawMode
  2866.             Text "Zeichen Total..."
  2867.             MenuFlags NONE 
  2868.             Highlight COMPLEMENT 
  2869.             ShortCutKey ""
  2870.         EndScript
  2871.         Occurred
  2872.             Do "Timing"
  2873.         EndScript
  2874.     EndObject
  2875.     TextMenu "Copy_of_CursorPosition"
  2876.         Definition
  2877.             AttachTo MENU ," Statistik "
  2878.             Font "personal",8 ; FontName, PointSize
  2879.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  2880.             TextColors 1,2,JAM2  ; PenA, PenB, DrawMode
  2881.             Text "Cursor wo..."
  2882.             MenuFlags NONE 
  2883.             Highlight COMPLEMENT 
  2884.             ShortCutKey ""
  2885.         EndScript
  2886.         Occurred
  2887.             Do "Timing2"
  2888.         EndScript
  2889.     EndObject
  2890.     TextMenu "Copy_2_of_CursorPosition"
  2891.         Definition
  2892.             AttachTo MENU ," Statistik "
  2893.             Font "personal",8 ; FontName, PointSize
  2894.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  2895.             TextColors 1,2,JAM2  ; PenA, PenB, DrawMode
  2896.             Text "Cursor auf Feld..."
  2897.             MenuFlags NONE 
  2898.             Highlight COMPLEMENT 
  2899.             ShortCutKey ""
  2900.         EndScript
  2901.         Occurred
  2902.             Do "Timing3"
  2903.         EndScript
  2904.     EndObject
  2905.     TextMenu "Copy_3_of_CursorPosition"
  2906.         Definition
  2907.             AttachTo MENU ," Statistik "
  2908.             Font "personal",8 ; FontName, PointSize
  2909.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  2910.             TextColors 1,2,JAM2  ; PenA, PenB, DrawMode
  2911.             Text "Cursor auf Zeile..."
  2912.             MenuFlags NONE 
  2913.             Highlight COMPLEMENT 
  2914.             ShortCutKey ""
  2915.         EndScript
  2916.         Occurred
  2917.             Do "Timing4"
  2918.         EndScript
  2919.     EndObject
  2920.     TextMenu "Copy_4_of_CursorPosition"
  2921.         Definition
  2922.             AttachTo MENU ," Statistik "
  2923.             Font "personal",8 ; FontName, PointSize
  2924.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  2925.             TextColors 1,2,JAM2  ; PenA, PenB, DrawMode
  2926.             Text "Zeilen Total..."
  2927.             MenuFlags NONE 
  2928.             Highlight COMPLEMENT 
  2929.             ShortCutKey ""
  2930.         EndScript
  2931.         Occurred
  2932.             Do "Timing5"
  2933.         EndScript
  2934.     EndObject
  2935.     TextMenu "MenuItem_3"
  2936.         Definition
  2937.             AttachTo MENU ," Statistik "
  2938.             Font "personal",8 ; FontName, PointSize
  2939.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  2940.             TextColors 4,2,JAM2  ; PenA, PenB, DrawMode
  2941.             Text "------------------------"
  2942.             MenuFlags NONE 
  2943.             Highlight NONE 
  2944.             ShortCutKey ""
  2945.         EndScript
  2946.     EndObject
  2947.     TextMenu "Copy_5_of_CursorPosition"
  2948.         Definition
  2949.             AttachTo MENU ," Statistik "
  2950.             Font "personal",8 ; FontName, PointSize
  2951.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  2952.             TextColors 1,2,JAM2  ; PenA, PenB, DrawMode
  2953.             Text "Verfügbarer Chip Ram..."
  2954.             MenuFlags NONE 
  2955.             Highlight COMPLEMENT 
  2956.             ShortCutKey ""
  2957.         EndScript
  2958.         Occurred
  2959.             Do "Timing6"
  2960.         EndScript
  2961.     EndObject
  2962.     TextMenu "Copy_6_of_CursorPosition"
  2963.         Definition
  2964.             AttachTo MENU ," Statistik "
  2965.             Font "personal",8 ; FontName, PointSize
  2966.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  2967.             TextColors 1,2,JAM2  ; PenA, PenB, DrawMode
  2968.             Text "Verfügbarer Fast Ram..."
  2969.             MenuFlags NONE 
  2970.             Highlight COMPLEMENT 
  2971.             ShortCutKey ""
  2972.         EndScript
  2973.         Occurred
  2974.             Do "Timing7"
  2975.         EndScript
  2976.     EndObject
  2977.     TextMenu "GesamtMemory"
  2978.         Definition
  2979.             AttachTo MENU ," Statistik "
  2980.             Font "personal",8 ; FontName, PointSize
  2981.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  2982.             TextColors 1,2,JAM2  ; PenA, PenB, DrawMode
  2983.             Text "Total Ram..."
  2984.             MenuFlags NONE 
  2985.             Highlight COMPLEMENT 
  2986.             ShortCutKey ""
  2987.         EndScript
  2988.         Occurred
  2989.             Do "Timing9"
  2990.         EndScript
  2991.     EndObject
  2992.     TextMenu "Copy_of_MenuItem_3"
  2993.         Definition
  2994.             AttachTo MENU ," Statistik "
  2995.             Font "personal",8 ; FontName, PointSize
  2996.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  2997.             TextColors 4,2,JAM2  ; PenA, PenB, DrawMode
  2998.             Text "------------------------"
  2999.             MenuFlags NONE 
  3000.             Highlight NONE 
  3001.             ShortCutKey ""
  3002.         EndScript
  3003.     EndObject
  3004.     TextMenu "Copy_7_of_CursorPosition"
  3005.         Definition
  3006.             AttachTo MENU ," Statistik "
  3007.             Font "personal",8 ; FontName, PointSize
  3008.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  3009.             TextColors 1,2,JAM2  ; PenA, PenB, DrawMode
  3010.             Text "System Version..."
  3011.             MenuFlags NONE 
  3012.             Highlight COMPLEMENT 
  3013.             ShortCutKey ""
  3014.         EndScript
  3015.         Occurred
  3016.             Do "Timing8"
  3017.         EndScript
  3018.     EndObject
  3019.     TextMenu "Farbenwahl"
  3020.         Definition
  3021.             AttachTo MENU ," PrefsTools "
  3022.             Font "personal",8 ; FontName, PointSize
  3023.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  3024.             TextColors 1,2,JAM2  ; PenA, PenB, DrawMode
  3025.             Text "Farben wahl..."
  3026.             MenuFlags NONE 
  3027.             Highlight COMPLEMENT 
  3028.             ShortCutKey ""
  3029.         EndScript
  3030.     EndObject
  3031.     TextMenu "Wb"
  3032.         Definition
  3033.             AttachTo OBJECT ,"Farbenwahl"
  3034.             Font "personal",8 ; FontName, PointSize
  3035.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  3036.             TextColors 1,2,JAM2  ; PenA, PenB, DrawMode
  3037.             Text "Wb"
  3038.             MenuFlags CHECKABLE CHECKIT 
  3039.             Highlight COMPLEMENT 
  3040.             ShortCutKey ""
  3041.         EndScript
  3042.         Occurred
  3043.             SetObjectState "Wb",true
  3044.             SetObjectState "WBold",false
  3045.             SetObjectState "Violetexotic",false
  3046.             SetObjectState "blacky",false
  3047.             SetObjectState "banana",false
  3048.             SetObjectState "PescaFruit",false
  3049.             SetObjectState "GreenApple",false
  3050.             SetObjectState "SpacyTint",false
  3051.             SetRGB 0,170,170,170
  3052.             SetRGB 1,0,0,17
  3053.             SetRGB 2,255,255,255
  3054.             SetRGB 3,102,136,187
  3055.         EndScript
  3056.     EndObject
  3057.     TextMenu "WBold"
  3058.         Definition
  3059.             AttachTo OBJECT ,"Farbenwahl"
  3060.             Font "personal",8 ; FontName, PointSize
  3061.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  3062.             TextColors 1,2,JAM2  ; PenA, PenB, DrawMode
  3063.             Text "WBold"
  3064.             MenuFlags CHECKABLE 
  3065.             Highlight COMPLEMENT 
  3066.             ShortCutKey ""
  3067.         EndScript
  3068.         Occurred
  3069.             SetObjectState "Wb",false
  3070.             SetObjectState "WBold",true
  3071.             SetObjectState "Violetexotic",false
  3072.             SetObjectState "blacky",false
  3073.             SetObjectState "banana",false
  3074.             SetObjectState "PescaFruit",false
  3075.             SetObjectState "GreenApple",false
  3076.             SetObjectState "SpacyTint",false
  3077.             SetRGB 0,0,85,170
  3078.             SetRGB 1,255,255,255
  3079.             SetRGB 2,0,0,34
  3080.             SetRGB 3,255,136,0
  3081.         EndScript
  3082.     EndObject
  3083.     TextMenu "Violetexotic"
  3084.         Definition
  3085.             AttachTo OBJECT ,"Farbenwahl"
  3086.             Font "personal",8 ; FontName, PointSize
  3087.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  3088.             TextColors 1,2,JAM2  ; PenA, PenB, DrawMode
  3089.             Text "Violett exotic"
  3090.             MenuFlags CHECKABLE 
  3091.             Highlight COMPLEMENT 
  3092.             ShortCutKey ""
  3093.         EndScript
  3094.         Occurred
  3095.             SetObjectState "Wb",false
  3096.             SetObjectState "WBold",false
  3097.             SetObjectState "Violetexotic",true
  3098.             SetObjectState "blacky",false
  3099.             SetObjectState "banana",false
  3100.             SetObjectState "PescaFruit",false
  3101.             SetObjectState "GreenApple",false
  3102.             SetObjectState "SpacyTint",false
  3103.             SetRGB 0,187,187,187
  3104.             SetRGB 1,0,0,0
  3105.             SetRGB 2,255,255,255
  3106.             SetRGB 3,204,0,153
  3107.         EndScript
  3108.     EndObject
  3109.     TextMenu "blacky"
  3110.         Definition
  3111.             AttachTo OBJECT ,"Farbenwahl"
  3112.             Font "personal",8 ; FontName, PointSize
  3113.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  3114.             TextColors 1,2,JAM2  ; PenA, PenB, DrawMode
  3115.             Text "blacky bounce"
  3116.             MenuFlags CHECKABLE 
  3117.             Highlight COMPLEMENT 
  3118.             ShortCutKey ""
  3119.         EndScript
  3120.         Occurred
  3121.             SetObjectState "Wb",false
  3122.             SetObjectState "WBold",false
  3123.             SetObjectState "Violetexotic",false
  3124.             SetObjectState "blacky",true
  3125.             SetObjectState "banana",false
  3126.             SetObjectState "PescaFruit",false
  3127.             SetObjectState "GreenApple",false
  3128.             SetObjectState "SpacyTint",false
  3129.             SetRGB 0,0,0,0
  3130.             SetRGB 1,255,255,255
  3131.             SetRGB 2,85,170,170
  3132.             SetRGB 3,204,51,85
  3133.         EndScript
  3134.     EndObject
  3135.     TextMenu "Banana"
  3136.         Definition
  3137.             AttachTo OBJECT ,"Farbenwahl"
  3138.             Font "personal",8 ; FontName, PointSize
  3139.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  3140.             TextColors 1,2,JAM2  ; PenA, PenB, DrawMode
  3141.             Text "Banana split"
  3142.             MenuFlags CHECKABLE 
  3143.             Highlight COMPLEMENT 
  3144.             ShortCutKey ""
  3145.         EndScript
  3146.         Occurred
  3147.             SetObjectState "Wb",false
  3148.             SetObjectState "WBold",false
  3149.             SetObjectState "Violetexotic",false
  3150.             SetObjectState "blacky",false
  3151.             SetObjectState "banana",true
  3152.             SetObjectState "PescaFruit",false
  3153.             SetObjectState "GreenApple",false
  3154.             SetObjectState "SpacyTint",false
  3155.             SetRGB 0,170,170,170
  3156.             SetRGB 1,0,0,0
  3157.             SetRGB 2,187,85,17
  3158.             SetRGB 3,221,221,0
  3159.         EndScript
  3160.     EndObject
  3161.     TextMenu "Pescafruit"
  3162.         Definition
  3163.             AttachTo OBJECT ,"Farbenwahl"
  3164.             Font "personal",8 ; FontName, PointSize
  3165.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  3166.             TextColors 1,2,JAM2  ; PenA, PenB, DrawMode
  3167.             Text "Pescafruit"
  3168.             MenuFlags CHECKABLE 
  3169.             Highlight COMPLEMENT 
  3170.             ShortCutKey ""
  3171.         EndScript
  3172.         Occurred
  3173.             SetObjectState "Wb",false
  3174.             SetObjectState "WBold",false
  3175.             SetObjectState "Violetexotic",false
  3176.             SetObjectState "blacky",false
  3177.             SetObjectState "banana",false
  3178.             SetObjectState "PescaFruit",true
  3179.             SetObjectState "GreenApple",false
  3180.             SetObjectState "SpacyTint",false
  3181.             SetRGB 0,170,170,170
  3182.             SetRGB 1,0,0,0
  3183.             SetRGB 2,255,17,68
  3184.             SetRGB 3,238,136,0
  3185.         EndScript
  3186.     EndObject
  3187.     TextMenu "GreenApple"
  3188.         Definition
  3189.             AttachTo OBJECT ,"Farbenwahl"
  3190.             Font "personal",8 ; FontName, PointSize
  3191.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  3192.             TextColors 1,2,JAM2  ; PenA, PenB, DrawMode
  3193.             Text "GreenApple"
  3194.             MenuFlags CHECKABLE 
  3195.             Highlight COMPLEMENT 
  3196.             ShortCutKey ""
  3197.         EndScript
  3198.         Occurred
  3199.             SetObjectState "Wb",false
  3200.             SetObjectState "WBold",false
  3201.             SetObjectState "Violetexotic",false
  3202.             SetObjectState "blacky",false
  3203.             SetObjectState "banana",false
  3204.             SetObjectState "PescaFruit",false
  3205.             SetObjectState "GreenApple",true
  3206.             SetObjectState "SpacyTint",false
  3207.             SetRGB 0,153,153,153
  3208.             SetRGB 1,0,0,0
  3209.             SetRGB 2,238,170,51
  3210.             SetRGB 3,0,136,0
  3211.         EndScript
  3212.     EndObject
  3213.     TextMenu "Spacytint"
  3214.         Definition
  3215.             AttachTo OBJECT ,"Farbenwahl"
  3216.             Font "personal",8 ; FontName, PointSize
  3217.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  3218.             TextColors 1,2,JAM2  ; PenA, PenB, DrawMode
  3219.             Text "Spacytint"
  3220.             MenuFlags CHECKABLE 
  3221.             Highlight COMPLEMENT 
  3222.             ShortCutKey ""
  3223.         EndScript
  3224.         Occurred
  3225.             SetObjectState "Wb",false
  3226.             SetObjectState "WBold",false
  3227.             SetObjectState "Violetexotic",false
  3228.             SetObjectState "blacky",false
  3229.             SetObjectState "banana",false
  3230.             SetObjectState "PescaFruit",false
  3231.             SetObjectState "GreenApple",false
  3232.             SetObjectState "SpacyTint",true
  3233.             SetRGB 0,255,255,255
  3234.             SetRGB 1,238,0,187
  3235.             SetRGB 2,0,0,0
  3236.             SetRGB 3,17,204,102
  3237.         EndScript
  3238.     EndObject
  3239.     AKey "OnlineHelp"
  3240.         Definition
  3241.             QualifiersPressed NONE 
  3242.             KeyPressed HELP 
  3243.         EndScript
  3244.         OnDown
  3245.             If EXISTS ("sys:Utilities/Amigaguide")
  3246.                 Dos "Run >Nil: <Nil: Sys:Utilities/Amigaguide Textloader.guide" ; Run the application
  3247.             Else
  3248.                 If EXISTS ("sys:Utilities/Multiview")
  3249.                     Dos "Run >Nil: <Nil: Sys:Utilities/Multiview Textloader.guide" ; Run the Aplic.
  3250.                 Else
  3251.                     If EXISTS ("sys:c/Amigaguide")
  3252.                         Dos "Run >Nil: <Nil: Sys:c/Amigaguide Textloader.guide"
  3253.                     Else
  3254.                         OpenRequester "SimpleReq","Kommentar","","Textloader Meldung...","Leider konnte ich die","Textloader OnlineHelp nicht","starten. Benötige Amigaguide, oder","Multiview für die Ausgabe!"
  3255.                     EndIf
  3256.                 EndIf
  3257.             EndIf
  3258.         EndScript
  3259.     EndObject
  3260. * End of Card "Hauptfenster2"
  3261. *************
  3262.  
  3263. *************
  3264. * Card "Systeminfos..."
  3265.     AfterAttachment ; used to be AfterStartup
  3266.         SetDrawMode JAM1 
  3267.         SetPen 1
  3268.         AreaRectangle 128,25,412,96
  3269.         SetPen 2
  3270.         LoadBrush "CanDo(PascalSAVEDISK)3:Textloader3/Textloader.brush","ClippedBrush"
  3271.         Transparent FALSE
  3272.         ShowBrush "ClippedBrush",181,143
  3273.         Transparent FALSE
  3274.         ShowBrush "ClippedBrush",156,142
  3275.         Do "SysInfoUpdates"
  3276.         SetDrawMode JAM1 
  3277.         SetPen 1
  3278.         DrawRectangle 194,189,257,44
  3279.         SetPen 2
  3280.         DrawLine 450,189,450,232
  3281.         DrawLine 450,232,195,232
  3282.         SetPen 2,1
  3283.         PrintText "Author: Gisin Pascal, Fiechtenweg 11, CH - 4147 Aesch",110,133
  3284.         SetDrawMode JAM1 
  3285.         SetPen 1
  3286.         DrawRectangle 99,129,474,16
  3287.         SetPen 2
  3288.         DrawLine 572,129,572,144
  3289.         DrawLine 99,144,573,144
  3290.     EndScript
  3291.     Window "UserWindow"
  3292.         Definition
  3293.             Origin 0,0
  3294.             Size 640,256
  3295.             Title "System-Infobar des Textloaders"
  3296.             NumberOfColors 4
  3297.             WindowColors 0,1,0 ; Detail, Block, Background
  3298.             WindowObjects CLOSEBUTTON DEPTHBUTTONS DRAGBAR SIZEBUTTON 
  3299.             WindowFlags ACTIVATE TOFRONT 
  3300.         EndScript
  3301.         OnCloseButton
  3302.             LoadSubDeck "SimpleReq","SimpleReq"
  3303.             OpenRequester "SimpleReq","JaNein","Ende","Textloader Meldung..."," ","Möchten Sie WIRKLICH","jetzt, den Textloader beenden?"," "
  3304.         EndScript
  3305.         OnActivated
  3306.             Nop
  3307.         EndScript
  3308.     EndObject
  3309.     TextButton "Zurück..."
  3310.         Definition
  3311.             Origin 238,196
  3312.             Font "topaz",8 ; FontName, PointSize
  3313.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  3314.             TextColors 1,0,NORMAL  ; PenA, PenB, DrawMode
  3315.             Text "Zum Editorfenster..."
  3316.             Border EMBOSSED ,2,1 ; BorderStyle, MainPen, ExtraPen
  3317.             Highlight COMPLEMENT 
  3318.             ButtonFlags NONE 
  3319.         EndScript
  3320.         OnRelease
  3321.             GotoCard "Hauptfenster"
  3322.         EndScript
  3323.     EndObject
  3324.     TextButton "Programm beenden"
  3325.         Definition
  3326.             Origin 257,215
  3327.             Font "topaz",8 ; FontName, PointSize
  3328.             PrintStyle BOLD SHADOW ,2,3 ; Style, Pen1, Pen2
  3329.             TextColors 1,0,NORMAL  ; PenA, PenB, DrawMode
  3330.             Text "Programm beenden"
  3331.             Border EMBOSSED ,2,1 ; BorderStyle, MainPen, ExtraPen
  3332.             Highlight COMPLEMENT 
  3333.             ButtonFlags NONE 
  3334.         EndScript
  3335.         OnRelease
  3336.             Quit
  3337.         EndScript
  3338.     EndObject
  3339.     IntervalTimer "Timer_1"
  3340.         Definition
  3341.             Duration 0,1,0 ; Minutes, Seconds, Jiffies
  3342.         EndScript
  3343.         Occurred
  3344.             Do "SysInfoUpdates"
  3345.         EndScript
  3346.     EndObject
  3347.     IntervalTimer "Timer_2"
  3348.         Definition
  3349.             Duration 0,0,0 ; Minutes, Seconds, Jiffies
  3350.         EndScript
  3351.         Occurred
  3352.             Do "SysInfoUpdates2"
  3353.         EndScript
  3354.     EndObject
  3355.     TextMenu "Infos..."
  3356.         Definition
  3357.             AttachTo MENU ,"Menü"
  3358.             Font "topaz",8 ; FontName, PointSize
  3359.             PrintStyle PLAIN ,2,3 ; Style, Pen1, Pen2
  3360.             TextColors 0,1,NORMAL  ; PenA, PenB, DrawMode
  3361.             Text "Infos..."
  3362.             MenuFlags NONE 
  3363.             Highlight COMPLEMENT 
  3364.             ShortCutKey ""
  3365.         EndScript
  3366.         Occurred
  3367.             Let Info = AskForResponse("Die empfohlene Konfiguration ist:"||Char(10)||"OS3.1, 2mb-ChipRAM und FastRAM!"||Char(10)||"Programmiert mit CanDo 2.01 und 2.51!"||Char(10)||" "||Char(10)||"    Textloader is a fine Product!","Textloader Infos...","")
  3368.         EndScript
  3369.     EndObject
  3370. * End of Card "Systeminfos..."
  3371. *************
  3372.  
  3373. *************
  3374. * Global routine "AusserFunktion"
  3375.     OpenRequester "SimpleReq","Kommentar","","Textloader Mitteilung","Taste/Option zurzeit keine","Funktion zugeordnet!"
  3376. * End of routine "AusserFunktion"
  3377. *************
  3378.  
  3379. *************
  3380. * Global routine "Beep"
  3381.     GetRGB 0,R0,G0,B0
  3382.     GetRGB 3,R3,G3,B3
  3383.     SetRGB 0,R3,G3,B3
  3384.     Delay 0,0,5
  3385.     SetRGB 0,R0,G0,B0
  3386. * End of routine "Beep"
  3387. *************
  3388.  
  3389. *************
  3390. * Global routine "Drucken"
  3391.     If Arg1 = FALSE
  3392.     Else
  3393.         SetWindowTitle "Drucke Dokument..."
  3394.         SaveDocument "TheDoc","PRT:"
  3395.         IfError
  3396.             Do "FehlerRoutine"
  3397.         EndIf
  3398.     EndIf
  3399. * End of routine "Drucken"
  3400. *************
  3401.  
  3402. *************
  3403. * Global routine "Einfügen"
  3404.     OpenRequester "DateiReq","Card_1","EinfügenDATA","Wähle einen Text zum einfügen..."
  3405.     IfError
  3406.         Do "Fehlerroutine"
  3407.     EndIf
  3408. * End of routine "Einfügen"
  3409. *************
  3410.  
  3411. *************
  3412. * Global routine "EinfügenDATA"
  3413.     Let Newfile = Arg1
  3414.     If newfile<>nothing
  3415.         If Not Match(FileType(newfile),"Unknown","FTXT")
  3416.             SetWindowTitle "Kann File nicht Laden """||newfile||""""
  3417.         Else
  3418.             SetWindowTitle "Lade einzufügender Text....."
  3419.             InsertDocument newfile,"TheDoc"
  3420.             IfError
  3421.                 Do "Fehlerroutine"
  3422.             Else
  3423.                 Let FileToGet=newfile
  3424.                 SetWindowTitle "FileName :"""||FileToGet||""""
  3425.             EndIf
  3426.         EndIf
  3427.     EndIf
  3428. * End of routine "EinfügenDATA"
  3429. *************
  3430.  
  3431. *************
  3432. * Global routine "Ende"
  3433.     If Arg1 = FALSE
  3434.         Quit
  3435.     Else
  3436.         Do "SichernVorBeenden"
  3437.         IfError
  3438.             Do "Fehlerroutine"
  3439.         EndIf
  3440.     EndIf
  3441. * End of routine "Ende"
  3442. *************
  3443.  
  3444. *************
  3445. * Global routine "Ende2"
  3446.     If Arg1 = FALSE
  3447.     Else
  3448.         Flush "Document_1"
  3449.         Quit
  3450.     EndIf
  3451. * End of routine "Ende2"
  3452. *************
  3453.  
  3454. *************
  3455. * Global routine "EndeCloseknopf"
  3456.     If Arg1 = FALSE
  3457.     Else
  3458.         Quit
  3459.         IfError
  3460.             Do "Fehlerroutine"
  3461.         EndIf
  3462.     EndIf
  3463. * End of routine "EndeCloseknopf"
  3464. *************
  3465.  
  3466. *************
  3467. * Global routine "FehlerRoutine"
  3468.     Nop ; $VER: Textloader-Editor 6.x (20.12.1997) Pascal Gisin, Fiechtenweg 11, CH - 4147 Aesch
  3469.     Nop ;
  3470.     Nop ; ErrorCodes und Weiterentwicklung Pascal Gisin 1997-98 V6.0
  3471.     Do "Beep"
  3472.     If ErrorCode = "1"
  3473.         OpenRequester "SimpleReq","Kommentar","","Meldung","Genannten Puffer nicht gefunden"
  3474.     ElseIf ErrorCode = "2"
  3475.         OpenRequester "SimpleReq","Kommentar","","Meldung","Genannte Routine nicht gefunden"
  3476.     ElseIf ErrorCode = "3"
  3477.         OpenRequester "SimpleReq","Kommentar","","Meldung","Genannter Puffer nicht vom","erforderlichen Typ"
  3478.     ElseIf ErrorCode = "4"
  3479.         OpenRequester "SimpleReq","Kommentar","","Meldung","Kein Fenster geöffnet"
  3480.     ElseIf ErrorCode = "6"
  3481.         OpenRequester "SimpleReq","Kommentar","","Meldung","Card nicht gefunden"
  3482.     ElseIf ErrorCode = "8"
  3483.         OpenRequester "SimpleReq","Kommentar","","Meldung","Stack überlaufen"
  3484.     ElseIf ErrorCode = "9"
  3485.         OpenRequester "SimpleReq","Kommentar","","Meldung","Name wertet einen NULL String aus"
  3486.     ElseIf ErrorCode = "10"
  3487.         OpenRequester "SimpleReq","Kommentar","","Meldung","Brush wurde nicht mit Maske","gespeichert"
  3488.     ElseIf ErrorCode = "11"
  3489.         OpenRequester "SimpleReq","Kommentar","","Meldung","Zuviele IFs"
  3490.     ElseIf ErrorCode = "13"
  3491.         OpenRequester "SimpleReq","Kommentar","","Meldung","Keine ARexx Nachricht anhängig","oder RESULTS Flage nicht gesetzt"
  3492.     ElseIf ErrorCode = "16"
  3493.         OpenRequester "SimpleReq","Kommentar","","Meldung","Genanntes Objekt nicht gefunden"
  3494.     ElseIf ErrorCode = "17"
  3495.         OpenRequester "SimpleReq","Kommentar","","Meldung","Genanntes Objekt nicht vom","erforderlichen","Typ"
  3496.     ElseIf ErrorCode = "18"
  3497.         OpenRequester "SimpleReq","Kommentar","","Meldung","Befehl im aktuellen Modus","nicht verfügbar"
  3498.     ElseIf ErrorCode = "19"
  3499.         OpenRequester "SimpleReq","Kommentar","","Meldung","Genanntes Objekt nicht zugeteilt"
  3500.     ElseIf ErrorCode = "22"
  3501.         OpenRequester "SimpleReq","Kommentar","","Meldung","Puffer ist im Gebrauch"
  3502.     ElseIf ErrorCode = "23"
  3503.         OpenRequester "SimpleReq","Kommentar","","Meldung","Kein Dokument gewählt"
  3504.     ElseIf ErrorCode = "25"
  3505.         OpenRequester "SimpleReq","Kommentar","","Meldung","Nicht genug Daten"
  3506.     ElseIf ErrorCode = "32"
  3507.         OpenRequester "SimpleReq","Kommentar","","Meldung","Dokumenten Zeile zu lang"
  3508.     ElseIf ErrorCode = "33"
  3509.         OpenRequester "SimpleReq","Kommentar","","Meldung","Externe STOP Nachricht erhalten"
  3510.     ElseIf ErrorCode = "41"
  3511.         OpenRequester "SimpleReq","Kommentar","","Meldung","Druckvorgang wurde durch den","benutzer Abgebrochen!"
  3512.     ElseIf ErrorCode = "51"
  3513.         OpenRequester "SimpleReq","Kommentar","","Meldung","Interner Fehler"
  3514.     ElseIf ErrorCode = "52"
  3515.         OpenRequester "SimpleReq","Kommentar","","Meldung","Deplazierter Operator"
  3516.     ElseIf ErrorCode = "53"
  3517.         OpenRequester "SimpleReq","Kommentar","","Meldung","Division durch NULL"
  3518.     ElseIf ErrorCode = "54"
  3519.         OpenRequester "SimpleReq","Kommentar","","Meldung","Unpassende Klammern"
  3520.     ElseIf ErrorCode = "55"
  3521.         OpenRequester "SimpleReq","Kommentar","","Meldung","Ausdruck ist zu kompliziert"
  3522.     ElseIf ErrorCode = "56"
  3523.         OpenRequester "SimpleReq","Kommentar","","Meldung","Ungültiger Ausdruck"
  3524.     ElseIf ErrorCode = "57"
  3525.         OpenRequester "SimpleReq","Kommentar","","Meldung","Operation mit verschiedenen","Datentypen"
  3526.     ElseIf ErrorCode = "58"
  3527.         OpenRequester "SimpleReq","Kommentar","","Meldung","Ungültige Operation für","Datentyp"
  3528.     ElseIf ErrorCode = "59"
  3529.         OpenRequester "SimpleReq","Kommentar","","Meldung","Falscher Datentyp"
  3530.     ElseIf ErrorCode = "60"
  3531.         OpenRequester "SimpleReq","Kommentar","","Meldung","Ungültige Variablen Bezeichnung"
  3532.     ElseIf ErrorCode = "61"
  3533.         OpenRequester "SimpleReq","Kommentar","","Meldung","Ungültige String Konstante"
  3534.     ElseIf ErrorCode = "78"
  3535.         OpenRequester "SimpleReq","Kommentar","","Meldung","Unbekannter Befehl"
  3536.     ElseIf ErrorCode = "79"
  3537.         OpenRequester "SimpleReq","Kommentar","","Meldung","Zuviele Parameter"
  3538.     ElseIf ErrorCode = "80"
  3539.         OpenRequester "SimpleReq","Kommentar","","Meldung","Zu wenig Parameter"
  3540.     ElseIf ErrorCode = "81"
  3541.         OpenRequester "SimpleReq","Kommentar","","Meldung","Font nicht verfügbar"
  3542.     ElseIf ErrorCode = "82"
  3543.         OpenRequester "SimpleReq","Kommentar","","Meldung","Syntax Fehler"
  3544.     ElseIf ErrorCode = "83"
  3545.         OpenRequester "SimpleReq","Kommentar","","Meldung","Verfrühtes EOF"
  3546.     ElseIf ErrorCode = "84"
  3547.         OpenRequester "SimpleReq","Kommentar","","Meldung","Port des Empfängers nicht","gefunden"
  3548.     ElseIf ErrorCode = "85"
  3549.         OpenRequester "SimpleReq","Kommentar","","Meldung","Unbekannter IFF FORM Typ"
  3550.     ElseIf ErrorCode = "89"
  3551.         OpenRequester "SimpleReq","Kommentar","","Meldung","Fehler beim öffnen des","Bildschirms"
  3552.     ElseIf ErrorCode = "90"
  3553.         OpenRequester "SimpleReq","Kommentar","","Meldung","Fehler beim öffnen des","Fensters"
  3554.     ElseIf ErrorCode = "91"
  3555.         OpenRequester "SimpleReq","Kommentar","","Meldung","Ungültiges Muster (Pattern)"
  3556.     ElseIf ErrorCode = "103"
  3557.         OpenRequester "SimpleReq","Kommentar","","Meldung","Nicht genug Speicher"
  3558.     ElseIf ErrorCode = "115"
  3559.         OpenRequester "SimpleReq","Kommentar","","Meldung","Ungültiger Zahlenwert"
  3560.     ElseIf ErrorCode = "116"
  3561.         OpenRequester "SimpleReq","Kommentar","","Meldung","Gefordertes Argument fehlt"
  3562.     ElseIf ErrorCode = "117"
  3563.         OpenRequester "SimpleReq","Kommentar","","Meldung","Argument nach Schlüsselwort","fehlt!"
  3564.     ElseIf ErrorCode = "118"
  3565.         OpenRequester "SimpleReq","Kommentar","","Meldung","Falsche Anzahl an Argumenten"
  3566.     ElseIf ErrorCode = "119"
  3567.         OpenRequester "SimpleReq","Kommentar","","Meldung","Ungerade Anzahl von Anführungs-","zeichen"
  3568.     ElseIf ErrorCode = "120"
  3569.         OpenRequester "SimpleReq","Kommentar","","Meldung","Ungültige Argumente"
  3570.     ElseIf ErrorCode = "121"
  3571.         OpenRequester "SimpleReq","Kommentar","","Meldung","Datei ist nicht ausführbar"
  3572.     ElseIf ErrorCode = "202"
  3573.         OpenRequester "SimpleReq","Kommentar","","Meldung","Objekt im Gebrauch"
  3574.     ElseIf ErrorCode = "203"
  3575.         OpenRequester "SimpleReq","Kommentar","","Meldung","Obejekt existiert bereits"
  3576.     ElseIf ErrorCode = "204"
  3577.         OpenRequester "SimpleReq","Kommentar","","Meldung","Verzeichnis nicht gefunden"
  3578.     ElseIf ErrorCode = "205"
  3579.         OpenRequester "SimpleReq","Kommentar","","Meldung","Objekt nicht gefunden"
  3580.     ElseIf ErrorCode = "206"
  3581.         OpenRequester "SimpleReq","Kommentar","","Meldung","Ungültige Fensterparameter"
  3582.     ElseIf ErrorCode = "209"
  3583.         OpenRequester "SimpleReq","Kommentar","","Meldung","Unbekannter DOS Packet-","Request-Typ"
  3584.     ElseIf ErrorCode = "210"
  3585.         OpenRequester "SimpleReq","Kommentar","","Meldung","Dateiname ist nicht bekannt!","Bitte geben Sie den genauen","Filepfad ein!"
  3586.     ElseIf ErrorCode = "212"
  3587.         OpenRequester "SimpleReq","Kommentar","","Meldung","Falscher Dateityp"
  3588.     ElseIf ErrorCode = "213"
  3589.         OpenRequester "SimpleReq","Kommentar","","Meldung","Diskette ist nicht gültig","vielleicht fehlerhaft...","oder anderer Dos Typ!"
  3590.     ElseIf ErrorCode = "214"
  3591.         OpenRequester "SimpleReq","Kommentar","","Meldung","Diskette ist schreibgeschützt"
  3592.     ElseIf ErrorCode = "215"
  3593.         OpenRequester "SimpleReq","Kommentar","","Meldung","Umbenennen auf anderen","Datenträger versucht"
  3594.     ElseIf ErrorCode = "216"
  3595.         OpenRequester "SimpleReq","Kommentar","","Meldung","Verzeichnis ist nicht leer"
  3596.     ElseIf ErrorCode = "217"
  3597.         OpenRequester "SimpleReq","Kommentar","","Meldung","Zu tiefe Schachtelung"
  3598.     ElseIf ErrorCode = "218"
  3599.         OpenRequester "SimpleReq","Kommentar","","Meldung","Device nicht angemeldet","(mounted)"
  3600.     ElseIf ErrorCode = "219"
  3601.         OpenRequester "SimpleReq","Kommentar","","Meldung","Suchfehler"
  3602.     ElseIf ErrorCode = "220"
  3603.         OpenRequester "SimpleReq","Kommentar","","Meldung","Kommentar ist zu lang"
  3604.     ElseIf ErrorCode = "221"
  3605.         OpenRequester "SimpleReq","Kommentar","","Meldung","Diskette ist voll"
  3606.     ElseIf ErrorCode = "222"
  3607.         OpenRequester "SimpleReq","Kommentar","","Meldung","Datei ist löschgeschützt"
  3608.     ElseIf ErrorCode = "223"
  3609.         OpenRequester "SimpleReq","Kommentar","","Meldung","Datei ist schreibgeschützt"
  3610.     ElseIf ErrorCode = "224"
  3611.         OpenRequester "SimpleReq","Kommentar","","Meldung","Datei ist lesegeschützt"
  3612.     ElseIf ErrorCode = "225"
  3613.         OpenRequester "SimpleReq","Kommentar","","Meldung","Keine DOS Diskette"
  3614.     ElseIf ErrorCode = "226"
  3615.         OpenRequester "SimpleReq","Kommentar","","Meldung","Keine Disk eingelegt"
  3616.     ElseIf ErrorCode = "232"
  3617.         OpenRequester "SimpleReq","Kommentar","","Meldung","Keine weiteren Verzeichnis-","einträge"
  3618.     ElseIf ErrorCode = "233"
  3619.         OpenRequester "SimpleReq","Kommentar","","Meldung","Objekt im Verbund"
  3620.     ElseIf ErrorCode = "235"
  3621.         OpenRequester "SimpleReq","Kommentar","","Meldung","Ungültiger Hunk in zu","ladender Datei"
  3622.     ElseIf ErrorCode = "241"
  3623.         OpenRequester "SimpleReq","Kommentar","","Meldung","Kollision bei Datensatz-","sperre"
  3624.     ElseIf ErrorCode = "242"
  3625.         OpenRequester "SimpleReq","Kommentar","","Meldung","Zeitüberschreitung bei","Datensatzsperre"
  3626.     ElseIf ErrorCode = "303"
  3627.         OpenRequester "SimpleReq","Kommentar","","Meldung","Pufferüberlauf"
  3628.     ElseIf ErrorCode = "304"
  3629.         OpenRequester "SimpleReq","Kommentar","","Meldung","Abbruch wurde eingeleitet","mit CTRL-C"
  3630.     ElseIf ErrorCode = "305"
  3631.         OpenRequester "SimpleReq","Kommentar","","Meldung","Datei ist nicht ausführbar"
  3632.     Else
  3633.         OpenRequester "SimpleReq","Kommentar","","Fehlermeldung",ErrorText
  3634.     EndIf
  3635. * End of routine "FehlerRoutine"
  3636. *************
  3637.  
  3638. *************
  3639. * Global routine "Löschen"
  3640.     If Arg1 = FALSE
  3641.     Else
  3642.         WorkWithDocument "TheDoc"
  3643.         Clear DOCUMENT 
  3644.     EndIf
  3645. * End of routine "Löschen"
  3646. *************
  3647.  
  3648. *************
  3649. * Global routine "Message"
  3650.     Do "SetzeAttr"
  3651.     PrintText CenterString(Arg1,43),12,15
  3652.     PrintText CenterString(Arg2,43),12,25
  3653.     PrintText CenterString(Arg3,43),12,35
  3654.     PrintText CenterString(Arg4,43),12,45
  3655. * End of routine "Message"
  3656. *************
  3657.  
  3658. *************
  3659. * Global routine "S"
  3660.     OpenRequester "SuchReq","Card_1","Suchen"
  3661. * End of routine "S"
  3662. *************
  3663.  
  3664. *************
  3665. * Global routine "SetzeAttr"
  3666.     SetPrintFont "topaz",8
  3667.     SetPrintStyle PLAIN ,2,3
  3668.     SetPen 1,0
  3669.     SetDrawMode JAM2 
  3670. * End of routine "SetzeAttr"
  3671. *************
  3672.  
  3673. *************
  3674. * Global routine "SF"
  3675.     WorkWithDocument "TheDoc"
  3676.     If MyByword=TRUE AND MyNocase=TRUE
  3677.         SearchFor Suchwort,BYWORD NOCASE 
  3678.     ElseIf MyByword=FALSE AND MyNocase=FALSE
  3679.         SearchFor Suchwort
  3680.     ElseIf MyByword=TRUE AND MyNocase=FALSE
  3681.         SearchFor Suchwort,BYWORD 
  3682.     ElseIf MyByword=FALSE AND MyNocase=TRUE
  3683.         SearchFor Suchwort,NOCASE 
  3684.     EndIf
  3685.     If SearchFound=TRUE
  3686.         SetWindowTitle "Suchwort:"|||Suchwort||"  "||"Zeile:"||TheLineNumber|||"Spalte:"||TheColumnNumber
  3687.     Else
  3688.         Do "Beep"
  3689.         SetWindowTitle "Kann """||Suchwort||""" nicht (mehr) finden !"
  3690.     EndIf
  3691. * End of routine "SF"
  3692. *************
  3693.  
  3694. *************
  3695. * Global routine "Sicherheitsabfrage"
  3696.     Nop
  3697. * End of routine "Sicherheitsabfrage"
  3698. *************
  3699.  
  3700. *************
  3701. * Global routine "SichernVorBeenden"
  3702.     SetFileRequestMode SAVEFILEMODE ,NONE 
  3703.     Let Arg1=AskForFilename("","Text noch schnell sichern...","155","39","340","180")
  3704.     Let Antwort = Arg1
  3705.     If Antwort <> ""
  3706.         Let Dateispeichername = Antwort
  3707.         SetWindowTitle "Speichere nun im ASCII Format!"
  3708.         SaveDocument "TheDoc",Dateispeichername,ASCII 
  3709.         IfError
  3710.             Do "Fehlerroutine"
  3711.         EndIf
  3712.     EndIf
  3713.     SetWindowTitle "Bis zum nächsten mal, tschüss!"
  3714.     Delay 0,5,1/50
  3715.     Quit
  3716. * End of routine "SichernVorBeenden"
  3717. *************
  3718.  
  3719. *************
  3720. * Global routine "Suchen"
  3721.     Let Suchwort=Arg1
  3722.     Let MyByword=Arg2
  3723.     Let MyNocase=Arg3
  3724.     WorkWithDocument "TheDoc"
  3725.     If MyByword=TRUE AND MyNocase=TRUE
  3726.         SearchFor Suchwort,BYWORD NOCASE 
  3727.     ElseIf MyByword=FALSE AND MyNocase=FALSE
  3728.         SearchFor Suchwort
  3729.     ElseIf MyByword=TRUE AND MyNocase=FALSE
  3730.         SearchFor Suchwort,BYWORD 
  3731.     ElseIf MyByword=FALSE AND MyNocase=TRUE
  3732.         SearchFor Suchwort,NOCASE 
  3733.     EndIf
  3734.     If SearchFound=TRUE
  3735.         SetWindowTitle "Suchwort:"|||Suchwort||"  "||"Zeile:"||TheLineNumber|||"Spalte:"||TheColumnNumber
  3736.     Else
  3737.         Do "Beep"
  3738.         SetWindowTitle "Kann """||Suchwort||""" nicht (mehr) finden !"
  3739.     EndIf
  3740. * End of routine "Suchen"
  3741. *************
  3742.  
  3743. *************
  3744. * Global routine "SysInfoUpdates"
  3745.     MakeDocument "ChangeDateFormat"
  3746.     Type ""||TheDate
  3747.     MoveCursorTo STARTOF DOCUMENT 
  3748.     MoveCursorTo STARTOF LINE 
  3749.     MoveCursor RIGHT ,3
  3750.     SplitLine
  3751.     MoveCursor RIGHT ,3
  3752.     SplitLine
  3753.     PositionOnLine 1
  3754.     Let Monat = TheLine
  3755.     PositionOnLine 2
  3756.     Let Tag = TheLine
  3757.     PositionOnLine 3
  3758.     Let Jahr = TheLine
  3759.     MakeDocument "DisplayChange"
  3760.     Type ""||Tag||Monat||Jahr
  3761.     Let Datum = TextFromDocument("DisplayChange")
  3762.     Do "SetzeAttr"
  3763.     SetPen 2,1
  3764.     PrintText "Heutiges Datum          :  """||Datum||"""",147,89
  3765.     PrintText "Aktuelle Uhrzeit        :  """||TheTime||"""",147,99
  3766. * End of routine "SysInfoUpdates"
  3767. *************
  3768.  
  3769. *************
  3770. * Global routine "SysInfoUpdates2"
  3771.     Do "SetzeAttr"
  3772.     SetPen 2,1
  3773.     PrintText "Verfügbarer (Chip) Ram  :  """||AvailableChipMemory||"""",147,29
  3774.     PrintText "Verfügbarer (Fast) Ram  :  """||AvailableFastMemory||"""",147,39
  3775.     PrintText "Chip+Fast (GesamtMem)   :  """||AvailableMemory||"""",147,59
  3776.     PrintText "Betriebssystem, Test... :  Revision """||IntuitionVersion||"""",147,79
  3777. * End of routine "SysInfoUpdates2"
  3778. *************
  3779.  
  3780. *************
  3781. * Global routine "Timing"
  3782.     WorkWithDocument "TheDoc"
  3783.     OpenRequester "SimpleReq","Kommentar","","Statistik...",""""||SizeOfDocument||""""
  3784. * End of routine "Timing"
  3785. *************
  3786.  
  3787. *************
  3788. * Global routine "Timing2"
  3789.     WorkWithDocument "TheDoc"
  3790.     OpenRequester "SimpleReq","Kommentar","","Statistik...",""""||TheCharacter||""""
  3791. * End of routine "Timing2"
  3792. *************
  3793.  
  3794. *************
  3795. * Global routine "Timing3"
  3796.     WorkWithDocument "TheDoc"
  3797.     OpenRequester "SimpleReq","Kommentar","","Statistik...",""""||TheColumnNumber||""""
  3798. * End of routine "Timing3"
  3799. *************
  3800.  
  3801. *************
  3802. * Global routine "Timing4"
  3803.     WorkWithDocument "TheDoc"
  3804.     OpenRequester "SimpleReq","Kommentar","","Statistik...",""""||TheLineNumber||""""
  3805. * End of routine "Timing4"
  3806. *************
  3807.  
  3808. *************
  3809. * Global routine "Timing5"
  3810.     WorkWithDocument "TheDoc"
  3811.     OpenRequester "SimpleReq","Kommentar","","Statistik...",""""||LinesInDocument||""""
  3812. * End of routine "Timing5"
  3813. *************
  3814.  
  3815. *************
  3816. * Global routine "Timing6"
  3817.     WorkWithDocument "TheDoc"
  3818.     OpenRequester "SimpleReq","Kommentar","","Statistik...",""""||AvailableChipMemory||""""
  3819. * End of routine "Timing6"
  3820. *************
  3821.  
  3822. *************
  3823. * Global routine "Timing7"
  3824.     WorkWithDocument "TheDoc"
  3825.     OpenRequester "SimpleReq","Kommentar","","Statistik...",""""||AvailableFastMemory||""""
  3826. * End of routine "Timing7"
  3827. *************
  3828.  
  3829. *************
  3830. * Global routine "Timing8"
  3831.     WorkWithDocument "TheDoc"
  3832.     OpenRequester "SimpleReq","Kommentar","","Statistik...",""""||IntuitionVersion||""""
  3833. * End of routine "Timing8"
  3834. *************
  3835.  
  3836. *************
  3837. * Global routine "Timing9"
  3838.     WorkWithDocument "TheDoc"
  3839.     OpenRequester "SimpleReq","Kommentar","","Statistik...",""""||AvailableMemory||""""
  3840. * End of routine "Timing9"
  3841. *************
  3842.  
  3843. *************
  3844. * Global routine "TitelUhr"
  3845.     Do "SetzeAttr"
  3846.     SetPen 2
  3847.     PrintText """"||TheTime||"""",481,1
  3848. * End of routine "TitelUhr"
  3849. *************
  3850.  
  3851.