Click to See Complete Forum and Search --> : Script to open notes mail


avi arditi
07-30-2003, 10:19 PM
Hi all

My boss got up on Monday morning and decided that I need to perform a task, you see my boss is an accountant no need to say more, the task is to create a Form using adobe Acrobat 6.0 professional. So Never using the software and according to my boss because I am his IT Administrator I should be able to use and know any software instantly. As you can imagine took me a few days to get the hand of Adobe, you must understand that I have to do Lotus Notes windows networking backup and a support desk to 45 spoilt accountants
How do I begin to learn JavaScript? I need to know how to create a code behind a button in adobe that when a user will click on that button it will open Notes mail, if you can help me with getting started and that specific code that will be great.

Thanks
Avi::( :confused:

AdamGundry
07-31-2003, 02:18 AM
I found this quite a useful tutorial when I was starting to learn Javascript: http://www.javascriptmall.com/learn/contents.htm

I'm not familiar with JS in Acrobat, but assuming it is the same as in a browser and notes mail is the default email application, you should be able to use this as your onclick event handler:

window.location = 'mailto:somebody@example.com';

Hope this helps

Adam