Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
End Macro w/ a text sensitive menu
#2
Macro and TS menu run as two programs and know nothing about each other.

Here is simple method (F12 breaks loop):

Code:
Copy      Help
rep
,ifk(F12) break
, ...

If you want to use TS menu, they (macro and TS menu) can communicate through global variable:

Code:
Copy      Help
int+ breakloop=0
rep
,if(breakloop) break
, ...

Above is code for macro, below is TS menu item:

Code:
Copy      Help
ff :int+ breakloop=1


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)