News:

OS2World.com Forum is back !!!

Remember to visit OS2World at:
http://www.os2world.com

Main Menu

XWP v1.0.16

Started by Rich Walsh, November 06, 2023, 06:36:20 AM

Previous topic - Next topic

Dave Yeo

Thanks, seems to work as advertised.

Martin Iturbide

#46
Hello

What do you think it is needed for lSwitcher to also respect the XWP font sizes too?

I opened a ticket in case Gregg Young wants to take a look at it.
- http://trac.netlabs.org/lswitcher/ticket/81

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Rich Walsh

Quote from: Martin Iturbide on March 03, 2024, 03:50:38 PM
What do you think it is needed for lSwitcher to also respect the XWP font sizes too?

Query os2.ini->PM_SystemFonts->WindowText to get the font name & size, then use it.

Dariusz Piatkowski

Rich & Martin,

Quote from: Rich Walsh on March 03, 2024, 07:26:08 PM
Query os2.ini->PM_SystemFonts->WindowText to get the font name & size, then use it.

Which specific lswitch282.ini key are we talking about here?

I see the following:

1) TitleFont
2) ButtonFont (which I suspect is the TaskBar button)
3) HintsFont

...haven't tried any of them yet as none seem to imply the PopUp font control, which is what I'm interested in changing (b/c the TaskBar seems to be just fine).

Rich Walsh

Quote from: Dariusz Piatkowski on March 03, 2024, 08:23:02 PM
Quote from: Rich Walsh on March 03, 2024, 07:26:08 PM
Query os2.ini->PM_SystemFonts->WindowText to get the font name & size, then use it.

Which specific lswitch282.ini key are we talking about here?

I have no idea. I was simply identifying how you get the current general-purpose font from os2.ini. How lswitcher uses it is up to Gregg...

Roderick Klein

Quote from: Martin Iturbide on March 03, 2024, 03:50:38 PM
Hello

What do you think it is needed for lSwitcher to also respect the XWP font sizes too?

I opened a ticket in case Gregg Young wants to take a look at it.
- http://trac.netlabs.org/lswitcher/ticket/81

Regards

Gregg is on vacation right now.  He is aware of this ISwitcher issue. He mentioned this issue at Warpstock.

Roderick

Martin Iturbide

Hello Rich

Is the "IFX Options" GUI also yours?
Can it please be also possible to respect the XWP font size settings?

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Rich Walsh

Quote from: Martin Iturbide on March 13, 2024, 10:32:18 PM
Is the "IFX Options" GUI also yours?
Can it please be also possible to respect the XWP font size settings?

This dialog uses 10.Helv and I'd like to continue using that typeface. I'll see what I can do about the sizing...

Rich Walsh

Quote from: Rich Walsh on March 14, 2024, 07:01:23 PM
Quote from: Martin Iturbide on March 13, 2024, 10:32:18 PM
Is the "IFX Options" GUI also yours?
Can it please be also possible to respect the XWP font size settings?

This dialog uses 10.Helv and I'd like to continue using that typeface. I'll see what I can do about the sizing...

The next version will use 10/12/14/18pt Helv. You won't see any change unless your 'Text Size' setting is X-Large or greater (there isn't a 9pt or 11pt Helv, so Small/Medium/Large all use the current 10.Helv).

Martin Iturbide

#54
Hello Again.

I noticed something in the "Workplace Shell" setup settings (XfdlWPS Class) on "Foder Hotkeys" while trying to create a shortcut.

When I add a hotkey, on the "Hotkey" field, I can only make key combinations that starts with the "Ctrl" and "Shift" key. ex:  "Ctrl+Shift+Alt+A" or "Shift+Alt+A" (Pic_001)
There can not be combinations that start or uses the "Windows key" or "Win Menu" key.

1) I think it will be great if  "Windows key" (left and right) and the "Win Menu" key can be include for combinations.  Or there is a reason not to do that today?

2) Also, what if, on the "Parameter" list we include the functions that are also listed on the "Keyboard - Windows Key" (STYLER.EXE W) settings. ? (Picture #2)
Or maybe this makes no sense, because are "Folder Hotkeys" and you want to to executing non-folder actions there.

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Rich Walsh

Quote from: Martin Iturbide on March 28, 2024, 04:10:11 PM
When I add a hotkey, on the "Hotkey" field, I can only make key combinations that starts with the "Ctrl" and "Shift" key. ex:  "Ctrl+Shift+Alt+A" or "Shift+Alt+A" (Pic_001)
There can not be combinations that start or uses the "Windows key" or "Win Menu" key.

On OS/2, the Win and Menu keys are just "character" keys not "shift" keys. What you're asking for is equivalent to asking "Why can't I use '<Tab>-9' or <F3>-Q' as a hotkey combo?". Shift/Ctrl/Alt set flags to indicate they were down when some other key was pressed. There just isn't a Win or Menu flag in OS/2.

Quote
2) Also, what if, on the "Parameter" list we include the functions that are also listed on the "Keyboard - Windows Key" (STYLER.EXE W) settings. ? (Picture #2)
Or maybe this makes no sense, because are "Folder Hotkeys" and you want to to executing non-folder actions there.

Maybe using an "Object Hotkey" which lets you set a key-combo to open an object will serve some of your needs. You can set this on the 'Icon' page of any object's notebook (e.g. have Dooble open when you press "Alt-Shift-D').

Dariusz Piatkowski

Quote from: Rich Walsh on March 29, 2024, 04:38:52 PM
Quote from: Martin Iturbide on March 28, 2024, 04:10:11 PM
When I add a hotkey, on the "Hotkey" field, I can only make key combinations that starts with the "Ctrl" and "Shift" key. ex:  "Ctrl+Shift+Alt+A" or "Shift+Alt+A" (Pic_001)
There can not be combinations that start or uses the "Windows key" or "Win Menu" key.

On OS/2, the Win and Menu keys are just "character" keys not "shift" keys. What you're asking for is equivalent to asking "Why can't I use '<Tab>-9' or <F3>-Q' as a hotkey combo?". Shift/Ctrl/Alt set flags to indicate they were down when some other key was pressed. There just isn't a Win or Menu flag in OS/2.

OK, but the Win95Key utility readily recognizes my WINeverything keys as separate objects: LWIN, RWIN & WINMENU, so while w/o looking at it's code it's hard to tell whether these are just internal definitions (for it's own purposes) or actual key values, the point remains: these keys are recognized as being unique keys different from all the other keyboard keys.

Quote from: Rich Walsh on March 29, 2024, 04:38:52 PM...Maybe using an "Object Hotkey" which lets you set a key-combo to open an object will serve some of your needs. You can set this on the 'Icon' page of any object's notebook (e.g. have Dooble open when you press "Alt-Shift-D').

Martin,
I realize this isn't the XWP answer you are looking for, but the Win95Key util could be used to define such combinations and in a sense 'introduce' the functionality you are looking at into XWP...further research needed though as I haven't played with this. I simply use my WIN keys to map to frequently used OS/2 & WPS functions.

Martin Iturbide

Thanks for the feedback

Quote from: Rich Walsh on March 29, 2024, 04:38:52 PM
Maybe using an "Object Hotkey" which lets you set a key-combo to open an object will serve some of your needs. You can set this on the 'Icon' page of any object's notebook (e.g. have Dooble open when you press "Alt-Shift-D').

About "Object Hotkey", I understand how it works. First, the Windows key does not work for it. And when I try to create a combination for it like "Shift+1" or "Ctrl+1" for a folder program object on the desktop, the key combination does not do anything. I was expecting it to open the object (open the folder or launch a program), but it does not work for me.

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Andi B.

Quotebut it does not work for me
Turbo Folders enabled? I seem to remember this is necessary for the hotkeys in XWP. But it's so long ago that I read the docs about that.....

I remember a had to read the docs a few times until I understand what it does and how to setup up. Though I'm not sure it can do what you need.

Martin Iturbide

#59
Hi Andy B.
Quote from: Andi B. on March 29, 2024, 08:05:51 PM
Quotebut it does not work for me
Turbo Folders enabled? I seem to remember this is necessary for the hotkeys in XWP. But it's so long ago that I read the docs about that.....

I remember a had to read the docs a few times until I understand what it does and how to setup up. Though I'm not sure it can do what you need.
Here it is the forum thread of what I'm trying to do. "Windows Key - Custom Key Combination ". Basically I want to use a combination of the Windows Key to do some action in OS/2.

I enabled Turbo Folders, but the "Object hotkey" does not do anything. And you can not use the Windows Key for combination of actions there too.

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.