Duda solventada encontre lo que buscaba en la macro de herreria de alex modificada por boxer
Código:
sub Guardarlote
if %tiquets = no
{
dejar:
findItem %idlote C_ , #BACKPACKID
if #findkind <> -1
{
event drag #FINDID
wait 10
click %cofrex %cofrey p
gosub Guardarlote
}
return
}
if %tiquets = si
{
lote:
findItem %idlote C_ , #BACKPACKID
if #FINDCNT > 0
{
findItem %pap G_3
if #FINDSTACK = 0
{
goto dejar
}
else
{
set #LOBJECTID #FINDID
event macro 17
wait 20
click %gumpx1 %gumpy1 1
wait 20
click %gumpx2 %gumpy2 1
target
findItem %idlote C_ , #BACKPACKID
set #LTARGETID #FINDID (ESTO ERA)
wait 20 (ESTO ERA)
event macro 22 0 (ESTO ERA)
wait 20
goto guardarlote
wait 10
key ESC
click %gumpx2 %gumpx2 r
goto lote
}
}
return
}