brucexs | 26 Jul 2012 01:39
Picon
Favicon

8e beta

I've uploaded a new beta, which uses a 7zip self extractor to make the setup into an exe that you don't have to
unzip first,  See files area if link is wwrong.
http://tech.groups.yahoo.com/group/power-pro/files/pwrpro49_p8e_setup.exe

I implemented new key hooking which allows you to override standard win+ keys.  Select New on keysetup
dialog for intercept method.  This is experimental -- let me know if it works for you.  Other methods are
still there under legacy 1 and 2 correspond the unchecked and checked "recognize hot keys in dos box".

You can determine if left or right modifier keys were used to activate hot key and have separate
hotkeys/actions depending on which.  Use target edit box for keys or script with function lastmodkeys

You can automatically rehook to try to overcome programs which steal PowerPro hooks.  But this too is
experimental.  Key setup dialog to set.

Error message if note deletefile fails.

Error message if you use functions or label in block command or multiline string  (yes, this is ugly and it
would be better to allow them to not break the prescan.  Maybe another time...)

No more work planned other than bug fixes for the new stuff, if I can (e.g. may not be able to make autorehook
work perfectly).

Full list:

Notes for existing PowerPro users:
Initialization of bar position has changed to accommodate multi-monitor support.  If bars are not
displaying, use the command Exec.ShowBarInfo attached to a hot key, or ctrl-right click another bar and
select "Show Info for all Bars".  This will show the coordinates of all bars.  If the bar in question is off
screen, check how you have set its position in any script or imported ini file.

(Continue reading)

brother.gabriel | 26 Jul 2012 03:17
Gravatar

Re: 8e beta

Bruce,  I tried it. First I exited Powerpro.  Now, when I get to the window about "Choose Folder for Powerpro",
I uncheck the box for "Use a separate folder for configuration files" becuase I've always run all of
powerpro from one folder.  I don't need to browse because it already says "C:\Powerpro" in the input box,
and that's where my powerpro is.  Now, when I push the next button, I get a messagebox saying, "Cannot access
main folder. Check spelling... you need administrator rights..."  - Now I am admin, and the directory is
correct.  So I tried the "browse for main folder" button, and browsed to the directory, and it's still a no
go.  I can't progress, and must push "cancel" for the installation.

--- In power-pro@..., "brucexs" <brucexs <at> ...> wrote:
>
> I've uploaded a new beta, which uses a 7zip self extractor to make the setup into an exe that you don't have to
unzip first,  See files area if link is wwrong.
> http://tech.groups.yahoo.com/group/power-pro/files/pwrpro49_p8e_setup.exe
> 
> I implemented new key hooking which allows you to override standard win+ keys.  Select New on keysetup
dialog for intercept method.  This is experimental -- let me know if it works for you.  Other methods are
still there under legacy 1 and 2 correspond the unchecked and checked "recognize hot keys in dos box".
> 
> You can determine if left or right modifier keys were used to activate hot key and have separate
hotkeys/actions depending on which.  Use target edit box for keys or script with function lastmodkeys
> 
> You can automatically rehook to try to overcome programs which steal PowerPro hooks.  But this too is
experimental.  Key setup dialog to set.
> 
> Error message if note deletefile fails.
> 
> Error message if you use functions or label in block command or multiline string  (yes, this is ugly and it
would be better to allow them to not break the prescan.  Maybe another time...)
> 
> No more work planned other than bug fixes for the new stuff, if I can (e.g. may not be able to make autorehook
(Continue reading)

brother.gabriel | 26 Jul 2012 04:39
Gravatar

Re: 8e beta

Bruce, I tried something else with that.  I used 7zip and extracted the contents of the installer and ran that
installer instead.  No go - it was the same problem.

--- In power-pro@..., "brother.gabriel" <brgabriel <at> ...> wrote:
>
> Bruce,  I tried it. First I exited Powerpro.  Now, when I get to the window about "Choose Folder for
Powerpro", I uncheck the box for "Use a separate folder for configuration files" becuase I've always run
all of powerpro from one folder.  I don't need to browse because it already says "C:\Powerpro" in the input
box, and that's where my powerpro is.  Now, when I push the next button, I get a messagebox saying, "Cannot
access main folder. Check spelling... you need administrator rights..."  - Now I am admin, and the
directory is correct.  So I tried the "browse for main folder" button, and browsed to the directory, and
it's still a no go.  I can't progress, and must push "cancel" for the installation.
> 
> 
> --- In power-pro@..., "brucexs" <brucexs <at> > wrote:
> >
> > I've uploaded a new beta, which uses a 7zip self extractor to make the setup into an exe that you don't have
to unzip first,  See files area if link is wwrong.
> > http://tech.groups.yahoo.com/group/power-pro/files/pwrpro49_p8e_setup.exe
> > 
> > I implemented new key hooking which allows you to override standard win+ keys.  Select New on keysetup
dialog for intercept method.  This is experimental -- let me know if it works for you.  Other methods are
still there under legacy 1 and 2 correspond the unchecked and checked "recognize hot keys in dos box".
> > 
> > You can determine if left or right modifier keys were used to activate hot key and have separate
hotkeys/actions depending on which.  Use target edit box for keys or script with function lastmodkeys
> > 
> > You can automatically rehook to try to overcome programs which steal PowerPro hooks.  But this too is
experimental.  Key setup dialog to set.
> > 
(Continue reading)

brucexs | 26 Jul 2012 14:52
Picon
Favicon

Re: 8e beta

Foolish me for using C _access to check for read/write access to folder even though Win32 SDK help says it is
not the same as Windows security access.  

I removed it and uploaded a quick patch to same place.  Thanks for catching.

I found some old code that tried to implement the same "LL" key hooking routine that keytrap uses and AHK uses
and got it working.  This is the hook that can block win+ keys that Windows defines.

But it works differently enough from the existing PowerPro hooks that it may not be compatible with all keys
in existing configs, although it worked fine in my limited testing.

The other possible source of problems (not seen on my machines, but...) is that if you define say win+r, then
PowerPro has to do something about the win key up at the end. 

Eating it causes other programs to think Win key is still down. Bad.

Leaving it alone causes start menu to show as if you tapped win key. Also bad.

Instead, I send add an extra Esc character to the input stream following the win up, which I think AHK does
too, from a quick look at source, but I am not sure.  I did not see any, but I guess this one could cause issues. 
Again, not on my XP and win7 test machines, but I only did limited testing.

--- In power-pro@..., "brother.gabriel" <brgabriel <at> ...> wrote:
>
> Bruce, I tried something else with that.  I used 7zip and extracted the contents of the installer and ran
that installer instead.  No go - it was the same problem.
> 
> --- In power-pro@..., "brother.gabriel" <brgabriel <at> > wrote:
> >
> > Bruce,  I tried it. First I exited Powerpro.  Now, when I get to the window about "Choose Folder for
(Continue reading)

dleidinger | 26 Jul 2012 08:11
Picon
Favicon

Re: 8e beta

Hello Bruce,

thanks for the new version.

i checked the new hooking. 
Doesn't work properly on my XP.

It seems that there are some issues with hotkeys using the WIN-Key.
Pressing a WIN-hotkey to show a bar, produces a flickering before showing the bar. 
Pressing a WIN-hotkey calling i.e. notepad, switches the active screen to another presumably the next.

best regards

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

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)

dleidinger | 26 Jul 2012 08:21
Picon
Favicon

Re: 8e beta

Addition:
Flickering is independend of new hooking.
It's caused from an old additional personal script command to center the bar:

;***************************************************************
function WIN_CENTER(f_cl,f_percent)                             
;***************************************************************
local l_percent  = f_percent                                    
local l_xsize    = xscreen * l_percent   / 100                  
local l_xpos     = ( xscreen - l_xsize ) / 002                  
local l_ysize    = yscreen * l_percent   / 100                  
local l_ypos     = ( yscreen - l_ysize ) / 002                  
local l_rect     = win.makerect(l_xpos,l_ypos,l_xsize,l_ysize)  
win.setrect(f_cl,l_rect)                                        
win.setpos10000(f_cl,"s","c","c","=","=")                       

Never noticed that behaviour before.

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

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)

phkiefer | 26 Jul 2012 12:48
Picon

Re: 8e beta

Bruce,

cheers for the update! Will test soon.

I noticed in beta 8d that there was a problem in the upper right corner of the configuration dialog for
command list properties. One title (I think it used to be rounded buttons or offset or something says '0'
and has scroll buttons next to it (caused, no doubt, by your adding the 'Monitor' editbox).

--- In power-pro@..., "dleidinger" <dleidinger <at> ...> wrote:
>
> Addition:
> Flickering is independend of new hooking.
> It's caused from an old additional personal script command to center the bar:
> 
> ;***************************************************************
> function WIN_CENTER(f_cl,f_percent)                             
> ;***************************************************************
> local l_percent  = f_percent                                    
> local l_xsize    = xscreen * l_percent   / 100                  
> local l_xpos     = ( xscreen - l_xsize ) / 002                  
> local l_ysize    = yscreen * l_percent   / 100                  
> local l_ypos     = ( yscreen - l_ysize ) / 002                  
> local l_rect     = win.makerect(l_xpos,l_ypos,l_xsize,l_ysize)  
> win.setrect(f_cl,l_rect)                                        
> win.setpos10000(f_cl,"s","c","c","=","=")                       
> 
> 
> Never noticed that behaviour before.
>

(Continue reading)

brucexs | 26 Jul 2012 14:44
Picon
Favicon

Re: 8e beta

Reply.  Thanks for catching this.  I just uploaded a quick patch to same place so if you downloaded pls do so again.

I don't think I changed anything that would cause flickering.  Usually this happens if you draw something
twice quickly.  I notice your script sets the position twice; I have not looked at closely but possibly
these could be combined?

--- In power-pro@..., "phkiefer" <philippkiefer <at> ...> wrote:
>
> Bruce,
> 
> cheers for the update! Will test soon.
> 
> I noticed in beta 8d that there was a problem in the upper right corner of the configuration dialog for
command list properties. One title (I think it used to be rounded buttons or offset or something says '0'
and has scroll buttons next to it (caused, no doubt, by your adding the 'Monitor' editbox).
> 
> --- In power-pro@..., "dleidinger" <dleidinger <at> > wrote:
> >
> > Addition:
> > Flickering is independend of new hooking.
> > It's caused from an old additional personal script command to center the bar:
> > 
> > ;***************************************************************
> > function WIN_CENTER(f_cl,f_percent)                             
> > ;***************************************************************
> > local l_percent  = f_percent                                    
> > local l_xsize    = xscreen * l_percent   / 100                  
> > local l_xpos     = ( xscreen - l_xsize ) / 002                  
> > local l_ysize    = yscreen * l_percent   / 100                  
> > local l_ypos     = ( yscreen - l_ysize ) / 002                  
(Continue reading)

nospam0123456us | 26 Jul 2012 16:27
Picon
Favicon

Re: 8e beta

All the latest posted 49P8(cde) powerpro return 4928 as pproversion, file date are not the same but it is not
very convenient to know the version we run from script. Could it be possible to have a more explicit version
number ?

--- In power-pro@..., "brucexs" <brucexs <at> ...> wrote:
>
> Reply.  Thanks for catching this.  I just uploaded a quick patch to same place so if you downloaded pls do so again.
> 
> I don't think I changed anything that would cause flickering.  Usually this happens if you draw something
twice quickly.  I notice your script sets the position twice; I have not looked at closely but possibly
these could be combined?
> 

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

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 | 26 Jul 2012 16:30
Picon
Favicon

Re: 8e beta

I do try to always update the date and most update the displayed version on about powerpro from ctrl-right
click.  I'll update the version number within as well.  It is a bit tedious but I should do it, I agree.

--- In power-pro@..., "nospam0123456us"
<nospam0123456us <at> ...> wrote:
>
> All the latest posted 49P8(cde) powerpro return 4928 as pproversion, file date are not the same but it is
not very convenient to know the version we run from script. Could it be possible to have a more explicit
version number ?
> 
> 
> --- In power-pro@..., "brucexs" <brucexs <at> > wrote:
> >
> > Reply.  Thanks for catching this.  I just uploaded a quick patch to same place so if you downloaded pls do so again.
> > 
> > I don't think I changed anything that would cause flickering.  Usually this happens if you draw something
twice quickly.  I notice your script sets the position twice; I have not looked at closely but possibly
these could be combined?
> >
>

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

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 | 26 Jul 2012 16:48
Picon
Favicon

Re: 8e beta

I was futzing around with this and realized I'd enabled the offsets on bar properties for fixed positions
but forgot to make them work.  

So I fixed and re-uploaded and changed versions at same time.

--- In power-pro@..., "brucexs" <brucexs <at> ...> wrote:
>
> I do try to always update the date and most update the displayed version on about powerpro from ctrl-right
click.  I'll update the version number within as well.  It is a bit tedious but I should do it, I agree.
> 
> --- In power-pro@..., "nospam0123456us"
<nospam0123456us <at> > wrote:
> >
> > All the latest posted 49P8(cde) powerpro return 4928 as pproversion, file date are not the same but it is
not very convenient to know the version we run from script. Could it be possible to have a more explicit
version number ?
> > 
> > 
> > --- In power-pro@..., "brucexs" <brucexs <at> > wrote:
> > >
> > > Reply.  Thanks for catching this.  I just uploaded a quick patch to same place so if you downloaded pls do so again.
> > > 
> > > I don't think I changed anything that would cause flickering.  Usually this happens if you draw
something twice quickly.  I notice your script sets the position twice; I have not looked at closely but
possibly these could be combined?
> > >
> >
>

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

brucexs | 26 Jul 2012 18:51
Picon
Favicon

Re: 8e beta: auto rehook breaks bumping screen to show window

I'll fix this after I give time for other bugs to be reported.

--- In power-pro@..., "brucexs" <brucexs <at> ...> wrote:
>
> I was futzing around with this and realized I'd enabled the offsets on bar properties for fixed positions
but forgot to make them work.  
> 
> So I fixed and re-uploaded and changed versions at same time.
> 
> --- In power-pro@..., "brucexs" <brucexs <at> > wrote:
> >
> > I do try to always update the date and most update the displayed version on about powerpro from ctrl-right
click.  I'll update the version number within as well.  It is a bit tedious but I should do it, I agree.
> > 
> > --- In power-pro@..., "nospam0123456us"
<nospam0123456us <at> > wrote:
> > >
> > > All the latest posted 49P8(cde) powerpro return 4928 as pproversion, file date are not the same but it is
not very convenient to know the version we run from script. Could it be possible to have a more explicit
version number ?
> > > 
> > > 
> > > --- In power-pro@..., "brucexs" <brucexs <at> > wrote:
> > > >
> > > > Reply.  Thanks for catching this.  I just uploaded a quick patch to same place so if you downloaded pls do
so again.
> > > > 
> > > > I don't think I changed anything that would cause flickering.  Usually this happens if you draw
something twice quickly.  I notice your script sets the position twice; I have not looked at closely but
possibly these could be combined?
(Continue reading)

brother.gabriel | 26 Jul 2012 17:27
Gravatar

Re: 8e beta

I tried the new setup and it installed fine this time.  

Is there a command that does something like
*window.move("active").to-monitor-1

I know I could script that, but I am just wondering if it is amoungst the new features or not.

By the way, I tested win+1 with override setting, and it works just fine on my win7-64.

--- In power-pro@..., "brucexs" <brucexs <at> ...> wrote:
>
> I've uploaded a new beta, which uses a 7zip self extractor to make the setup into an exe that you don't have to
unzip first,  See files area if link is wwrong.
> http://tech.groups.yahoo.com/group/power-pro/files/pwrpro49_p8e_setup.exe
> 
> I implemented new key hooking which allows you to override standard win+ keys.  Select New on keysetup
dialog for intercept method.  This is experimental -- let me know if it works for you.  Other methods are
still there under legacy 1 and 2 correspond the unchecked and checked "recognize hot keys in dos box".
> 
> You can determine if left or right modifier keys were used to activate hot key and have separate
hotkeys/actions depending on which.  Use target edit box for keys or script with function lastmodkeys
> 
> You can automatically rehook to try to overcome programs which steal PowerPro hooks.  But this too is
experimental.  Key setup dialog to set.
> 
> Error message if note deletefile fails.
> 
> Error message if you use functions or label in block command or multiline string  (yes, this is ugly and it
would be better to allow them to not break the prescan.  Maybe another time...)
> 
(Continue reading)

brucexs | 26 Jul 2012 18:50
Picon
Favicon

Re: 8e beta

No, although I guess it would be an easy add to win plugin.  

Where should it go?  What happens if it is too big for the new screen let it extend off screen or shrink?  

--- In power-pro@..., "brother.gabriel" <brgabriel <at> ...> wrote:
>
> I tried the new setup and it installed fine this time.  
> 
> Is there a command that does something like
> *window.move("active").to-monitor-1
> 
> I know I could script that, but I am just wondering if it is amoungst the new features or not.
> 
> By the way, I tested win+1 with override setting, and it works just fine on my win7-64.
> 
> 
> --- In power-pro@..., "brucexs" <brucexs <at> > wrote:
> >
> > I've uploaded a new beta, which uses a 7zip self extractor to make the setup into an exe that you don't have
to unzip first,  See files area if link is wwrong.
> > http://tech.groups.yahoo.com/group/power-pro/files/pwrpro49_p8e_setup.exe
> > 
> > I implemented new key hooking which allows you to override standard win+ keys.  Select New on keysetup
dialog for intercept method.  This is experimental -- let me know if it works for you.  Other methods are
still there under legacy 1 and 2 correspond the unchecked and checked "recognize hot keys in dos box".
> > 
> > You can determine if left or right modifier keys were used to activate hot key and have separate
hotkeys/actions depending on which.  Use target edit box for keys or script with function lastmodkeys
> > 
> > You can automatically rehook to try to overcome programs which steal PowerPro hooks.  But this too is
(Continue reading)

brother.gabriel | 26 Jul 2012 18:58
Gravatar

Re: 8e beta

In Display Fusion, when you move a window from one monitor to the next, it gets resized proportionally. 
Maybe there could be a parameter for whether to do that, or leave it extending off the screen (although I
can't imagine why anyone would want it hanging off the edge - unless they use one of those panning desktop setups).

I think adding this to the win plugin would make it very polished. 

--- In power-pro@..., "brucexs" <brucexs <at> ...> wrote:
>
> No, although I guess it would be an easy add to win plugin.  
> 
> Where should it go?  What happens if it is too big for the new screen let it extend off screen or shrink?  
> 
> 
> --- In power-pro@..., "brother.gabriel" <brgabriel <at> > wrote:
> >
> > I tried the new setup and it installed fine this time.  
> > 
> > Is there a command that does something like
> > *window.move("active").to-monitor-1
> > 
> > I know I could script that, but I am just wondering if it is amoungst the new features or not.
> > 
> > By the way, I tested win+1 with override setting, and it works just fine on my win7-64.
> > 
> > 
> > --- In power-pro@..., "brucexs" <brucexs <at> > wrote:
> > >
> > > I've uploaded a new beta, which uses a 7zip self extractor to make the setup into an exe that you don't have
to unzip first,  See files area if link is wwrong.
> > > http://tech.groups.yahoo.com/group/power-pro/files/pwrpro49_p8e_setup.exe
(Continue reading)


Gmane