Jump to content

New to writing scripts


Recommended Posts

Posted

hi, i am completely new to this whole thing so please excuse my shambolic start and subsequent fall at the first hurdle. i have tried to use Explvs awesome and very detailed guide, however when i get to the point where you build the first section i am greeted by two errors. is this something to do with the location of my osbot client in relation to other folders?

 

any help will be greatly appreciated. tia

 

pic attached

Untitled.png

Posted

I hate to say this because it sounds a little mean but I'm saying it in the most friendly way :D 

I suggest you try to learn a little bit of java before diving into scripting.

As for the error it's because your imports need to go first then the @Script manifest then the public final class ExampleScript

You should also remove the  public class testcript{} at the top I don't really understand why you put that there

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...