The "right clicking" action probably means that a third party program is associated to this file type to convert the .rtf to pdf. Therefore, you might be able to use "Run External Program" to call up this program and try converting the rtf automatically using this.
Of course, you need to make sure that the program can be run as a service, and without any input from the user. Otherwise, it will not work. Also, please note that we cannot provide any support for the use of Run External Program, as there is no way to predict how a third party program will behave when used by our software.
RaphaŽl Lalonde Lefebvre