Signup Now
Results 1 to 3 of 3

Thread: Resize window.

  1. #1
    Free User
    Join Date
    Dec 2013
    Posts
    54
    Reputation
    10
    Rep Power
    21

    Resize window.

    How do I make a script that resizes a window so it gets bigger?

    It's for a lootseller and when taking the items from depot to my backpack it scrolls through the depot all the time, I would like it to maximize the size of the depot window to the biggest so the bot can take the loot without scrolling. Thanks.

  2. #2
    Free User
    Join Date
    Dec 2013
    Posts
    54
    Reputation
    10
    Rep Power
    21
    uppp, is there any command?

  3. #3
    Free User Cisco's Avatar
    Join Date
    Aug 2014
    Location
    Brazil
    Posts
    1,424
    Reputation
    119
    Rep Power
    23
    Quote Originally Posted by Filleman View Post
    uppp, is there any command?
    https://www.tibiawindbot.com/docs.ht...-resizewindows

    resizewindows( optional number  size ,  optional string  locationname ,  optional boolean  onlyone )


    example:


    local mainbp = 'brocade backpack'
    local bploot = 'green backpack'
    local windowsize = 1000

    if windowcount(Bploot) == 0 and windowcount(Bploot) == 0 then
    while windowcount(Bploot) == 0 do
    openitem(bploot,mainbp,true)
    wait(200,400)
    resizewindows(windowsize, bploot)
    end
    end


    The action will open the main backpack and the loot backpack. In the option "windowsize" you simply increase the number to open the backpack to the desired size or zero to close as much as possible.

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •