var cChoice = app.popUpMenu( ["Factsheet", "facts", "description"],);
where facts and description are the destinations in the AHUfactsheets.pdf. However the command does not seem to work. Can anyone tell me what is wrong with this command? Also how do I specify the path to be a relative one?
There are multiple problems with your code:
- You're using irregular quotes
- You're not inserting the cChoice variable correctly into the string
- Using openDoc you can't specify open parameters like this