Jump to content

Changing OSBOT window title from command line?


jameslatham123

Recommended Posts

44 minutes ago, Khaleesi said:

Not sure about that but I know you can do it in the script
 


        for (Frame frame : Frame.getFrames()) {
            if (frame.isVisible() && frame.getTitle().startsWith("OSBot")) {
                SwingUtilities.invokeLater(() -> frame.setTitle("YOUR TITLE HERE"));
                break;
            }
        }

 

Thankyou. Can probably do this from my Java application itself 

Link to comment
Share on other sites

1 hour ago, Czar said:

Nice, got a few users saying it helps with getting not detected too, don't forget to change the icon to match the OSRS launcher icon if you are heading that route ^^ 

Hey Czar,

Can you give any recommendations about how to accomplish this?

I'm also interested in knowing how to do this via command line if anybody can suggest how to do so. I was using 3rd party tool, but it's not automatable as easily.

Link to comment
Share on other sites

3 hours ago, Kiji said:

Hey Czar,

Can you give any recommendations about how to accomplish this?

I'm also interested in knowing how to do this via command line if anybody can suggest how to do so. I was using 3rd party tool, but it's not automatable as easily.

Use Khal's given code in a java program to change the window title. Loop it and assign IDs to clients' titles that you change.

 

 

  • Like 1
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...