Posts: 43
Threads: 21
Joined: Feb 2013
Hi Gintaras,
Is there a way to do a search in (the wealth of :-)) recorded Acc Events ?
Would you say from your experience that it is difficult to get a macro triggered on an Acc event ?
Regards,
Gert
Posts: 12,079
Threads: 141
Joined: Dec 2002
Cannot search directly.
This macro creates new temporary macro and copies output text there.
Macro
Find in QM output
str s
sub.SciGetText(id(2201 _hwndqm) s)
if(!s.len) ret
int iid=qmitem("QM output text")
if(iid) s.setmacro(iid); else iid=newitem("QM output text" s "" "" "" 128)
mac+ iid
men 33546 id(2213 _hwndqm) ;;Right Editor
key Cf Ca
#sub SciGetText
function hwnd str&s
int lens=SendMessage(hwnd SCI.SCI_GETTEXTLENGTH 0 0)
s.fix(SendMessage(hwnd SCI.SCI_GETTEXT lens+1 s.all(lens)))
Often there is no event (maybe 50% times in my experience). Or so many events, need time to find. Then, if does not work, I usually check Debug.
Posts: 43
Threads: 21
Joined: Feb 2013
Thank you ! This is what I needed and needed to know.
Regards,
GertC