Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Can I attach a script to the Build & Debug button somehow? (Read 697 times)
castingflame
Junior Member
**
Offline


Posts: 20
Joined: Nov 22nd, 2018
Can I attach a script to the Build & Debug button somehow?
Jan 16th, 2021 at 11:01am
Print Post  
Is it possible to fire off a script (Windows Batch file) when I hit the Build and Debug button? I have several things that I could automate that would really help my build iteration process if that could run before or while the Build and Compile is happening.
  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2697
Joined: Feb 13th, 2019
Re: Can I attach a script to the Build & Debug button somehow?
Reply #1 - Jan 16th, 2021 at 7:53pm
Print Post  
There are a number of hooks available to attach to the build process, or completely override it:
https://www.visualmicro.com/page/Arduino-Build-Events-and-Hooks.aspx

An example of running a script can be seen in this YouTube video, and on this forum thread.
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint