So, thanks Bruce: I have subj.
Active buttons I've put to bar called "Bar-Main"
HookWindowEvents has element with .hook
Hook.powerpro:
; in startup script I put:  global ABCount=0
ABcountC=cl.getactivebuttons("Bar-Main") ;; how many AB we have
if (ABcountC) ABcountC=1 ;; if ABcountC is empty yet
if (ABcount = ABCountC) Quit
  ; 34 - I have buttons before AB, +500px – till my info-bar at center 
of the screen
*Script if (ABcountC != ABCount) do
    cl.SetWidth("Bar-Main", 2, 500/ABcountC)
    ABCount=ABcountC
    cl.Redisplay("Bar-Main")
endif
; PP may not respond for up to 7 sec.



Reply via email to