13.07.2015 Views

Action Request System 5.1 Developing AR System Applications ...

Action Request System 5.1 Developing AR System Applications ...

Action Request System 5.1 Developing AR System Applications ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Developing</strong> <strong>AR</strong> <strong>System</strong> <strong>Applications</strong>: AdvancedFigure 2-5: Parameter List11 Click Add <strong>Action</strong> and save the action.Creating an OLE Automation <strong>Action</strong> Link—Procedure 4: Defining <strong>Action</strong> 2The action described in this procedure transfers the contents of the ShortDescription field to Microsoft Word. When you create this action for theactive link, you will construct the following objects:_Document Object::Sentences( )Sentences Object::Range*First( )Range Object::void InsertAfter (BSTR Text)Set text to $Short Description$1 Select OLE Automation from the Current <strong>Action</strong>s list, and select OLEAutomation from the New <strong>Action</strong> list.By selecting the first action, the next action that you create is placed below it.This is a new OLE Automation action; yet, <strong>AR</strong> <strong>System</strong> Windows User Tooltreats this as a continuation of the previous stream of OLE method calls. Thedivision of the stream into multiple actions is arbitrary.Sample Exercise: Using OLE Automation ! 51

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!