Is there any way to determine if a link is a book mark or hyperlink in java script


is there way determine if link book mark or hyperlink in java script

sub problem:

i making array of quads of hyperlinks in document. automatically skip on bookmarks in starting pages of document , links of hyperlinks.

now have manually set pages contain bookmarks not included in array.

is there way determine if link book mark or hyperlink in java script?

 

it automate conversion need below

john

 

 

main problem:

i have been working on converting set of pdf files 1000’s of hyperlinks www.site.com\folder1\file1.pdf#page=10

to jump local copy of files relative type link

../folder1/file1.pdf , go proper page.

i have found can done manually changing hyperlink javascript

var otherdoc = app.opendoc('../folder1/file1.pdf', this);otherdoc.pagenum = 10 - 1;

and setting each destination file disclose()=true;

based on far java script cannot access hyperlink value in link

see: http://forums.adobe.com/thread/1039908?tstart=60

i have resorted following plan using acrobat javascript, external keyboard macro recorder , excel in combination around problem

four folder level acrobat javascripts “buttons”

one link quads in array, in pdf , report total number

the second creates form field in far corner of first page , moves there.

the third jumps each link found creating form field left of link , zooms in can selected “mouse click” keyboard macro recorder 

the forth deletes form field

 

the keyboard macro recorder runs javascript 2 , 3 clicks on link right of middle of screen , uses keys advanced editing edit hyperlink .

the hyperlink copied excel converted using string functions needed javascript text copied back.

to acrobat file java script (after deleting hyperlink)

rinse/lather/repeat

 

i have been able convert 150 links hour.

better hand typing, not having java access links.

 

i looking improve solution

i haven't looked @ lately see if has changed, never thought method in acrobat mix bookmarks , links. in fact, bookmarks don't have quad, since quad source, , bookmarks have no source, live in own panel.



More discussions in JavaScript


adobe

Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support