RoboHelp 8 HTML - Toolbar Button: Email with Link to Topic

Realized this would be better on this forum than the WebHelp forum:
Within a skin, I'd like to create a custom email button on my toolbar that would allow a user to email a direct link to a specific file in my RoboHelp project (a Share this Topic feature).
I thought it might be something like this:
window.location=('mailto:[email protected]?Subject=Useful Step-by-Step&body=This Step-by-Step may be helpful for you: ' + window.location)
but that just calls the toolbar, not the topic; the focus isn't on the correct window.
I have the following code that I could imbed on each topic page, but for consistency, I'd like to have this functionality on the toolbar instead. Has anyone done this or come across this before?
<p><script type="text/javascript">
var mailSubject = 'Useful Information';
var mailBody = 'This page might help: ' + location.href;
var mailDisplay = 'Click here for a demo.';
document.write(
'<a href="mailto:[email protected]'
+ '?subject=' + escape(mailSubject)
+ '&body=' + escape(mailBody)
+ '">' + mailDisplay + '</a>'
);</script></p>

For a number of reasons we have decided to take a different approach.
I was trying to include a button in the toolbar for launching the email program to send feedback and comments home in a prepopulated mail subject and body.
I think instead, we can add this as a link in the master page using a modification of Peter's snippet 38 "Email this topic". This rsolves all the problems i was having (i am a novice tweaker not a scripter or coder) and we are able to get our first skin ready in the new Help in time for the forthcoming release candidate.
However, my colleague also wants to add another link using this snippet as origianlly intended, but the body includes a link to the topic file, which in our case is stored locally. We are using webhelp in local product installations rather than via a file server. Obviously the link doesn't help anyone operaitng on another machine.
How can the Javascript be modified to actually send the topic file itself?
TIA
Rob

Similar Messages

  • Hi, what do i do if I receive an email with link but when I click the link my mail stop moving...

    hi what can i do if i receive an email with link but when I click the link my mail wont move anymore?

    Close the Mail app in the Task Bar and re-launch.
    Double-click the Home button to reveal Task Bar. Hold Mail app down for a second or two; tap the minus sign to close app.
    If it still doesn't work, try a reset.
    Hold the Sleep and Home button down until you see the Apple logo.

  • How to print an email with link on a pdf output

    Hi,
    I have requirement to print an email with link like mailto: ...at...com
    I created a hyper link in my text element which created a <%W> ... </> tag. this message in this text element will be sent as a body of an email. I want to know to do the link like I mentioned above. Please let me know this is not clear.
    Thanks,
    Surya.

    Srinivas, Thanks for your quick reply.
    This is smartform, and sending the output as pdf, except the the first page on which I have the text to be printed on the email body. In this email body text I have to display an email.
    when user clicks on the email should open an outlook with the email id in the TO. Hope this helps.
    Thank you,
    Surya

  • HT5244 My email sent out no subject emails with links. Is that part of Flashback malware or something else? Help how do I stop it

    My email sent out no subject emails with links attached is this a symptom of a flashback malware.

    sarahfromcypress wrote:
    My email sent out no subject emails with links attached is this a symptom of a flashback malware.
    Not unless they're doing something new with it. If your OS is completely up-to-date, you need not worry about Flashback in any case.

  • Apple emails with links to iTunes causes infinite number of tabs to open

    Whenever Apple sends me an email with links to iTunes, clicking on them causes Firefox to open an infinite number of tabs eg., they keep on opening without going to iTunes.

    You get that problem if you select the Firefox program to handle a file if you get an "open with" dialog.
    *https://support.mozilla.org/kb/Firefox+keeps+opening+many+tabs+or+windows

  • TS3274 just bought ipad mini. As part of set up apple sent email with link  'Verify Now'. I've clicked it repeatedly but not responding. My email account is working fine. Any ideas?

    just bought ipad mini. As part of set up apple sent email with link  'Verify Now'. I've clicked it repeatedly but not responding. My email account is working fine. Any ideas?

    Why not just create an Apple ID for her and then you wont have any problems. Login on iMessage and Facetime using her ID and do the rest with your ID. It will work i tried it on my iPad

  • Will Apple lock my account then send email with link to register my account? Even ask for Social Security

    Will Apple lock my acct, send me email with link to register again requiring Social Security #? How do I verify request is from Apple?

    Forward Apple Phishing emails to: <[email protected]>

  • Email with links in body give an error "Connecting to server"

    I think some people have noticed this too. You recieve and email with a link at the bottom but it just just a square  with a red X in it, when you try to foward or reply, the Outlook client gives a Message "Connecting to the Server" and just
    hangs there until you end the task. But when replying or fowarding, delete that box with a red X and the email is sent. I know that Outlook is trying to connect to that link, but it could not. So is there a setting or a way to solve this issue
    since you are not able to connect to that link. Outlook 2010/2013

    I recommend that you post this in the Outlook Forum:  http://social.technet.microsoft.com/Forums/en-US/outlook/threads
    Ed Crowley MVP "There are seldom good technological solutions to behavioral problems."

  • Even though Firefox is my default browser, I get emails with links to webpages that come up in Internet Explorer, how do i fix this?.

    My default browser used to be Internet Explorer. I use Outlook Express for my emails. My OS is Windows XP.
    A few days ago, I changed my default browser to Firefox.
    This morning I received an email with a link to a web page which came up in Internet Explorer, even though my default browser is now Firefox.
    I would like the links to web pages provided in my emails to come up with Firefox instead of Internet Explorer which, I understand, can't be uninstalled since it is intertwined somehow with my Windows XP operating system.
    Thanks for any help you can supply.

    Hello nanemy1854, set also firefox as default browser in Add or Remove Programs list in win xp, see for more information : [https://support.mozilla.org/en-US/kb/setting-firefox-default-browser-does-not-work#w_windows-xp Firefox as default browser in win xp].
    thank you

  • Automator Service to Upload to FTP and Send Email With Links

    Hello.
    Since updating my client server machines at work to 10.7, the automator workflow that I have been using for years isn't working correctly.  Basically it's a simple workflow that uses upload to FTP action version 1.5 that uploads a video file to an FTp server, copies the links to the clipboard, creates new mail message and sends it.
    For some reason, it only does 1 file at a time now.  Interestingly, it uploads the files to the server but only sends the email with the first link this worked perfectly fine on 10.6  Before you could highlight 10 files and it would upload and send the links to all of them.
    Basically, I think it's the upload to FTP action that is causing the problems.  I need applescript to upload to the FTP and copy the url's and send the email.  See attached screenshot of the workflow.  I'm an applescript newbie so any help would be great.

    I don't know what is calling your function, but you should read the file before your call to the function and pass the contents as a byte array argument. You can process the byte array like you already do in your function.
    Regards,
    Marco

  • Forwarded emails with links are bing rejected by exchange.

    Hi,
    I have a SBS Server 2011 with Exchange server 2010.
    All the client PC's are Imac using Entourage 2008 with EWS.
    If a user recieves an email and the forwards the email to an external user the email will not be sent  by exchange.
    This is only for email where the original message has links in the email like facebook, or twitter for example. If the links are removed before sending the message , the message will be sent.
    The error message that is being genereated by exchange is
    #550 4.4.7 QUEUE Expired
    Is this a configuration problem with Exchange.
    I am using the ISP smart host to send email through Exchange on port 25.
    I am also using forwarders in DNS server settings. (ISP DNS Server IP addresses). root hints are also enabled.
    The server has one LAN port in use and the DNS server address of the server is a local IP address. ie 192.168.0.20
    any help or advice would be appreciated.
    Thanks

    Hi,
    Please try to forward or directly send the original message with links to other external addresses to check whether the issue happens to a specific domain or all external address.
    The NDR “550 4.4.7 QUEUE Expired” usually indicates an issue on the receiving server. This message can also indicate that a message header limit has been reached on a remote server, or some other protocol time-out occurred while communicating
    with the remote server. Please check the validity of the recipient address, and determine if the receiving server is configured correctly to receive messages.
    Best Regards,
    Winnie Liang
    TechNet Community Support

  • Not receiving certain emails with links.

    I am finding that some emails with and without documents attached are not being received by the Mail 2.1 software. If I go to my PC laptop, Outlook Express has received the email which clears the ISP and the mail server. Any ideas?
    Imac Mac OS X (10.4.8)
    Imac   Mac OS X (10.4.8)  

    Hello, and welcome to the Discussions.
    If you leave messages on the server, after downloading from what apparently is a POP account? If so, then in Mail, control-click on the Inbox, chose Get Info, and then if more than one account chose the appropriate one. Do the messages appear on the server, when viewed this way?
    Ernie

  • HTML Toolbar in Email Compose with Java WebDynPro

    Hi Friends,
    We are working on a email functionality requirement and we are having a requirement to add a toolbar in the Email Compose Box. For ex. that toolbar contains Bold, Italic, Underline, and other HTML stuff. i.e. to decorate the text in compose box with HTML features.
    but we dont have any standard UI element in Java webdynpro to use.
    Can anyone suggest me the solution or if any one come across with such scenarios.
    Thank you very much in advance.

    Hello Srikanth
    Please refer to this featured <a href="/people/anilkumar.vippagunta2/blog/2007/02/01/office-control-in-webdynpro--i. Though this is not the direct solution to your problem, but I think you can take the hint to develop your compose box with toolbar containing different menus. Please have a look at the final application showcased in the weblog which u can embed in your compose- box. I hope you are getting me.
    Regards
    Kapil

  • Button creation with links in HTML

    I have some buttons that have been created in Flash. I'd like
    to be able to place the swf into HTML, then link each one as needed
    in HTML, rather than exporting multiple swfs. What code do I need
    to include in Flash, and what in HTML? Seems like it should be
    simple, but nothing I Google is coming up with it.
    Thanks!

    you can pass the desired URL as "FlashVars" when composing
    the <embed Src /> tag.
    use that variable to fetch the url location to be navigated.

  • Sending email with link

    hi experts
    how do i send email from a program with a link to transaction with the transaction parameters
    thanks
    amit

    Hi
    refer this ,a very good material in SCN regarding your question.
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/db03523c-0a01-0010-d2a4-a462d386cb3d
    regards
    Sachin

Maybe you are looking for