You are browsing as a guest. Sign up (or log in) to start making projects!

Lenny Face-er

  • 3 Devlogs
  • 2 Total hours

An application that allows you to copy Lenny Faces at any time by pressing Ctrl+Shift+Alt+L. Gone are the days of searching them up on Google!

Ship #1 Pending review

This is the Lenny Face-er, a python script that uses Tkinter and Pynput to allow you to open up a menu with 30 Lenny Faces at the press of Ctrl+Shift+Alt+L. On Mac, you can easily open up a menu for emojis, but it is much more difficult to use Lenny Faces. This project makes it much easier to find them and copy them, allowing for easy use in texting, projects, etc. Tkinter was used because I wanted a lightweight and small GUI, and Pygame seemed too heavy for this project. I used the Pynput library for detecting keypresses whenever. It works on Mac, Linux, and Windows thanks to the os library, which helps change settings of the project based on what OS you are running the script on.

  • 3 devlogs
  • 2h
Try project → See source code →
Open comments for this post

1h 3m 6s logged

Holy cow, I fixed the scrolling issue! The code was working all along, it was just that I divided systems between Linux and Windows/Mac. I took delta and divided it by 120 for Windows AND Mac, but delta on Mac is so small that dividing it by 120 basically turns it into 0, so no scrolling occurred. I’ve fixed that, with the code shown below.

Holy cow, I fixed the scrolling issue! The code was working all along, it was just that I divided systems between Linux and Windows/Mac. I took delta and divided it by 120 for Windows AND Mac, but delta on Mac is so small that dividing it by 120 basically turns it into 0, so no scrolling occurred. I’ve fixed that, with the code shown below.

Replying to @immaturegoat

0
1
Open comments for this post

18m 26s logged

The hotkey combination for opening the Lenny Face-er is Ctrl+Alt+Shift+L. Just added some (suspicious) code that makes it so when you press that combination again, it closes the popup. The highlighted sections in the screenshot show how it works, though it’s kind of suspicious as popup is set to None at first. (I wrote a lot in this devlog cuz the last one was… empty T-T)

The hotkey combination for opening the Lenny Face-er is Ctrl+Alt+Shift+L. Just added some (suspicious) code that makes it so when you press that combination again, it closes the popup. The highlighted sections in the screenshot show how it works, though it’s kind of suspicious as popup is set to None at first. (I wrote a lot in this devlog cuz the last one was… empty T-T)

Replying to @immaturegoat

0
1

Followers

Loading…