Jump to content

New to writing scripts


CcozyD

Recommended Posts

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

Link to comment
Share on other sites

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

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

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