Jump to content

Add custom scripts?


Recommended Posts

Posted

If your files are .java, then they need to be compiled to .class.

If your files are .class, then they need to be put into OSBot's script folder (C:/users/you/osbot/scripts).

If you've compiled and packaged your script as a .jar, then that needs to go in there as well.

Also, if you're using Eclipse, check this out:

 

  • Like 1
  • 2 years later...
Posted

I have it in Jar form in C:\Users\***\OSBot\Scripts. I was forced to update eclipse and had it working before hand. It no longer shows up in the scripts even though an executable jar file is in the scripts folder. So I deleted everything to do with eclipse and osbot then reinstalled it. I've followed the setting up eclipse and created a new project but it still doesn't work, any thoughts on what the problem is would be greatly appreciated.

Posted
2 hours ago, Everonimo said:

I have it in Jar form in C:\Users\***\OSBot\Scripts. I was forced to update eclipse and had it working before hand. It no longer shows up in the scripts even though an executable jar file is in the scripts folder. So I deleted everything to do with eclipse and osbot then reinstalled it. I've followed the setting up eclipse and created a new project but it still doesn't work, any thoughts on what the problem is would be greatly appreciated.

Something in the code then. Make sure you have the script manifest and everything set to use java 8.

  • 2 weeks later...

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