Adobe 65030365 Scripting Guide - Page 683
SimpleOpen, the fonts.If you set
UPC - 883919170923
View all Adobe 65030365 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 683 highlights
ADOBE FRAMEMAKER SCRIPTING GUIDE 675 Function Summary UserCancel() is useful for clients that conduct extensive processing that the user may want to cancel. For example, if your client processes all the documents in a book, it can call UserCancel() after it processes each document. If UserCancel() returns True, your client can abort the processing. Returns True if the user has executed the Cancel gesture, or False if the user has not executed the Cancel gesture. Returns int Syntax UserCancel() Parameters Parameter name Data Type Void Optional No Description NULL SimpleOpen Description Opens a document or book. If you call SimpleOpen() with interactive set to True, FrameMaker displays the Open dialog box. It uses the path specified by the session property, OpenDir, as the default path. If a warning or error condition arises, FrameMaker notifies the user. For example, if a document uses fonts that are not available, FrameMaker displays a dialog box that allows the user to cancel the operation or to continue and remap the fonts.If you set interactive to False, FrameMaker does not display the Open dialog box or other messages and warnings. If it is necessary to modify a file to continue opening it, SimpleOpen() aborts the operation without notifying the user, and returns 0. Note: You cannot use SimpleOpen() to open filterable files. To open filterable files, use "Open" on page 681 The method returns the document opened, on success. If SimpleOpen() fails, the method assigns an error code to FA_errno. The error codes for SimpleOpen() are the same as those for "Open" on page 681. Returns Object Syntax SimpleOpen(fileName, interactive) Last updated 9/26/2011