Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Creating icon for agent? 1

Status
Not open for further replies.

crisc

IS-IT--Management
Nov 15, 2001
692
US
In Notes R5 is there a simply way of creating a "smarticon" for an agent I set up?
 
Yes you can.

Just go into File -> Preferences -> SmartIcon settings and drag a macro icon from the group on the left to your icons on the right. Then just select "Edit Icon". Here you can attach a formula to the icon. Just use @Command( [ToolsRunMacro] ; agentname ) and then save the icon.

Hope this helps!
 
OK, I'm very close now, but getting "Internal Error processing command: incorrect number of parameters." when I try to use it. (I did replace "agentname" with the actual name of my agent)
Is it just a syntax issue?
 
Hmmmm, not sure why this is not working.

I just created a new icon using the exact formula below and it works fine.

@Command( [ToolsRunMacro] ; "SPAM Manager" )

This one runs the agent "SPAM Manager" in my mail DB.

A couple of things to check:

1. The agent name is case sensitive and must be in quotes
2. The database that contains the agent must be open when you click the icon otherwise you get an "agent does not exist" error.

Hope this helps
 
Aha! The case sensitivity was the mistake I made. Thank you so much!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top