#PB_Shortcut_??? for [,] and [.]?

Mac OSX specific forum
Lebostein
Addict
Addict
Posts: 833
Joined: Fri Jun 11, 2004 7:07 am

#PB_Shortcut_??? for [,] and [.]?

Post by Lebostein »

I search for the #PB_Shortcut_ constants of the two keys to the right of [M] on german keyboard layout: [,;] and [.:]
User avatar
STARGÅTE
Addict
Addict
Posts: 2254
Joined: Thu Jan 10, 2008 1:30 pm
Location: Germany, Glienicke
Contact:

Re: #PB_Shortcut_??? for [,] and [.]?

Post by STARGÅTE »

Lebostein wrote: Tue Oct 07, 2025 10:00 pm I search for the #PB_Shortcut_ constants of the two keys to the right of [M] on german keyboard layout: [,;] and [.:]
On windows it is:
[,;] #PB_Key_Comma
[.:] #PB_Key_Period


Edit: Sry, I misread the question.
Last edited by STARGÅTE on Tue Oct 07, 2025 10:16 pm, edited 1 time in total.
PB 6.01 ― Win 10, 21H2 ― Ryzen 9 3900X, 32 GB ― NVIDIA GeForce RTX 3080 ― Vivaldi 6.0 ― www.unionbytes.de
Lizard - Script language for symbolic calculations and moreTypeface - Sprite-based font include/module
Lebostein
Addict
Addict
Posts: 833
Joined: Fri Jun 11, 2004 7:07 am

Re: #PB_Shortcut_??? for [,] and [.]?

Post by Lebostein »

STARGÅTE wrote: Tue Oct 07, 2025 10:07 pm On windows it is:
[,;] #PB_Key_Comma
[.:] #PB_Key_Period
I search for the "#PB_Shortcut_" not "#PB_Key_"
https://www.purebasic.com/documentation ... rtcut.html
Lebostein
Addict
Addict
Posts: 833
Joined: Fri Jun 11, 2004 7:07 am

Re: #PB_Shortcut_??? for [,] and [.]?

Post by Lebostein »

It seems 44 = [.] and 46 = [,]. Are there constants for this? Presumably, the keyboard layout used is a problem because it is not unique?
User avatar
Piero
Addict
Addict
Posts: 1025
Joined: Sat Apr 29, 2023 6:04 pm
Location: Italy

Re: #PB_Shortcut_??? for [,] and [.]?

Post by Piero »

They are not listed, and if I was you I would avoid them, because they are """kinda system reserved""":
⌘, Preferences
⌘⇧. (> on my keyboard) Show/Hide invisibles (in Finder and Open/Save dialogs…)

PS: "There are predefined menu events #PB_Menu_Quit, #PB_Menu_About and
#PB_Menu_Preferences to represent the entries in the application menu which is present on
every macOS program."
User avatar
Piero
Addict
Addict
Posts: 1025
Joined: Sat Apr 29, 2023 6:04 pm
Location: Italy

Re: #PB_Shortcut_??? for [,] and [.]?

Post by Piero »

Being a very old Mac user, I forgot to mention:
⌘. OMG! PLEASE STOP! (same as ctrl-C on Terminal/console)
Post Reply