Modifier Keys?

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10080
Joined: Fri Feb 19, 2010 10:17 am

Modifier Keys?

Post by richmond62 » Mon Jul 14, 2025 6:38 pm

I am trying to work on something so that someone can access all 5 forms of a glyph supplied by the Unicode consortium:

1. Lower case form.

2. Upper case form.

3. Combining form.

4. Super script form.

5. Subscript form.
-
Screenshot 2025-07-14 at 20.32.20.png
-
May be accessed by an end-user ALL via a single alphabetic key on their keyboard + 1 or more modifier keys . . .

1. No modifiers pressed.

2. SHIFT pressed.

3. ALT pressed.

4. ALT + SHIFT pressed.

5. In trouble.

If anyone can think of anything I would be very grateful.

Klaus
Posts: 14177
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Modifier Keys?

Post by Klaus » Mon Jul 14, 2025 7:53 pm

What about CTRL and CMD?

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10080
Joined: Fri Feb 19, 2010 10:17 am

Re: Modifier Keys?

Post by richmond62 » Mon Jul 14, 2025 8:11 pm

Well, CTRL key works on Mac, but I wonder as with Linux it serves the purpose of the COMMAND key on Mac if it won't screw up.

Klaus
Posts: 14177
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Modifier Keys?

Post by Klaus » Mon Jul 14, 2025 8:58 pm

Ah, yes, sorry, I'm a bit Mac-centric. :-D

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10080
Joined: Fri Feb 19, 2010 10:17 am

Re: Modifier Keys?

Post by richmond62 » Mon Jul 14, 2025 9:17 pm

Don't be sorry. 8)

HOWEVER I have to cope with a load of Bulgarian 'academics' who have a serious problem conceptualising of there being other computer operating systems other than Windows (well, actually, owing to the stultifying education system in this country, they find any kind of abstract thought almost impossible . . .).

When I started my ESL school here is Bulgaria 20 years syne, several parents expressed delight at my computers running RunRev standalones on Ubuntu: and then they all asked' "Which version of Windows are you using?" Haven't seen much change to be honest!

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10080
Joined: Fri Feb 19, 2010 10:17 am

Re: Modifier Keys?

Post by richmond62 » Tue Jul 15, 2025 9:50 pm

Well, I opted for the capsLock key for number 5: although it is a bit of a pox owing to its locking thing.

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10305
Joined: Wed May 06, 2009 2:28 pm

Re: Modifier Keys?

Post by dunbarx » Wed Jul 16, 2025 3:43 pm

Richmond.

The locking thing would make me cringe. No other double combination of control keys seems attractive?

Craig

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10080
Joined: Fri Feb 19, 2010 10:17 am

Re: Modifier Keys?

Post by richmond62 » Wed Jul 16, 2025 8:00 pm

Between an Apple computer, and a 'box' running either Windows or Linux there seem to be no other choices.

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10305
Joined: Wed May 06, 2009 2:28 pm

Re: Modifier Keys?

Post by dunbarx » Wed Jul 16, 2025 8:56 pm

I don't suppose you are amenable to three control keys?

Craig

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10080
Joined: Fri Feb 19, 2010 10:17 am

Re: Modifier Keys?

Post by richmond62 » Thu Jul 17, 2025 12:15 am

I could be: what do you suggest?

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10080
Joined: Fri Feb 19, 2010 10:17 am

Re: Modifier Keys?

Post by richmond62 » Thu Jul 17, 2025 6:13 am

I wonder how many people are going to want to press 4 keys at once or 3 keys and a mouse click?

What I really need is a dozen victims for usability tests. :shock:

stam
Posts: 3061
Joined: Sun Jun 04, 2006 9:39 pm

Re: Modifier Keys?

Post by stam » Thu Jul 17, 2025 5:38 pm

richmond62 wrote:
Thu Jul 17, 2025 12:15 am
I could be: what do you suggest?
cmd-opt-shift + key is not an uncommon construct in MacOS

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10080
Joined: Fri Feb 19, 2010 10:17 am

Re: Modifier Keys?

Post by richmond62 » Thu Jul 17, 2025 6:43 pm

cmd-opt-shift + key is not an uncommon construct in MacOS
Indeed:

and how would ctrl-alt-shift + key go down with Windows users?
-
Screenshot 2025-07-17 at 20.57.16.jpg
-
AND how am I to know if an end-user has some 'crappy' keyboard connected to their rig that prevents 2 or 3 mod keys at once?
-
Marvin.jpg
Marvin.jpg (14.5 KiB) Viewed 112 times
-
Marvin says:

"Some keyboards have limitations on how many keys can be pressed simultaneously due to their internal wiring. This is sometimes referred to as "ghosting". "

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10305
Joined: Wed May 06, 2009 2:28 pm

Re: Modifier Keys?

Post by dunbarx » Thu Jul 17, 2025 7:32 pm

I am confused.

The difference between the names of keys ("alt" vs. cmd. for example) will not affect their behavior. Why not just ignore this entirely? The stack's instructions, which can be tailored for any platform, can refer to whatever name is appropriate.

Or am I missing something here?

Craig

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10080
Joined: Fri Feb 19, 2010 10:17 am

Re: Modifier Keys?

Post by richmond62 » Thu Jul 17, 2025 7:39 pm

Yes, you are missing something (I couldn't give a toss about the key names):

How would a windows user feel about pressing 3 modifier keys at once?

Post Reply