Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Stoping All Functions From Toolbar
#1
Hello Gin, bro i just have 1 last question for you.
I have a ToolBar that opens with Mutiple Windows, and on it the toolbar has several macros and all of these macros run on a window with the same class and name i want to stop all functions without stoping the 1s that are running on the other window. ill show you the code and then go more into detail so that you completly understand. Smile
Code:
Copy      Help
TOOLBAR CODE
Window Functions :mac "Function" "" GetWindow(TriggerWindow GW_OWNER)
Stop Functions On Window:SetProp(GetWindow(TriggerWindow GW_OWNER) "Function" 0)
Code:
Copy      Help
FUNCTION
int w1;err
w1=win("Excel");err
act w1;err
hid w1;err
hid- w1;err
SetProp(w1 "FUNCTION" 1)
spe 15
rep
,if(!GetProp(w1 "FUNCTION")) end
wait 3
act w1



WITH THESE CODES IT ONLY SHUTS DOWN THE ONE FUNCTION, I WANT TO MAKE IT SO THAT IF I PUSH THE STOP BUTTON IT STOPS ALL FUNCTIONS RUNNING FROM THAT TOOLBAR, WITHOUT STOPING ANY FUNCTIONS FROM THE OTHER TOOLBAR, I CAN DO IT FROM THAT TOOLBAR BUT I WOULD HAVE TO MAKE 10 MORE BUTTONS AND I DONT WANT TO DO IT THAT WAY SO IS THERE ANY WAY THAT YOU CAN STOP ALL FUNCTIONS INSTEAD OF 1 WITHOUT MAKING 10 STOP BUTTONS, BECAUSE THERE IS 10 FUNCTIONS THAT ARE IN THE 1 TOOLBAR TYVM BRO IF YOU WANT ME TO EXPLAIN IT SOME OTHER WAY THEN JUST SAY SO I HOPE THIS HELPS YOU  :lol:


Messages In This Thread

Forum Jump:


Users browsing this thread: 7 Guest(s)