Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi
I am using a macro to create user bookmark:
ActiveDocument.CreateUserBookmark theBookmark
The bookmark does not store the input field values or the layout state. So how can I set the bookmark properties via macro?
- layout_state_included
- applied_top_of_current_selections
- pop_up_message
- bookmark_info
- selections_excluded
- input_field_values_are_included
Thx - Marcel
Just use the additional arguments (taken from APIGuide.qvw):
Class | MemberType | Member | ParameterNo | Parameter | Type | Direction | Comment |
---|---|---|---|---|---|---|---|
Document | Method | CreateUserBookmark | return value | - | No return value | ||
1 | Name | String | in | Name of bookmark | |||
2 | layoutState | Boolean | in, optional | True if layout state is included | |||
3 | additive | Boolean | in, optional | True if bookmark to be applied on top of current selections | |||
4 | showPopupInfo | Boolean | in, optional | True if pop-up message is shown | |||
5 | InfoMessage | String | in, optional | Bookmark info as text | |||
6 | ExcludeSelections | Boolean | in, optional | True if selections are excluded from bookmark | |||
7 | InputFieldValuesFlag | Boolean | in, optional | True if input field values are included |
Just use the additional arguments (taken from APIGuide.qvw):
Class | MemberType | Member | ParameterNo | Parameter | Type | Direction | Comment |
---|---|---|---|---|---|---|---|
Document | Method | CreateUserBookmark | return value | - | No return value | ||
1 | Name | String | in | Name of bookmark | |||
2 | layoutState | Boolean | in, optional | True if layout state is included | |||
3 | additive | Boolean | in, optional | True if bookmark to be applied on top of current selections | |||
4 | showPopupInfo | Boolean | in, optional | True if pop-up message is shown | |||
5 | InfoMessage | String | in, optional | Bookmark info as text | |||
6 | ExcludeSelections | Boolean | in, optional | True if selections are excluded from bookmark | |||
7 | InputFieldValuesFlag | Boolean | in, optional | True if input field values are included |
Ok thank you, easy.
I thought that it's possible using properties only, and I could not find how to retrieve the bookmark ID from the name...
Marcel
There is additional argument for Share bookmark with other users options???