Jump to content

Eclipse


Recommended Posts

Posted

 

 

Create a new java project going by the name of your desired script like so:

 

aSQcp5u.png

 

Give the project the name. 

 

lnv7GoJ.png

 

Click finish and you've successfully created your workspace project!

 

Now you need to create a new class in which to write your code.

 

gLJl5Gl.png

 

Give the class a name (I suggest 'main' for the tutorial, but you could call it 'cabbages' if you wanted, it doesn't matter!)

 

YxztiUz.png

 

Now all we need is to attach osbot to this directory, so we can utilise the API:

 

oBCduqR.png

 

Then simply navigate to your OSBot.jar and select it.

 

Your eclipse should then look like this:

 

R6ySaGv.png

 

Now let's start writing the script!

 

Taken from here: http://osbot.org/forum/topic/58775-a-beginners-guide-to-writing-osbot-scripts-where-to-get-started-by-apaec/

But IntelliJ is better

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...