|

| This file contains all the custom commands you can set for !TempDir



|

| To enable SmartOpenDir, remove the '|' character at the start of the 3 lines

| starting 'RM' below then rerun !TempDir.

| To disable it you will need to add the '|' and

| then reboot your computer.

| RMEnsure SharedCLibrary 5.00 RMLoad System:Modules.CLib

| RMEnsure SharedCLibrary 5.00 Error You need SharedCLibrary 5.00 or later. You can get it from www.riscos.com

| RMLoad <tempdir$dir>.smartdir.SmartOpen -a -f <tempdir$dir>.smartdir.Patterns



|

| This is the path were the root of the main TempDir directory will live.

| Note for Network use if it can't write to the path

| then <Wimp$ScrapDir> path (!Scrap) will be used automatically on

| startup instead.

Setmacro TempDir$ <root$path>.^.Tempdir



|

| This sets the maximum age of the directories before they are deleted.

| Note RISC OS 3 only allows up to 77 directories!

| RISCOS 4 users with the new hardrive format can set this to any value.

| Hint: if you never want TempDir to delete its directories. Set this value

| to something really big. (ie 9999 which is 27 years!) or just set it to 0.

Set tempdir%days 40



|

| This value should be set to either 0 or 1

| When set to 1 the ADJUST mouse button will toggle open or close

| *all* the dated directories within the 'Tempdir' directory instead of

| just closing todays directory if open.

Set TempDirOpenall 1


|

| Fancy dates on. Directories created are given named dates like '25Nov97'

| instead of 25/11/1998. Settings values are: Off or On

| No real reason to turn it off actually!

Set tempdir$fancydates On



|

| If you switch on the fancydates then you can now arrange the date format

| to your own settings.

| See the !TempDir !Help file for more details on this.

| examples 25Sep98   = %DY%M3%YR

|            Sep98   = %M3%YR

|            Sep2002 = %M3%CE%YR

|        25thSep98   = %M3%ST%YR

|        Thursday    = %WE

|

Set tempdir$dateformat  %DY/%M3/%YR




| Forces TempDir to delete locked directories or files when the time period

| is over.

| examples :

|  Set tempdir$forcedelete on

| Set tempdir$forcedelete off

| 

Set tempdir$forcedelete off



| Forces files dragged to TempDir not to ask you for a confirmation if you

| have the Filer Confirm option switched on in !Boot-Configuration-Filer.

|

| Set tempdir$confirm Off

| Set tempdir$confirm On

Set tempdir$confirm Off


| Makes TempDir close all the TempDir directories when it quits.

| If you don't want this ability then replace 'On' with 'Off' below.

|

Set tempdir$closefilerwhenquit On



|

|Change this to 'on' instead of 'off' to produce a 'debug' file'.

Set tempdir$debug off


