Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Asking very basic command
#2
Code:
Copy      Help
using System;
using Au;

public class Program {
    public static void Main() {
        HeloA.Function1(); // Calling HeloA
    }
}
Code:
Copy      Help
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


Messages In This Thread
Asking very basic command - by Rudeyz - 11-01-2024, 10:26 PM
RE: Asking very basic command - by Rudeyz - 11-04-2024, 05:59 AM
RE: Asking very basic command - by Gintaras - 11-04-2024, 08:06 AM
RE: Asking very basic command - by Rudeyz - 11-11-2024, 06:47 AM
RE: Asking very basic command - by Gintaras - 11-11-2024, 07:29 AM
RE: Asking very basic command - by Rudeyz - 11-15-2024, 09:31 AM
RE: Asking very basic command - by Rudeyz - 12-11-2024, 09:28 AM
RE: Asking very basic command - by Gintaras - 12-11-2024, 10:07 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)