i need to write plugin for auto-saving for adobe xd.
i think good way to implement auto-saving is running Save method each 5 seconds.
and here i have two problems:
- how can i run a function each 5 second
- how can i save a document?(in local file and cloud)
maybe if i know how to run built-in methods (save method) or how to run keyboard shortcuts, i can solve second problem.
thank you in advance for your reply