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

Testing a couple of modules #250

Closed
Cyberklabauter opened this issue Jan 28, 2022 · 8 comments
Closed

Testing a couple of modules #250

Cyberklabauter opened this issue Jan 28, 2022 · 8 comments
Assignees

Comments

@Cyberklabauter
Copy link

Cyberklabauter commented Jan 28, 2022

I tested a couple of modules. All in all a2 runs very smooth! Also the framework seems to run very fast and smooth compared to the old activAid. Here are my ideas / feature request for improvements. It seems you looking for, so I send you all my ideas/wishes.

Framework
The “simple dialog” of the "hotkey definition dialog" could recognize and display just a hotkey combination which I press (look at A_ThisHotkey).

Comfort resize
I adapted a script from the ahk forum to my needs. You may want to integrate some ideas of that:

  1. Drag or resize windows in fullscreen mode: Minimize window in fullscreen mode first and do the move or resize action.
  2. Let the resize arrows jump to the borders/edges before resizing (for better usability).
  3. Start resizing also works if the mousekey is located outside of the active window. Cursor jumps to the nearest border/edge.
  4. I postet: my version of the script here. (search for "Modification Cyberklabauter"). The mentioned improvements are added to the script by myself, feel free to use it.

Details popup
Somehow doesn’t work properly. After first entry I still got the message “There is nothing to popup! Apparently there was no data added yet?” Than it started working. after I checked the box “finished after first selected item”. Pasting the item still fails (I getting an empty popup-menu with “cancel” entry only). Keys and values are not saved. After a while my test entries where gone again.

Explorer create file
It would be great, if I could define the fileformat of the textfile (UTF8 and so on)

gTranslate
In MS Word: Selecting the translated entry doesn’t replace the hightlighted source text. Sometime it pastes my clipboard content instead, whatever content it is. In Google Chrome it worked as expected.
Another idea would be, to make use of the text to voice function of the translate.googleapis com. Have a look at this script, which I adapted from teadrinkers in which I have the funtionalty included and gives you an idea how I would like to have it added.

Sometime looking for a german word (auto -> en) results in the same german word (e.g. “Haus” or “egal”). I know that teadrinkers translate skript will return the same word back, if the search did not find something. But an error message may would the better approach.

OCR
I try to use OCR with the german language but alsways get the error message “Can not use language "en" for OCR, please install language pack.” (even I want to use the german language for OCR).
After several attemps a2 stop working cursor remains as crosshairs.

Also a hint, which language pack has to be installed would be helpful. I guess it is the Windows OS language pack.

Test.ahk
In addiotn of the “Error at line 2. Line Text: TestAHK: “Error: This line does not contain a recognized action. The program will exit.” Error message it would be helpful to open an inputbox which let me correct the code. Or even better, to open the “quick code tester” from from geek dude.

Volume control
Using it with an touchpad it quickly results in the errormessage “71 hotkeys have been received in the last 1375ms. Do you want to continue? You may want to fix that by increasing #MaxHotkeys

Really excellent work. I cant wait for the stable release. It will definitly replace some of my own script for the ease of configuration. Thank you!!!

@Cyberklabauter Cyberklabauter changed the title Testing of modules Testing a couple of modules Jan 28, 2022
@ewerybody
Copy link
Owner

ewerybody commented Jan 29, 2022

Hey @Cyberklabauter! Whoaah thats loads of awesome stuff! 😃 Nice thank you so much! 🙏

I don't know when I will be able to go through all of these but I'd rather have them as individual issues in the according places, if that's OK? :)

I'll go one by one and post the links over here...
Oh... eh github is awesome! No need to post the links. It'll list all the references underneath :)

@Cyberklabauter
Copy link
Author

Hi ewerybody,

your welcome! I really like your project. I think espiacially less advanced users will benefit from this framework a lot. I will benefit as well, not having the afford to check, if scripts a compatible with each other (Hotkeys, global variables, ...) and still have the possibility to configure scripts.

I feel happy to spend ideas. Check out, that is helpfull and doable for you.

Sorry for posting all feature request and hints in one post. Not a good style. But since I got children time got really rare. Thank you for sorting all topics in a more logical way!

@ewerybody
Copy link
Owner

Pcheew. OK I put it all in the right places. 🙂 hope its still good that way?
Might be better to talk about the individual pieces.

@Cyberklabauter
Copy link
Author

That's perfect. Thank you!

@ewerybody
Copy link
Owner

Pchew. I think thats more than enough for another release. I'll do that later today.

@Cyberklabauter
Copy link
Author

Yeah. I can't wait 😉 to test it. Thank you for all your work!

@ewerybody
Copy link
Owner

Ok. a2 0.3.2 and a2.modules 0.4.0 are up! 🚀

@ewerybody
Copy link
Owner

Closing this as it was super broad and all sub-items were moved to their own issues.
Thanks again for all the input @Cyberklabauter 🤘

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