Ask Your Question
0

[calc] Macros: What command to add to exit a macro?

asked 2019-04-15 18:25:22 +0200

davetheraveuk gravatar image

updated 2019-04-15 18:46:36 +0200

I have a macro that when run from the command line does not exit Calc. How do I run the macro from the CLI and exit?

Thanks. Dave

edit retag flag offensive close merge delete

Comments

1 Answer

Sort by » oldest newest most voted
0

answered 2019-04-15 19:07:49 +0200

davetheraveuk gravatar image

Would the following work?

dispatcher.executeDispatch(document, ".uno:Save", "", 0, Array())

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2019-04-15 18:25:22 +0200

Seen: 25 times

Last updated: Apr 15