Planet PDF Forum Archive

Planet PDF  ForumThe page you are viewing is part of our 160,000 page discussion forum archive. See below for PDF-related discussions spanning 1999-2008. To ask questions and get help, head to the live Planet PDF Forum.


How to search this archive. The quickest way is to use the filters on our Advanced Search page so that only archive pages are included in the results.


Previous | Next | (P-PDF) JavaScript


Topic: Acrobat 5 crashes - asked on Adobe forum
Conf: (P-PDF) JavaScript, Msg: 28238
From: Jub
Date: 10/7/2001 02:28 AM

CCJ,

>function ToAccount() { var l = getField
>"newaccounts"); var v = l.insertItemAt(account[0]
>[1],account[0][0],0) }

>The JavaScript in the Bookmark

>var account = new Array(); account[0] = new Array
>("4193","The Green Bottle Brewery"); ToAccount
>(account);

Not sure that this will make a difference, but
I have found several examples of things which
weren't quite kosher but worked fine in V4,
only to have them not work in V5,
I assume because the V5 spec is much tighter.
Anyway, you are calling your function ToAccount
and passing in an argument, 'account'.
But this arg is not defined in the function
declaration.

You might want to try it with the function
looking something like this...

function ToAccount(MyArray)
{
var l = getField("newaccounts");
var v = l.insertItemAt(MyArray[0][1],MyArray[0][0],0);
}

I also added an open parenthesis before "newaccounts"
- not sure if this was missing from your original func...

HTH
Jub

PDF In-Depth Free Product Trials Ubiquitous PDF

Pitstop Pro

Now graphic arts professionals have even broader and more expert control over their PDF documents. With...

Download free demo

ARTS PDF Aerialist

The ultimate plug-in for Adobe Acrobat and #1 selling product at PDF Store. Advanced splitting, merging,...

Download free demo

Ubiquitous PDF: 2009 IRS income tax forms available for download

With less than a month to go until Americans will be scrambling to file their 2009 tax paperwork. Luckily, printable PDF versions of forms such as the 1040 can be downloaded for free from the IRS website.

March 18, 2010
Search Planet PDF
more searching options...







Download PDF Creator

PDF Resources
Platinum Sponsor
Create & Edit PDF - Nitro PDF Software

ARTS PDF

Silver Sponsors

PDF-Tools QuickPDF: The Unrivaled PDF Developer Toolkit

Get Nitro PDF Professional
Featured Product

NITRO PDF Professional

Built from the ground up, the perfect desktop PDF product for business and enterprise. Nitro PDF Professional has an uncompromising feature set so you can create, combine, edit, collaborate on and...

Featured Event

No upcoming events

PDF Store Categories