Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

[AHK_L] Shell Context Menu


  • Please log in to reply
6 replies to this topic
Deo
  • Members
  • 199 posts
  • Last active: Jan 31 2014 03:19 PM
  • Joined: 16 May 2010

Download

Works on:

  • Unicode x32
  • Unicode x64


Usage Example:

 

#Include ShellContextMenu.ahk

path := "C:\Windows"

ShellContextMenu(path)
sleep 1000
ShellContextMenu(0x0012)
ExitApp

 



					
					

jNizM
  • Members
  • 928 posts
  • Last active: Jan 12 2018 09:23 AM
  • Joined: 01 Aug 2012
Deo...
can you fix your Download & Image 404-Error?
----------------------------------------------------------
2013011814057x42fnseo.jpg

edit: Thx for fix =)
[AHK] 1.1.27.04 x64 Unicode | [WIN] 10 Pro (Version 1709)
My GitHub Profile | Donations are appreciated if I could help you

Sherman
  • Members
  • 52 posts
  • Last active:
  • Joined: 06 Jan 2013

How can this be used with a list of files/folders, rather than a single one?

 



budRich
  • Members
  • 146 posts
  • Last active: Aug 03 2015 08:33 PM
  • Joined: 09 Aug 2011

Great! I have plans for making a file manager in ahk, this script will be very useful for that. Thanks for sharing and happy new year!



budRich
  • Members
  • 146 posts
  • Last active: Aug 03 2015 08:33 PM
  • Joined: 09 Aug 2011

Great! I have plans for making a file manager in ahk, this script will be very useful for that. Thanks for sharing and happy new year!

 

PS.

Can you explain this line:

ShellContextMenu(0x0012)


HotKeyIt
  • Moderators
  • 7439 posts
  • Last active: Jun 22 2016 09:14 PM
  • Joined: 18 Jun 2008

 

Can you explain this line:

ShellContextMenu(0x0012)

0x12 = ssfNETWORK, see ShellSpecialFolderConstants



Sherman
  • Members
  • 52 posts
  • Last active:
  • Joined: 06 Jan 2013

The script seems to support an hwnd argument, but I can't get the resulting member to come up as owned by another window.