I am trying to create a toolbar that will launch the New Memo form but counldnt get the right code.
i am using this now: @Command([ToolsRunMacro]; “wOpenMemo”)
it give me an error message “Invalid script”
how else could the launch new memo script/command.
thanks.
**in further findings…there is a code to open a new memo. but what i would like to do is to call my own memo which is in a template mytemplate.ntf which inherited from mail6.ntf
how can i call my own new memo from my inherited template without corrupting the mail6.ntf/nsf files.
Subject: Create New Memo from Toolbar icon
You mght have to do a bit more than that, I’m, afraidYou could try just putting a @command ([compose],yourdatabase,yourform) on a toolbar icon, but you might need to do some ‘stuff’ to get the database first
Will this memo be created in the same db always?
Chris
Subject: RE: Create New Memo from Toolbar icon
ok a clearer explanation here.
i intend to create a new template, which is the mail6.ntf and do some modification on the new memo form. the reason i did this is because to ease the deployment to multiple client(diff company). i dont want to replace their existing template bcoz they might already made some customisation on it and some may b running on different version.
therefore i intend to create a toolbar button that will call my own new memo form from the db as always. so u see there will be a mail6.ntf file and my own mytemp.ntf residing on the domino server.
this is the only way i could think of that would not cause much trouble.
any input would be appreciated as i am on learning curve here.
i found a @command tht call out new memo but tht directed to mail6.nsf instead of own file. any pointer will do me good.
thanks everyone.
Subject: RE: Create New Memo from Toolbar icon
You’ll have to use @commands to open the new mail database first, then run the macro, then close the view you just opened
Subject: RE: Create New Memo from Toolbar icon
will give it a try
any more input keep them coming.
thanks chris.
**update
i manage to test out my new template/database by copy the files to my domino server directory.
on my client Notes, i create a new custom toolbar, add a button and this formula: @Command([Compose]; “myserver”:“Test.nsf”; “Memo”) behind the button.
result, it pick up the particular database and create a new memo based on my customised one. this is the only viable way for me now.
the only downside is i need to specify the database’s server destination in the toolbar. i need to deploy this to different server so it will be not a good idea to implement this way as i need to specify different server for every installation.
also i notice there is no way to export my custom toolbar. any other way to export it?
one more thing! i m developing this under windows environment, will it run in AIX/unix environment in the file is copied in the same way?
Subject: RE: Create New Memo from Toolbar icon
Hi,
Why you don’t user the user’s mail server as a parameter?
You have this in every client’s notes.ini. Then you will have to make a consistent template name in every mail server you want to use, independant of site.
HTH
Daniel
Subject: Create New Memo from Toolbar icon
This wouldn’t be a toolbar icon, but could be what you’re looking to have available at one click. Just open a new memo, and drag that tab over to your bookmarks. Now you have a icon quickly accessible at all times.