Open a file and run a macro

Hi

(I am very new to this…)

I have a macro which automatically renders views for me - renderAll

I want to use the task schedule to automate my work by opening a specific file and run the renderAll Macro.

How do I create a macro which:

  1. Open a specific file (the input fields should be the file path and the file name)
  2. Run renderAll Macro
SolidworksApi macros