How to input brackets in a mac using a Portuguese PC Keyboard

This page summarizes the projects mentioned and recommended in the original post on dev.to

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • Lua

    Lua is a powerful, efficient, lightweight, embeddable scripting language. It supports procedural programming, object-oriented programming, functional programming, data-driven programming, and data description.

  • I've bought the new Mac Mini M2! And I don't have the mac magic keyobard. Nor a monitor specific for the Mac! I wouldn't wanna spend 100 bucks to get the quirks for the mac stuff. I wanna reuse my old keyboards put aside. The problem is... they're all PC Keyboards! Yes, I know, Option Key can be used as the Alt key modifier, and the Cmd Key can be used as the Windows (forget the publicity!) key. Problem is... Not everything works well. In my specific case, since I am portuguese, the brackets keys ({}) doesn't appear in the portuguese mac Keyboard, you have to use the combination Shift+Cmd+7 to input { and Shift+Cmd+0 to input }. In a PC Keyboard, is RightAlt+7 and RightAlt+0. Strangely, plugging in a PC keyoard in the mac, RightAlt+8 and RightAlt+9 outputs square parentesis ([ and ]) works but to input brackets does not. If I were in Windows, I would use AutoHotkey to achieve this. But in the mac, there is a similar alternative, Hammerspoon ! which uses Lua as the language. This language is starightforward to learn, and after much trials and attempts, I've managed to achieve to Use Ctrl+C and Ctrl+V to work on the mac, using the following code:

  • hammerspoon

    Staggeringly powerful macOS desktop automation with Lua

  • I've bought the new Mac Mini M2! And I don't have the mac magic keyobard. Nor a monitor specific for the Mac! I wouldn't wanna spend 100 bucks to get the quirks for the mac stuff. I wanna reuse my old keyboards put aside. The problem is... they're all PC Keyboards! Yes, I know, Option Key can be used as the Alt key modifier, and the Cmd Key can be used as the Windows (forget the publicity!) key. Problem is... Not everything works well. In my specific case, since I am portuguese, the brackets keys ({}) doesn't appear in the portuguese mac Keyboard, you have to use the combination Shift+Cmd+7 to input { and Shift+Cmd+0 to input }. In a PC Keyboard, is RightAlt+7 and RightAlt+0. Strangely, plugging in a PC keyoard in the mac, RightAlt+8 and RightAlt+9 outputs square parentesis ([ and ]) works but to input brackets does not. If I were in Windows, I would use AutoHotkey to achieve this. But in the mac, there is a similar alternative, Hammerspoon ! which uses Lua as the language. This language is starightforward to learn, and after much trials and attempts, I've managed to achieve to Use Ctrl+C and Ctrl+V to work on the mac, using the following code:

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Gearing up for Lua

    3 projects | dev.to | 1 Jan 2024
  • [Hammer Control] Hammerspoon + SelfControl = Scheduling SelfControl

    4 projects | /r/nosurf | 15 Oct 2023
  • Needed: Automation extension that can repeat movements/clicks in a browser

    1 project | /r/Automate | 14 Jun 2023
  • getting current desktop to show on lockscreen? (MacOS Ventura)

    1 project | /r/MacOS | 7 Jun 2023
  • Window Management & Snapping

    3 projects | /r/macapps | 12 May 2023