10-11-2010 02:27 PM
Here's a custom control which is a button control which can be configured to either open a file or program (enter the path to the item in the btnaction property) or send a set of short cut key commands to ACT!.
This control came fro a customer request for a button to launch a specific report - the ACT! API doesn't have the context to launch and run a specific report, so a work around is to set a shortcut key for a report then use this control to sent that shortcut key combination to launch the report.
I'll post the source of this control later, but what's interesting is that since the control has no context of the user record it is on this control should work fine on any layout view.
This component was built with ACT! 2010 resources so should work on ACT! 2010 or ACT! 2011.
As always, comments or suggestions welcome.
10-17-2010 04:54 PM
Here's an updated version of the configurable button control which has a filename property which uses the file open browse dialog to select the file/folder you want run on button click.
Note - there are 2 .dlls here both need to be extracted to the Tools directory in ACT!.
03-17-2011 12:35 PM
Can you give me an idea of how I would make the button launch a new History which is Crtl H on the keyboard short cuts?
03-17-2011 01:37 PM
By the way - I think that's a brilliant idea - add a button labeled Create Note and place it on each detail view. ACT! will automatically detect the current entity/record and add that as the associated with in the dialog.
Thanks for the idea - I'm adding this button to my system right now.
03-17-2011 01:46 PM
I found out 2 things in playing with this so far: ^H doesn't work but ^h does and if you want to use it to launch an external program (QuoteWerks in this case) you have to change Usesendkeys to False. Sound right?
03-17-2011 01:48 PM
Ahh good catch - yes if you are sending keys you always have to send the lowercase version of any alpha keys.
You are correct - in order to launch any file/exe the usesendkeys has to be false.
04-16-2011 03:32 PM - edited 04-16-2011 03:35 PM
Is it possible to issue a Command Line Argument from ACT! 2011. (i.e Outlook.exe /c ipm.note) to create a new e-mail from a template?
If so, how is this done?
04-18-2011 08:20 AM
If you path directly to the template (the .adt file) ACT! will have the template open in the default template editor (usually Word) and you could merge/send the emial from there, but I don't know of a command line switch that will auto merge for a specific template. The merge API takes a range of parameters - including contact (or contact list), record to history, etc... so I suspect this would be difficult to expose as a command line accessible item.