RawTech Posted June 16, 2019 Share Posted June 16, 2019 Hi, When running the client in resizable mode, is there any way to programmatically set the client dimensions, either through the script itself or the CLI arguments? I'm wanting to set the client viewport to 720p or 1080p automatically when I launch the client/script. Thanks Quote Link to comment Share on other sites More sharing options...
Gunman Posted June 16, 2019 Share Posted June 16, 2019 I don't know if there is. Think it's like the original rs client. You could always get a picture of which you want and match it to that size. Quote Link to comment Share on other sites More sharing options...
Token Posted June 16, 2019 Share Posted June 16, 2019 Container container = getBot().getCanvas() .getParent(); while (!(container instanceof JFrame)) { container = container.getParent(); } container.setSize(1920, 1080); 1 Quote Link to comment Share on other sites More sharing options...
RawTech Posted June 16, 2019 Author Share Posted June 16, 2019 That's worked a treat. Thanks @Token Quote Link to comment Share on other sites More sharing options...
ChinaNumbaWon Posted June 16, 2019 Share Posted June 16, 2019 Damn I’m excited to try this out! @Tokenyou the man Quote Link to comment Share on other sites More sharing options...