pprotcmd | 18 Jun 2012 09:03
Picon
Favicon

Tray plugin for Win7x64?

I've done everything as described. The problem is when I call the tray plugin (or service like cl), PowerPro
cannot find it. For example, on executing the Tray.showmenu command I get the message box "Cannot locate
plugin service Tray.showmenu". The similar thing happens at running the TrayDebug script: the
"tray.list" service cannot be located.

Therefore, some questions:

1) It's obvious that the tray.dll plugin, if exists, is not present in the tray.zip file. Is it implemented
within new version of PowerPro?

2) "The plugin zip also includes a revised powerpro.exe which fixes a problem with the display of *control
checkboxes". What this problem was?

3) What is the trayicon.dll plugins for? What is the difference between it and the *trayicon built-in command?

Windows 7 Pro 64 bit, Service Pack 1

Yours sincerely,

Vochomurka

------------------------------------

PowerPro's download site: http://powerpro.webeddie.com/Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/power-pro/

<*> Your email settings:
    Individual Email | Traditional
(Continue reading)

brucexs | 18 Jun 2012 12:38
Picon
Favicon

Re: Tray plugin for Win7x64?

You are absolutely correct.  I did a stupid thing when I updated with a small bug fix and forgot to rename a
file.  Can you try renaming trayicon.dll to tray.dll in your plugin folder and seeing if that fixes.  I will
also upload a fixed tray.zip in a few minutes.

--- In power-pro@..., pprotcmd <pprotcmd <at> ...> wrote:
>
> I've done everything as described. The problem is when I call the tray plugin (or service like cl),
PowerPro cannot find it. For example, on executing the Tray.showmenu command I get the message box
"Cannot locate plugin service Tray.showmenu". The similar thing happens at running the TrayDebug
script: the "tray.list" service cannot be located.
> 
> Therefore, some questions:
> 
> 1) It's obvious that the tray.dll plugin, if exists, is not present in the tray.zip file. Is it implemented
within new version of PowerPro?
> 
> 2) "The plugin zip also includes a revised powerpro.exe which fixes a problem with the display of *control
checkboxes". What this problem was?
> 
> 3) What is the trayicon.dll plugins for? What is the difference between it and the *trayicon built-in command?
> 
> Windows 7 Pro 64 bit, Service Pack 1
> 
> Yours sincerely,
> 
> Vochomurka
>

------------------------------------

(Continue reading)

brucexs | 18 Jun 2012 12:44
Picon
Favicon

Re: Tray plugin for Win7x64?

Best to look here to be sure
http://f1.grp.yahoofs.com/v1/IPzeT7X-SHODSJW3oQeuxL-sdlDH2HCbJsxj8cczb7RECCH1PzrVScy3z-sNUJPKRoLBekmXtFlkkxpeyumhKWkpQrd1/Plug-ins_and_add-ons/tray.zip

--- In power-pro@..., "brucexs" <brucexs <at> ...> wrote:
>
> You are absolutely correct.  I did a stupid thing when I updated with a small bug fix and forgot to rename a
file.  Can you try renaming trayicon.dll to tray.dll in your plugin folder and seeing if that fixes.  I will
also upload a fixed tray.zip in a few minutes.
> 
> 
> 
> --- In power-pro@..., pprotcmd <pprotcmd <at> > wrote:
> >
> > I've done everything as described. The problem is when I call the tray plugin (or service like cl),
PowerPro cannot find it. For example, on executing the Tray.showmenu command I get the message box
"Cannot locate plugin service Tray.showmenu". The similar thing happens at running the TrayDebug
script: the "tray.list" service cannot be located.
> > 
> > Therefore, some questions:
> > 
> > 1) It's obvious that the tray.dll plugin, if exists, is not present in the tray.zip file. Is it
implemented within new version of PowerPro?
> > 
> > 2) "The plugin zip also includes a revised powerpro.exe which fixes a problem with the display of
*control checkboxes". What this problem was?
> > 
> > 3) What is the trayicon.dll plugins for? What is the difference between it and the *trayicon built-in command?
> > 
> > Windows 7 Pro 64 bit, Service Pack 1
> > 
(Continue reading)

pprotcmd | 18 Jun 2012 13:49
Picon
Favicon

Re: Re: Tray plugin for Win7x64?

>  You are absolutely correct.  I did a stupid thing when I updated with a small bug fix and forgot to rename
a file.  Can you try renaming trayicon.dll to tray.dll in your plugin folder and seeing if that fixes.  I
will also upload a fixed tray.zip in a few minutes.

Now the tray.showmenu says:

Caption: "Failed to load trayhelper"
Window contents: "E:\Utils\PowerPro\plugins\trayhelper.dll"

I tried to rename gditray.dll to trayjhelper.dll, but

"Cannot retrieve icon info to write icon"
"e:\Utils\PowerPro\trayclists\__tray_temp_menu__\punto0.ico"

And some tray icon list really appears. It is much better than before, thank you.

>>   Yours sincerely,
>>
>>   Vochomurka

------------------------------------

PowerPro's download site: http://powerpro.webeddie.com/Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/power-pro/

<*> Your email settings:
    Individual Email | Traditional

(Continue reading)

brucexs | 18 Jun 2012 14:10
Picon
Favicon

Re: Tray plugin for Win7x64?

Yes, same mistake by me (for different dll).  You can rename traygdi.dll or just download latest tray.zip.

I am sorry for wasting your time.  I hope the plugin is helpful to you once you get it working.

--- In power-pro@..., pprotcmd <pprotcmd <at> ...> wrote:
>
> > šYou are absolutely correct. šI did a stupid thing when I updated with a small bug fix and forgot to
rename a file. šCan you try renaming trayicon.dll to tray.dll in your plugin folder and seeing if that
fixes. šI will also upload a fixed tray.zip in a few minutes.
> 
> Now the tray.showmenu says:
> 
> Caption: "Failed to load trayhelper"
> Window contents: "E:\Utils\PowerPro\plugins\trayhelper.dll"
> 
> I tried to rename gditray.dll to trayjhelper.dll, but
> 
> "Cannot retrieve icon info to write icon"
> "e:\Utils\PowerPro\trayclists\__tray_temp_menu__\punto0.ico"
> 
> And some tray icon list really appears. It is much better than before, thank you.
> 
> 
> >> ššYours sincerely,
> >>
> >> ššVochomurka
>

------------------------------------

(Continue reading)

brucexs | 18 Jun 2012 15:54
Picon
Favicon

Re: Tray plugin for Win7x64?

I am not sure why the program only fail on this tray icon.

Is that the only program that does not work?  

If the error message is getting in the way of fully testing, I can upload a a new version with workaround.

> > Caption: "Failed to load trayhelper"
> > Window contents: "E:\Utils\PowerPro\plugins\trayhelper.dll"
> > 
> > I tried to rename gditray.dll to trayjhelper.dll, but
> > 
> > "Cannot retrieve icon info to write icon"
> > "e:\Utils\PowerPro\trayclists\__tray_temp_menu__\punto0.ico"

------------------------------------

PowerPro's download site: http://powerpro.webeddie.com/Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/power-pro/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/power-pro/join
    (Yahoo! ID required)

<*> To change settings via email:
    power-pro-digest@... 
(Continue reading)

brucexs | 18 Jun 2012 15:57
Picon
Favicon

Re: Tray plugin for Win7x64?

I am not sure why the program only fail on this tray icon.

Is that the only program that does not work?  

If the error message is getting in the way of fully testing, I can upload a a new version with workaround.

There should be a second message box with a further explanation of the error.  If so, can you let me know what it says?

> > Caption: "Failed to load trayhelper"
> > Window contents: "E:\Utils\PowerPro\plugins\trayhelper.dll"
> > 
> > I tried to rename gditray.dll to trayjhelper.dll, but
> > 
> > "Cannot retrieve icon info to write icon"
> > "e:\Utils\PowerPro\trayclists\__tray_temp_menu__\punto0.ico"

------------------------------------

PowerPro's download site: http://powerpro.webeddie.com/Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/power-pro/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/power-pro/join
    (Yahoo! ID required)

(Continue reading)

pprotcmd | 18 Jun 2012 16:21
Picon
Favicon

Re: Re: Tray plugin for Win7x64?

18.06.2012, 17:57, "brucexs" <brucexs@...>:
> I am not sure why the program only fail on this tray icon.

The dump information about this program is

punto 0   32 HWND=102b4 66228   VER=0  MSG=49421 ICO=181602709 FL=c00000 HID=0 English (United States)

This program is PuntoSwitcher

http://punto.yandex.ru/

> Is that the only program that does not work?

Yes. But in response to the tray.showmenu command it is shown as "English (United States" irrespective on
which keyboard layout is switched on.

> If the error message is getting in the way of fully testing, I can upload a a new version with workaround.

I am still experimenting, and I am not yet ready to answer.

> There should be a second message box with a further explanation of the error.  If so, can you let me know
what it says?

"Invalid cursor handle".

Yours sincerely,

Vochomurka

------------------------------------
(Continue reading)

brucexs | 19 Jun 2012 13:24
Picon
Favicon

Re: Tray plugin for Win7x64?

Thanks.  I did try a download of punto, but could not get it to put an icon in the tray, likely because I did not
understand the options it provided (in Russian) and/or because I only have English language on my machine.

The error message is coming from a Windows system routine which does not like the icon handle punto is
providing.  I don't know why, but since what the plugin does seems to work in almost every case, my solution
for now will be to provide a workaround allowing you to manually override icon updating by the refresh
script and to provide your own icon, which I will upload in the next version after hearing about any other testing.

(Strangely enough, icon handles are global even in Windows 7 so any program seems to be able to copy (but not
change) the icons created by another program, as long as the icon handle is available).

--- In power-pro@..., pprotcmd <pprotcmd <at> ...> wrote:
>
> 18.06.2012, 17:57, "brucexs" <brucexs <at> ...>:
> > I am not sure why the program only fail on this tray icon.
> 
> The dump information about this program is
> 
> punto 0   32 HWND=102b4 66228   VER=0  MSG=49421 ICO=181602709 FL=c00000 HID=0 English (United States)
> 
> This program is PuntoSwitcher
> 
> http://punto.yandex.ru/
> 
> > Is that the only program that does not work?
> 
> Yes. But in response to the tray.showmenu command it is shown as "English (United States" irrespective on
which keyboard layout is switched on.
> 
> > If the error message is getting in the way of fully testing, I can upload a a new version with workaround.
(Continue reading)

pprotcmd | 20 Jun 2012 16:34
Picon
Favicon

Re: Re: Tray plugin for Win7x64?

19.06.2012, 15:24, "brucexs" <brucexs@...>:
> Thanks.  I did try a download of punto, but could not get it to put an icon in the tray, likely because I did
not understand the options it provided (in Russian) and/or because I only have English language on my machine.

I've just discovered that there is no possibility to switch to English. 

> the refresh script and to provide your own icon, which I will upload in the next version after hearing about
any other testing.

It seems that the tray.showmenu command works, TrayRefresh and TrayDebug also do (except the same Punto).
Mouse keys on menu shown work as expected. I will hardly need something else.

Anyway, thank you very much.

Yours sincerely,

Vochomurka

------------------------------------

PowerPro's download site: http://powerpro.webeddie.com/Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/power-pro/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/power-pro/join
(Continue reading)

brucexs | 22 Jun 2012 12:19
Picon
Favicon

Re: Tray plugin for Win7x64?

Thanks for your testing input.  I will upload a version which allows you to manually set the icon in a few days. 

--- In power-pro@..., pprotcmd <pprotcmd <at> ...> wrote:
>
> 19.06.2012, 15:24, "brucexs" <brucexs <at> ...>:
> > Thanks. šI did try a download of punto, but could not get it to put an icon in the tray, likely because I did
not understand the options it provided (in Russian) and/or because I only have English language on my machine.
> 
> I've just discovered that there is no possibility to switch to English. 
> 
> > the refresh script and to provide your own icon, which I will upload in the next version after hearing
about any other testing.
> 
> It seems that the tray.showmenu command works, TrayRefresh and TrayDebug also do (except the same
Punto). Mouse keys on menu shown work as expected. I will hardly need something else.
> 
> Anyway, thank you very much.
> 
> Yours sincerely,
> 
> Vochomurka
>

------------------------------------

PowerPro's download site: http://powerpro.webeddie.com/Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/power-pro/

(Continue reading)

scr_99_1 | 22 Jun 2012 16:56
Picon
Favicon

Re: Tray plugin for Win7x64?

Bruce,

Thank you x 1000 for the tray plugin. It was sorely missed since I went to win7 x64. Took a little time to get
into my head but now it's working great with the exception of the Rainmeter 101 icon which produced an
error. After hiding the icon in win7 I can access it on the TrayBar but it does not show the icon on the bar...
Again, please know that I greatly appreciate the new addition.

A question, Is there a way to access the tray icons with a script? In other words can I create a script to close a
specific icon using a right click and hot key? I Probably didn't make that very clear.

Regards,
Stan 

--- In power-pro@..., "brucexs" <brucexs <at> ...> wrote:
>
> Thanks for your testing input.  I will upload a version which allows you to manually set the icon in a few
days. 
> 
> 
> 
> --- In power-pro@..., pprotcmd <pprotcmd <at> > wrote:
> >
> > 19.06.2012, 15:24, "brucexs" <brucexs <at> >:
> > > Thanks. šI did try a download of punto, but could not get it to put an icon in the tray, likely because I did
not understand the options it provided (in Russian) and/or because I only have English language on my machine.
> > 
> > I've just discovered that there is no possibility to switch to English. 
> > 
> > > the refresh script and to provide your own icon, which I will upload in the next version after hearing
about any other testing.
(Continue reading)

brucexs | 23 Jun 2012 14:20
Picon
Favicon

Re: Tray plugin for Win7x64?

Yes, you can access icons with a script.  See the end of the pdf file where all the tray plugin services are
documented for more details on the following.  

tray.right("exename", id)  
will do a right click.  You'd then have to select close from the resulting menu (id not needed if only one icon
shown by that exe)

If you want to close the program completely, I think win.close("=exename") 
will be best.

If you don't want to show the icon ever but leave the program running, the win7 tray customization would be
the safest way to go.  

I could look at a service for trying to fake out explorer and have it remove the icon completely, but I am not
sure if that would be reliable since the original program will still act as if the icon is there and I am not
sure what the results would be.  So I think I will leave that one for now.

Regarding your icon that does not appear:  Is it only that one program that does not work? Are you using a menu
or a bar?  If a bar, does it work on the menu using
tray.showmenu

Perhaps you could copy and paste the line from the dump of that program using the 
tray.debug 
script?

I have found a small, intermittent problem with icons disappearing from a bar.  I will post a fix when I find
it.  The updates tray plugin will also make it possible to manually specify the icon for programs like the
rain icon.

--- In power-pro@..., "scr_99_1" <Stan <at> ...> wrote:
(Continue reading)

scr_99_1 | 23 Jun 2012 15:38
Picon
Favicon

Re: Tray plugin for Win7x64?


Bruce,

Thanks for the reply.

The icon for Rainmeter will cause an error either in a menu or bar. It only shows the error on refresh of the bar
other wise the icon is blank. Using a menu it errors every time the menu is shown.

The  first error reads:
Cannot retrieve icon info to write icon 
C:\ProgramFiles(86)\PowerPro\trayclists\_tray_temp_menu\Rainmeter101.ico

The Second error: Invalid cursor handle.

If I did this correctly here is the dump information:

Rainmeter 101   64 HWND=10316 66326   VER=0  MSG=1125 ICO=66281 FL=500000 HID=1 Rainmeter

This will happen even with the Icon for Rainmeter hidden in Win 7

I'll try the individual icon script a bit later this morning.

Stan

--- In power-pro@..., "brucexs" <brucexs <at> ...> wrote:
>
> Yes, you can access icons with a script.  See the end of the pdf file where all the tray plugin services are
documented for more details on the following.  
> 
> tray.right("exename", id)  
(Continue reading)

brucexs | 23 Jun 2012 17:57
Picon
Favicon

Re: Tray plugin for Win7x64?


Thanks.  This is the same error that the other tester experienced.  The update will remove the error message. 
I'll post it tomorrow.

I am not sure why the program fails but only on a few icons.  Something I don't know about icons and tray icons, I expect.

I see the program is open source.  If it is easy to get at the source. I may take a look at the tray icon bits.

--- In power-pro@..., "scr_99_1" <Stan <at> ...> wrote:
>
> 
> Bruce,
> 
> Thanks for the reply.
> 
> The icon for Rainmeter will cause an error either in a menu or bar. It only shows the error on refresh of the
bar other wise the icon is blank. Using a menu it errors every time the menu is shown.
> 
> The  first error reads:
> Cannot retrieve icon info to write icon 
> C:\ProgramFiles(86)\PowerPro\trayclists\_tray_temp_menu\Rainmeter101.ico
> 
> The Second error: Invalid cursor handle.
> 
> If I did this correctly here is the dump information:
> 
> Rainmeter 101   64 HWND=10316 66326   VER=0  MSG=1125 ICO=66281 FL=500000 HID=1 Rainmeter
> 
> This will happen even with the Icon for Rainmeter hidden in Win 7
> 
(Continue reading)

brother.gabriel | 23 Jun 2012 18:04
Gravatar

Re: Tray plugin for Win7x64?

Hey - I am pretty pleased to see that new tray plugin (I was just dealing with the checkbox display, too!)

However, when I try to do tray.showmenu(), powerpro freezes into spinner -wait mode.  If I try to install
tray support, I get a message saying:

"Unexpected current value for WinLogon key.
SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon"

I found the key in HKEY_LOCAL_MACHINE, but am not sure to which value it refers, or what it *did* find or what
it expected to find.

How can I fix this?

--- In power-pro@..., "brucexs" <brucexs <at> ...> wrote:
>
> 
> Thanks.  This is the same error that the other tester experienced.  The update will remove the error
message.  I'll post it tomorrow.
> 
> I am not sure why the program fails but only on a few icons.  Something I don't know about icons and tray icons,
I expect.
> 
> I see the program is open source.  If it is easy to get at the source. I may take a look at the tray icon bits.
> 
> 
> --- In power-pro@..., "scr_99_1" <Stan <at> > wrote:
> >
> > 
> > Bruce,
> > 
(Continue reading)

brother.gabriel | 23 Jun 2012 18:12
Gravatar

Re: Tray plugin for Win7x64?

Does it make any difference with the 64bit support if my Powerpro is installed in C:\Program Files
(x86)\powerpro  ?

--- In power-pro@..., "brother.gabriel" <brgabriel <at> ...> wrote:
>
> Hey - I am pretty pleased to see that new tray plugin (I was just dealing with the checkbox display, too!)
> 
> However, when I try to do tray.showmenu(), powerpro freezes into spinner -wait mode.  If I try to install
tray support, I get a message saying:
> 
> "Unexpected current value for WinLogon key.
> SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon"
> 
> I found the key in HKEY_LOCAL_MACHINE, but am not sure to which value it refers, or what it *did* find or what
it expected to find.
> 
> How can I fix this?
> 
> --- In power-pro@..., "brucexs" <brucexs <at> > wrote:
> >
> > 
> > Thanks.  This is the same error that the other tester experienced.  The update will remove the error
message.  I'll post it tomorrow.
> > 
> > I am not sure why the program fails but only on a few icons.  Something I don't know about icons and tray
icons, I expect.
> > 
> > I see the program is open source.  If it is easy to get at the source. I may take a look at the tray icon bits.
> > 
> > 
(Continue reading)

brother.gabriel | 23 Jun 2012 18:24
Gravatar

Re: Tray plugin for Win7x64?

If I run the command tray.showmenu,
I get a series of "Tray Error" messages:
"Cannot readprocessmemory for tool tip"
"Only part of a ReadProcessMemory or WriteProcessMemory request was completed."

I get these two messages twice, then I get the tray meu - but only a few of the icons.  Clicking on the icons in
that menu *does* work, however.

Now, I have all of my icons showing, and on a vertical toolbar.  Aero is disabled.

--- In power-pro@..., "brother.gabriel" <brgabriel <at> ...> wrote:
>
> Does it make any difference with the 64bit support if my Powerpro is installed in C:\Program Files
(x86)\powerpro  ?
> 
> --- In power-pro@..., "brother.gabriel" <brgabriel <at> > wrote:
> >
> > Hey - I am pretty pleased to see that new tray plugin (I was just dealing with the checkbox display, too!)
> > 
> > However, when I try to do tray.showmenu(), powerpro freezes into spinner -wait mode.  If I try to install
tray support, I get a message saying:
> > 
> > "Unexpected current value for WinLogon key.
> > SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon"
> > 
> > I found the key in HKEY_LOCAL_MACHINE, but am not sure to which value it refers, or what it *did* find or
what it expected to find.
> > 
> > How can I fix this?
> > 
(Continue reading)

brucexs | 24 Jun 2012 13:20
Picon
Favicon

Re: Tray plugin for Win7x64?

Thanks to all who have tested this plugin.

I've uploaded a new version 0.20 of the tray plugin that tries to address some of the issues testers have found:
- fixes (I hope) issues with readprocessmemory and tooltips
- improves stability of icon display
- adds option to set icon and stop refresh script from changing it

You should be able to reused the plugin with existing bars.  If you notice any duplicate buttons for a tray
icon in the command list, you can delete them and let the refresh script regenerate, if you want.
You may also want to check for duplicate icons in the subfolder for your bar under traysclist and keep only
the most recent copy of the icon.

Please also install the slightly updated powerpro.exe which has these small fixes:
- *control checkboxes fixed
- marker windows now take transparency setting of their bars
- for a hidden window shown by bumping screen edge, if you create a hidden button with the command list id
when_shown, the left command of this button is executed whenever the bar is shown by screen bump

http://f1.grp.yahoofs.com/v1/MPPmT7Wk8qa_QaIE1u7x2SB_rymzHJA1kXqmnrJ11uzu7hKGHN_drt5P9trwrmLqJXjZoyOF1xu9sF7t71FEiR-RswUX/Plug-ins_and_add-ons/tray%200.20.zip

--- In power-pro@..., "brother.gabriel" <brgabriel <at> ...> wrote:
>
> If I run the command tray.showmenu,
> I get a series of "Tray Error" messages:
> "Cannot readprocessmemory for tool tip"
> "Only part of a ReadProcessMemory or WriteProcessMemory request was completed."
> 
> I get these two messages twice, then I get the tray meu - but only a few of the icons.  Clicking on the icons in
that menu *does* work, however.
> 
(Continue reading)

pprotcmd | 24 Jun 2012 14:31
Picon
Favicon

Re: Re: Tray plugin for Win7x64?

24.06.2012, 15:20, "brucexs" <brucexs@...>:
> Thanks to all who have tested this plugin.
>
> I've uploaded a new version 0.20 of the tray plugin that tries to address some of the issues testers have found:

Thank you for the new version. Now the error message about PuntoSwitcher is not displayed though its icon is
shown neither. Anyway, it's going better.

Yours sincerely,

Vochomurka

------------------------------------

PowerPro's download site: http://powerpro.webeddie.com/Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/power-pro/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/power-pro/join
    (Yahoo! ID required)

<*> To change settings via email:
    power-pro-digest@... 
    power-pro-fullfeatured@...

(Continue reading)

brucexs | 24 Jun 2012 14:49
Picon
Favicon

Re: Tray plugin for Win7x64?


You should be able to manually create an icon if you like.  There is documentation in the refresh section of
the bar on doing this with the noicon keyword (which means no icon change!).

If you are using tray.showmenu, then create a clist instead as per the help.  Don't show it as a bar and don't
use autorefresh.  Instead, use these two commands to refresh and show as a menu.

.trayRefresh("yourclist")
menu.show("yourclist")

--- In power-pro@..., pprotcmd <pprotcmd <at> ...> wrote:
>
> 24.06.2012, 15:20, "brucexs" <brucexs <at> ...>:
> > Thanks to all who have tested this plugin.
> >
> > I've uploaded a new version 0.20 of the tray plugin that tries to address some of the issues testers have found:
> 
> Thank you for the new version. Now the error message about PuntoSwitcher is not displayed though its icon
is shown neither. Anyway, it's going better.
> 
> Yours sincerely,
> 
> Vochomurka
>

------------------------------------

PowerPro's download site: http://powerpro.webeddie.com/Yahoo! Groups Links

<*> To visit your group on the web, go to:
(Continue reading)

brucexs | 24 Jun 2012 13:28
Picon
Favicon

Re: Tray plugin for Win7x64?

Hi Brother Gabriel:

I am sorry I was not clear on this.  Do not use the tray support feature with the new plugin.  It is not needed.    

On your other notes:  thanks for the pointer to the notepad++ language file for powerpro which I am not using.  

The autohotkey feature to run multiple processe sounds handy.  Do the two process share anything somehow,
eg global variables?

--- In power-pro@..., "brother.gabriel" <brgabriel <at> ...> wrote:
>
> Does it make any difference with the 64bit support if my Powerpro is installed in C:\Program Files
(x86)\powerpro  ?
> 
> --- In power-pro@..., "brother.gabriel" <brgabriel <at> > wrote:
> >
> > Hey - I am pretty pleased to see that new tray plugin (I was just dealing with the checkbox display, too!)
> > 
> > However, when I try to do tray.showmenu(), powerpro freezes into spinner -wait mode.  If I try to install
tray support, I get a message saying:
> > 
> > "Unexpected current value for WinLogon key.
> > SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon"
> > 
> > I found the key in HKEY_LOCAL_MACHINE, but am not sure to which value it refers, or what it *did* find or
what it expected to find.
> > 
> > How can I fix this?
> > 
> > --- In power-pro@..., "brucexs" <brucexs <at> > wrote:
(Continue reading)

brucexs | 24 Jun 2012 13:37
Picon
Favicon

Re: Tray plugin for Win7x64?


NOW using your notepad++ file, (not "not using"!)

--- In power-pro@..., "brucexs" <brucexs <at> ...> wrote:
>
> Hi Brother Gabriel:
> 
> I am sorry I was not clear on this.  Do not use the tray support feature with the new plugin.  It is not needed.    
> 
> On your other notes:  thanks for the pointer to the notepad++ language file for powerpro which I am not
using.  
> 
> The autohotkey feature to run multiple processe sounds handy.  Do the two process share anything somehow,
eg global variables?
> 
> 
> --- In power-pro@..., "brother.gabriel" <brgabriel <at> > wrote:
> >
> > Does it make any difference with the 64bit support if my Powerpro is installed in C:\Program Files
(x86)\powerpro  ?
> > 
> > --- In power-pro@..., "brother.gabriel" <brgabriel <at> > wrote:
> > >
> > > Hey - I am pretty pleased to see that new tray plugin (I was just dealing with the checkbox display, too!)
> > > 
> > > However, when I try to do tray.showmenu(), powerpro freezes into spinner -wait mode.  If I try to install
tray support, I get a message saying:
> > > 
> > > "Unexpected current value for WinLogon key.
> > > SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon"
(Continue reading)

brother.gabriel | 24 Jun 2012 19:15
Gravatar

Re: Tray plugin for Win7x64?

Bruce,
You don't use Notepad++?  Its very nice.  Actually, I use Notepad++ AND notepad2 (using autohotkey syntax in
notepad2).  

No, the processes are not sharing anything.  However, when I run two or three or four autohotkey scripts
simultaneously, I can kill (forcefully end process) one or the other without disturbing the others.  This
is wonderful.  One problem I have had with powerpro is that when mousetrap has issues (and it does), it is so
easy to crash all of your other powerpro works - that is, your toolbars, global vars, etc all get wiped out
with ANY powerpro crash.  So I have taken to using a mix of powerpro and autohotkey, trying to keep powerpro
as a launcher for scripts.

Thanks for the note about not needing tray support any more.  I tested the new plugin (and new powerpro) and
the menu works fine now without any errors.  The only thing I see so far is that some of the icons display in the
menu with black backgrounds, whereas, in the tray, their backgrounds are transparent.  But that is only
the case with a few of them, like KatMouse, Pmeter, Task Killer and TreeDBnotes.  Also, a few of the icons in
the tray menu are only icons - they have no labels.  Maybe they should take their tooltip as a label in the case
there is no text available?  A menu without a label looks funny, you know.

Also, I use SystemExplorer, which gives a popup if you mouse over its icon in the system tray (you don't have
to click - just mouse over).  When the tray plugin loads the tray menu, that popup pops up - even though its
icon is toward the bottom of the list.  I think that the tray menu should not allow automatic popups like that
- it makes it hard to navigate the menu.

This is a wonderful plugin!

--- In power-pro@..., "brucexs" <brucexs <at> ...> wrote:
>
> Hi Brother Gabriel:
> 
> I am sorry I was not clear on this.  Do not use the tray support feature with the new plugin.  It is not needed.    
(Continue reading)

brother.gabriel | 24 Jun 2012 19:18
Gravatar

Re: Tray plugin for Win7x64?

Bruce - oh - sorry, I just caught your note about "NOW" instead of "not"!  Glad you like it!  There are a few
hangups in the syntax colouring functions, because the custom lexer setup of notepad++ is too limited to
do more.  I looked into what it would take to make a real dll lexer, and when I saw how much work was involved, my
hopes failed me and I gave it up!

--- In power-pro@..., "brother.gabriel" <brgabriel <at> ...> wrote:
>
> Bruce,
> You don't use Notepad++?  Its very nice.  Actually, I use Notepad++ AND notepad2 (using autohotkey syntax
in notepad2).  
> 
> No, the processes are not sharing anything.  However, when I run two or three or four autohotkey scripts
simultaneously, I can kill (forcefully end process) one or the other without disturbing the others.  This
is wonderful.  One problem I have had with powerpro is that when mousetrap has issues (and it does), it is so
easy to crash all of your other powerpro works - that is, your toolbars, global vars, etc all get wiped out
with ANY powerpro crash.  So I have taken to using a mix of powerpro and autohotkey, trying to keep powerpro
as a launcher for scripts.
> 
> Thanks for the note about not needing tray support any more.  I tested the new plugin (and new powerpro) and
the menu works fine now without any errors.  The only thing I see so far is that some of the icons display in the
menu with black backgrounds, whereas, in the tray, their backgrounds are transparent.  But that is only
the case with a few of them, like KatMouse, Pmeter, Task Killer and TreeDBnotes.  Also, a few of the icons in
the tray menu are only icons - they have no labels.  Maybe they should take their tooltip as a label in the case
there is no text available?  A menu without a label looks funny, you know.
> 
> Also, I use SystemExplorer, which gives a popup if you mouse over its icon in the system tray (you don't have
to click - just mouse over).  When the tray plugin loads the tray menu, that popup pops up - even though its
icon is toward the bottom of the list.  I think that the tray menu should not allow automatic popups like that
- it makes it hard to navigate the menu.
> 
(Continue reading)

brucexs | 24 Jun 2012 23:53
Picon
Favicon

Re: Tray plugin for Win7x64?

Hi Brother Gabriel:

On notepad++:  I added the keyword each.  I also noticed that the // and /* comments don't work because / is an
operator, I believe

I guess for the built-in languages like C where these comment delimiters do work he has written a real lexer.

I'll likely do a quick fix to add a keyword endFunction to powerpro which would be the same as quit but allow
you to do close folding based on it.

> > No, the processes are not sharing anything

It would almost be easy to set up PowerPro to allow this -- essentially secondary instances which can only
run scripts (ie no bars, no alarms, no hot keys, no windows of its own, etc) 

One problem unfortunately, which I cannot see a way around:  plugins assume they can ask PowerPro for
information through the main PowerPro window.  But if they did that when running from another process,
they could get back an address which only works in the main process.  Right now, I cannot see any way around
that which does not involve changing every plugin.

On tray plugin 
- the menu does use the tooltip for the label.  I am not sure why it does not appear for that item but I suspect it
is because the program is using some feature of tray icons which allows the tooltip to be supplied when
explorer asks for it, rather than stored in the explorer data structures that the plugin reads.

Not sure why the icons are not transparent.  I am actually using some code of the internet to create the .ico
from the icon handle that explorer has for the tray icon.  It may be that these icons are of a type that it
cannot process.  Or it may be that the bitmap I pass to it does not contain the transparency info in the format
it expects.  You can manually override the .ico file with an icon reference that works in the latest version
if you want to go to that trouble (you have to use a clist and refresh and menu show it manually).
(Continue reading)

brother.gabriel | 25 Jun 2012 15:46
Gravatar

Re: Tray plugin for Win7x64?

Bruce, if you allow for separate process to run scripts, then powerpro will have to account for scripts
whose processes are initiated from bars.

For the plugin issue, in order to change the way they interface without changing all the plugins (which is
near to impossible, IMHO, and not a viable procedure), what if there were a second powerpro process that
was used as an interface between powerpro and the plugins?  Maybe that interface could get from the
powerpro window, and give to the plugin process?  Ignore me, however, I don't really know what I'm talking about!

On the icon labels - I bet that SystemExplorer is hooking the tooltip for its automatic popup, which is why it
doesn't give any text.

--- In power-pro@..., "brucexs" <brucexs <at> ...> wrote:
>
> Hi Brother Gabriel:
> 
> On notepad++:  I added the keyword each.  I also noticed that the // and /* comments don't work because / is an
operator, I believe
> 
> I guess for the built-in languages like C where these comment delimiters do work he has written a real lexer.
> 
> I'll likely do a quick fix to add a keyword endFunction to powerpro which would be the same as quit but allow
you to do close folding based on it.
> 
> > > No, the processes are not sharing anything
> 
> It would almost be easy to set up PowerPro to allow this -- essentially secondary instances which can only
run scripts (ie no bars, no alarms, no hot keys, no windows of its own, etc) 
> 
> One problem unfortunately, which I cannot see a way around:  plugins assume they can ask PowerPro for
information through the main PowerPro window.  But if they did that when running from another process,
(Continue reading)

brucexs | 26 Jun 2012 16:34
Picon
Favicon

Re: Tray plugin for Win7x64?

There may be a very simple solution for the plugins issue (details below).  I have done some initial
experimenting and it looks good.  If so, this appears to be a very simple modification (a few hours work,
fingers crossed!)

Before I go ahead, does the following make sense to you.

1.  Separate intances would have no pcf file.  In effect, they would start with empty pcf.  I think you will be
able to create and display bars with cl functions or ini imports, but not through pcf.  Dialog plugin should
also work.   The process will not be able to read or write pcf files.

1b.  Any process can start a separate instance with 
powerpro /new <command>
or 
Do("powerpro /new", "<command>")

1c.  The process won't be able to access any of the global hooks in ppro.dll.  AFAIK, these don't affect
scripting, just the user interface control stuff which will only be accessible from main process.

where <command> is some PowerPro command, presumably a script run, with parameters (which have to be
constants or strings).  The word powerpro is just a shortform for full path to powerpro.exe; this
shortform is in fact implemented in 4.9p6.

2.  The pprofolder of the main process would always be used as the default for new process.  Scriptpath would
be separate for each process.

3.  If the script displays any error, and you press cancel on error dialog, the whole process would be terminated.

4.  The process will not be terminated wheb the script finishes normally unless the script ends with
Shutdown PowerPro commands (which would only affect that process.  You'll also be able to terminate
through window close menu from main program (each child prcess main window will be titled by the script
(Continue reading)

brother.gabriel | 26 Jun 2012 18:49
Gravatar

Re: Tray plugin for Win7x64?

That all sounds quite interesting.  I can follow you for the most part, but I admittedly haven't yet reached
the guru level.  

So, if I understand you right, we are essentially running a separate, commandline-only instance of
powerpro?  That is, the subprocesses can do anything powerpro can do from the commandline.  And, if the
subprocess needed to interact with elements (bars, cl, etc) in the main powerpro process, it has to use
special methods.

To avoid some confusion, if using a script in a separate process (which should be optional), instead of
using powerpro.shutdown as the command for ending the process (it's confusing for the coder), I suggest
something like powerpro.process.end  - which should not do anything if it is the main powerpro process - it
should only work for the subprocesses.

--- In power-pro@..., "brucexs" <brucexs <at> ...> wrote:
>
> There may be a very simple solution for the plugins issue (details below).  I have done some initial
experimenting and it looks good.  If so, this appears to be a very simple modification (a few hours work,
fingers crossed!)
> 
> Before I go ahead, does the following make sense to you.
> 
> 1.  Separate intances would have no pcf file.  In effect, they would start with empty pcf.  I think you will be
able to create and display bars with cl functions or ini imports, but not through pcf.  Dialog plugin should
also work.   The process will not be able to read or write pcf files.
> 
> 1b.  Any process can start a separate instance with 
> powerpro /new <command>
> or 
> Do("powerpro /new", "<command>")
> 
(Continue reading)

brucexs | 26 Jun 2012 21:26
Picon
Favicon

Re: Tray plugin for Win7x64?


The subprocess starts from a command line call to a script, but after that it can do anything that does not
involve hot keys, mouse hooks, or any of the GUI stuff on the first couple of configure tabs.  

It seems the script call could be optional too, but you'd need to think about how you would tell the new
process to do something.  It cannot have hot keys -- possibly a bar button, I guess.

There may also be some limitations to bars, I have to think through, as they do depend on having access to the
hook dll for some featuers, I think.  Active buttons would not work, for example. I need to investigate.

Also, secondary processes would not be able to write some ini files that PowerPro uses automatically, to
prevent corrupting them.

I had thought of the secondary processes as safe ways to run scripts from the main instance where your bars,
hot keys, etc are kept.  That way a broken script does not mean your PowerPro UI is gone.  You may be able to do
limited bars for user ui for the script, but tryng to split your UI across multiple processes likely won't
work.  (Menus should be no problem, as along as you have a way to show them, since no hot keys).  

I am also thinking now that secondary processes can have their pcf for convenience, although having more
than one process write into the same pcf will likely cause you grief.  In fact, it likely makes sense to
prevent pcf writing by secondary process unless explicitly asked for by cl.savepcf or writealltopcf: 
for example, PowerPro writes the pcf behind the scenes for alarms and timers and that may cause unexpected problems.

It is no problem to introduce a synonym like shutdown.process:  I'd want to stick with the main command
shutdown command to avoid new keywords.

--- In power-pro@..., "brother.gabriel" <brgabriel <at> ...> wrote:
>
> That all sounds quite interesting.  I can follow you for the most part, but I admittedly haven't yet reached
the guru level.  
(Continue reading)

brother.gabriel | 30 Jun 2012 02:39
Gravatar

Re: Tray plugin for Win7x64?

Bruce, what would be the difference then, if you allow pcf's for subprocesses - between subprocessing and
just using multiple instances of powerpro that run different configurations?

--- In power-pro@..., "brucexs" <brucexs <at> ...> wrote:
>
> 
> The subprocess starts from a command line call to a script, but after that it can do anything that does not
involve hot keys, mouse hooks, or any of the GUI stuff on the first couple of configure tabs.  
> 
> 
> It seems the script call could be optional too, but you'd need to think about how you would tell the new
process to do something.  It cannot have hot keys -- possibly a bar button, I guess.
> 
> There may also be some limitations to bars, I have to think through, as they do depend on having access to the
hook dll for some featuers, I think.  Active buttons would not work, for example. I need to investigate.
> 
> Also, secondary processes would not be able to write some ini files that PowerPro uses automatically, to
prevent corrupting them.
> 
> I had thought of the secondary processes as safe ways to run scripts from the main instance where your bars,
hot keys, etc are kept.  That way a broken script does not mean your PowerPro UI is gone.  You may be able to do
limited bars for user ui for the script, but tryng to split your UI across multiple processes likely won't
work.  (Menus should be no problem, as along as you have a way to show them, since no hot keys).  
> 
> I am also thinking now that secondary processes can have their pcf for convenience, although having more
than one process write into the same pcf will likely cause you grief.  In fact, it likely makes sense to
prevent pcf writing by secondary process unless explicitly asked for by cl.savepcf or writealltopcf: 
for example, PowerPro writes the pcf behind the scenes for alarms and timers and that may cause unexpected problems.
> 
> It is no problem to introduce a synonym like shutdown.process:  I'd want to stick with the main command
(Continue reading)

brucexs | 30 Jun 2012 03:36
Picon
Favicon

Re: Tray plugin for Win7x64?

There are some design assumptions in PowerPro which make it hard to make it fully multi-process.  They are
mostly because it was implemented when the only way to hook into the mouse and the keyboard was with a dll and
that ppro.dll has now evolved to where it could not handle multiple clients easily.

Windows no longer requires a dll and global hooks for intercepting mouse and key actions, and that new
approach is what mousetrap and keytrap use.  But is would be too hard from me to rewrite PowerPro to leverage it.

The multi-process stuff has turned out to be a interesting challenge.
I expect to have something ready for beta testers soon.  

It does allow a separate pcf for each process, but only the main process can do mouse hot keys, vdesks,  and the
functions on the gui tab of the configure dialog.  Key hot keys actually seem to work mostly  in each
instance, because PowerPro can leverage a third approach to global hot keys with Windows provides which
does not depend on dll (and is still different form keytrap!).  

Bars, clists, etc are all functional and separate in each instance.

More soon.

--- In power-pro@..., "brother.gabriel" <brgabriel <at> ...> wrote:
>
> Bruce, what would be the difference then, if you allow pcf's for subprocesses - between subprocessing and
just using multiple instances of powerpro that run different configurations?
> 
> --- In power-pro@..., "brucexs" <brucexs <at> > wrote:
> >
> > 
> > The subprocess starts from a command line call to a script, but after that it can do anything that does not
involve hot keys, mouse hooks, or any of the GUI stuff on the first couple of configure tabs.  
> > 
(Continue reading)

brucexs | 24 Jun 2012 14:52
Picon
Favicon

Re: Tray plugin for Win7x64?

I installed the 64 bit version of rainmeter but the icon worked fine!  Maybe the new version will help?

Rainmeter is a Nice looking program, although the warnings about skins with malware are a bit scary.  (Same
applies to powerpro plugins, by the way, but too few users for hackers to bother, I expect). Does it only do
the basic things with different skins (search, disk, cpu, recycle, feeds), or is there other
functionality as well as the ability to change the way it looks?

--- In power-pro@..., "brucexs" <brucexs <at> ...> wrote:
>
> 
> Thanks.  This is the same error that the other tester experienced.  The update will remove the error
message.  I'll post it tomorrow.
> 
> I am not sure why the program fails but only on a few icons.  Something I don't know about icons and tray icons,
I expect.
> 
> I see the program is open source.  If it is easy to get at the source. I may take a look at the tray icon bits.
> 
> 
> --- In power-pro@..., "scr_99_1" <Stan <at> > wrote:
> >
> > 
> > Bruce,
> > 
> > Thanks for the reply.
> > 
> > The icon for Rainmeter will cause an error either in a menu or bar. It only shows the error on refresh of the
bar other wise the icon is blank. Using a menu it errors every time the menu is shown.
> > 
> > The  first error reads:
(Continue reading)

scr_99_1 | 25 Jun 2012 00:44
Picon
Favicon

Re: Tray plugin for Win7x64?


Rainmeter has all sorts of things it can monitor, weather, earthquakes, system temps, notes, slide shows,
RSS feeds, calenders, etc. see: http://rainmeter.net/ManualBeta.htm and http://rainmeter.net/forum/

I've had to set aside my experiments with powerpro tray, ran into some sort of difficulty trying to update
the tray bar. 

I figured if I could get the Win7 Network Icon to update I could figure out the rest. I could not get it to work
after many hours of trying, in fact I did something and had to restore my backup of the .pcf file. 

I'm sure it's something I don't understand at the moment.

I'll check for the latest Rainmeter file and give it a try.

Stan 

--- In power-pro@..., "brucexs" <brucexs <at> ...> wrote:
>
> I installed the 64 bit version of rainmeter but the icon worked fine!  Maybe the new version will help?
> 
> Rainmeter is a Nice looking program, although the warnings about skins with malware are a bit scary.  (Same
applies to powerpro plugins, by the way, but too few users for hackers to bother, I expect). Does it only do
the basic things with different skins (search, disk, cpu, recycle, feeds), or is there other
functionality as well as the ability to change the way it looks?
> 
> 
> 
> --- In power-pro@..., "brucexs" <brucexs <at> > wrote:
> >
> > 
(Continue reading)

scr_99_1 | 25 Jun 2012 02:59
Picon
Favicon

Re: Tray plugin for Win7x64?

Your are correct. The update of Rainmeter to v2.3 eliminated the error. Looks like it was released yesterday.

BTW, I've never had an issue with rainmeter skins. However, I'm sure they are out there. I find something
that works and go from there so I don't download a lot of different skins. deviantART does a fairly good job
of screening uploaded skins.

Stan

--- In power-pro@..., "scr_99_1" <Stan <at> ...> wrote:
>
> 
> 
> 
> Rainmeter has all sorts of things it can monitor, weather, earthquakes, system temps, notes, slide
shows, RSS feeds, calenders, etc. see: http://rainmeter.net/ManualBeta.htm and http://rainmeter.net/forum/
> 
> I've had to set aside my experiments with powerpro tray, ran into some sort of difficulty trying to update
the tray bar. 
> 
> I figured if I could get the Win7 Network Icon to update I could figure out the rest. I could not get it to work
after many hours of trying, in fact I did something and had to restore my backup of the .pcf file. 
> 
> I'm sure it's something I don't understand at the moment.
> 
> I'll check for the latest Rainmeter file and give it a try.
> 
> Stan 
> 
> --- In power-pro@..., "brucexs" <brucexs <at> > wrote:
> >
(Continue reading)

scr_99_1 | 25 Jun 2012 03:24
Picon
Favicon

Re: Tray plugin for Win7x64?

You were correct the update of rainmeter to v2.3, released yesterday I think, eliminated the error.

BTW, I never had a problem with rainmeter skins. However, I don't download many. Usually I'm looking for
something specific and then download with caution. 

All of the skins can be modified by the user in the configuration .ini file to change the appearance. The
mechanics of the meter is what I'm looking for. I'm one of those people that best learn things by example.
.... Caution... rainmeter can become a real time waster tinkering with it.

Stan
--- In power-pro@..., "scr_99_1" <Stan <at> ...> wrote:
>
> 
> 
> 
> Rainmeter has all sorts of things it can monitor, weather, earthquakes, system temps, notes, slide
shows, RSS feeds, calenders, etc. see: http://rainmeter.net/ManualBeta.htm and http://rainmeter.net/forum/
> 
> I've had to set aside my experiments with powerpro tray, ran into some sort of difficulty trying to update
the tray bar. 
> 
> I figured if I could get the Win7 Network Icon to update I could figure out the rest. I could not get it to work
after many hours of trying, in fact I did something and had to restore my backup of the .pcf file. 
> 
> I'm sure it's something I don't understand at the moment.
> 
> I'll check for the latest Rainmeter file and give it a try.
> 
> Stan 
> 
(Continue reading)

scr_99_1 | 25 Jun 2012 03:28
Picon
Favicon

Re: Tray plugin for Win7x64?


Double post, I deleted the first one ..  I didn't think it posted..

--- In power-pro@..., "scr_99_1" <Stan <at> ...> wrote:
>
> You were correct the update of rainmeter to v2.3, released yesterday I think, eliminated the error.
> 
> BTW, I never had a problem with rainmeter skins. However, I don't download many. Usually I'm looking for
something specific and then download with caution. 
> 
> All of the skins can be modified by the user in the configuration .ini file to change the appearance. The
mechanics of the meter is what I'm looking for. I'm one of those people that best learn things by example.
.... Caution... rainmeter can become a real time waster tinkering with it.
> 
> Stan
> --- In power-pro@..., "scr_99_1" <Stan <at> > wrote:
> >
> > 
> > 
> > 
> > Rainmeter has all sorts of things it can monitor, weather, earthquakes, system temps, notes, slide
shows, RSS feeds, calenders, etc. see: http://rainmeter.net/ManualBeta.htm and http://rainmeter.net/forum/
> > 
> > I've had to set aside my experiments with powerpro tray, ran into some sort of difficulty trying to update
the tray bar. 
> > 
> > I figured if I could get the Win7 Network Icon to update I could figure out the rest. I could not get it to work
after many hours of trying, in fact I did something and had to restore my backup of the .pcf file. 
> > 
> > I'm sure it's something I don't understand at the moment.
(Continue reading)

brucexs | 25 Jun 2012 15:03
Picon
Favicon

Re: Tray plugin for Win7x64?

Thanks for taking the time to try the plugin and sorry you spent so much time to no avail.

If you want to try again some time, can I suggest starting with a very simple bar.

1.  Create a new clist.

2.  Add a hidden button 0.  Just leave default size and look.

3.  Create a shown button 1 with these commands
Left:  .trayrefresh("clistname")
Middle:  .trayrefresh <at> auto("clistname")
Right:  .trayrefresh <at> cancelauto("clistname")

4.  Set any other look and feel properties you like for the bar.  Don't make it autohide for now.

5.  Check auto show as bar.

6.  Use OK to exit configuration.

Here clistname should be replaced by name of your clist.

After exiting config, the bar should show with no tray icons, just the single button for running
trayrefresh. 

Left click the button.  That should refresh the bar and add the tray icons now running on your system.  Does
that work?  Does clicking work for the ones that are shown?

Try starting other tray icon programs and manually using refresh to see if they work.

If it seems stable, try middle clicking to start auto refresh and playing with starting and stopping
(Continue reading)

scr_99_1 | 26 Jun 2012 14:34
Picon
Favicon

Re: Tray plugin for Win7x64?


Bruce,

Thanks for the reply and your help.

I am able to get the Tray Icons to show in a bar.

All the Icons work with left or right clicks

However, .trayrefresh <at> auto("TrayBar") caused the bar to flicker I found that one of the programs I use,
Networx (a bandwidth use monitor), was causing the problem. Once I closed it the tray stopped blinking. I
have hidden this icon from the tray for now. I haven't updated this program for a while. In the next few days
I'll check it out

The "TrayBar" Icons do not reflect the current state of the those shown in the system tray. For example, the
network icon remains the same if I am connected to the internet or not. In other words the network icon does
not show the red "X" when not connected. On hover the tool tip does reflect the current state and the clicks
work. Maybe it's not supposed to show the change.

At last, I can get rid of the task bar and still have access to most of the System Tray Icons.

Stan

--- In power-pro@..., "brucexs" <brucexs <at> ...> wrote:
>
> Thanks for taking the time to try the plugin and sorry you spent so much time to no avail.
> 
> If you want to try again some time, can I suggest starting with a very simple bar.
> 
> 1.  Create a new clist.
(Continue reading)

brucexs | 26 Jun 2012 15:50
Picon
Favicon

Re: Tray plugin for Win7x64?

Flickering might happen if the tray icon is constantly updating its icon, even if the look does not change. 
You could test by adding the keyword noicon to the end of the item id for that item.  

I currently use a hidden bar and do not use auto refresh.  Instead, I use the when_shown feature to refresh the
bar only when a bump shows it.  This also avoids flickering.

Can you try the tray.showmenu in the latest 0.25 release to see if that improves the icons shown for the ones
that do not work now?  If so, you can use the new iconhandle keyword in bars as per the help where it talks about
making the bar icons same as tray.showmenu.

(Please post if help is not clear so I can update help).

--- In power-pro@..., "scr_99_1" <Stan <at> ...> wrote:
>
> 
> 
> 
> Bruce,
> 
> Thanks for the reply and your help.
> 
> I am able to get the Tray Icons to show in a bar.
> 
> All the Icons work with left or right clicks
> 
> However, .trayrefresh <at> auto("TrayBar") caused the bar to flicker I found that one of the programs I use,
Networx (a bandwidth use monitor), was causing the problem. Once I closed it the tray stopped blinking. I
have hidden this icon from the tray for now. I haven't updated this program for a while. In the next few days
I'll check it out
> 
(Continue reading)


Gmane