COMMAND LIST (All)

Command Syntax | Sample Rul 1 | Sample Rul 2 | Sample master external

#RMBKMARK #WORDSBMK #LINKAREA #PAGE 
#RMDESTINATION #END #FONT  #WORKDIR 
#RMERRMRKUP #NAME  #ZONEOFF #CMDLINE 
#MSRMBOOKMARK #STARTAUTOLINK #ZONE IN( #PDFFILEPATH 
#FINDREPLACEBMK #LINKCOLOR #ZONE (        <<
#CV2DESTINATION #PAUSE1SEC #PAGEODD #CHGCASE_D
#RMLINKALL #WAIT4INPUT #PAGEEVEN #RMERRLINK   v5.8
#RMLINKCLOR #FONTOFF #END SKIPEXT
#CRBKMARK #FONTNAME #DPAGES   v5.8 #CHGNAMEDES 5.9
#IMPORTBMK #FONTSIZE #PAGES  #CHGPATHEXT 5.9

*** In addition to the above, the following commands available only for Autobookmark version 5.8 or higher. We also custom other commands (not listed) for your request

**** COMMANDS FOR LINKING **** COMMANDS FOR BOOKMARKING
   
#CV2DESTINATION #RMBKMARK
#RMLINKALL #RMDESTINATION
#STARTAUTOLINK #WORDSBMK
#NAME  #IMPORTBMK
  #CRBKMARK
#LINKAREA  #MSRMBOOKMARK
#ZONE ( #FINDREPLACEBMK
#ZONE IN( #CV2DESTINATION
#ZONEOFF #END
   
#PAGE   
#DPAGES   v5.8  
#PAGES   
#PAGEODD  
#PAGEEVEN  
   
#FONT   
#FONTOFF  
#FONTSIZE  
#FONTNAME  
   
#WORKDIR   
#CMDLINE   
#PDFFILEPATH   
   
#LINKCOLOR  
       <<  
SKIPEXT  
#PAUSE1SEC  
#WAIT4INPUT  
   
FOR EDITING/CORRECTING LINKS  
#RMERRMRKUP  
#CHGCASE_D  
#RMERRLINK   v5.8  
#RMLINKCLOR  
#CHGNAMEDES 5.9  
#CHGPATHEXT 5.9  
#END  
   


------------------------------------------------------------------------------ Top

#RMBKMARK
To remove all bookmarks
Syntax: (the same)
#RMBKMARK
------------------------------------------------------------------------------ Top

#MSRMBOOKMARK
To merge duplicate bookmarks, Change all Bookmarks to Upper Case, Setting Zoom to Actual size
This Command should always exist in rul before converting bookmarks to destination.
In case of the same bookmark title for different sections/chapters, user should manually run bookmark abm later and manually change bookmark title for the differences. Another way is to create specific abm files for each section/chapter.
Syntax: (the same)
#MSRMBOOKMARK
------------------------------------------------------------------------------ Top

#RMDESTINATION
To remove all of destination for creating all new.
Syntax: (the same)
#RMDESTINATION
------------------------------------------------------------------------------ Top

#RMERRMRKUP
To remove all of previous error markup.
Syntax: (the same)
#RMERRMRKUP
------------------------------------------------------------------------------ Top

#FINDREPLACEBMK
To find and replace Bookmark
Syntax:
#FINDREPLACEBMK  (List of Effective Pages) FOR (LOEP)
------------------------------------------------------------------------------ Top

#CV2DESTINATION
To converting all bookmarks to destination
Syntax: (the same)
#CV2DESTINATION
------------------------------------------------------------------------------ Top

#RMLINKALL
To remove all links
Syntax: (the same)
#RMLINKALL
------------------------------------------------------------------------------ Top

#CRBKMARK
To create bookmark by using a template

Syntax:
#CRBKMARK template_A2_HEADERS.abm
#CRBKMARK template_A4_PARAGRAPHS.abm

Note:
If the abm file does not exist, program skips command

------------------------------------------------------------------------------ Top

#WORDSBMK
To create bookmarks by searching words

Syntax:
#WORDSBMK template_A1_WORDS.txt


Note:
If the WORDS.txt file does not exist, program skips command

Sample usc10_WORDS.txt


------------------------------------------------------------------------------ Top

#IMPORTBMK
To import bookmarks from a text file in current folder

Syntax:
#IMPORTBMK template_A1_IMPORT.txt


Note:
If the IMPORT.txt file does not exist, program skips command
Sample usc_IMPORT.txt


------------------------------------------------------------------------------ Top

#NAME

To label a name for a page number.  For example, Page TOC on OCR page of 5.
There is no space or special character.

Incorrect Name: #NAME END CHAPTER1 Correct Name: #NAME END_CHAPTER1

This Command designed for converting InfoLinker rul to use for Autobookmark along with command #PAGES or #PAGE.
For Autobookmark version 5.8 or higher, It is better to use command #DPAGES to reduce command #NAME

Syntax:

#NAME TOC,5
#NAME BODY,79
#NAME CHAPTER_3,200


In the rul: #PAGE CHAPTER_3

Command #NAME limits to 64. The more #NAME in rul, the slower for program to run.

------------------------------------------------------------------------------ Top

#STARTAUTOLINK
To begin the linking section

Syntax:
#STARTAUTOLINK

------------------------------------------------------------------------------ Top

#LINKCOLOR
To set color for all links after this command (Y for yellow, C for cyan ... )

Syntax:
#LINKCOLOR Y,S

The Default is Blue and Underline.
Other predefined colors: W,G,R,O,Y,C,B,F (White, Gray, Red, Orange, Yellow, Cyan, Blue, .. GG for Green) and Style: S,D,U. (Solid, Underline, Dashed.) 
Users can customer their own color and should put a number 0-9 for the name.
If you input color or style are not predefined, program will auto change to the default
The following example are automatically changed to default: Blue and Underline

#LINKCOLOR n,m will keep for previous setting or changed to Blue, Underline.

#LINKCOLOR x

#LINKCOLOR
Ask ABpros.us to provide the old link manager api free of charge. Most of its function still work on Win 7.


------------------------------------------------------------------------------ Top

#PAUSE1SEC

To pause the running program in one second.  If user want to pause two second, then duplicate the command

Syntax:
#PAUSE1SEC
#PAUSE1SEC


------------------------------------------------------------------------------ Top

#FONTOFF
To turn off all Font, disable name and size.

Syntax:
#FONTOFF

------------------------------------------------------------------------------ Top

#FONTNAME
To set font name and disable font size

Syntax:
#FONTNAME Times-Roman

------------------------------------------------------------------------------ Top

#FONTSIZE
To set font size and disable font name.

Syntax:
#FONTSIZE 10,0.1

------------------------------------------------------------------------------ Top

#FONT
To set a specific font name and specific size.

Syntax:
#FONT Times-Roman,10,0.1


------------------------------------------------------------------------------ Top

#ZONEOFF
To turn off all Zone

Syntax:
#ZONEOFF

------------------------------------------------------------------------------ Top

#ZONE IN(
To set zone by inch for linking

Syntax:
#ZONE IN(0.2,1.3),(1,10)


------------------------------------------------------------------------------ Top

#ZONE (
To set zone by point for linking.  It is used for converting the old Info linker system.

This Command designed for InfoLinker rul converted to Autobookmark.
It is better to use command #ZONE IN( for all AutoBookmark version.

Syntax:
#ZONE (300,500),(100,400)


------------------------------------------------------------------------------ Top

#PAGES COVER TO END
To let linking to run on all Pages

Syntax:
#PAGES COVER TO END


------------------------------------------------------------------------------ Top

#DPAGES 
(for Autobookmark version 5.8 or higher)


Description: For pages range based on destination (d:) or bookmark (b:). Users can use for a range of pages or just a single page. No need to use #NAME. This command designed to replace #PAGES and #PAGE.

Syntax
Destination: (The best choice because PDF can have as many as destination without any affect the neat view PDF)
#DPAGES (d:CHAPTER 1) TO (d:CHAPTER 3)
Bookmark: (not good because some unnecessary bookmarks are likely deleted for a neat PDF view.)
#DPAGES (b:CHAPTER 1) TO (b:CHAPTER 3)
Single Page
#DPAGES (d:CHAPTER 1) TO (d:CHAPTER 1)

If you want to use command without destination or bookmark, please enclose them in parentheses
#DPAGES (d:CHAPTER 1) TO (last)
#DPAGES (d:CHAPTER 1) TO (780)
#DPAGES (520) TO (d:CHAPTER 15)
#DPAGES (520) TO (520)

if user declared #NAME TOC, it is ok to use
#DPAGES (TOC) TO (TOC)

Command #DPAGES always enclose variables in parentheses


------------------------------------------------------------------------------ Top

#CHGNAMEDES 
(for Autobookmark version 5.9 or higher)


Description: To correct/change/edit name destination links. For example:
Change local name destination links: CHAPTER 1 to CHAPTER 1A, or
change external name destination links: CHAPTER 1 to CHAPTER 1A as in
(@CHAPTER 1,file://usc10@114-11.pdf)


Syntax
#CHGNAMEDES (SECTION) TO (SEC_SAMPLE_TION)
#CHGNAMEDES (SECTION 2) TO (CHAPTER 2)

NOTE:
Be careful, program will change both local and external name destination links
The external links always have two parts: Name Destination (CHAPTER 1) and the Path (file://usc10@114-11.pdf).

This command cannot change any characters in the path (file://usc10@114-11.pdf). To change the path, please use Command #CHGPATHEXT

If you ONLY want to change/correct/edit the destination names (local and external) for all PDFs in working directory, put the following command on the top for all of the rul (followed by #END).

#CHGNAMEDES (SECTION) TO (CHANGED2CHAPTER)
#END

------------------------------------------------------------------------------ Top

#CHGPATHEXT 
(for Autobookmark version 5.9 or higher)


Description: To correct/change/edit the path for external links. For example:
change/correct the PATH of the external links: (usc10@114-11.pdf) TO (USA99@789-11.pdf) as in
(@CHAPTER 1,file://usc10@114-11.pdf)


Syntax
#CHGPATHEXT (usc10) TO (USA99)
#CHGPATHEXT (/TEST2/usc10) TO (/TEST4/USA910)

NOTE: The external links always have two parts: Name Destination (CHAPTER 1) and the Path (file://usc10@114-11.pdf).

This command cannot change any characters in the first part, Name-Destination link (CHAPTER 1). To change Name-Destination link, please use Command #CHGNAMEDES

If you ONLY want to change/correct/edit the PATH in the external links for all PDFs in working directory, put the following command on the top for all of the rul (followed by #END).

#CHGPATHEXT (usc10@114-11) TO (UK2015@UK114-11)
#END

If you want to change/correct/edit both the name destination links (local and external) and the PATH in the external links for all PDFs in working directory, put the following command on the top for all of the rul (followed by #END).

#CHGNAMEDES (SECTION) TO (CHANGED2CHAPTER)
#CHGPATHEXT (usc10@114-11) TO (UK2015@UK114-11)
#END


------------------------------------------------------------------------------ Top

#PAGES


Description

Syntax:
#PAGES TOC TO END_LOT
#PAGES CHAPTER1 TO CHAPTER2
#PAGES 201 TO END
#PAGES 201 TO 6890

This Command designed for Infolinker rul or Autobookmark previous version 5.7, 4.8 .... User will need additional command #NAME for TOC, END_TOC, ...

For AutoBookmark version 5.8 or higher, please use #DPAGES


------------------------------------------------------------------------------ Top

#PAGE

Description

Syntax:
#PAGE TOC
#PAGE 201

This Command designed for Infolinker rul or Autobookmark previous version 5.7, 4.8 .... User will need additional command #NAME for TOC, END_TOC, ...

For AutoBookmark version 5.8 or higher, please use #DPAGES


------------------------------------------------------------------------------ Top

#WORKDIR
For the path of external references

Syntax:

External file in the same folder
#WORKDIR "./"

External file in the DIFFERENT folder: TEST2
#WORKDIR "../TEST2"

Instead of using #WORKDIR and #CMDLINE, user can replace borth with one line #PDFFILEPATH below

------------------------------------------------------------------------------ Top

#CMDLINE
For the file name of external references

Syntax:
#CMDLINE "BB2M209M2.pdf \sh"

Instead of using #WORKDIR and #CMDLINE, user can replace borth with one line #PDFFILEPATH below

------------------------------------------------------------------------------ Top


#PDFFILEPATH

This command combine and replace both command #WORKDIR and #CMDLINE

Syntax:

For external file in the same folder:
#PDFFILEPATH "FILE://BB2M209M2.PDF"

For external file in the DIFFERENT folder:
#PDFFILEPATH "FILE://../TEST2/BB2M209M2.PDF"
is equivalent to two lines:

#WORKDIR "../TEST2"
#CMDLINE "BB2M209M2.PDF \sh"

------------------------------------------------------------------------------ Top

#RMERRLINK
(for Autobookmark version 5.8 or higher)

To delete links errors and comments recognized/notified by function "Markup Link Errors".

This command can be placed at the bottom or on the top of the rul. If placing on the top, it is to use for delete errors links only and followed by Command #END.

Syntax:
#RMERRLINK

There are several types of link Errors: file not exist, destination not exist, incorrect destination, incorrect references ....

This program should be used to delete all remaining link errors due to "not exist" after correct other link errors.

Some incorrect error links can be fixed manually, using command #CHGNAMEDES 5.9 and #CHGPATHEXT 5.9.

Another method to correct hundreds PDFs in one click is to use 6.ab_markuperror to export all links to text files, then use 8.ab_find_change to change/correct errors, and finally 7.ab_importlinks to import links back to PDFs.

For example: User may change external links for the entire library of hundred PDFs from USA to UK by changing the link exported file:

@SECION 108,FILE://../USC26@114-11.PDF to
@SECION 108,FILE://../UK99999@114-11.PDF

658- BA-35,FILE://../USC26@114-11.PDF (error due to space before BA) to
658-BA-35,FILE://../USC10@114-11.PDF

After correct all errors, use this command #RMERRLINK to delete all other non exist links.


Try to compare one PDF to see the result of using and not using this command. Please email for detail explanation.

------------------------------------------------------------------------------ Top

#END
To stop/end bookmarking or linking.

Description

Syntax:
#END


------------------------------------------------------------------------------ Top
TO CREATE LINKS
<<

search word <<destination

Syntax:
[Off]figures?\s(\d\d?-)\s*(\d+[A-D]*)\W <<FIGURE \1\2

------------------------------------------------------------------------------ Top

#CHGCASE_D
Change all links to upper case.  It is not needed because program automatically change to upper case at the end

Syntax:
#CHGCASE_D


------------------------------------------------------------------------------ Top

#SKIP
#SKIPOFF
To skip the next input line until #SKIPOFF

Syntax:
#SKIP
........
........
#SKIPOFF

------------------------------------------------------------------------------ Top


SKIPEXT

For any line contains the word "SKIPEXT", program will skip the following line until it encounter command next external PDF. It is useful when users want to skip all inputs for a specific external reference.
Syntax:

#WORKDIR "../BB2M209SKIPEXTM2X11"
[Ff]igures?\s(\d\d?-)\s*(\d+[A-D]*)\W << SKIPEXTFIGURE \1\2

To disable any line, please take out characters: # and <<.
Another way is to add \\\ on the begin of the line (This method is used for the converting the old InfoLinker ruls)

#ZONE become ZONE (take out the #
[Ff]igures?\s(\d\d?-)\s*(\d+[A-D]*)\W \\\ [Ff]figures?\s(\d\d?-)\s*(\d+[A-D]*)\W <

------------------------------------------------------------------------------ Top

#LINKAREA

Description

Syntax:


------------------------------------------------------------------------------ Top

#PAGEODD

Description

Syntax:



------------------------------------------------------------------------------ Top

#PAGEEVEN

Description

Syntax:

------------------------------------------------------------------------------ Top

#RMLINKCLOR

To remove Link Color (Y for yellow, C for cyan ... )

Syntax:
#RMLINKCLOR Y
#RMLINKCLOR C


------------------------------------------------------------------------------ Top

#WAIT4INPUT

To Pause program and wait for user's input

Syntax:
#WAIT4INPUT

Your page view may be old, please press F5 for new updated on this page.