Notes 9.0 agents

I would like to move a mail message sitting in my inbox to a fixed local message folder by pressing a function key. The message would be highlighted by positioning the cursor on it. (This would be quite similar to pressing a delete key, when the message moves to Trash folder.) I tried creating Agents using Field values as conditions, but did not succeed. Would like to know if there is an easy end-user solution using Agents.

Thank you.

Subject: Re: Notes 9.0 Agents

Thanks for the tips. Much appreciated.

I am aware of the first one (right click…).

Am trying to understand the second suggestion, ie Formula agent. Am unable to view the two pictures you have attached. May be some setting within my IE… is there is any other way to attach PIC 2?

Subject: Here are the agent basics:

The agent basics:
Formula to run: @command([Folder];“destinationFolderName”;“1”)

(where “destinationFolderName” is the folder you are moving the document to and “1” to specify a move (“0” would specify a copy and the doc would also stay in inbox).

Also:
Run - Target: None

Subject: Re: Notes 9.0 agents

Thank you very much.

I am marking this post as resolved.

Subject: This can be done using the current design of the mail file …

What you are trying to accomplish is built into the current mail template. Select the document you want to move to a folder, then click the Folder action icon on the action bar (see PIC 1 below). You will then see the ‘Move to Folder’ menu option. Select this option and you can Move/Add the document to the folder of your choice. You get this same option right-clicking on the document you want to move and choosing ‘Move to Folder’ from the context menu.

If you really want to roll you own using an agent, simply create a new Formula agent and use the @Command([Folder] … command as shown in PIC 2 below (where “atest” is the folder you are moving the document to and “1” to specify a move (“0” would specify a copy).

PIC 1

PIC 2