Here is what I'm using for blue detection and it's been working very well. I'm checking inventory every 15-20 minutes and salvaging also.
;Add to the top under $LootGems
$LootBlues = True
;Add between LootRares routine and LootGems routine in the CheckLoot function
If $LootBlues Then
$BlueLoot = PixelSearch(Round(400*$x_ratio), 0, Round(1690*$x_ratio), Round(900*$y_ratio), 0x6969FF, 2) ; blue loot
If Not @error Then
MouseClick ('left', $BlueLoot[0], $BlueLoot[1])
Sleep(Random(700,900))
$i+= 1
If $i <= 6 Then
Call("CheckLoot")
EndIf
EndIf
EndIf