#Syntax10.Scn.FntStyleElemsAlloc Title6'+Ԓ  Contents D'LineElemsAlloc"LinkElemsAllocFileManager.TextS\FileManager.TextϽVFileManager.TextVFileManager.TextsXFileManager.Text1vFileManager.Text/OuFileManager.TextFileManager.TextBFileManager.TextAFileManager.Texts(FileManager.Text|/FileManager.Text6FileManager.Text]FileManager.Texto]FileManager.Textc D'Oe+Ԓ  AfterContents Z@~ ChapterMarkElemsAllocS\Times12.Scn.Fnt Ze CommandϽVTimes12b.Scn.Fnt. Z  CommandTextcTimes12i.Scn.Fnts Z Q2 Parameter Z Q2 Parameter> Z Q2 Parameter  < / = Z Q2 Parameter M * ( Ze CommandV. Z  CommandTextsX Z  CommandText Z \# Remark Ze Command1v Z  CommandText Z \# Remark Z # RemarkText Z2M RemarkSubPoint Z # RemarkText2 Ze Command/Ou Z  CommandText Z \# Remarkh Ze Command+ Q2 Parameter"e CommandBe Command  Q2 Parameter #e CommandAe Command( Q2 Parameter"e Commands( e Command6 Z Q2 Parameter/ Ze Command|/ Ze Command Ze Command6 Ze Command Z Q2 Parameter " Z@~ Chapter]  Text Z  Text  Z@~ Chaptero] Z  Text Z  Text< Z Q2 Parameter;+6n Z  Text Z@~ Chapterc  Z  Text ZPDШ TableW File Manager User's Guide Christian Mayrhofer 15.10.1995, Linz  Contents 1 Command Description  FileManager.Open  FileManager.Search  FileManager.Delete  FileManager.Copy  FileManager.Mode  FileManager.Select  FileManager.Sort  FileManager.View  FileManager.New  FileManager.OpenTrash  FileManager.SwitchAttributes  2 Specifing Trash  3 Editing Open-Command-List  4 Using Mouse   1 Command Description FileManager.Open (^ | [path]pattern [sortOrder] {attributes}) It opens a viewer which shows the items of the given directory. The directory is specified through path. The parameters define the kind of representation described bellow. If the command is called from the menu viewer or a file manager viewer is marked, a viewer will be opened for each selected directory. These viewers show the contents of the appropriate directory. The parameters (sortOrder, attributes) are taken from the directory which contains the shown directory. path, specifies the name of the directory with absolute, relative or no leading path. If the path is omited, the currend directory will be taken. pattern, specifies the files and directories which should be listed. pattern can contain "*" to determine a unkown string that is part of item name. Examples: "*", all items are shown; "*.Mod", all items with the ending ".Mod" are shown. sortOrder, specifies the arrangement of the items of the shown directory. Given sort orders: \sort date, the date of the file served as sort order; \sort name, the name of the file or directory served as sort order; \sort size, the size of the file served as sort order; \sort type, the ending (e.g. ".Mod") of the file served as sort order. attributes, specifies the attributes of the file which should be shown. Attributes: \show size, the size of the file should be shown; \show date, the date of the file should be shown. FileManager.Search (^ | [path]pattern [sortOrder] {attributes}) If the command is called from the menu viewer or a file manager viewer is marked, all selected directory will be taken as input. For each directory a viewer will be opened which shows only those items which correspond with the pattern pattern. Otherwise the directory is taken specified by path. The parameters path, pattern, sortOrder and attributes are defined like above. FileManager.Delete The marked viewer or the viewer where the command is called from serves as input. All selected files or directories are deleted in this viewer. Remark: If a trash is defined and the files and directories which should be deleted are on the same volume, they will not realy be deleted but they are moved to the trash. Note; Only closed directories can be deleted. FileManager.Copy The marked viewer or the viewer where the command is called from serves as input. All selected files or directories are copied to the directory which contains the caret. Remark: There are two possibilities to copy files from subdirectories: first flat coping, and second deep coping. In both cases the same files are copied but in the second case the entire structure of the directory in which the files are implied is constructed in the target directory. That means every subdirectory will be created in the target directory, if it appears in the orignal directory structure. By flat coping the files are taken and copied in target directory without creating any subdirectories. Condition for flat coping: If the directory which implies the selected files is not selected, a flat coping will be performed. deep coping: If the directory is selected, a deep coping will be performed. A directory that is selected and not open then the entire directory including all files and subdirectories will be copied. If a file with the same name is in the target directory an on the same volume as the trash, it wil be moved to the trash. Otherwise the files in the target directory are overridden. FileManager.Move The marked viewer or the viewer where the command is called from serves as input. All selected files or directories are moved to the directory which contains the caret. Remark: There are the same cases as above. The only distinction is that the files are moved, not copied.FileManager.Select (^ | pattern) The marked viewer or the viewer where the command is called from serves as input. All files which correspond with the pattern pattern are selected in the selected directories. pattern, defined as in FileManager.Open. FileManager.Sort (^ | sortOrder) The marked viewer or the viewer where the command is called from serves as input. The arrangement in the selected directories is changed determinded by the sort order sortOrder. sortOrder, definded as in FileManager.Open. FileManager.View (^ | pattern) The marked viewer or the viewer where the command is called from serves as input. Only the files which correspond with the pattern pattern are shown in the selected directories. pattern, defined as in FileManager.Open. FileManager.New (^ | name) A directory with the name name is created in the directory that contains the caret. name, gives the name of the to creating directory. FileManager.OpenTrash The marked viewer or the viewer where the command is called from serves as input. If a trash is defined associated with the shown directory, a viewer will arises and will show the containts of the trash. FileManager.SwitchAttributes [*] attributes The marked viewer or the viewer where the command is called from serves as input. The attributes of the files in the selected directories are switched on or off depending on the state they got. attributes, defined as in FileManager.Open. 2 Specifing Trash The text stored in FileManager.Profile contains a section [Trash]. This section defines the path of the trash. To change the default definition you have to write the new location of our own trash in this section. Section in FileManager.Profile [Trash] Trash = "$Trash" 3 Editing Open-Command-List Open command list is a list of oberon commands which are called from by opening of selected file. Each command is linked to one or more file types. Entry in the command list: pattern {pattern} = command [\p] pattern, specifies the file type. All files whose names mach with pattern can be opened with the specified command. command, defines the oberon command which should be called. \p, with this option the path of the file is placed in front the file name before the oberon command is called. Section in FileManager.Profile [Application] "*.Bak" "*.Mod" "*.Text" = "Edit.Open" \p "*.Tool" = "System.Open" \p "*.Sym" = "Browser.ShowDef" \p "*.Dlg" = "Dialog.Open" \p "*.Obj" = "Hex.Open" \p "*.Kep" = "Kepler.Open" \p "*.Draw" = "Draw.Open" \p 4 Using Mouse After you have opened a directory you can execute most operations easily by using the mouse. Bellow a list is depicted that showns the available operations. Whereby ML, MM and MR mean left, middle and right mouse button. mouse clicks action ML sets the caret or the click takes place over a selected item, then the shape alters and you can rename the item. MR selects items. MM A click on a selected file or directory opens the selected files with the associated oberon command or shows the directories in a new viewer. MR + MM MR selects the files and click inter with MM that copies the selected files and directories in the directory which contains the caret. MR + ML MR selects the files and click inter with ML that deletes the selected files and directories or moves them in the trash. MM + ML A click with MM on a selected file or directory and click inter with ML that moves the selected files and directories in the directory which contains the caret.