using System;
using Au;
public class Program {
public static void Main() {
HeloA.Function1(); // Calling HeloA
}
}
using Au;
public class HeloA {
public static void Function1() {
using (opt.scope.all()) { //recorded
opt.mouse.MoveSpeed = opt.key.KeySpeed = opt.key.TextSpeed = 10;
var w1 = wnd.find(0, "Untitled - Notepad", "Notepad").Activate();
var c1 = w1.Child(1, id: 15); // Edit "Text Editor"
keys.send("^Helo This is Macro class A");
}
}
}
test HeloA.cs(6,3): error CS0103: The name 'HeloA' does not exist in the current context
yeah ... ---
https://prnt.sc/dpkU8f9gn641