Jump to content
Sign in to follow this  

Create context menu items for .bmp, .gif, .jpg

Recommended Posts

I've been able to create context menu items for all files: "*" but I want to only show my context menus options for the file types my app supports.

This is what I have that works for *all* files using '*':

for $i = 1 to $iEnabledMonitors
    regwrite("HKCR\*\Shell\" & $sAppName & " " & $i,"", "REG_SZ", "Set as display " & $i & " background...")
    regwrite("HKCR\*\Shell\" & $sAppName & " " & $i & "\command","", "REG_SZ", @ScriptFullPath & " " & $i & "=%1")

I've tried putting in '.bmp' in place of '*' but the context menu doesn't display when I right click on .bmp files.

What am I doing wrong?


Sean Shrum :: http://www.shrum.net

All my published AU3-based apps and utilities

'Make it idiot-proof, and someone will make a better idiot'


Share this post

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...