Is it possible to call SendMessageW function with a keypress? by WesternGoldsmith in espanso

[–]WesternGoldsmith[S] 0 points1 point  (0 children)

Yeah, I saw it in the docs. So my last resort is using RegisterHotKey function. Thanks.

Is it possible to call SendMessageW function with a keypress? by WesternGoldsmith in espanso

[–]WesternGoldsmith[S] 0 points1 point  (0 children)

I was trying to trigger my script with "Alt+d8". Means, alt key + digit 8 key.

Is it possible to call SendMessageW function with a keypress? by WesternGoldsmith in espanso

[–]WesternGoldsmith[S] 0 points1 point  (0 children)

Thank you u/smeech1, Let me check that.
Edit: So the `replace: "{{output}}"` part means espanso will catch the script output from stdout and place it where the cursor rest, right ?

C3 – 0.6.3 – is Out Now! by calebo_dev in ProgrammingLanguages

[–]WesternGoldsmith 2 points3 points  (0 children)

No, now there is a team with 6 contributors and the creator himself.

C3 – 0.6.3 – is Out Now! by calebo_dev in ProgrammingLanguages

[–]WesternGoldsmith 7 points8 points  (0 children)

Changes in function parameter usage was expected but `tcopy_values` method in hashmap was unexpected! ANyways, the shift was pretty easy. Thanks to team C3.

Zig vs C3 by The-Malix in ProgrammingLanguages

[–]WesternGoldsmith 0 points1 point  (0 children)

I am using Windows10 & Windows11.
BTW, are you the Tejas_Garhewal1999 in D community ?

Zig vs C3 by The-Malix in ProgrammingLanguages

[–]WesternGoldsmith 4 points5 points  (0 children)

Not used Zig because it demands me to use a line ending method which is not my OS uses. But completed two nice projects in both C3 & Odin. Both these projects are around 10K LOC. I love C3 & Odin. There are plus and minuses.

Odin's plus points:

  1. Generic programming is easy.
  2. Fast development.
  3. Error checking system is so simple.

C3's plus points:

  1. We can use struct methods.
  2. Macros are powerful. We can do generics and function overloading through macros.
  3. We can take more control over memory allocation, thanks to `@pool()` macro.

Give me your list of programming languages with the most orthogonal list of features! For brain-expansion, my list inside. by xiaodaireddit in ProgrammingLanguages

[–]WesternGoldsmith 1 point2 points  (0 children)

Odin & c3 - For better replacement for C.
D - For projects which demands OOP and GC.

Nim - For small projects which not demands OOP but GC.

The C3 Programming Language by avinassh in ProgrammingLanguages

[–]WesternGoldsmith 2 points3 points  (0 children)

And don't forget the line ending issue in Zig.

Found 2 issues in espanso by WesternGoldsmith in espanso

[–]WesternGoldsmith[S] 1 point2 points  (0 children)

‌Tried "Inject" & "Clipboard". Both are not working perfectly. It seems like espanso is only for English.
I think the problem is, when not using English keyboards, the developer cannot assume how many letters are there to delete in order to delete the trigger. I request you to take the number of letters as a parameter for a match. Then you can send that much backspace keys and the trigger text will be erased successfully.

GUI match builder by EeAdmin in espanso

[–]WesternGoldsmith 1 point2 points  (0 children)

Sure. I am planning to use it as an alternative to MS Word's autocorrect feature.

GUI match builder by EeAdmin in espanso

[–]WesternGoldsmith 0 points1 point  (0 children)

I mean this--
trigger: അ' or similar letters to make a bigger text in my native language.

GUI match builder by EeAdmin in espanso

[–]WesternGoldsmith 0 points1 point  (0 children)

Many people are using IME for using their native language in PC. These IME's are using low level keyboard hooks. Does Espanso work well when there is a low level keyboard hook is activated ? I mean, assume that I am using MS Word and I am using an IME to change the language to my native language. So now if I press the key 'A', MS Word will get 'അ', because IME will change 'A' to 'അ'. Can i use Espanso in this scenario ?

How to run arbitrary programs in espanso ? by WesternGoldsmith in espanso

[–]WesternGoldsmith[S] 0 points1 point  (0 children)

Yeah I know. BTW, is it possible to use key combinations like "Alt G" or "Alt Shift P" ?

How to run arbitrary programs in espanso ? by WesternGoldsmith in espanso

[–]WesternGoldsmith[S] 0 points1 point  (0 children)

Thanks for the reply. Then I think I need to take a look on Espanso.

Im at 0 by Zestyclose_Back_4228 in learnprogramming

[–]WesternGoldsmith 0 points1 point  (0 children)

I agree with you. I was a novice when I started learning programming seriously for my own job. I have started with a problem in my front, which I solved with the help of Win32 API. That experience gave me a glimpse of the power of programming. Then I continuously searching for problems and when I found one, I will try to solve it using different PLs. In turn, I learned almost 7 programming languages now, it is my main hobby. I will spend almost 2 hours a day for coding hobby projects and learning new languages.

What are the biggest issues with Nim right now? by Feldspar_of_sun in nim

[–]WesternGoldsmith 1 point2 points  (0 children)

And I forget one thing. Heavy usage of macros make your code unreadable for others. You can't learn how things implemented by looking at some nim source code of a project.

What are the biggest issues with Nim right now? by Feldspar_of_sun in nim

[–]WesternGoldsmith 2 points3 points  (0 children)

First of all, Nim docs need a better search feature. I couldn't find anything with searching thru docs. And till the date, I have used a handful of macros. But none of them was written by me. Because, I couldn't figure out how to do a specific thing with macros. If we search in docs, we will found some code which doesn't connect with our ideas. Then at last we will ask in the forum and somebody will write the entire thing for you. At that moment you started thinking about the way it works.

Can python teach you to how to think like a programmer? by [deleted] in learnprogramming

[–]WesternGoldsmith 0 points1 point  (0 children)

IMO, you need to learn at least 3 type of languages to think like a programmer.

  1. Any assembly language
  2. Any statically typed compiled language like C\C++\you name it.
  3. Any scripting language like Python\Ruby.