JavaScript Development
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Remember me

Go Back   Dev Articles Community ForumsProgrammingJavaScript Development

Add This Thread To:   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
Unread Dev Articles Community Forums Sponsor:
Old April 9th, 2003, 11:38 AM
dgibson dgibson is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
Join Date: May 2002
Location: Urbana, MD, USA
Posts: 66 dgibson User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 17
desperate for Acrobat JS Help

In case you didn't know, you can script functionality in nearly all Adobe products with an ECMA-script based language (that's JavaScript). I'm working on this piece to append PDF files together and am stuck with an error that I can't explain. So I'm posting here in case anyone's experienced this (the Adobe forum is dead, or I wouldn't be posting here...)

Thanks for reading/looking.

I've created a JavaScript batch process I'm running to append all fileB's to fileA's in a directory. Basicially, I am parsing the filename to determine if the file is of type fileA and then I attempt to insert fileB into it (these are all using a common naming convention, so it's not difficult). The problem is that my insert is failing, and usually only inserts one page even though it should insert the whole document of fileB.

I get something like this in the console:

uncaught exception:Batch [doc title]:Exec:78: Global.insertPages Acrobat Raise: ===> A file error has occurred.

Any ideas? According to the docs I should be able to do this no prob:

this.insertPages(-1, NewFileVar);

and not specifying the start and end range of the inserted doc should insert the whole thing. But it never does. Please help and/or respond to


Reply With Quote

Viewing: Dev Articles Community ForumsProgrammingJavaScript Development > desperate for Acrobat JS Help

Developer Shed Advertisers and Affiliates

Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 

Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.

© 2003-2019 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap