-
-
Notifications
You must be signed in to change notification settings - Fork 39
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
Invoking superf4 xkill from CMD #39
Comments
You mean like In the mean time, maybe you can create a bat file named |
That's a good idea. I will have to set that up. What I mean is in Linux, if you run "xkill" it reacts the same way as superf4 when you right-click > click xkill. I would get a larger skull/cross appear if I was in a native Linux environment similar to superf4 where I can just click on an application to invoke killall on that application. If it wouldn't be feasible in this application, I understand. I just thought it would be neat. |
Oh. You are correct. I haven't used the Yes, we should totally add that ability to SuperF4.. Or maybe I'll just rip out the xkill functionality into its own mini program. |
Okay.. some months have passed, and today I finally gave this a try. I made a separate program,
Differences from xkill in SuperF4:
Let me know what you think! |
Yes!!! This is exactly what I was looking for!
Here is a video demonstrating how I pictured using this application:
https://drive.google.com/uc?id=1X0jAoNXHH79x5-8JXV6tnaFwwqAyLBcJ
And now I finally can. Thank you!!!
…-Kevin
On Sat, Apr 4, 2020 at 9:31 PM Stefan Sundin ***@***.***> wrote:
Okay.. some months have passed, and today I finally gave this a try. I
made a separate program, xkill.exe, that is basically the xkill
functionality from SuperF4, but activated when the program is started and
exits immediately after killing a program or when cancelled.
- Branch: https://github.com/stefansundin/superf4/tree/xkill
- Binary: xkill.zip
<https://github.com/stefansundin/superf4/files/4432889/xkill.zip>
Differences from xkill in SuperF4:
- Can't use the Escape key to cancel. Use the right or middle mouse
buttons.
- It does not use any keyboard or mouse hooks. I wanted to make an
attempt without hooks first, the code is less complicated and it seems to
work ok. If you cancel with the right mouse button, the window you had
focused will lose focus for a moment as a result of this.
Let me know what you think!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#39 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACV242RPKHPHI5BZPZ5IUILRK73RPANCNFSM4J3VMS6Q>
.
|
What's wrong with Windows' built-in |
@Synetech @stefansundin is there any location that stores the application that gets killed? I'd like to add to my This is what I do currently:
rkill would be something like
|
It's an interesting idea. I took a stab at it.
This new version outputs the path to the process that is about to be killed. This requires that a console window is used, so this new version may not be ideal if you launch it in other ways. So if you launch
I wrote this .bat file which captures the output and launches it similar to what you were doing.
The program now exits with error code 1 if you aborted the killing with the right mouse button (or if the Alternatively, it may be better to just have xkill launch the program instead. That way there isn't a need for the console window. Anyway, have fun with it and let me know how it works. |
That was much faster than expected and very appreciated! So this allows me to do exactly as was envisioning. Here is the command I am using that I will probably put into an
and here it is with a few example programs: I use So I think what works best is to simply use this (omitting the
It might be nice for folks (in case this isn't too niche and others would want to do it) like you said:
Either way, this is good enough for me. Thank you so much! |
why not simply adding a cmdline arg to the existing exe?
|
It would be super neat to invoke SuperF4 from CMD. This would allow adding an alias for the command to the windows command in WSL bash environment and make me feel more like I am using Linux.
The text was updated successfully, but these errors were encountered: