Contents

# Macro

Specifies the macro to run when you click an image, frame, or an OLE object.

To access this command...

Choose Insert/Format - Image - Properties - Macro tab.

Choose Format - Frame and Object - Properties - Macro tab.

Choose Tools - AutoText - AutoText (button) - Macro.

Choose Tools - ImageMap - open context menu Macro.

Choose Format - Character - Hyperlink tab - Events button.

## घटनाएँ

Lists the events that can trigger a macro. Only the events that are relevant to the selected object are listed.

The following table lists the object types and the events that can trigger a macro:

घटनाएँ | घटना ट्रिगर | ओएलई वस्तु | Image | फ्रेम | स्वतःपाठ | इमेजमैप क्षेत्र | हायपरलिंक
--- | --- | --- | --- | --- | --- | --- | ---
वस्तु में क्लिक करें | object is selected | ✓ | ✓ | ✓ |  |  |
वस्तु के ऊपर माउस | mouse pointer moves over the object | ✓ | ✓ | ✓ |  | ✓ | ✓
हाइपरलिंक ट्रिगर करें | hyperlink that is assigned to the object is clicked | ✓ | ✓ | ✓ |  |  | ✓
माउस वस्तु से बाहर | mouse pointer moves off the object | ✓ | ✓ | ✓ |  | ✓ | ✓
Image loaded successfully | image is loaded successfully |  | ✓ |  |  |  |
Image loading terminated | loading of the image is terminated by the user (for example, when downloading) |  | ✓ |  |  |  |
Could not load image | image is not successfully loaded |  | ✓ |  |  |  |
अल्फा अक्षरों का इनपुट | text is inputted |  |  | ✓ |  |  |
नॉन-अल्फा अक्षरों का इनपुट | छापे नहीं जाने वाले अक्षर जैसे कि टैब तथा लाइन ब्रेक प्रविष्ट हैं |  |  | ✓ |  |  |
फ्रेम को नया आकार दें | frame is resized |  |  | ✓ |  |  |
फ्रेम खिसकाएँ | frame is moved |  |  | ✓ |  |  |
स्वचालित पाठ प्रविष्ट करने से पहले | before AutoText is inserted |  |  |  | ✓ |  |
स्वचालित पाठ प्रविष्ट करने के पश्चात | after AutoText is inserted |  |  |  | ✓ |  |

For events that are linked to controls in forms, see Control properties or Form properties.

## Assigned Action

Specify the macro that executes when the selected event occurs.

Frames allow you to link certain events to a function that then decides if the event is handled by LibreOffice Writer or by the function. See the LibreOffice Basic Help for more information.

### Macro From

Lists the LibreOffice program and any open LibreOffice document. Within this list, select the location where you want to pick the macro from.

### Existing Macros

Lists the available macros. Select the macro that you want to assign to the selected event, and then click Assign.

## आबंटित करें

Assigns the selected macro to the selected event.

## मिटाएँ

Removes the macro assignment from the selected entry.