Method and reusable object for scheduling script execution in a compound document
First Claim
1. In a machine-implemented document-centric application processing system including a data processor coupled to a user display, to means for accepting user requests and to memory means including persistent storage means for storing an object-oriented operating system and a class library of objects including a plurality of data objects and a plurality of program objects, said memory means including a script-editing program object, a schedule-time object editor, an icon-display program object, an event-scheduling system and a plurality of parts and part editors, a machine-executed method for scheduling script execution in a compound document object, said method comprising the steps of:
- (a) spawning in said memory means an instance of a reusable CHRON object including at least one script object and at least one schedule-time object, said instance being contained in said compound document object;
(b) creating for display on said user display a CHRON icon having at least one schedule field for displaying at least part of said at least one schedule-time object;
(c) responsive to a user request to revise said at least one schedule-time object, performing the steps of(c.1) spawning in said memory means an instance of said schedule-time object editor and(c.2) updating a temporary schedule-time object in said memory means according to at least one corresponding said user request;
(d) comparing said temporary schedule-time object to a valid schedule-time object format rule;
(e) returning an error condition to said user display if said temporary schedule-time object form is invalid;
otherwise(f) sending a message to said event-scheduling system requesting the creation of a persistent event object for executing said at least one script object according to the schedule specified by said temporary schedule-time object.
1 Assignment
0 Petitions
Accused Products
Abstract
A reusable script execution scheduling part for compound documents in a document-centric processing environment. Document-centric computing environments having architectures similar to OpenDoc™ include a technique for executing scripts to interact with the compound document content. The CHRON part of this invention includes embedded objects for defining scheduled execution times for one or more scripts that may be opened within the compound document to provide a view of its contents. Either the ScheduleTime element or the ScriptEvent element of the CHRON part may be opened and edited in place. The reusable CHRON part sets up event scheduling with the operating system so that specified scripts are run according to specified ScheduleTimes.
-
Citations
18 Claims
-
1. In a machine-implemented document-centric application processing system including a data processor coupled to a user display, to means for accepting user requests and to memory means including persistent storage means for storing an object-oriented operating system and a class library of objects including a plurality of data objects and a plurality of program objects, said memory means including a script-editing program object, a schedule-time object editor, an icon-display program object, an event-scheduling system and a plurality of parts and part editors, a machine-executed method for scheduling script execution in a compound document object, said method comprising the steps of:
-
(a) spawning in said memory means an instance of a reusable CHRON object including at least one script object and at least one schedule-time object, said instance being contained in said compound document object; (b) creating for display on said user display a CHRON icon having at least one schedule field for displaying at least part of said at least one schedule-time object; (c) responsive to a user request to revise said at least one schedule-time object, performing the steps of (c.1) spawning in said memory means an instance of said schedule-time object editor and (c.2) updating a temporary schedule-time object in said memory means according to at least one corresponding said user request; (d) comparing said temporary schedule-time object to a valid schedule-time object format rule; (e) returning an error condition to said user display if said temporary schedule-time object form is invalid;
otherwise(f) sending a message to said event-scheduling system requesting the creation of a persistent event object for executing said at least one script object according to the schedule specified by said temporary schedule-time object. - View Dependent Claims (2, 3, 4)
-
-
5. A reusable compound document script scheduling object for scheduling script execution in a compound document object in a machine-implemented document-centric application processing system including a data processor coupled to a user display, to means for accepting user requests and to memory means including persistent storage means for storing an object-oriented operating system and a class library of objects including a plurality of data objects and a plurality of program objects, said memory means including a script-editing program object, a schedule-time object editor, an icon-display program object, an event-scheduling system and a plurality of parts and part editors, said reusable script scheduling object comprising:
-
at least one script object having information for specifying a script to be executed at a predetermined time; at least one schedule-time object having information for specifying at least one predetermined time at which the associated said script object is scheduled for execution; object container means stored in said memory means for containing said at least one script object and said at least one schedule-time object and for linking the components of said reusable script scheduling object with other said parts contained in said compound document; and registration means coupled to said event-scheduling system for creating a persistent event object in said persistent storage means for executing said script at said predetermined time. - View Dependent Claims (6, 7, 8, 9)
-
-
10. An object-oriented compound document processing system comprising:
-
a data processor; a user display coupled to said data processor; means for accepting user requests coupled to said data processor; memory means including persistent storage means coupled to said data processor for storing an object-oriented operating system and a class library of objects including a plurality of data objects and a plurality of program objects; an event-scheduling system coupled to said object oriented operating system in said memory means for creating persistent event objects in said persistent storage means; a plurality of compound documents each containing one or more parts in said memory means; a plurality of part editors each for editing a particular part type in said memory means; one or more reusable script-scheduling objects each for scheduling script execution in a compound document; at least one script object in each said reusable script-scheduling object for specifying a script to be executed at a predetermined time; at least one script-editing program object in said memory means for editing said script objects in said memory means; at least one schedule-time object in each said reusable script scheduling-object for specifying at least one predetermined time at which an associated said script object is scheduled for execution; at least one schedule-time object editor in said memory means for editing said schedule-time objects; and registration means in each said reusable script scheduling object coupled to said event-scheduling system for creating a persistent event object in said persistent storage means for executing said script at said predetermined time. - View Dependent Claims (11, 12, 13, 14)
-
-
15. A computer program product for use in scheduling script execution in compound document objects in a machine-implemented document-centric application processing system including a data processor coupled to a user display, to means for accepting user requests and to memory means including persistent storage means for storing an object-oriented operating system and a class library of objects including a plurality of data objects and a plurality of program objects, said memory means including a script-editing program object, a schedule-time object editor, an icon-display program object, an event-scheduling system and a plurality of parts and part editors, said computer program product comprising:
-
a recording medium; means recorded on said recording medium for directing said document-centric application processing system to spawn in said memory means an instance of a reusable CHRON object including at least one script object and at least one schedule-time object, said instance being contained in said compound document object; means recorded on said recording medium for directing said document-centric application processing system to create for display on said user display a CHRON icon having at least one schedule field for displaying at least part of said at least one schedule-time object; means recorded on said recording medium for directing said document-centric application processing system to perform the steps of, responsive to a user request to revise said at least one schedule-time object, spawning in said memory means an instance of said schedule-time object editor and updating a temporary schedule-time object in said memory means according to at least one corresponding said user request; means recorded on said recording medium for directing said document-centric application processing system to compare said temporary schedule-time object to a valid schedule-time object format rule in said memory means; means recorded on said recording medium for directing said document-centric application processing system to perform the steps of returning an error condition to said user display if said temporary schedule-time object form is invalid, otherwise sending a message to said event-scheduling system requesting the creation of a persistent event object for executing said at least one script object according to the schedule specified by said temporary schedule-time object. - View Dependent Claims (16, 17, 18)
-
Specification