One really last attempt. The file “nw” should really be called “nwjs”. Could you rename it and try each way again "especially the “Keypresses.app” mechanism again?
Une toute dernière tentative. Le fichier “nw” devrait vraiment s’appeler “nwjs”. Pourriez-vous le renommer et réessayer dans chaque sens “en particulier le mécanisme” Keypresses.app "?
Just dashing out for a birthday party then back later tomorrow afternoon after a journey to Nicosia and back. I’ll look into this more carefully then. Thanks for your assistance.
Juste se précipiter pour une fête d’anniversaire puis revenir plus tard demain après-midi après un voyage à Nicosie et retour. Je vais regarder ça plus attentivement alors. Merci pour votre aide.
I’m running Fedora 35 with KDE Plasma desktop.
Tested the Linux version of the keypresses app. I have Wine installed. When the keypresses.exe file is clicked it calls Wine to execute the exe file. The application will not launch.
Screen capture:
Also tested the Windows keypresses app. It does not work with Wine either. A black screen appears for a few seconds, then the application window appears for a few seconds, finally the window disappears.
@Chucky Thanks for testing this. Could I ask you to rename the “Keypresses.exe” file to just “Keypresses” and try executing that, then let me know if it works or not?
@Namna has tried it on MacOS and can’t get it to work there. Unfortunately I don’t have a MacOS nor a Linux system I can try it on (the Windows version works on Windows), so I might have to install a Linux partition to try to debug it myself. I have a friend, who should be back from the UK next week who has a MacOS system. I’ll see if I can use that for further testing on that OS.
This is the first time I’ve created an NW.js for any system other than Windows, and not having such systems myself has produced these “teething troubles”. Hopefully I’ll get them sorted in the next few days or so.
Thanks for testing this for me. I will still try to get the NWJS version working though. It looks as if it might just a permissions problem.
If you don’t use the NWJS app certain key combinations do not work. e.g. ControlPageDown. Using the app this shows as-is, using Firefox it shows as only Control, using Chrome or Edge it jumps to the next browser tab and does not even register as a keypress.
The key names are standard and come from the Javascript Keypress event object. I’ve been thinking about having a configuration option to let the user decide how to call the various control keys, e.g. a user of an AZERTY keyboard may like “Shift” to be “Maj” as it is on the keyboard. What is it about the AZERTY keyboard? It has a key dedicated to the letter ⟨ù⟩, which occurs in only one French word (où [where]); the œ is completely unrepresented, despite the fact that it is an integral part of the French spelling system and occurs in several common words like œil (eye) and œuvre (work).
Bonjour, @ Elusien 1° Mon clavier est un clavier AZERTY français mais mon premier PC (Texas), en 1993, étant un clavier QUERTY je superposais un calque transparent sur le clavier pour transformer directement les touches QUERTY en touches AZERTY. « ù »(AZERTY) => la virgule », » en QWERTY
2° Plus tard, vers 2000, pour les caractères spéciaux susceptibles de créer des problèmes, j’avais écrit un script avec les correspondances des codes ISO (utilisables en XML) et les codes HTML :
ù => ú (ISO) ou => ù ; (HTML)* Si c’est utile je peux fournir une photo du calque transparent et un zip du tableau complet (?) des correspondances ISO <=> HTML, environ 150 correspondances.
Hello
1 ° My keyboard is a French AZERTY keyboard but my first PC (Texas), in 1993, being a QUERTY keyboard I superimposed a transparent layer on the keyboard to directly transform the QUERTY keys into AZERTY keys. “ù” (AZERTY) => the comma", in QWERTY
2° Later, around 2000, for special characters likely to create problems, I had written a script with the correspondences of ISO codes (usable in XML) and HTML codes:
ù => ú (ISO) or => ù (HTML)
If it is useful I can provide a photo of the transparent layer and several jpg of the complete international table (?) of ISO HTML matches, about 150 matches.
I’ve been incommunicado for a few days, so took a rest from Shotcut and S/W development. I got round to creating the code for the key name mapping today. I’ve done it in such a way that the user can choose what mapping to do directly in the app and doesn’t have to modify the code. There is now a table displayed in the app that enables the user to map names onto up to 16 keys. These are saved when the “Save Parameters” button is clicked and are restored whenever the app starts up.
I use Github, but mainly as a private source control system for myself on large projects, since I don’t normally do S/W collaboration.
I’ve not got round to testing the Linux (or the MacOS) versions yet, so I’ve disabled their download on the website.
I did not use the app for a while, but today I needed a couple of keypress PNGs.
First thing I noticed after launching the app was that the custom keys I programed on my last session were gone.
So I created them again, pressed the Save Parameters button and re-launched the app.
Gone again
Do you experience the same problem?
Also, while we’re talking about saving the parameters, would it be possible for the app to remember the last window size used?
In the default size, the custom keys are hidden at the bottom of the app. I prefer to resize the window to have them to the side where I can see them.
I didn’t clear the browser cache. So there must be another issue on my side.
But thanks for looking to it. Saving it to a file, will most likely solve the problem.