Yashied Posted September 26, 2009 Posted September 26, 2009 Who knows a way to integrate custom items into the Desktop popup menu (without use of third-party utilities, only AutoIt and WinAPI)?Thanks. My UDFs: iKey | FTP Uploader | Battery Checker | Boot Manager | Font Viewer | UDF Keyword Manager | Run Dialog Replacement | USBProtect | 3D Axis | Calculator | Sleep | iSwitcher | TM | NetHelper | File Types Manager | Control Viewer | SynFolders | DLL Helper Animated Tray Icons UDF Library | Hotkeys UDF Library | Hotkeys Input Control UDF Library | Caret Shape UDF Library | Context Help UDF Library | Most Recently Used List UDF Library | Icons UDF Library | FTP UDF Library | Script Communications UDF Library | Color Chooser UDF Library | Color Picker Control UDF Library | IPHelper (Vista/7) UDF Library | WinAPI Extended UDF Library | WinAPIVhd UDF Library | Icon Chooser UDF Library | Copy UDF Library | Restart UDF Library | Event Log UDF Library | NotifyBox UDF Library | Pop-up Windows UDF Library | TVExplorer UDF Library | GuiHotKey UDF Library | GuiSysLink UDF Library | Package UDF Library | Skin UDF Library | AITray UDF Library | RDC UDF Library Appropriate path | Button text color | Gaussian random numbers | Header's styles (Vista/7) | ICON resource enumeration | Menu & INI | Tabbed string size | Tab's skin | Pop-up circular menu | Progress Bar without animation (Vista/7) | Registry export | Registry path jumping | Unique hardware ID | Windows alignment More...
JScript Posted September 26, 2009 Posted September 26, 2009 It is not an easy task...This example add "Empty Recycle Bin" to the Desktop Context Menu:Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\Directory\Background\shellex\ContextMenuHandlers\Recycle Bin] @="{645FF040-5081-101B-9F08-00AA002F954E}"But...1 - Needs an "CLSID"2 - "InProcServer32" with corresponding DLL (The OS ONLY reads the entrance of an DLL...)3 - You would need to create an situation similar to this...Or...You can HOOK this PopUp MenuThe maximmun that I got was that:#include <GuiMenu.au3> #include <GuiConstantsEx.au3> #include <WindowsConstants.au3> Global $vAbout $hSystemMenu = _GUICtrlMenu_GetSystemMenu(GUICreate("Hook System Menu")) _GUICtrlMenu_GetItemCount($hSystemMenu) _GUICtrlMenu_AppendMenu($hSystemMenu, $MF_SEPARATOR, 0, "") _GUICtrlMenu_AppendMenu($hSystemMenu, $MF_STRING, $vAbout, "&About AutoIt") GUISetState(@SW_SHOW) GUIRegisterMsg($WM_SYSCOMMAND, "WM_SYSCOMMAND") While GUIGetMsg() <> $GUI_EVENT_CLOSE WEnd Func AboutAutoIt() MsgBox(4096, "About", "The AutoIt version is: " & @AutoItVersion) EndFunc ;==>AboutAutoIt Func WM_SYSCOMMAND($hWnd, $Msg, $wParam, $lParam) If BitAND($wParam, 0xFFFF) = $vAbout Then AboutAutoIt() EndFunc ;==>WM_SYSCOMMANDI am also crazy for knowing how to do that http://forum.autoitbrasil.com/ (AutoIt v3 Brazil!!!) Somewhere Out ThereJames Ingram Download Dropbox - Simplify your life!Your virtual HD wherever you go, anywhere!
JScript Posted September 30, 2009 Posted September 30, 2009 Does nobody have interest in this? http://forum.autoitbrasil.com/ (AutoIt v3 Brazil!!!) Somewhere Out ThereJames Ingram Download Dropbox - Simplify your life!Your virtual HD wherever you go, anywhere!
Yashied Posted October 11, 2009 Author Posted October 11, 2009 (edited) Take a look at this...Who knows a way to integrate custom items into the Desktop popup menu... Edited October 11, 2009 by Yashied My UDFs: iKey | FTP Uploader | Battery Checker | Boot Manager | Font Viewer | UDF Keyword Manager | Run Dialog Replacement | USBProtect | 3D Axis | Calculator | Sleep | iSwitcher | TM | NetHelper | File Types Manager | Control Viewer | SynFolders | DLL Helper Animated Tray Icons UDF Library | Hotkeys UDF Library | Hotkeys Input Control UDF Library | Caret Shape UDF Library | Context Help UDF Library | Most Recently Used List UDF Library | Icons UDF Library | FTP UDF Library | Script Communications UDF Library | Color Chooser UDF Library | Color Picker Control UDF Library | IPHelper (Vista/7) UDF Library | WinAPI Extended UDF Library | WinAPIVhd UDF Library | Icon Chooser UDF Library | Copy UDF Library | Restart UDF Library | Event Log UDF Library | NotifyBox UDF Library | Pop-up Windows UDF Library | TVExplorer UDF Library | GuiHotKey UDF Library | GuiSysLink UDF Library | Package UDF Library | Skin UDF Library | AITray UDF Library | RDC UDF Library Appropriate path | Button text color | Gaussian random numbers | Header's styles (Vista/7) | ICON resource enumeration | Menu & INI | Tabbed string size | Tab's skin | Pop-up circular menu | Progress Bar without animation (Vista/7) | Registry export | Registry path jumping | Unique hardware ID | Windows alignment More...
Enforcer Posted October 11, 2009 Posted October 11, 2009 (edited) Ok, today I so many info about this... (was interested in this) And heard that IN WIN XP we can use ONLY Active X Functions LIKE JSCript wrote: ==== [HKEY_CLASSES_ROOT\Directory\Background\shellex\ContextMenuHandlers\Recycle Bin] @="{645FF040-5081-101B-9F08-00AA002F954E}" <<<<<<<<<<<<<<<< ==== BUT in WIN VISTA here: HKEY_CLASSES_ROOT\Directory\Background\ exist key called "shell" and there we can create eny new item like i did on my picture... p.s: was idea to create simple script and add few items like: Next Wallpaper Prev Wallpaper e.t.c Edited October 11, 2009 by Enforcer [RU] Zone
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now