home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SDN¹ Plus
/
SDN1_.cdr
/
sdn
/
util1
/
incx101a.sdn
/
INC-DOCS.LZH
/
APPNOTES.LZH
/
ARCHIVER.APP
/
EXAMPLE.ACT
< prev
next >
Wrap
Text File
|
1991-07-26
|
4KB
|
89 lines
Read-me;Discussion of this EXAMPLE.ACT
; Starting with version 1.01, InContext supports a number of "archiver"
; programs, including ARC, ARCA/ARCE, PKPAK/PKUNPAK, LHA, PAK, and ZIP.
; This file contains sample "Archive" and "Arc-all" action definitions
; that illustrate how to move objects to compressed archive files created
; by these various archivers.
;
; It is very unlikely that you will want to use the action in this form.
; Most people only save their materials using one or two archivers, and
; you should probably eliminate the others in the interest of simplicity
; and memory conservation.
;
; It is recommended that you retain the LHA archiver capability, even if
; you don't use it for archiving your own files, since InContext makes use
; of LHA. That will allow you to operate fully on the few special LHA
; archives in your InContext installation directory.
;
; The easiest way to move these definitions into your own active environment
; is to use the "cut-and-paste" feature of the editor. First edit the
; example procedure you want to copy, and "cut" the desired text. (You can
; either paste it back in place or exit without saving.) Now edit the
; "Common" or "Group" action definition you want to alter, and insert the
; captured text.
Archive;Archive the object
!menu "Select archive type"
!choice "ARCA -- Creates or updates an ARCA archive"
!query 1 "Enter name of ARC archive" 12
!verify "OK to archive this object to '%1'?"
arca %1 %f
!delete %f
!choice "ARC -- Creates or updates an ARC archive"
!query 1 "Enter name of ARC archive" 12
!verify "OK to archive this object to '%1'?"
arc m %1 %f
!choice "PKPAK -- Creates or updates a PKPAK archive"
!query 1 "Enter name of PKPAK archive" 12
!verify "OK to archive this object to '%1'?"
pkpak m %1 %f
!choice "ARJ -- Creates or updates an ARJ archive"
!query 1 "Enter name of ARJ archive" 12
!verify "OK to archive this object to '%1'?"
arj m %1 %f
!choice "LHA -- Creates or updates an LZH archive"
!query 1 "Enter name of LHA archive" 12
!verify "OK to archive this object to '%1'?"
lha m %1 %f
!choice "PAK -- Creates or updates a PAK archive"
!query 1 "Enter name of PAK archive" 12
!verify "OK to archive this object to '%1'?"
pak m %1 %f
!choice "PKZIP -- Creates or updates a ZIP archive"
!query 1 "Enter name of PKZIP archive" 12
!verify "OK to move this object to '%1'?"
pkzip -mu %1 %f
!endMenu
Arc-all;Archive the selected objects
!menu "Select archive type"
!choice "ARCA -- Creates or updates an ARCA archive"
!query 1 "Enter name of ARC archive" 12
!verify "OK to archive these objects to '%1'?"
arca %1 %m
!deleteGroup
!choice "ARC -- Creates or updates an ARC archive"
!query 1 "Enter name of ARC archive" 12
!verify "OK to archive these objects to '%1'?"
arc m %1 %m
!choice "PKPAK -- Creates or updates a PKPAK archive"
!query 1 "Enter name of PKPAK archive" 12
!verify "OK to archive these objects to '%1'?"
pkpak m %1 %m
!choice "ARJ -- Creates or updates an ARJ archive"
!query 1 "Enter name of ARJ archive" 12
!verify "OK to archive these objects to '%1'?"
arj m %1 %m
!choice "LHA -- Creates or updates an LZH archive"
!query 1 "Enter name of LHA archive" 12
!verify "OK to archive these objects to '%1'?"
lha m %1 %m
!choice "PAK -- Creates or updates a PAK archive"
!query 1 "Enter name of PAK archive" 12
!verify "OK to archive these objects to '%1'?"
pak m %1 %m
!choice "PKZIP -- Creates or updates a ZIP archive"
!query 1 "Enter name of PKZIP archive" 12
!verify "OK to archive these objects to '%1'?"
pkzip -mu %1 %m
!endMenu