Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Suggest] Custom Menu Entry #50

Closed
jean3x7 opened this issue Nov 21, 2021 · 6 comments
Closed

[Suggest] Custom Menu Entry #50

jean3x7 opened this issue Nov 21, 2021 · 6 comments

Comments

@jean3x7
Copy link

jean3x7 commented Nov 21, 2021

Please add an option to create custom menu/submenu item with window parameters ex:

"Force Kill": taskkill /f /im %process_name%
"Force Kill PID": taskkill /f /PID %process_id%
"Search Web (Windows Title)": chrome.exe "https://www.google.com/search?q=%window_title%"
"Search Web (Process Name)": chrome.exe "https://www.google.com/search?q=%process_name%"

Checkbox option to choose if want to run hidden

thanks.

@jean3x7 jean3x7 changed the title Custom Menu Entry [Suggest] Custom Menu Entry Nov 21, 2021
@AlexanderPro
Copy link
Owner

Hi jean3x7,

Please, try version 2.15.0

I have added new menu items with parameters:

  • Start Program | Kill Process
  • Start Program | Kill Process PID
    You can add items with parameters to "Start Program" menu. All options for such items are available in the Settings dialog | Menu (Start Program) tab.

@jean3x7
Copy link
Author

jean3x7 commented Dec 8, 2021

Thanks for reply, i tried 2.15.0 version, works, but it prompt to input information.
I suggest to run commands with current window paramentes, ex:

If i created a custom entry to "Force Kill": taskkill /f /im %process_name%

If I open notepad.exe, then click on the menu to "Force delete", the command I run should be: "taskkill /f /im notepad.exe"

SmartSystemMenu will replace %process_name% with "notepad.exe" (current window)

image

@AlexanderPro
Copy link
Owner

Why would you like to have two menu items "Force Kill" and "Force Kill PID", not one? Do you intend to kill several processes by name (e.g. notepad.exe)?

@jean3x7
Copy link
Author

jean3x7 commented Dec 9, 2021

Why would you like to have two menu items "Force Kill" and "Force Kill PID", not one? Do you intend to kill several processes by name (e.g. notepad.exe)?

Whatever, just an example, my suggestion is to create custom menu entry with configurable command using current window parameters like window title, process name, process id, etc.

@AlexanderPro
Copy link
Owner

AlexanderPro commented Dec 11, 2021

Try version 2.15.1

I have added three parameters process_id, process_name, window_title and new menu item Start Program | Kill This Process.
If you would like to add menu items "Search Web (Windows Title)" or "Search Web (Process Name)", use this configuration file: SmartSystemMenu.xml.zip

@jean3x7
Copy link
Author

jean3x7 commented Dec 12, 2021

Thanks, this will be enough to extend the functionality for any situation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants