Skip to main content
1-Visitor
April 17, 2012
Question

Go To Bookmark on Start

  • April 17, 2012
  • 3 replies
  • 1023 views

Probably a simple question for the experienced Adepters here:


How can I start Arbortext (from the command line) and go to a specific bookmark? Can't seem to find the right parameter to pass to epic.exe.



Thanks in advance!!



Joe

    3 replies

    1-Visitor
    April 17, 2012
    If there isn't a startup-specific command for that or a standard way to
    pass a command from the startup, you can definitely pass the name of an ACL
    file to be run on startup. That ACL could definitely navigate to a
    particular bookmark.

    On Tue, Apr 17, 2012 at 11:04 AM, Joseph Migliore
    <->wrote:

    > Probably a simple question for the experienced Adepters here:
    >
    > How can I start Arbortext (from the command line) and go to a specific
    > bookmark? Can't seem to find the right parameter to pass to epic.exe.
    >
    >
    >
    > Thanks in advance!!
    >
    >
    >
    > Joe
    >
    jmigliore1-VisitorAuthor
    1-Visitor
    April 18, 2012
    Thanks Paul!

    After creating the ACL to call the bookmark at startup (which worked), I was able to use that code directly in the parameter passed to epic.exe. Originally was trying this using the -C1 parameter but after some testing, realized that it had to be -C2 parameter, which occurs after init.acl is read. For anybody interested here's the final working call:

    epic.exe -C2 "bookmark::goto_bookmark('Bookmark Name')" filename.xml



    Joseph Migliore
    phone 949.682.5644
    -<">mailto:->
    1-Visitor
    April 18, 2012
    Excellent! Thanks for posting the solution. Always nice to have a "solved
    case" for the next person trying to do this.

    On Wed, Apr 18, 2012 at 9:48 AM, Migliore, Joseph (AS) <
    -> wrote:

    > Thanks Paul! ****
    >
    > ** **
    >
    > After creating the ACL to call the bookmark at startup (which worked), I
    > was able to use that code directly in the parameter passed to epic.exe.
    > Originally was trying this using the –C1 parameter but after some testing,
    > realized that it had to be –C2 parameter, which occurs after init.acl is
    > read. For anybody interested here’s the final working call:****
    >
    > ** **
    >
    > epic.exe –C2 “bookmark::goto_bookmark(‘Bookmark Name’)” filename.xml****
    >
    > ** **
    >
    > ** **
    >
    > ** **
    >
    > *Joseph Migliore*****
    >
    > phone 949.682.5644
    > - <-> ****
    >
    > ** **
    >
    > *From:* Paul Nagai [