2 ways.
1. Simple. To run a LA script from VoiceBot, use the "start program" action in the VoiceBot macro.
Program: C:\Program Files\LibreAutomate\Au.Editor.exe
Command: "Script name.cs"
2. Use the LA automation library in a VoiceBot C# script.
If VoiceBot does not support NuGet, you can manually download LA dlls.
Download: https://www.nuget.org/packages/LibreAutomate
If your "unzip" program can't extract nupkg files, change the extension from .nupkg to .zip.
Extract these files into some folder:
- lib\net6.0-windows7.0\Au.dll
- runtimes\win-x64\native\AuCpp.dll
- runtimes\win-x64\native\sqlite.dll (need only if you'll use SQLite classes)
Then add Au.dll to the VoiceBot script references.
VoiceBot script example:
1. Simple. To run a LA script from VoiceBot, use the "start program" action in the VoiceBot macro.
Program: C:\Program Files\LibreAutomate\Au.Editor.exe
Command: "Script name.cs"
2. Use the LA automation library in a VoiceBot C# script.
If VoiceBot does not support NuGet, you can manually download LA dlls.
Download: https://www.nuget.org/packages/LibreAutomate
If your "unzip" program can't extract nupkg files, change the extension from .nupkg to .zip.
Extract these files into some folder:
- lib\net6.0-windows7.0\Au.dll
- runtimes\win-x64\native\AuCpp.dll
- runtimes\win-x64\native\sqlite.dll (need only if you'll use SQLite classes)
Then add Au.dll to the VoiceBot script references.
VoiceBot script example:
