Code: Select all
Program New;
const
book = $2252;
begin
//Body of Script
//findtypeex(book,$0000,banklayer,false);
findtype(book,banklayer);
countex(book,$0000,banklayer);
addtosystemjournal(inttostr(FindQuantity));
end.
Code: Select all
Program New;
const
book = $2252;
begin
//Body of Script
//findtypeex(book,$0000,banklayer,false);
findtype(book,banklayer);
countex(book,$0000,banklayer);
addtosystemjournal(inttostr(FindQuantity));
end.
mixers wrote:findquantity value is 0Code: Select all
Program New; const book = $2252; begin //Body of Script //findtypeex(book,$0000,banklayer,false); findtype(book,banklayer); countex(book,$0000,banklayer); addtosystemjournal(inttostr(FindQuantity)); end.
Code: Select all
findtype(book,ObjAtLayer(banklayer));
yes, that is much better way.Crome696 wrote:Take Info from Item in Bank and Check Parent may help ( untested ) Then you have ID of BankContainer..
Code: Select all
if GetParent(ItemID) > 0 then
BankBox := GetParent(ItemID;