These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Automaticaly embed an embedded-index

Merlin
Acrobat 9ExpertTeam
Registered: Mar 1 2006
Posts: 766

Hi,

I can't figure how to automaticaly embed an index using the Batch process.
(An Acrobat 8+ embedded index, not a Catalog-index)

I can't find any simple command to do this in the "Edit Sequence" window.
I'd tried to use the "execute JavaScript" command with this code :
[i]app.execMenuItem("ADBE:EmbedIndex");[/i]
but it only displays the "Manage Embedded index" dialog box… and wait until I manually clic on the "Embed index" button…

Can someone help me please ?

JR

My Product Information:
Acrobat Pro 9.1.1, Macintosh
Merlin
Acrobat 9ExpertTeam
Registered: Mar 1 2006
Posts: 766
Mmhhh ???

;-)
Merlin
Acrobat 9ExpertTeam
Registered: Mar 1 2006
Posts: 766
up
Merlin
Acrobat 9ExpertTeam
Registered: Mar 1 2006
Posts: 766
Please, please, please…

:-)
try67
Expert
Registered: Oct 30 2008
Posts: 2398
What do you mean by "An Acrobat 8+ embedded index, not a Catalog-index"?

- AcrobatUsers Community Expert - Contact me personally at try6767 [at] gmail [dot] com
Check out my custom-made scripts website: http://try67.blogspot.com

Merlin
Acrobat 9ExpertTeam
Registered: Mar 1 2006
Posts: 766
I'm talking about the "Embedded index", a new feature introduced by Acrobat 8.
Opposite to the (old feature) "Catalog full text index".

See attachment (clic to enlarge) :
[url=http://imagesinsolites.free.fr/parkimages/embedded_index-025814_23-06-09.jpg][img]http://imagesinsolites.free.fr/parkimages/embedded_index-025814_23-06-09_s.jpg[/img][/url]

Thanks.
Merlin
Acrobat 9ExpertTeam
Registered: Mar 1 2006
Posts: 766
2 months without any answer… (other than try67's, but it didn't really helps. Thanks to him in any case)

Can't my question be answered ?
Where can I find a JavaScript bible for Acrobat 8 or 9 as it was provided with earlier Acrobat's versions ?

You know, something like that : http://www.adobe.com/devnet/acrobat/pdfs/AcroJSGuide.pdf
but I need an updated version…

;-)
daka630
Expert
Registered: Mar 1 2007
Posts: 1420
Quote:
Where can I find...
Maybe (?) - not sure if this points to what you want.

Acrobat Developer Center, Downloads
http://www.adobe.com/devnet/acrobat/?view=downloads

For Acrobat 8's Developing Acrobat Applications Using JavaScript "js_developer_guide.pdf"
Use the link "Download the Acrobat 8.1 SDK documentation (ZIP, 53.1 MB).
The zip file (acrobat_sdk_doc_set.zip) contains the PDF.
Also present are:
---| AcroJSGuide.pdf (the Acrobat 7.0.5 document)
---| js_3d_api_reference.pdf
---| js_api_reference.pdf

For Acrobat 9 -
I think you want file "sdk9_v1_docs"; the Windows version of this zip file contains another zip file.
This is a zip file of files in the LiveDocs format (HTML). Acrobat 9 JavaScript information is present.
But... I don't see it up in Adobe's web space these days; so, that leaves LiveDocs.

Be well...

Be well...

Merlin
Acrobat 9ExpertTeam
Registered: Mar 1 2006
Posts: 766
Thanks, I'll take a look…

;-)
Merlin
Acrobat 9ExpertTeam
Registered: Mar 1 2006
Posts: 766
Nothing helps me inside those docs…

daka630 : thanks, it contains interesting stuff.
Tech264
Registered: Apr 4 2008
Posts: 111
There's a section here that talks about it. Hope it helps.

http://acrobat.timhuff.net/30_dirty_tricks.pdf

http://www.ehow.com/how_5445178_make-index-adobe-acrobat.php
Merlin
Acrobat 9ExpertTeam
Registered: Mar 1 2006
Posts: 766
Tech264 wrote:
There's a section here that talks about it. Hope it helps.
No, alas!

Thanks for these links.
;-)
Merlin
Acrobat 9ExpertTeam
Registered: Mar 1 2006
Posts: 766
Since it's looks like impossible to execute the Embedded index using JavaScript I wrote this line for a batch sequence :

app.execMenuItem("ADBE:EmbedIndex");
Then, running in background an AppleScript "clic" on the "Embed index" button, and after embedding "clic" the "OK" button, and so on…

Here's the AppleScript, copy-paste into the AppleScript editor, then save as "APP" and check-on the "stay in background" case.

on idle activate application "Adobe Acrobat Pro"tell application "System Events" to tell process "Acrobat"set frontmost to truetell window "Manage Embedded Index"if exists thenif button "Embed Index..." is enabled thenclick button "Embed Index..."end ifif button "OK" is enabled thenclick button "OK"end ifend ifend tell

 end tell

return 1end idle

 on quit


continue quitend quit

;-)


PS : this AppleScript was made by Pierre-Jean Goulier : http://www.realworks.fr/logiciels.php