Hi Thom. I have a large set of documents using app.popUpMenu() that works in the Acrobat 5.0.5 I developed in, but fails to work properly in Reader 7 or 8. - the menu pops up, but clicking on selections results in no response at all. I'm guessing that my usage of app.popUpMenu is faulty. Is there a simple edit that would make this work in newer versions, or alternately, a way to go though these with Perl or something similar to avoid having to edit hundreds of javascript documents by hand? I have a sample of the code below:
var cItem = app.popUpMenu(
["SCAT Surveys", "5 DEC 04"],
["MAT Surveys",
["MAT Forms", "None Available"],"-", "Final MAT Plan",
["General MAT Information", "General MAT Responsibilities", "Bald Eagle Recommendations"]
],
["Sign-Off Inspections","18 MAY 05"],
["Clean-Up Recommendations", "None Available"],
"-",
["Division Maps", ["Segment Boundaries", "None Available"] , "Aerial Photo" , "Habitat Type",
["SCAT Gap Analysis", "DE-3, DE-4, NJ-8", "-", "Overall Map"],
["Gross Decon Division Maps", "None Available"]
],
"-",
["Overview Maps",
["Maximum Oiling", "As of 16 DEC 04", "As of 23 DEC 04", "As of 28 DEC 04","As of 30-DEC-04", "As of 17 JAN 05", "-", "Final Maximum Oiling Map"],
["Gross Decon Overall Progress", "As of 30 DEC 2004", "As of 9 JAN 2005", "As of 14 JAN 2005",
["As of 23 JAN 2005", "Gross Decon and Shoreline", "Gross Decon Completed Only"],
"As of 14 FEB 2005"],
["Submerged Oil", "Sorbent Pad Drops"],
["Overall Clean-Up Progress", "Entire Area", "Main Response Area"]
]);
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script