Hi, it would be very handy to have an option to display "Open with PN2" (together with it's icon) in the context menu of Windows Explorer.
Nice if this could be implemented in the next version, thank's.......
Hi, it would be very handy to have an option to display "Open with PN2" (together with it's icon) in the context menu of Windows Explorer.
Nice if this could be implemented in the next version, thank's.......
That is not a simple registry setting like the current entry itself and would require the creation of a shell extention to do the drawing. Also, I rather dislike the mix of entries with and without icons in the explorers context menu...
Anyway, please open a feature request in SourcceForges Tracker [1].
[1] http://sourceforge.net/tracker/?group_id=45545&atid=443222
Create a shortcut to pn.exe in SendTo folder. Then right click SendTo. You can SendTo workspace files and PN2 will open all the files in that workspace
Or use the shell extension that already exists and ships with PN!
regsvr32 pnse.dll
Voila! Programmer's Notepad on your context menus. This also means that opening lots of files at once works better!
Hi, this post reply to "simon":
Thanks, interesting reply. Looks that's the function I am after. Could you please explain where to find regsvr32 pnse.dll and also how to make it work. (I am running PN 2.0.7.667 on Vista32 home premium).
Succeded to make the shell extension work now!
But there is no PN icon displayed?
Would it be possible for you to include one?
/Thanks
For others that might have the same question as mrtaurus:
regsvr32 is in %WINDIR%\System32 so the path will not be required in a command prompt. pnse.dll should be located in your PN2 installation directory. To register the Shell Extension, open a command prompt (e.g. via Start->Run, cmd), cd into you PN installation directory and execute "regsvr32 pnse.dll" (without the quotes).
If you want to uninstall the Shell Extension again, use the command "regsvr32 /u pnse.dll" (again, without the quotes).
Note: you might need to elevate (login as a user with administrator rights) to perform the registration.
I successfully installed the extension in Vista Ultimate using following method:
1. Right click on "Start->All Programs->Accessories->Command Prompt"
2. Select "Run as Administrator"
3. Click "OK" on the confirmation dialogs
4. On command prompt type:
%windir%\system32\regsvr32.exe "C:\Program Files\Programmer's Notepad\pnse.dll"
Note: If you have installed pn in some other directory please use that.
You must log in to post.