This content has been marked as final.
Show 4 replies
-
1. Re: Datamerge Preview in custom palette?
John Hawkinson May 10, 2012 4:39 PM (in response to BreachofMind)You can display the panel and check the checkbox:
app.panels.item("$ID/DataMergePanelName").visible=true; app.menus.item("$ID/DataMergeUIPanelPopup").menuItems.item("$ID/Preview Records").associatedMenuAction.invoke(); app.panels.item("$ID/DataMergePanelName").visible=false;Awkward to be sure.
-
2. Re: Datamerge Preview in custom palette?
Dek Jun 1, 2012 2:32 AM (in response to John Hawkinson)Does the last line switch off the preview, could this be used at end of script before closing file?
(AppleScript newbie!)
-
3. Re: Datamerge Preview in custom palette?
John Hawkinson Jun 1, 2012 7:31 AM (in response to Dek)This is in Javascript, not applescript.
The last line hides the panel, it does not switch off the preview.
Not sure what you mean about "end of script before closing file?".
-
4. Re: Datamerge Preview in custom palette?
Dek Jun 1, 2012 7:40 AM (in response to John Hawkinson)What I have been trying to find out how to do it is add a script into an automator action I created which will open an InDesign file, update links, export as pdf then save and close file.
If a script could be added to preview datamerge, export PDF then switch off preview before saving it would save hours!



