|
Navigation: Using iKog > Completing and removing tasks > Archiving a task |
![]() ![]()
|
from version 1.86
To remove and archive a task, for any reason, just use the ARCHIVE,or DONE command followed by the number of the task you want to remove and any optional notes you might want to add. e.g. to archive task 6 just enter:
>>>ARCHIVE 6 I have finished this |
When a task is archived, its date is changed to today, it is given a context of @Archived and then it is deleted from the tasks list and moved to a archive file. The archive file has the same name as the current script file with archived.dat appended. So the file name will normally be ikog.py.archived.dat.
![]()
As this file is a normal ikog data file, you can use the OPEN command to look at its contents. See Separating your data for more details about the OPEN command.
If you use a task number to archive a task, you will be prompted to confirm whether or not you actually want to archive the task. This is because the task you want to archive may not be currently displayed. As with all editing commands you can also use the ^ or THIS option to remove the currently displayed task. See Editing commands. Because the current task will be visible, the program will not ask you to confirm the archive.
So if the current display shows:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [06] Buy the antivirus software. Priority: 05 Context: @Date 2006-08-28 @Computer Projects: Maintenance Created: [2006-08-13] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >>> |
Then entering:
>>>ARCHIVE 6 |
will ask you to confirm that you actually want to remove the task.
But if you want to do it a bit more quickly,
>>ARCHIVE ^ |
or
>>>ARCHIVE this |
will archive task 6 without prompting.