Thank you Graeme, for your quick response.
I tried the implementation that you mentioned:
_mffind2("hello","WI",'C:\one-project\i5-laptop\',"*.*",'',"64",'0','0','0','');
in my macro, which gets called when I right-click in the 'Projects' window on a folder (because I added a menu item to do that).
I get the following error; however:
This property or method is not allowed on this object
SearchResults.ex 5762 se.search.generate_search_summary(hello,WI,/home/mark/,64,*.*,,,) p_window_id: 77 p_object: OI_TREE_VIEW p_name: _proj_tooltab_tree
bgsearch.ex 4884 start_bgsearch(hello,WI,/home/mark/,64,0,0,*.*,,1,0,0,0) p_window_id: 77 p_object: OI_TREE_VIEW p_name: _proj_tooltab_tree
mfsearch.ex 328 _mffind(hello,WI,/home/mark/,,64,0,0,*.*,,1,0,0,0) p_window_id: 77 p_object: OI_TREE_VIEW p_name: _proj_tooltab_tree
mfsearch.ex 169 _mffind2(hello,WI,/home/mark/,*.*,,64,0,0,0) p_window_id: 33 p_object: OI_EDITOR p_name:
vusrmacs.ex 254 projecttbFindInFolder() p_window_id: 33 p_object: OI_EDITOR p_name:
I think it happens because the 'Projects' window is the current window that has focus; since I start by right-clicking in it.
Can you help me with that error?
Thanks,
Mark