[amibroker] Re: how to @link to a particular pdf page

 

from https://www.amibroker.com/guide/w_afledit.html


Clickable links in comments

The AFL Editor now supports clickable JavaDoc/Doxygen-style links in doc comments. To use links in comments you have to put @link command followed by path to file or URL inside JavaDoc/Doxygen style comment:

  • multiline comment that begins with /** like this:

    /**
    @link readme.html
    @link http://www.amibroker.com
    */

    (note double asterisk after initial slash)
  • single line comment that begins with triple slash

    /// @link readme.html
    /// @link c:\program files\amibroker\readme.html
    /// @link http://www.amibroker.com

Now when you hover the mouse over @link command you will see the underline that indicates it is clickable. It reacts to double click (not single click). When you double click it linked document will be open.

@link command can open web pages, local files (both relative and absolute paths are supported) with Windows-registered program to open given file type. So if you use:

/// @link something.doc

then MS word would be used.

/// @link test.xls

would open test.xls in Excel.

Relative paths refer to AmiBroker working directory. Html files are open with default browser, txt files are usually open with Notepad (or whatever application you use). If file does not exist then you will get an error message.


I think its really cool feature,


Larry

__._,_.___

Posted by: portfoliobuilder99@gmail.com
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (2)
**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/


.

__,_._,___


EmoticonEmoticon