By : T01-T4 Since: Jun 2017 Licence: MIT
-
- Viewing help
- Adding a task
- Listing tasks
- Editing a task
- Finding all tasks containing any keywords in their names or tags
- Deleting a task
- Select a task to view in detail
- Undo last action
- Redo last action
- Clear tasks
- Mark a task
- Unmark a task
- Reset a task
- Set reminder period
- View current data file path
- Change data file path
- Save the data
- Exit the programme
-
Ensure you have Java version
1.8.0_131or later installed in your Computer.Having any Java 8 version is not enough.
This app will not work with earlier versions of Java 8. -
Download the latest
whatsNext.jarfrom the releases tab. -
Copy the file to the folder you want to use as the home folder for your Task Manager.
-
Double-click the file to start the app. The GUI should appear in a few seconds.
-
Type the command in the command box and press Enter to execute it.
e.g. typinghelpand pressing Enter will open the help window. -
Some example commands you can try:
list all: lists all tasksadd project meeting s/10 July 5pm e/10 July 6pmadds anEventtask to your task manager.delete1: deletes the 1st task shown in your current listexit: exits the app
-
Refer to the Features section below for details of each command.
Command Format
- Words in
UPPER_CASEare the parameters.- Items in
SQUARE_BRACKETSare optional.- Items with
...after them can have multiple instances.- Parameters can be in any order except for task name which has be the first one for add command.
Reserved Tags
- Reserved tag
HIGH,MEDIUM,LOWnames are used to denote the importance of a certain task- Tagged task will be highlighted
RED,BLUE,GREENrespectively forHIGH,MEDIUM,LOW- Reserved tag
OVERLAPare used to warn you about overlapping events.
DateTime parsing
- WhatsNext uses the Pretty Time Parser to parse Strings to Date objects.
- Format Accepted by for parsing time:
- DD MM YYYY HH:MM am/pm
- DD MM YYYY
- next DD
- last DD Example:
- 11 August 2017 6am
- 11 August 2017
- next monday
- last monday
- If date is not specified, it will default to 11.59pm.
- The start date of a task cannot be after the end date of a task.
- Expired dates (task with dates before today) are highlighted red.
Format: help
- Opens a window which displays the UserGuide
Format: help COMMAND_WORD
- Displays the MESSAGE_USAGE for that command
Examples:
help addhelp edit
Adds an (1) event, (2) deadline or (3) floating to the task manager
- Event must have a date, start time and end time. Event can overlap, but it will be tagged with the reserved tag
OVERLAPto warn you. - Deadline must have a date, but the end time can be optional. If time is not specified, it will default to 23:59.
- Floating task do not have date or time.
A task can be added using the prefix or parse by comma method
- Prefix:
add TASK_NAME s/ START_DATE_TIME e/ END_DATE_TIME [m/ TASK_DESCRIPTION] [t/ TAG1 t/ TAG2...] - Parse By Comma:
add TASK_NAME, ["TASK_DESCRIPTION"], START_DATE_TIME, END_DATE_TIME, [tags: TAG1 TAG2...]
Format:
add TASK_NAME s/ START_DATE_TIME e/ END_DATE_TIME [m/ TASK_DESCRIPTION] [t/ TAG1 t/ TAG2...]add TASK_NAME, ["TASK_DESCRIPTION"], START_DATE_TIME, END_DATE_TIME, [tags: TAG1 TAG2...]
Examples:
add project s/ July 10 5pm e/ July 10 6pm t/ meetingadd project, "CS2103 project", July 10 5pm, July 10 6pm
Note:
Events can overlap but it will be marked with an exclamation icon and
OVERLAPtag.
Format:
add TASK_NAME e/ DATETIME [t/ TAG1 t/ TAG2...]add TASK_NAME, ["TASK_DESCRIPTION"], DATETIME, [tags: TAG1 TAG2...]
Examples:
add project e/ July 10 6pm t/ meetingadd project, "CS2103 project", July 10 6pm, tags: meeting
Format:
add TASK_NAME [m/ TASK_DESCRIPTION] [t/ TAG1 t/ TAG2...]add TASK_NAME, ["TASK_DESCRIPTION"], [tags: TAG1 t/ TAG2...]
Examples:
add project t/ meetingadd project, "CS2103 project", tags: meeting
Tasks can have any number of tags (including 0)
Only the first priority tag will be accepted if there are more than one inputed.
TASK_TYPE must match task type (1) event, (2) deadline or (3) floating
TASK_TYPE will be determined by the application internally based on your input. Event must have starting and ending date-time. Deadline must have ending date-time and Floating should not have any date-time.
TASK_PARAMETERS must match task parameters of task type
Shows a list of (1)upcoming incomplete, (2) all incomplete, (3) complete, (4) expired, (5) all tasks of the particular type in the task manager.
All expired tasks' DateTime will be coloured as red.
Format:
- List upcoming incomplete tasks:
list - List all incomplete tasks:
list incomplete - List completed tasks:
list completed - List expired tasks:
list expired - List all tasks:
list all
Edits an existing task in the task manager.
Format: edit INDEX [n/ NEW_TASK_NAME] [s/ to START_DATE_TIME] [e/ to START_DATE_TIME] [+t/ TAG1] [-t/ TAG2]...
- Edits a task at the specified
INDEX. The index refers to the index number shown in the last task listing.
The index must be a positive integer 1, 2, 3, ... - At least one of the optional fields must be provided.
- Existing values will be updated to the input values.
- When editing tags, the existing tags of the task will not not be removed. But if there is already a priority tag, i.e. HIGH, MEDIUM, LOW, and the new tag is a priority tag, the original priority tag will be replace with the new one.
- When deleting a tag, the tag provided must be inside the existing tag list.
Examples:
edit 1 n/ midterm exam +t/ HIGH -t/ CS2010
Edits name 1st task to bemidterm exam, create a new Priority TagHIGHand delete the existing tagCS2010respectively.
Finds tasks whose names or tags contain any of the given keywords.
Format: find KEYWORD [MORE_KEYWORDS]
- The search is case insensitive. e.g
meetingwill matchMeeting - The order of the keywords does not matter. e.g.
meeting submissionwill matchsubmission meeting - Only the name and tags are searched.
- Only full words will be matched e.g.
meetingwill not matchmeetings - Tasks matching at least one keyword will be returned (i.e.
ORsearch).
e.g.meetingwill matchsubmission meeting
Examples:
find submission
Returnssubmission meetingbut notsubmissionfind CS2103
Returns Any tasks having tagsCS2103
Deletes the specified task from the task manager. Irreversible.
Format: delete INDEX
- Deletes the task at the specified
INDEX. - The index refers to the index number shown in the most recent listing.
- The index must be a positive integer 1, 2, 3, ...
Examples:
list
delete 2
Deletes the 2nd incomplete task in the task manager.find CS2103
delete 1
Deletes the 1st task in the results of thefindcommand.
Select a specific task to view in detail. The details will be in command box.
Format select INDEX
Example:
select 1select and view the 1 task in the task manager.
Undo the last action performed by you.
There can be more than one undo action. You may undo the actions during that single session.
Format: undo
Redo the last action undid by previous undo.
There can be more than one redo action. You may redo the actions during that single session.
Format: redo
Clears (1) incomplete, (2) complete, (3) expired, (4)all tasks in the task manager.
Clears all entries of the same type from the task manager.
Format: clear MODIFYIER
- Clear incomplete tasks:
clear incomplete - Clear complete tasks:
clear completed - Clear expired tasks:
clear expired - Clear all tasks:
clear all
Mark the task at the specified INDEX to complete the task.
Format: mark INDEX
- mark the task at the specified
INDEX. - Index refers to the index number shown in the most recent listing.
- Index must be a positive integer 1, 2, 3, ...
Examples:
list
mark 2
Marks the 2nd task in the task manager.find CS2103
mark 1
Marks the 1st task in the results of thefindcommand.
Unmark the task at the specified INDEX.
Format: unmark INDEX
- Unmark the task at the specified
INDEX. - The index refers to the index number shown in the most recent listing.
- The index must be a positive integer 1, 2, 3, ...
Examples:
list
unmark 2
Unmarks the 2nd task in the task manager.find CS2103
unmark 1
Unmarks the 1st task in the results of thefindcommand.
Reset a event or deadline at the specified INDEX to a floating task. It removes the start and end Date and Time and the overlap tag is also removed if it existed.
Format: reset INDEX
- The index refers to the index number shown in the most recent listing.
- The index must be a positive integer 1, 2, 3, ...
Examples:
list
reset 2
Resets the 2nd task in the task manager.find CS2103
reset 1
Resets the 1st task in the results of thefindcommand.
The app will automatically display all events and deadlines within the period specified by the user when the app starts.
The command allows the user to specify the time period or display the events and deadlines again without restarting the app.
Format: remind
Display all events and deadlines within the period specified.
Format: remind TIMEPERIOD
Set the time period for the reminder on startup. The time unit must be sigular, i.e. "week" instead of "weeks" Examples:
remind 3 day
Display all deadlines and events within 3 days upon startup.remind 2 week
Display all deadlines and events within 2 weeks upon startup.
View data file directory path.
Format: filepath
View the directory where the data file is saved
Updates data file directory. : changepath
If the folder does not exist, the folder will be created authomatically. The save file at the original position will be deleted.
Format: changepath [Path Directory]
Changes the directory where the data file is saved
Task Manager data are saved in the specified path directory.
Examples:
changepath userChange the file path to user folder under the current directory.changepath C:\Users\User\DesktopChange the file path to desktop of the windows system.
Task Manager data are saved in the hard disk automatically after any command that changes the data.
There is no need to save manually.
Exits the program.
Format: exit
Q: How do I transfer my data to another Computer?
A: Install the app in the other computer and overwrite the empty data file it creates with
the file that contains the data of your previous Task Manger folder.
| Function | Format | Examples |
|---|---|---|
| Get Help infomation | help OR help COMMANDWORD |
helphelp add |
| Add a event | add TASK_NAME s/ START_DATE_TIME e/ END_DATE_TIME [t/ TAG...]add TASK_NAME, ["TASK_DESCRIPTION"], START_DATE_TIME, END_DATE_TIME, [tags: TAG1 TAG2...] |
add Project metting s/ July 5 18 e/ July 5 19add project, "CS2103 project", July 10 5pm, July 10 6pm |
| Add a deadline | add TASK_NAME e/ END_DATE_TIME [t/ TAG1...]add TASK_NAME, ["TASK_DESCRIPTION"], DATETIME, [tags: TAG1 TAG2...] |
add Project submission e/ July 5 20add project, "CS2103 project", July 10 6pm, tags: meeting |
| Add a floating | add TASK_NAME [t/ TAG...]add TASK_NAME, ["TASK_DESCRIPTION"], [tags: TAG1 t/ TAG2...] |
add CS2103 exam t/ HIGHadd project, "CS2103 project", tags: meeting |
| List upcominng incomplete tasks | list |
|
| List expired tasks | list expired |
|
| List all tasks | list all |
|
| List all incomplete tasks | list incomplete |
|
| List complete tasks | list complete |
|
| Clear all tasks | clear all |
|
| Clear expired tasks | clear expired |
|
| Clear incomplete tasks | clear incomplete |
|
| Clear complete tasks | clear complete |
|
| Edit task | edit INDEX [n/ TASK_NAME] [s/ START_DATE_TIME] [e/ END_DATE_TIME] [+t/ TAG] [-t/ TAG] |
edit 1 +t/ HIGH |
| Delete task | delete INDEX |
delete 1 |
| Find by keywords or tags | find KEYWORD [MORE_KEYWORDS] |
find CS2103 Exams |
| Undo the last action | undo |
|
| Redo the last undo | redo |
|
| Mark incomplete tasks as completed | mark INDEX |
mark 1 |
| Unmark completed task as incomplete | unmark INDEX |
unmark 1 |
| Reset a event or deadline task | reset INDEX |
reset 1 |
| Display all events and deadlines within reminder period | remind |
|
| Set reminder period | remind TIMEPERIOD |
remind 2 day |
| Select and view tasks | select INDEX |
select 1 |
| Check file path of the storage file | filepath |
|
| Change the path of the storage file | changepath [path_directory] |
changepath Userchangepath C:\Users\User\Desktop |
| Exit the programme | exit |