ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > Coding Snacks

ControlZ x times

<< < (6/7) > >>

Ath:
Do you mean the keys to send should be configurable or that my program has a configurable hotkey?
-KodeZwerg (September 10, 2020, 01:48 AM)
--- End quote ---
Yes and yes.

KodeZwerg:
Do you mean the keys to send should be configurable or that my program has a configurable hotkey?
-KodeZwerg (September 10, 2020, 01:48 AM)
--- End quote ---
Yes and yes.
-Ath (September 10, 2020, 01:06 PM)
--- End quote ---
Ouch and Okay.... a micro bit too late for todays release what might be last release.
Configurable Keys that can be send I will integrate if that what I today present is useable at all.
My own application and Hotkey there might be a chance that I integrate such aswell even if for myself I consider it very dangerous.
(pressing hotkey while wrong process is/was selected might end bad...)






SendKeys (c) KodeZwerg

Version: 0.0.0.1
Version: Contro-Edition
Version: working Alpha

Q: Whats the point?
A: This application will send keys to any third-party target application.

Manual:
1. Start application. Try 32 or 64 bit to find your target.
2. Choose by Icon or Executable or Title a target process.
3. Adjust loops.
4. Push "Send CTRL-Z to selected" if you think you know what you are doing.

Personal Comments:
I do not know if I am able to continue this project.
Because of that you get what I have done so far.
Why I might step-back from this project:
To track 32 and 64 bit processes within one build is for me ATM not possible.
I would need to invest time to that matter, what I currently can not spend.
Filter out more "unwanted" results needs also more research.

Warning:
I do not much error checking in that programming state (alpha),
during that stage I do push up code to do what I want.
Due to that,
if you have selected a wrong Item it might result in strange Windows behavior!!!
If I did not told you that,
if you have selected a wrong Item it might result in strange Windows behavior!!!
That said, if you select correct Item and press button all should work flawless.
Anyway, do not blame me for errors.

Limitations:
for now the only keys that will be send are "CONTROL + Z".
my application does not have it's own hotkey by now, so don't search.
32 bit build works for 32 bit applications,
64 bit build works for 64 bit applications.
loop range is from 1 up to 99.
listview does not autoupdate itself, you must re-run my application.

How it works:
1. Gather all Window-Handles together
2. Filter out alot of unwanted entries
3. collect more info for remaining entries
4. fill results in a listview
5. wait for user to select something
6. wait for user to press button
7. execute my sendkey method
7-1. bring target process window to foreground
7-2. send keys to whatever window is in foreground
7-3. jump to 7-1 until loop ends
8. done.


//edit
ps: for now it is still overloaded with too much results, thats why I also added "Title" "Handle" and "PID" so you may determine the correct process.

Here you see 64 bit in action where I have choosen Notepad as my target.

Contro:
I'll take a good look with time and comment !
Best Regards

Contro:
Trying
ControlZ x timesControlZ x times

I don't understand what I have to do with this screen. So I will try anyway.

it works it works !!!!1  :-* :P
But I need something else
ControlZ x times

Initially I thought only act in the active tab or in the indicated by the path in SendKeys window. But I can select in SendKeys any tab, and apply in the final tab selected. So the real tab is the selected tab in the case of pspad. And this is good for me...
Why the limit is 99 keystrokes ?

 :tellme:

KodeZwerg:
Why the limit is 99 keystrokes ?-Contro (September 11, 2020, 02:12 PM)
--- End quote ---
Since I've thought 99 would be okay as a maximal value.
If I need to undo more that 99 times I have done something wrong was my thought.
In my newest edition "SendKeys32" there is also that limit but you have a hotkey to invoke "Send again".
You find SendKeys32 inside N.A.N.Y. 2021 forum.

In that edition it is also alot easier finding correct target, I've heavily used filters  :-*

Enjoy  :Thmbsup:

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version