Below I have appended AppGroup.ini which you can save to a file and load with 
powerpro cl.import("c:
\path\to\AppGroup.ini") for testing. This version is just a concept example. I 
use a similar bar to quickly 
switch among three applications and get a custom button array specific to the 
currently active 
application using *keys to invoke application menu entries.

The issue I have with this configuration is that, fairly often when I press one 
of the custom buttons, 
instead of sending keys to the application, powerpro opens pproconf.exe, as if 
I had held the mouse 
button down on the bar button to start the configuration dialog.

I don't understand what makes this bar operate so oddly. Could someone please 
confirm such behavior 
on their system? Here I can reproduce it fairly easily by switching between the 
two applications (buttons 
1 and 2) and intermixing some application-specific buttons (3 and 4). 3 and 4 
sometimes work, other 
times they start pproconf.exe, which is wrong.

TIA

P.S. Start notepad and control panel first. Click on notepad. A 
semi-transparent bar should appear in 
the upper left corner of your monitor. Left click & hold & drag to re-position 
it.

; AppGroup.ini creates two floating bars which stay together, so they look
; like one single bar, with two fixed buttons (notepad and control panel)
; followed by a variable number (two in this example) of additional
; buttons which depend on what fixed button was pressed last. So with
; notepad and control panel already running, press "notepad" to show its
; window and enable the 3rd and 4th bar buttons as notepad-specific
; functions. Similarly, press "control panel" to show its window and
; change the 3rd and 4th bar buttons to control panel-specific functions. This
; bar is shown only when the active window is either notepad or control panel. 
; -------- AppGroup.ini ----------
[App.Switcher:Properties]
FontName = 
FontInfo = Bold Size: 10
Format1 = IconSize: 16 Position: Floating
Format2 = MaxText: 531 Transparent: 80
Format3 = FlatFlat Text: 255 0 0 TopMost AllVDesks AutoShowBar
Format4 = TextCenter BarSize RightIcon Tooltips

[1]
; Format = Disable
LCmd1 = format
LParam1 = Context =notepad,Control Panel

[2]
Tooltip = switch to notepad
Icon = %windir%\system32\notepad.exe
LCmd1 = win.show("=notepad")
LCmd2 = bar.hide(cl.getlastbar)

[2]
Tooltip = switch to control panel
Icon = %windir%\system32\control.exe
LCmd1 = win.show("Control Panel")
LCmd2 = bar.hide(cl.getlastbar)


[App.Notepad:Properties]
FontName = 
FontInfo = Bold Size: 10
Format1 = IconSize: 16 Position: Floating
Format2 = MaxText: 531 Transparent: 80
Format3 = FlatFlat Text: 255 0 0 TopMost AllVDesks AutoShowBar
Format4 = TextCenter BarSize RightIcon Tooltips
LockTo = "App.Switcher" 100 0 0 0 0 0 0 0

[1]
; Format = Disable
LCmd1 = format
LParam1 = Context =notepad

[3]
Label = page setup
Tooltip = open and close (flash) page setup dialog
LCmd1 = keys
LParam1 = {sinp}{to +=notepad}{alt}f{alt}u{enter}

[3]
Label = date
Tooltip = insert time+date
LCmd1 = keys
LParam1 = {sinp}{to +c=notepad}{alt}e{alt}d


[App.Panel:Properties]
FontName = 
FontInfo = Bold Size: 10
Format1 = IconSize: 16 Position: Floating
Format2 = MaxText: 531 Transparent: 80
Format3 = FlatFlat Text: 255 0 0 TopMost AllVDesks AutoShowBar
Format4 = TextCenter BarSize RightIcon Tooltips
LockTo = "App.Switcher" 100 0 0 0 0 0 0 0

[1]
; Format = Disable
LCmd1 = format
LParam1 = Context Control Panel

[3]
Label = about
Tooltip = about>Windows
LCmd1 = keys
LParam1 = {sinp}{to Control Panel}{alt}h{alt}a

[4]
Label = custom
Tooltip = view>toolbars>customize
LCmd1 = keys
LParam1 = {sinp}{to Control Panel}{alt}v{alt}tc


Reply via email to