saleguas/context_menu

More granular control over when to show context menu

m-haisham opened this issue · 4 comments

For example:

  • File type
  • Location

I'm planning on implementing file type in the future, and can you specify exactly what you mean by location? Thank you.

C:/Users/*/Downloads for specific directory
C:/Users/*/Downloads/* for all directories inside downloads
C:/Users/*/Downloads/** for all files inside downloads

I'm not sure if this is possible but would be fantastic to have.

also how much information do we get to play with when deciding to display context menu

I'm not currently sure how to activate on a specific directory, but it is a really cool feature. The information you get is deciding what type of section you want to fire on (folder background, files, etc.) and there is a table in the README describing this behavior. I'm planning on implementing opening on specific files in the future but for now that is all.

Having more than one context menu is overwriting each other ? Any thoughts on that ?
I have two files - simple_menu.py (type=FILES) , restore.py (type=DIRECTORY_BACKGROUND)
But after compiling I see two restore.py context menu only in the background. not sure how simple_menu is lost.