Login | |
|
 |
RE: Create a cascading context menu for Internet explorer - 6/27/2008 2:51:57 AM
|
|
 |
|
| |
4scriptmoni
Posts: 192
Score: 0
Joined: 5/3/2007
Status: offline
|
I belive it requires a special ActiveX or .dll. As far as I know Its not something easly done in plain vbs.
_____________________________
Enterprise Microsoft Scripts Exchange, Login/Logout Monitor,TS, Monitoring, Security, AD, etc... http://www.felipeferreira.net
|
|
| |
|
|
|
 |
RE: Create a cascading context menu for Internet explorer - 7/2/2008 1:56:43 AM
|
|
 |
|
| |
Rischip
Posts: 468
Score: 2
Joined: 3/26/2007
Status: offline
|
I like doing DHTML, but sometimes it is really alot harder than it should be.
_____________________________
Rischip Author of - The Grim Linker
|
|
| |
|
|
|
 |
RE: Create a cascading context menu for Internet explorer - 8/4/2008 10:27:39 AM
|
|
 |
|
| |
TNO
Posts: 1064
Score: 10
Joined: 12/18/2004
From: thenewobjective.com
Status: offline
|
Actually, I wrote something for this awhile ago too that is somewhat related: http://www.visualbasicscript.com/m_27971/mpage_1/key_context%2cmenu/tm.htm#27971 The problem is that it is VERY impractical to push items into a submenu without writing a browser plugin. The most viable alternative is to use DHTML like the examples given or what the bookmarklets do and inject a temporary script into the page that does all the work (whether it renders a submenu or opens its own GUI).
_____________________________
To iterate is human, to recurse divine. -- L. Peter Deutsch
|
|
| |
|
|
|
 |
RE: Create a cascading context menu for Internet explorer - 8/4/2008 11:15:22 PM
|
|
 |
|
| |
TNO
Posts: 1064
Score: 10
Joined: 12/18/2004
From: thenewobjective.com
Status: offline
|
Mind posting what you have so far? We might have some ideas for speeding up or cleaning up the process.
_____________________________
To iterate is human, to recurse divine. -- L. Peter Deutsch
|
|
| |
|
|
|
 |
RE: Create a cascading context menu for Internet explorer - 8/8/2008 3:16:25 AM
|
|
 |
|
| |
hpram99
Posts: 10
Score: 0
Joined: 6/27/2008
Status: offline
|
I don't mind at all, but none of it is actually VBS, or any kind of programming/scripting Right now I simply place a registry entry into HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\MenuExt\&Macros\ default = C:\Program Files\Macro Express3\contextmenu.htm The "contextmenu.htm" file contains this: <HTML><BODY ONLOAD='var Shell = new ActiveXObject("WScript.Shell"); Shell.Run("file:///c|/PROGRA~1/MACROE~1/MeProc.exe /ATopMenu");'></BODY></HTML> Macro Express is licenced in our business here and installed on all the PC's, it has menu functionality built it, so the "MeProc.exe /ATopMenu" command is actually launchin a menu to appear. This isn't ideal because of multiple things 1. you loose focus of IE because the menu is actually an entirely separate program (regaining focus requires an extra step because of this) 2. the delay to launch MeProc.exe and then the actuall "TopMenu" macro within the program takes a few seconds, which is terrible from a professional standpoint 3. this is used very frequently, so the extra clicks included are also time consuming it's currently rightclick, click, *wait* click, click I'd be more than willing to hack away at some C++ if it's going to require me doing so, I'm not a programmer, but I'll be damned if I can't get this into a REAL context menu!! Thanks again to all for the suggestions
|
|
| |
|
|
|
 |
RE: Create a cascading context menu for Internet explorer - 8/8/2008 4:12:33 AM
|
|
 |
|
| |
Rischip
Posts: 468
Score: 2
Joined: 3/26/2007
Status: offline
|
What are the Titles of the options that you desire, and what tasks do you wish each option to carry out? I'm not sure it can be done easily in the "popout" manner you desire without an activex control, but we can look into it. Script -> (sub menu pops out) - Option 1 - Option 2 - etc
_____________________________
Rischip Author of - The Grim Linker
|
|
| |
|
|
|
 |
RE: Create a cascading context menu for Internet explorer - 8/8/2008 6:29:56 AM
|
|
 |
|
| |
Rischip
Posts: 468
Score: 2
Joined: 3/26/2007
Status: offline
|
Ok, It appears that you can only ADD single level menu items through the registry.You can replace the ENTIRE contextmenu in a page by cancelling the bubble and showing your own DHTML menu. But you can not ADD cascading menus to the existing context menu without going with COM and implementing IContextMenu. Basically you either list items as single menu items in the default context menu or you go COM.
_____________________________
Rischip Author of - The Grim Linker
|
|
| |
|
|
|
 |
RE: Create a cascading context menu for Internet explorer - 8/11/2008 12:45:34 AM
|
|
 |
|
| |
Rischip
Posts: 468
Score: 2
Joined: 3/26/2007
Status: offline
|
The only issue is.... You have to find one to do what you want, then you have to install it on all the client machines. It is not apart of the default OS.
_____________________________
Rischip Author of - The Grim Linker
|
|
| |
|
|
|
 |
RE: Create a cascading context menu for Internet explorer - 8/12/2008 10:15:06 AM
|
|
 |
|
| |
TNO
Posts: 1064
Score: 10
Joined: 12/18/2004
From: thenewobjective.com
Status: offline
|
DynaWrap or VBA should allow Win32 access yes? Maybe there is a workaround hack for it through those... I still vote for an in page override to create a custom context menu in DHTML. It's the path of least resistance.
_____________________________
To iterate is human, to recurse divine. -- L. Peter Deutsch
|
|
| |
|
|
|
|
|