Jump to content

Two questions


jacksonadams861

Recommended Posts

Don't think it's in Osbot API..

 

Why do you need a clients API for that?

it's basic Java, you can make it yourself in 5 minutes..

 

Khaleesi

 

Oh with the other bot I use you have to use Util.getWorkingDirectory().toString() to get the directory to write to. Is that not needed for OSBot?

 

Also anyone know how to make the keyboard write faster :3

Also how can I change the account on a bot without having to add a new one.

Edited by jacksonadams861
Link to comment
Share on other sites

Oh with the other bot I use you have to use Util.getWorkingDirectory().toString() to get the directory to write to. Is that not needed for OSBot?

 

Also anyone know how to make the keyboard write faster :3

Also how can I change the account on a bot without having to add a new one.

 

I'm confused, are you trying to get the working directory or trying to write a file in the working directory? If you're coming for a bot that has API to create files, you might want to unlearn everything you gained while you were there. 

 

https://docs.oracle.com/javase/7/docs/api/java/io/File.html

  • Like 1
Link to comment
Share on other sites

I'm confused, are you trying to get the working directory or trying to write a file in the working directory? If you're coming for a bot that has API to create files, you might want to unlearn everything you gained while you were there. 

 

https://docs.oracle.com/javase/7/docs/api/java/io/File.html

 

I know how to write files with java... I just wanted to know if you had to write files to a certain working directory. Or if we can write files to anywhere.

Link to comment
Share on other sites

Okay thank you, and how about making the keyboard type faster. Any ideas?

 

So far I have seen there is no method to change the rate of chars written. Only mouse speed can be adjusted.

Write a file containing my GUI variables and read that file again.

 

You could use http://ini4j.sourceforge.net/ too. Pretty simple. Works like a charm. 

 

 

 public static void setIni() throws IOException
         {
                 Wini ini = new Wini(new File(Data.ini.getAbsolutePath()));
                 ini.put("Settings", "Version", Data.MAJOR_VERSION + "." + Data.MINOR_VERSION);
                 ini.put("Settings", "Theme", "org.pushingpixels.substance.api.skin.SubstanceGraphiteGlassLookAndFeel");
                 ini.put("Settings", "Download", Data.DOWNLOAD_FILES);
                 ini.put("Account", "Username", "");
                 ini.put("Account", "Password", "");
                 ini.store();
                 
         }
Something I made a while back. Perhaps you could use something of it and have a example. Edited by Psvxe
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...