View unanswered posts | View active topics It is currently Fri May 24, 2013 10:49 pm



Post new topic Reply to topic  [ 7 posts ] 
 ...intercept menu item activation? 
Author Message
BBAdult
User avatar

Joined: Sat Sep 20, 2008 9:13 pm
Posts: 29
Location: Србија
Reply with quote
Post ...intercept menu item activation?
I've been using bbLeanMod which had mru.rc (most recently used) menu that was updated in real time. Now I've switched to bbLean 1.17.1 (because of UTF8 and some other things) and I'm missing that MRU thing. I could write a plug-in to catch @bbCore.exec bro@ms, but I don't know how to catch items activated via start menu as they don't broadcast any bro@ms. And I'm missing this MRU feature mostly when I'm forced to dig through start menu items in blackbox menu, so doing plug-in for handling just @bbCore.exec bro@ms doesn't cut it. Please help.


Mon Jan 23, 2012 7:42 am
Report this post
Profile
Sponsored Links
Google Adsense


BBDinosaur
User avatar

Joined: Wed Dec 13, 2006 7:33 pm
Posts: 263
Location: Pretoria, South Africa
Reply with quote
Post Re: ...intercept menu item activation?
The auto-generated menus (like the Start menu) are handled through a different path in the menu code than th rest, because they are populated from special OS folders and often require more information that the standard shortcuts that we create manually. Due to this everything is handled internally by the menu code and never goes via the normal br@om interface or anything else that plugins can see.

While I don't have bbleanmod's code in front of me right now, I'm reasonably sure that they added a small bit of code into the execute function that all executables and links go through eventually when they get executed by the shell. That's unfortunately something that would need to get patched into the core to work.

_________________
Try boxCore! :)
boxCore homepage. Forum thread on lostinthebox.
Bugs, Feature requests


Mon Jan 23, 2012 11:06 am
Report this post
Profile WWW
BBAdult
User avatar

Joined: Sat Sep 20, 2008 9:13 pm
Posts: 29
Location: Србија
Reply with quote
Post Re: ...intercept menu item activation?
Thanks for reply.

Guess I'll have to wait for BlackboxZero 1.17.1 to come out, since according to it's change log, RecentItems support has been added from bbLeanMod. (Or is it already out, but I can't find a link?)


Mon Jan 23, 2012 8:00 pm
Report this post
Profile
BBSage
User avatar

Joined: Sat Dec 02, 2006 1:58 am
Posts: 112
Location: Wausau, WI
Reply with quote
Post Re: ...intercept menu item activation?
I also added them to the 1.16 version of bbClean.. Only new functionality I didn't borrow from bbLeanMod while enhancing bbClean was the VI shortcut keys.


Sat Jan 28, 2012 2:54 am
Report this post
Profile YIM WWW
BBAdult
User avatar

Joined: Sat Sep 20, 2008 9:13 pm
Posts: 29
Location: Србија
Reply with quote
Post Re: ...intercept menu item activation?
I've used bbLeanMod based on bblean 1.16 but then decided to switch on bbLean 1.17.1 because of UTF8, blackbox.startup.run and few other things that mattered to me more than menu icons and RecentItems in menu... So I wouldn't go back to something without UTF8 just for RecentItems option.

Today I've found out about BB_TASKSUPDATE and TASKITEM_ADDED messages (I'm new to programing plugins)...
I guess those could be used to make a plugin that will organize most recently and most frequently used tasks and store a list in a menu file. Am I wrong?


Sat Jan 28, 2012 12:48 pm
Report this post
Profile
BBChild

Joined: Thu Mar 22, 2012 9:15 am
Posts: 8
Reply with quote
Post intercept menu item activation
Hi Sanigo

I would like to implement this menu Item in my muCommander as well. But can you also provide your tools.xml file. And then all I need to do is coping tools.xsd and tools.xml to that folder, right?

Cheers, Nicolas


Sun Mar 25, 2012 10:42 am
Report this post
Profile
BBChild

Joined: Thu Mar 22, 2012 9:15 am
Posts: 8
Reply with quote
Post intercept menu item activation
Working through code to create a menu system dynamically using ColdFusion. I already have the query returning the proper results but I need to attach each top level nav item to a corresponding image.

Ive searched in the forums and looked through the help files but find no mention of this capability. Is this possible?


Fri Mar 30, 2012 12:03 am
Report this post
Profile
Sponsored Links
Google Adsense


Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.