Giter VIP home page Giter VIP logo

marius-sucan / keypress-osd Goto Github PK

View Code? Open in Web Editor NEW
335.0 335.0 35.0 154.69 MB

This program is an On-Screen Display or a Heads-Up Display for keys. It displays every key press at a clearly visible text size. It is developed for people with poor eye sight. It is meant to aid desktop computer usage. It is especially useful while chatting or for occasional typing. The user no longer has to squint or zoom in the entire screen to see what s/he writes in small text fields.

Home Page: https://keypressosd.com/

AutoHotkey 96.02% HTML 3.96% Batchfile 0.02%
ahk autohotkey desktop-computer disabilities disability eye-strain eyesight handicap impairments keyboard-layout mouse-cursor osd presentations recording screencast screencast-recording utility-application videos visual-aid

keypress-osd's People

Contributors

i-give-up avatar marius-sucan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

keypress-osd's Issues

Using KeyPress-OSD with OBS Studio Window Capture

Is it possible to use KeyPress-OSD with OBS Studio when using Window Capture mode (i.e., not Display Capture)? With the default configuration OSD is not seem to be recorded with Window Capture.

Whitelist application

Hello,

How can i restrict the Keypress OSD to only works when a specific application is focused ?

Allow global keyboard shortcuts to pass through to another application

Environment: Windows 8.1, Keypress OSD v4.28.6

I'm trying to use KeyPress OSD along with OBS Studio so that I can show typed keys and mouse clicks when recording my screen.

In both KeyPress OSD and OBS Studio, I have set Ctrl + F12 as the key to toggle activate/deactivate.

The issue is that when I press Ctrl + F12 to deactivate both KeyPress OSD and OBS Studio, KeyPress OSD deactivates just fine but OBS Studio doesn't (i.e. it continues to record). What I'm guessing is that KeyPress OSD intercepts the keys but doesn't pass it through so OBS Studio never receives/detects the keys.

As a sidenote, I've used OBS Studio together with a modified version of ripple AHK script before with a shared hotkey Ctrl + F12 so I know it's possible to toggle both at the same time. The modification involves setting Ctrl + F12 as the hotkey to activate/deactivate the ripple AHK script.

"Shrink text to fit" changes font family and weight

Enabling the setting "Shrink text to Fit" (Preferences > OSD appearance) causes KeyPress OSD to ignore the font family settings. The font weight is also being increased no matter the shrink setting, one weight if disabled or full-on to bold if enabled.

I located the lines responsible and while I'm not sure if my quick fix breaks something else it's a starting point, I guess.

In the CreateOSDGUI() function:

(...)
    If (ShowPreview=0 || PrefOpen=0)
       ; Gui, OSD: Font, c%OSDtextColor% Bold, %FontName%, -wrap  ; FIX: Remove "Bold"
       Gui, OSD: Font, c%OSDtextColor%, %FontName%, -wrap
    Else
       Gui, OSD: Font, c%OSDtextColor%, -wrap
(...)
If (PrefOpen!=1)
    {
       FontSizeHorizProgress := (FontSize<60) ? Round(FontSize/5.5) : Round(FontSize/10)
       If (FontSize<20)
          FontSizeHorizProgress := Round(FontSize/2.9)
       If (FontSize>130)
          FontSizeHorizProgress := Round(FontSize/15)
       If (FontSizeHorizProgress<9)
          FontSizeHorizProgress := 8
       ; Gui, OSD: Font, s%FontSizeHorizProgress%, Arial  ; FIX: Switch "Arial" to user-set FontName
       Gui, OSD: Font, s%FontSizeHorizProgress%, %FontName%
       Gui, OSD: Add, Text, x+0 -wrap vTextNavPrev, ----------------------
       GuiControl, OSD: Move, TextNavPrev, h%smallLEDheight%
       GuiControl, OSD:, TextNavPrev, 
    }

There's a third Font definition using Arial in this function, but I didn't touch it since changing these lines already solved the issue.

I hope this helps, and thanks for the fantastic app!

[Feature request] Relative OSD position

1. Request

It would be nice, if you add an option — relative OSD position.

For example, it would be nice, if would be possible position OSD in center and bottom of current window.

This was implemented in @tmplinshi KeyPress OSD version.

2. Expected behavior

Demonstration of tmplinshi version:

Demo

3. Argumentation

I record screencasts with OSD.

3.1. Center position

It would be nice, if OSD would be located in the center. Screencasts of the screen will be more beautiful.

Center

In your KeyPress OSD version I don't know, how I can place OSD in the center.

3.2. Different programs

Different programs have different GUI size and different GUI position on the screen.

If I use your KeyPress OSD version:

    I need to change OSD position each time.

Elif I use tmplinshi version:

    I don't need manually set OSD position.

4. Not helped

PreferencesOSD appearences → I don't find, how I can get expected behavior.

Thanks.

Download of repo blocked due to threat detected by virus checkers (Generik.NESNPKT)

Just as a heads-up, the following is being detected by multiple virus checkers as a potential Trojan in your .zip archive: Generik.NESNPKT You may want to doublecheck your system for potential issues and verify that your commercially available build does not have this same issue.

The warning logged by one checker was as follows:

HTTP filter;file;https://raw.githubusercontent.com/marius-sucan/KeyPress- OSD/master/keypress-osd-compiled.zip;a variant of Generik.NESNPKT trojan;connection terminated;{removed)(removed);Event occurred during an attempt to access the web by the application: C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

This particular issue set off both ESET NOD32 and Sophos checkers so it may not be entirely a false alert.

Localization for other Languages avaliable?

Is there support to display the pressed keys in a different language (german)?
If not, where would I need to change the display text without breaking the script? (no ahk experience)

Make the OSD not disappear

Hi there!
I've got no idea if this is the right place to ask this. But I'm having trouble finding a way for the onscreen display to never disappear, even after several seconds from the last key pressed. Is there a way for doing this?

Thank you very much!

Multiple monitors change OSD position A B

Here's a strange issue/use case.

The KeyPress OSD is by default displayed on the primary screen (which is cool) and I'd want to be able to switch it to a secondary screen using the A/B positions. The problem is I can't set a negative value for the positions (secondary monitor is to the left and set as extended display if that's important).

This issue can be bypassed if I use the Drag OSD option, but it only lasts until I close the script - the Drag OSD option does set a negative value for the A/B position as it works as I would expect it to and it is also reflected in the OSD appearance. However, the values aren't saved.

[Feature request] Disable Shift+key, if showing single keys are disabled

1. Request

If Show single keys disabled in settings:

    It would be nice, if Shift+key will disable.

key — any key in keyboard.

2. Justification

Shift+key function:

  1. Input capital letter,
  2. Input another symbol.

If I disable Show single keys, I want, that displayed only hotkeys, but not text, that I input.

3. Actual behavior

Actual

4. Expected behavior

No OSD in example above.

Thanks.

Black bar is horrible.

How to make the shading only be behind the text? or at least make the shading MUCH less obvious?

Also how to make the keypress text be in a static position?

Ripples on mouse clicks cropped on the right edge and bottom edge

Environment: Windows 8.1, Keypress OSD v4.30.0

I checked "Ripples" under "Preferences > Mouse". Issue happens even with default Size/Thickness/Speed.

Whenever I click, the ripples seem to be cropped at the right edge and bottom edge. Below is a series of screenshots I've taken from a screen recording. Each click is a bit different but the cropping is visible.

mouseclick_ripples

Alternatively, here's a link to the screen recording.

It's fairly noticeable for Speed values up to 15. At Speed = 16, it's slightly noticeable. At Speed = 17, you can't really see it.

Another thing that would work is to lower Thickness to say 3 or 4, but the preferences doesn't allow you to go below 5 for that.

Reduce the size of the repository

Disclaimer: I'm still a beginner in Git/GitHub so what I say below may have inaccuracies. Please take backups and/or test with test repositories in case something goes wrong.

I cloned this repository using git clone https://github.com/marius-sucan/KeyPress-OSD.git and found the folder size to be about 110MB. This is surprising because the files themselves (including the zip) is just about 10MB.

It seems that the .git folder is 100MB. After some digging around, this seems to be due to zip/exe files being committed to the repository which caused the repository's size to balloon. If I'm understanding correctly, for text files e.g. scripts and source code, Git can just store the difference in text whereas for binary files (zip/exe) Git may have to store the entire file every time a new version is committed.

Using the steps in this blogpost, I managed to shrink the repository size to around 3MB. It removed the "keypress-osd-compiled.zip" though. The steps I used to do this

  1. In the command line, cd to the project directory
  2. git filter-branch --tag-name-filter cat --index-filter 'git rm -r --cached --ignore-unmatch *.exe *.zip' --prune-empty -f -- --all
  3. Delete the directory ".git/refs/original"
  4. git reflog expire --expire=now --all
  5. git gc --aggressive --prune=now

These steps I haven't done yet due to me not having a repository. I'm planning to test them later on a fork though.

  1. git push origin --force --all
  2. git push origin --force --tags

For compiled files or zips containing compiled files, the standard practice seems to be adding them to Releases instead of committing them to the repository. For example, AutoHotkey_L's Release page has the AutoHotkey_<version>_setup.exe files but those setup.exe's are not in the repository itself. Other examples: wincompose, greenshot, pandoc.

One thing that may be affected is the Check Update feature within the script but I'm not sure how it is implemented.

Error message "continuable expection_acess_violation"

Hey, I'm in the trial, and I'd love to be able to fully test this app and then buy it, however I keep getting this message, whenever I try to use the app.

The LineFile is in an asian language, so I can't even understand what's going on
image

If I click on Yes, the app doesn't fully work, and of course if I press No or Cancel the app shuts down.

would appreciate any help with this thanks!

launching applications only in keystroke mode not in typing mode

Hello
i would like to use numpad keys to control others applications
for example using the 7 keystroke to launch the application A
i manage to hide numpad keystrokes in Osd
But when i use the mixte mode typing
so i use numpadkeys to display numbers for example 12378
7 launch the application A, i would like to launch the application A only in keystroke mode and not in typing mode
i hope to be clear !!!
is it possible to solve that ?
thanks for reply

pb with Shift+Winkey+S (Trial pro version))

Hello,
i'm just trying the trial pro version
i can't manage to display the "S" of "Shift+Winkey+S" (Windows capture)
i could do that with the free version
is there something to do ?
thanks for reply

Can't disable

I downloaded and installed. Now it is running. But I can't turn it off or customize the options. Is there a user guide? Or a tutorial?

Ability to make text size smaller

For me, the size is too large. It says in the features list Automatic resizing of OSD/HUD or fixed size but I couldn't find out where this is adjusted.

can't disable AltGr

Hello
perhaps it's a normal thing but
when i try to disable AltGr it always display Ctrl ?
Thanks for reply

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.