October 26, 201312 yr I want to make sure that an item has been selected in the inventory before continuing my script, how can I go about this as I cannot find an API method for it.
October 26, 201312 yr Quickly looked at the api and you seem to be right that there's no method for it when there should be. By the looks of it you'll have to either loop through interfaces or perhaps its a setting, im not too sure. Try the interfaces first. The other option is to look for the selection colour around the bounds of each slot
October 26, 201312 yr Author Interface doesn't seem to work and checking for color will be very hard to get right as the bounding box doesn't follow the item exactly as the white selection lines does.
October 26, 201312 yr I'm sure you can check the menu options and see that they contain the selected item menu.
October 27, 201312 yr There is a hook for selectedItemName, but osbot doesn't have it - if they did, it would return the latest selected item name Also you could just check that it says use item name ->
October 27, 201312 yr Author There is a hook for selectedItemName, but osbot doesn't have it - if they did, it would return the latest selected item name Also you could just check that it says use item name -> Well I hope they fix that and I think osbot only check's the "use *item*" part of the text and nothing after that.