August 22, 20196 yr Can I change the window title from the command line? Need to do this to help with my bot management program I’m writing, thanks.
August 22, 20196 yr 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; } } Edited August 22, 20196 yr by Khaleesi
August 22, 20196 yr Author 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
August 22, 20196 yr 1 hour ago, jameslatham123 said: Thankyou. Can probably do this from my Java application itself Goodluck! ^^
August 22, 20196 yr 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 ^^
August 22, 20196 yr 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.
August 22, 20196 yr Author 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.
Create an account or sign in to comment