http://tech.groups.yahoo.com/group/power-pro/message/31611

Many thanks to Alan Campbell.

Non-current regex files have been moved to a new "Regex (Prior)" folder in the plugins section of the files area.

PowerPro plugin regex Version 2.04

Release Highlights
-Introduced optional tagged parameters
-Fixed issues with pcreMatchCount and short name versions of the POSIX functions
-Added a new miscellaneous service, regex.GetDefaultOptions
-Enhanced regex.SetDefaultOptions to allow it to read a custom option string from a key in the regex ini file
-Deactivated the previously implemented but problematic pattern callout feature. The callout argument of various pcreServices currently has no effect
-Enhanced regexPluginTest script
-Enhanced regexDialog script

Installation Instructions

Remove old versions of pcre*.dll from your PowerPro directory (or the folder where your pcf file is store, if different) and old regex.dll from your plugins or PowerPro directory. Unzip regex0204.zip into your PowerPro directory, preserving folder structure. All files should go into appropriate locations.

Note: you will need a copy of the dll plugin (dll.dll) version 0097 and the dialog plugin version 0074 to use the included regexDialog script. The included regexDialog script has an useful update since the one recently posted with the dialog plugin 0074. There are plans to include this version with the dialog plugin in the future.

There is another optional help file available, pcre.chm. If installed it should go into the same directory as regex.chm (i.e., your plugins folder).

The pcre library in this distribution is version 7.2.

Refer to regex.chm for additional information.

Regards,
Sheri





http://tech.groups.yahoo.com/group/power-pro/messages/31313?threaded=1&m=e&var=1&tidx=1


Why new regex functions?

The Posix functions of the original Regex plugin have served the PowerPro community well for years. Within their expressed limitations, they work well for identifying matches and executing replacements.

But they do have limitations:

  • No options, default settings are constants
  • No error diagnostics to assist in troubleshooting complex patterns under development
  • Lookbehind assertions are not supported in global functions; using them may lead to unexpected results
  • Empty match anomalies
  • Though linked to PCRE (library for Perl Compatible Regular Expressions) they support "posix" rather than "perl compatible" regular expressions
  • No support for many features available in PCRE

The original regex functions still work in this updated plugin, and the original documentation is included in this help file. PowerPro itself depends on the original functions for caption matching and other features. (see the PowerPro manual).

The new regex functions are designed to leverage newer capabilities of PCRE and PowerPro

  • Provides pattern error diagnostics
  • Provides numerous options
  • Fully supports for lookbehind assertions
  • Provides personalized default options and custom option combinations
  • Facilitates creation of handles to compiled regular expressions; the handles can be used in chained operations
  • Creates optional vectors filled with matches, substrings and/or offsets
  • Allows the default settings built into the PCRE library to be identified
  • Provides sophisticated format string processing for match listings and replacements
    • format/replace string recognizes named subpatterns
    • format/replace string facilitates changes the text case of referenced matches and substrings
  • Provides callback facilities for custom matching and replacing


Regex Version 2.03 with PCRE 7.2
http://tech.groups.yahoo.com/group/power-pro/message/31384

pcre.dll, regex.chm, the test script and output provided files have been updated. The second file included pcre.chm (updated to pcre 7.2 documentation).

Below are some notes from the pcre 7.2 update. I particularly like the new \K feature myself.

Regards,
Sheri

Added more features from the forthcoming Perl 5.10:

(a) (?-n) (where n is a string of digits) is a relative subroutine or recursion call. It refers to the nth most recently opened parentheses.

(b) (?+n) is also a relative subroutine call; it refers to the nth next to be opened parentheses.

(c) Conditions that refer to capturing parentheses can be specified relatively, for example, (?(-2)... or (?(+3)...

(d) \K resets the start of the current match so that everything before is not part of it.

(e) \k{name} is synonymous with \k<name> and \k'name' (.NET compatible).

(f) \g{name} is another synonym - part of Perl 5.10's unification of reference syntax.

(g) (?| introduces a group in which the numbering of parentheses in each alternative starts with the same number.

(h) \h, \H, \v, and \V match horizontal and vertical whitespace.

A pattern such as (.*(.)?)* caused pcre_exec() to fail by either not terminating or by crashing. Diagnosed by Viktor Griph; it was in the code for detecting groups that can match an empty string.

A pattern with a very large number of alternatives (more than several hundred) was running out of internal workspace during the pre-compile phase, where pcre_compile() figures out how much memory will be needed. A bit of new cunning has reduced the workspace needed for groups with alternatives. The 1000-alternative test pattern now uses 12 bytes of workspace instead of running out of the 4096 that are available.

top

SciTE4AHK

AutoHotkey 2007. 2. 1. 23:51
top



Powerpro 4.7.01

http://tech.groups.yahoo.com/group/power-pro/messages/31566?threaded=1&m=e&var=1&tidx=1

Beta 4.7.01 is available at

http://powerpro.webeddie.com/download/ppro4701.zip

- this beta is just to collect all the small fixes I have done of the last few months

- I also switched to the new regex plugin. Let me know if anyone has any problems with it

- the installer allows a separate folder to be specified for pcf (which will then hold all the files PowerPro writes, eg notes, captured clips) Let me know if any troubles with it.

- I threw in new function processid(path), win.terminateprocess(pid), clip.setrtf




 

Powerpro 4.7 rc 1


http://tech.groups.yahoo.com/group/power-pro/messages/30576?threaded=1&m=e&var=1&tidx=1

PowerPro 4.7 Release Candidate 1 is available at

http://powerpro.webeddie.com/download/pwrpro47.zip

Same as last beta except I added ability to use 24x24, 12x12  8x8 icons in menus
top

Win.PostMessage(Win.Handle("C=ProgMan"), 0x111, 28717, 0) ;; 미리보기
Win.PostMessage(Win.Handle("C=ProgMan"), 0x111, 28718, 0) ;; 큰 아이콘
Win.PostMessage(Win.Handle("C=ProgMan"), 0x111, 28713, 0) ;; 아이콘
Win.PostMessage(Win.Handle("C=ProgMan"), 0x111, 28715, 0) ;; 간단히
Win.PostMessage(Win.Handle("C=ProgMan"), 0x111, 28716, 0) ;; 자세히
top


PowerPro 4.6.05a

http://tech.groups.yahoo.com/group/power-pro/message/30478

Re: *Control button/Update to beta 4.6.05 (exe version 4.6.05a)

> Color doesn't change on the button unless focus leaves the bar.

I updated the beta in

http://powerpro.webeddie.com/download/ppro4605.zip

so it does a better job a reacting to color changes for most controls.
Sliders still don't work. I also made ctrl-right click on a button activate PowerPro config since I don't think this interferes with existing control clicks.

I threw in x.int and x.roundint for converting reals x to integer (in strings).




top

1.0 Overview

Using this plugin you can build dialogs from within PowerPro scripts. You can run the dialogs, modify them as they run, and get feedback from then using event-handling PowerPro scripts.

This is very much a first pass.  I've left out many features that you might want.  I'll add to it when I get time: let me know if there's a feature you want that's not there.


http://tech.groups.yahoo.com/group/power-pro/files/Plug-ins_and_add-ons/

plugin to create and run dialogs, with dialog editor


Dialog plugin 0.72 beta

http://tech.groups.yahoo.com/group/power-pro/message/31318

-- In last version I said I got "setcharformat" and the like to work for rich edit controls. I lied. Sometimes it works, sometimes it doesn't. Seems to depend on what else is open. scintilla controls seem more reliable. Meanwhile I've added a switch (st_bHighlightingWorks) in that alters behaviour of regexDialog.powerpro, depending on what works for you.

-- added regexDialogScintilla.powerpro and regexDialogScintilla.txt to demonstrate use of scintilla control.
Both regexDialogScintilla.powerpro and regexDialog.powerpro aren;t definitive regex exercising dialogs; for those you want the regex plugin. They're just version there to demo richedit and scintilla controls (in their results control).

-- The <script_to_call> argument in define_control and the <action_on_close> parameter of the define service can refer to command lists within your pcf. See Section 11.5 "Script Calls and Their Arguments".

-- Added choose_font service, which brings up the font common dialog. Its output can be used in the <font_spec> parameter of set_font, define or define_control.

-- Added support for list view, rich edit and scintilla controls in the dialog editor.

-- Added lots of named messages for list view controls



 




 

top

Vars Plugin v0.80

PowerPro/Plugins 2006. 9. 30. 21:38
Vars
vars plugin for PowerPro: version  .80:  27 November 2006
A POWERPRO PLUGIN TO SAVE SCRIPT VARIABLES

Alan Campbell


1.4 Uses

You could use this plugin to save variables that need to persist between runs of PowerPro.  I use it to retrieve a set of global variables (often treated as read-only constants) in my startup script.

If you had variables that needed to be used in several scripts, you could use the vars plugin to restore variables at the beginning of each script and save them when they finished.  You could achieve the same result a number of other ways:
  • Use global variables.  That might be undesirable, as the variables would then be visible to all scripts, not just the few that needed them.
  • Use several labelled subscripts beginning with a @label and ending with quit, in the same file, and declare the shared variables static.  Static variables appear to hold their values for any subscript within a file.



http://tech.groups.yahoo.com/group/power-pro/messages/30032?threaded=1&m=e&var=1&tidx=1

-- fixed a bug which left the local variable _t2mpn0g undeclared before use in some circumstances

-- added version service.

-- Changed, hopefully improved documentation.  Among other things the arguments I called <proc_id>s in previous versions of docs I now Call <tag>s, and are explained more thoroughly.

http://tech.groups.yahoo.com/group/power-pro/message/30031
top

OSD Plugin v1.2

PowerPro/Plugins 2006. 9. 30. 21:36
OSD

An On Screen Display (OSD) - Oct 20, 2003
A plugin that does a one-liner string output to the screen.

http://tech.groups.yahoo.com/group/power-pro/files/Plug-ins_and_add-ons/OSD_v.1.2.zip
top

Ini Plugin v1.54

PowerPro/Plugins 2006. 9. 30. 21:30

INI

1.0 Overview
This PowerPro plugin allows reading from and writing to standard ini files.
An ini file must have this internal structure:
 [section name]
 key_name= value
 another key_name= another value
 ; a disabled key name= an old value

( ... followed by more sections containing more name=value lines ... )
• Any lines starting with a semicolon are regarded as comments and cannot be read or written to by this plugin.
• Section names and key names are not case sensitive and may contain spaces.
• Section names must be unique.
• Key names within each section must be unique.

-- added services directed accessible from other plugins

-- ini.set outputs a string even when you use a PowerPro float type

-- added version service.

-- removed use_long_vars, use_x_vars services.

I forgot to mention when I uploaded dialog plugin 0.55 that if you're going to create dialogs from ini files, you'll need this version If ini plugin or later.

Download
http://tech.groups.yahoo.com/group/power-pro/files/Plug-ins_and_add-ons/0_Registry%20and%20Ini%20Access/
top

OnMultiClick

PowerPro/Scripts 2006. 9. 29. 21:51
OnMultiClick

http://tech.groups.yahoo.com/group/power-pro/messages/23847?threaded=1&m=e&var=1&tidx=1

OnMultiClick v1.0
Written by Alex Peters, 9/6/2005

Permits separate functionality for bar buttons/tray icons on single clicks, double clicks, triple clicks etc. up to octuple (8) clicks.
Can also be applied to hotkeys with the same effect.

Usage:
.OnMultiClick(1ClickCmd[, 2ClickCmd[, 3ClickCmd[, ...]]])

http://groups.yahoo.com/group/power-pro/files/Scripts/OnMultiClick.PowerPro

--
Regards,
Alex Peters

top

ARB (Alias Run Box)

http://tech.groups.yahoo.com/group/power-pro/messages/24260?threaded=1&m=e&var=1&tidx=1

ARB (Alias Run Box) v4.0
Written by Alex Peters, 13/6/2005

Allows execution of aliases with parameter passing. Also accepts PowerPro commands, programs, folders, documents and Internet resources for execution.

Aliases may exist as labels within the ARB script and/or as external scripts matching a user-specified wildcard. For those not interested in backward compatibility with internal aliases an 'external' edition without that facility is included.

Major differences to v3.2:
* Aliases can be stored externally.
* New internal aliases are automatically recognised.
* The ARB box defaults to its last used command string.
* Programmatic alias manipulation (ARB_Add etc.) is not included.

http://groups.yahoo.com/group/power-pro/files/Scripts/ARB.zip
--

Regards,
Alex Peters




History

http://tech.groups.yahoo.com/group/power-pro/msearch?ST=ARB&SM=contains&pos=0&cnt=100

ARB v4.0 - Adds alias, auto-completion and persistent history functionality to the PowerPro Run box

ARB v3.2 - Adds alias, auto-completion and persistent history functionality to the PowerPro Run box (v3.2)
top

Beta v4.5.17c


http://tech.groups.yahoo.com/group/power-pro/message/29975


Re: Quit powerpro doesn't quit completely: Possible Solution

> Could it possibly be related
> to an alarm going off - and displaying its window - exactly while PowerPro
> is shutting down?

I wouldn't have thought so, as it seems from looking at the code that PowerPro will ignore all timer messages once it starts shutdown and hence no alarms can ring.

In any event, I have added an explicit ExitProcess to the end of PowerPro. Before it used to rely on just exiting the winmain loop. I have uploaded an exe only, version 4.5.17c, with this change to

http://powerpro.webeddie.com/download/powerpro.exe

Can anyone experiencing this issue download and try to see if it helps?



Beta v4.5.17a


http://tech.groups.yahoo.com/group/power-pro/message/29938


Beta 4.5.17 updated

An updated version of 4.5.17 with exe version 4.5.17a is available at http://powerpro.webeddie.com/download/ppro4517.zip

- if press text or press color is present, grey checking flat eliminates 3d effect on pressed buttons
- fixed problem with separators with no 3d effect
- fixed problem with delphi apps and zero sized windows ignore parameter (I think)



Beta v4.5.17


http://tech.groups.yahoo.com/group/power-pro/messages/29897?threaded=1&m=e&var=1&tidx=1


Beta 4.5.17 is available at
http://powerpro.webeddie.com/download/ppro4517.zip

- you can specify which corners of bar to round
- you can specify color for flashing button on active bar
- check "no 3d" on format verline/newbarrowline to get flat look For separator
- updated pprodesk.dll slightly to allow you to specify color of taskbarbar for format separator to get improved look

If you were using taskbarbars and care about the new Separator coloring option, you will need to update manually;

1. Install 4.5.17
2. Unistall taskbarbar support and re-logon.
3. Use explorer to rename pprodesk.dll to pprodesk.dllold
4. Copy pprodesk.dllnew to pprodesk.dll
5. Reinstall taskbarbar support.

These are the last enhancements I plan for 4.6. I'll fix any significant bugs reported over the next couple of weeks before releasing it.



top