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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to create my own button in Outlook98 that has my own code

Status
Not open for further replies.

ruthcali

Programmer
Apr 27, 2000
470
US
I am using Outlook 98.

is there a way to create my own button in Outlook that has my own code?

This is the code i want the button to run:

javascript:Qr=document.selection.createRange().text;if(!Qr){void(Qr=prompt('Enter Project#:',''))}if(Qr)location.href=' '

I got the code from (merriam webster dictionary's website). I clicked on 'Add a Free Dictionary Button to Your Browser.' I just dragged a link to the Links toolbar.

Then i modified it a bit to point to my company's intranet website. Now, when i am in any web page and highlight a project# and click the button, i am taken straight to the intranet site and straight to that project#.

That works great. now i was wondering if i could add that button to Outlook. so if i get an email and a project# is written down somewhere in the body of the email, i can highlight the project#, click on my new button and be taken straight to the intranet site.

Thanks,
Ruth
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top