Ask Your Question

macro to trigger key event on timer

asked 2019-05-23 15:29:27 +0200

carnish gravatar image

updated 2019-05-23 18:59:44 +0200

Is it possible to have a macro that triggers a menu event every n minutes? If so what would that look like?

edit retag flag offensive close merge delete


How many n minutes would it be?

Schiavinatto gravatar imageSchiavinatto ( 2019-05-23 19:38:55 +0200 )edit

2 Answers

Sort by » oldest newest most voted

answered 2019-05-23 18:08:00 +0200

edit flag offensive delete link more

answered 2019-05-23 17:45:58 +0200

Ratslinger gravatar image
edit flag offensive delete link more


I have modified the question.

carnish gravatar imagecarnish ( 2019-05-23 19:00:05 +0200 )edit

@carnish Menu 'events' , as you state, are nothing more than uno commands. These can be used in macros themselves. Just used in another post for Base:

dispatcher.executeDispatch(oDocument, ".uno:Save", "", 0, args1())

which uses oDocument to save the file. Of course there is more to it than this one line. It is meant as an example of what is in a menu. You can use other code similar to this to create your own menus with macros also.

Edit: See also ->

Ratslinger gravatar imageRatslinger ( 2019-05-23 19:13:07 +0200 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2019-05-23 15:29:27 +0200

Seen: 101 times

Last updated: May 23 '19