Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Call a LA function from a .batfro
#3
Or without .exe.
 
Code:
Copy      Help
// script "cmd2.cs"
if (script.testing) args = [@"C:\Test\test.txt"];

var file = args[0];
dialog.show(file, File.ReadAllText(file));
 
.bat
Code:
Copy      Help
Au.Editor.exe *cmd2.cs "C:\Test\abcg.txt"

To create the command line can be used menu TT -> Script triggers.


Messages In This Thread
Call a LA function from a .batfro - by MBaas - 01-17-2024, 11:04 AM
RE: Call a LA function from a .batfro - by Gintaras - 01-17-2024, 12:12 PM
RE: Call a LA function from a .batfro - by MBaas - 01-17-2024, 01:30 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)