Here is a little piece of code that I threw together as a pre-combat button to push to pop engineering gloves + potion. Hope someone else gets some use out of it (change GetItemCount(58091) to your potion ID that you use.
Code:
if UnitAffectingCombat("player") == nil and IsLeftControlKeyDown() then
local _,cd,havecd = GetInventoryItemCooldown("player",10)
if cd == 0 and havecd == 1 then UseInventoryItem(10) end
local count = GetItemCount(58091)
if count ~=0 then UseItemByName(58091) end
return true
end