MSFN Forum: Very Nice Right Click menu add-on - MSFN Forum

Jump to content


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Very Nice Right Click menu add-on Rate Topic: -----

#1 User is offline   maxXPsoft 

  • MSFN Master
  • Group: Developers
  • Posts: 2,748
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

  Posted 01 July 2004 - 08:08 PM

CMenuExtender << Its FREE!!!

CMenuExtender is a shell extension that lets the user add items to the Explorer right click contextmenu with Icons. Using any registry-editor or the supplied GUI, the user can add submenus and items such as shortcuts to programs, documents, folders, webpages and scripts. CMExt also has some predefined commands for copying, moving and retrieving information on files and directories.

This thing even does the Copy To, Move To, Dos Prompt, URL, Open Doc's, Displays Path and allows Copy and quite a few other things. Works on nearly all files or Folders. HOSTS has no extension so that didn't work is all I found.

You can customize it completely and add what you want. Pick an icon from any dll or exe.
I've done deleted all mine from registry as this is much nicer. The icons aren't real nice but they ok. Most ico are 16 and this uses 13 so minor thing.
BTW did i say source code included CPP or Pascal
I've done added it to my Unattened CD so if you need help with that let me know. Its not a silent installer.

Some Examples>>>Posted Image

Only 1 problem I have found with it is on uninstall even though it is in Add/Remove it don't delete the reg keys. So I whipped this up.
In a cmd file <as you can see I'm using %SystemDrive%\cMenuExtender for folder
start /wait %SystemDrive%\cMenuExtender\cmexted.exe -u
regsvr32 /u %SystemDrive%\cMenuExtender\cmext.dll
regedit /s %SystemDrive%\cMenuExtender\Uninstall.reg
EXIT


Uninstall.reg
REGEDIT4

[-HKEY_LOCAL_MACHINE\Software\Classes\CLSID\{ABC70703-32AF-11d4-90C4-D483A70F4825}]

[-HKEY_LOCAL_MACHINE\Software\Classes\CLSID\{ABC70703-32AF-11d4-90C4-D483A70F4825}]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved]
"{ABC70703-32AF-11d4-90C4-D483A70F4825}"=-

[-HKEY_LOCAL_MACHINE\SOFTWARE\Revenger inc.]

[-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\*\shellex\ContextMenuHandlers\CMenuExtender]

[-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\shellex\ContextMenuHandlers\CMenuExtender]

I did a search and didn't see this anywhere so sorry if someone done it.


#2 User is offline   maxXPsoft 

  • MSFN Master
  • Group: Developers
  • Posts: 2,748
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 13 July 2004 - 05:59 PM

No reply to this. Several have asked for similar thing's. Thought there would be some interest. oh well

#3 User is offline   enuffsaid 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 865
  • Joined: 26-December 03

Posted 13 July 2004 - 06:05 PM

Hey hey! :rolleyes:

Yes, I have asked for this before. I have not read this post till now. And I do thank you for sharing this with me. This looks VERY nice. Just what the doctor orderd.

Thank you for sharing this with me, maxXP!

*click* :)

Kind regards,
eNuffSaid

#4 User is offline   enuffsaid 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 865
  • Joined: 26-December 03

Posted 14 July 2004 - 07:23 AM

Well, gave it a shot. Looks very nice. Small application too.

I have 2 context menu's I've created myself. One is the infamous McAfee trick, and the other is a "Create Playlist." With regard to the latter, I've tried porting the Creat Playlist context menu over to CMExt but I can't get it to work. This is because the output is always written to the user profile rather than the actual directory. I might email the author, but I read he's not developing it anymore.

I'll be doing McAfee next. Don't expect to much problems for this one.

Thanks again for spreading the word!

Kind regards,
eNuffSaid

#5 User is offline   maxXPsoft 

  • MSFN Master
  • Group: Developers
  • Posts: 2,748
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 14 July 2004 - 09:19 AM

Is that Create Playlist with Winamp? Haven't tried that myself yet but think I will mess with it. Anyone else come up with something post.

I had a little difficulty with 1 thing and finally figured it out. I think it will do anything just getting it right. Like using the Append directory or File.

#6 User is offline   enuffsaid 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 865
  • Joined: 26-December 03

Posted 14 July 2004 - 04:25 PM

I'm not sure about Winamp as I don't use it myself that much. I know Winamp will take .pls (?) files and MediaPlayer won't. So the command line I wrote will simply dump a .m3u file with all playable media in a particular directory. It can be very easily changed to output a .pls name. Media extensions can be added or removed easily.

With CMExt I have to tell it from *which* directory I want a playlist created, which is easy, I check the "append directory" box. But I *also* have to tell it WHERE to output the file, and THAT is different every time. I've played with it all night yesterday, and finally gave up. Maybe I'll give it another shot sometime, for now I'll live with having no icon with my "Create Playlist" context menu. I'm doing McAfee first. :)

Thanks again!

#7 User is offline   maxXPsoft 

  • MSFN Master
  • Group: Developers
  • Posts: 2,748
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 16 July 2004 - 06:24 PM

I was Beta testing the new Command Shell for MS and it somehow messed up my Dos here to open command prompt at current dir on files and folders. Strange that even CD D:\Backup wouldn't change to that dir

Heres what i figured out
Append directory and add this with no space at end of it.
/k cd /d
After running that just once CD started working again so it was the Beta doing it somehow. I just left this cause it work's fine.

enuffsaid
Perhaps you could use that somehow too get your command working..

#8 User is offline   enuffsaid 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 865
  • Joined: 26-December 03

Posted 21 July 2004 - 06:47 PM

EDIT...

sorry... i thought I had it working with your tip, but unfortunately not... need more experimenting.

#9 User is offline   enuffsaid 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 865
  • Joined: 26-December 03

Posted 21 July 2004 - 07:00 PM

Max...
perhaps you could be a little more clear on where exactly I should add this "/k cd /d"

should it look like:
<sendfolder /k cd /d>
or
<sendfolder> </k cd /d>

or perhaps even somewhere completely different?

Thanks!

#10 User is offline   maxXPsoft 

  • MSFN Master
  • Group: Developers
  • Posts: 2,748
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 23 July 2004 - 08:42 PM

This is my reg entry for Dos Here
[HKEY_CURRENT_USER\Software\Revenger inc.\CMenuExtender\Contents]
"002_item"="<command>cmd.exe</command><caption>Dos here</caption><commandline>/k cd /d</commandline><icon>pifmgr.dll,0</icon><description>Dos here</description><sendfolder>"


The /d spec's the dir = Changes the current drive or the current directory for a drive.
If you open the CMextEd and double click "Dos Here" the /k cd /d is in Commandline:

#11 User is offline   Jonquil Bloom 

  • Newbie
  • Group: Members
  • Posts: 16
  • Joined: 26-April 04

Posted 24 July 2004 - 07:35 PM

so great!!!! thanks a lot :)

#12 User is offline   enuffsaid 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 865
  • Joined: 26-December 03

Posted 25 July 2004 - 08:09 PM

Hi Max,

Didn't work. :) Tried different locations for placing the /k cd /d, and experimented some more with combinations, but to no avail. It consistently saves my playlist in my user profile rather than the selected directory. Bugger.

Thanks for your help anyway. Still a great app!

#13 User is offline   ChTh 

  • Group: Members
  • Posts: 3
  • Joined: 08-August 04

Posted 08 August 2004 - 06:51 AM

maxXPsoft, on Jul 23 2004, 08:42 PM, said:

[HKEY_CURRENT_USER\Software\Revenger inc.\CMenuExtender\Contents]
"002_item"="<command>cmd.exe</command><caption>Dos here</caption><commandline>/k cd /d</commandline><icon>pifmgr.dll,0</icon><description>Dos here</description><sendfolder>"

Neat. That's a lot smarter than what I use in my un-official, non-released version that corrects the problem.
// Open a command window like cmd /k "d:" && cd "Program"
o.dwOSVersionInfoSize:=sizeof(OSVERSIONINFO);
GetVersionEx(o);
prog_str:='command.exe';
if (o.dwPlatformId=VER_PLATFORM_WIN32_NT) then
  prog_str:='cmd.exe';

fName:=selectedFile;
if (fName='*') then Exit;

dir_str:=Copy(fName, 0, 2);

if (not isDirectory(fName)) then
  fName:=folderFromPath(fName);

cmd_str:='/k '+dir_str+' && cd "'+fName+'"';
ShellExecute(0, 'open', 'cmd.exe', PChar(cmd_str), nil, SW_NORMAL);


If I ever make a new version I'll credit you for that one. :-)

#14 User is offline   maxXPsoft 

  • MSFN Master
  • Group: Developers
  • Posts: 2,748
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 08 August 2004 - 12:03 PM

I like this thing, especially customizing the way you want without hacking dll's which may be replaced today in the next update.

Just haven't figured out what enuffsaid want's to do. I'm sure there's a way if more people would use it and experiment. I tried for about 6 hour's and was close but no cigar yet.

ChTh
Yep gotta look for that cmd.exe in XP
Hmm maybe need's to modify my source??
Does that work out??
Are you modding void wizDoshere(void) in WIZARDS.CPP ???

Beside's this work's in the mainline for this site which is Unattended
I have that working great.

#15 User is offline   ChTh 

  • Group: Members
  • Posts: 3
  • Joined: 08-August 04

Posted 08 August 2004 - 12:38 PM

> Just haven't figured out what enuffsaid want's to do.

I'm not sure either, but a classic solution I told people that mailed me with their problems was to use a .bat-file. Enuffsaid might be able to use something like
@echo off
c:\some_program_you_want_to_use.exe -input_dir %1 -output_dir %1

and direct a menuitem to that file. Using a bat-file you can get more fine-grained control over the commandline arguments. The above example combined with <send_folder> would provide a function that CMExt in it self can't.

> Yep gotta look for that cmd.exe in XP

It works in W2K as well. My version works in W95+, but if yours works in previous Windows-versions, it is more tidy.

> Hmm maybe need's to modify my source??
> Does that work out??

You can compile and build CMExt with Delphi 6 Personal Edition available free from Borland. One of the reasons I cancelled CMExt was that my Delphi 4 didn't work in NT and I didn't know Personal Edition could build CMExt. I only found out 6PE worked with CMExt a few months ago, so now I'm considering making a new version.

#16 User is offline   maxXPsoft 

  • MSFN Master
  • Group: Developers
  • Posts: 2,748
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 10 August 2004 - 05:51 PM

Quote

so now I'm considering making a new version

I guess I woke your site up a little pointing to it from here.
By all mean's do consider that, no one know's your program better than you. Perhap's support the 16 ico's also. This is one thing people want these day's. Ability to right click context menu's instead of hacking dll's. I can hack em but just hate to cause next update may replace them and you back again and with the Window's File protection that's more difficult.

#17 User is offline   Lolly 

  • Junior
  • Pip
  • Group: Members
  • Posts: 57
  • Joined: 15-August 04

Posted 06 September 2004 - 03:20 AM

Niiiice, been surfing the forums today morning and finally ended up on the Windows Tips 'n' Tweaks section, I was looking for additions for the Right-Click-Menu
and I did find it, plus some more, especially the maxxsoft stuff looks interesting.
(he he, sounds a bit like in pr0n-biz, howz about Vivid-software?)
:lol:


Anyways,
Im gonna give these things a try, very cool stuff.

Always wanted to have more stuff on right-click menus, shortcuts to specific folders etc...

Basically, I got lotsa shorcuts on the desktop which does slow down Windows
as it has to keep refreshing a lot, fill up your desktop and try it, its very sucky indeed.
:D

I dont have über-fast-puter and I do need all the available resources if im
using some apps, like Cubase SX etc.

I usually have a one folder on the desktop with all the shortcuts innit but having access
to different folders from right click menu is would be extremely cool.

I hope I get all the things working...

Just wanted to say Thanks! dudes.

:)

#18 User is offline   maxXPsoft 

  • MSFN Master
  • Group: Developers
  • Posts: 2,748
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 06 September 2004 - 12:21 PM

lol
have a look at my desk
Thats why I use this and right clicks on My Computer in Sticky's above
http://maxxpsoft.com/media/mymessydesk.jpg

This post has been edited by maxXPsoft: 25 June 2006 - 04:59 PM


#19 User is offline   Lolly 

  • Junior
  • Pip
  • Group: Members
  • Posts: 57
  • Joined: 15-August 04

Posted 07 September 2004 - 02:45 PM

maxXPsoft, on Sep 6 2004, 07:21 PM, said:


:lol: :lol: :lol:

Yeah, thats the way to go...

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy