From: Nexus Crux
I'd like to be able to use SMART at a size larger than the typical fixed setup for RS3. Is it possible to spawn a larger window with the "resizeable" option enabled in Runescape? Will this mess up pretty much all of the includes?
Yes, it's going to mess up with includes. If you make your own scripts, though, it could be a good idea. To spawn a client with different dimensions, run this simple script:
program CustomizedClientCreator;
{$DEFINE SMART}
{$I SRL-6/SRL.simba}
begin
smartCreateClient(1900, 970); //This is the width and height of the client. (w, h)
end.
To target the client you've just created, open the client's debug window. Notice the number that appears on the left of each sentence there? For example: 'SMART[11036]:'. Get this number (11036 in this case) and write this in the script you are making:
smartSetAsTarget(11036);
The only problem is that you'll have to change that number everytime you create a client. There is probably a way to make the script target the only target available… I'm too lazy to do that now, though :O Been working for me and my simple scripts (One that maintains myself logged in and one that caps in kiln at the citadel).
If you want to make it target automatically, try to use smartGetPIDs. It's a TIntegetArray, so if you know how to work with arrays it should be easy to figure out how to do it. For more SMART funcions go to C:\Simba\Includes\srl-6\lib\misc then open the smart file there.