hpwControl Plugin - Early Preview for Feedback
Moderator: Neosoft Support
>I created my own set of environmental variables
How?
>SET NAME=JOHN
Where this?
I just test it again. I go into system settings, system, extended, enviroment vars. (Dont know if this is exactly, translated from a german system)
That window show 2 area for environmental variables.
One for user defined and one for systemvariables.
There you can press a button 'add'.
When I add there a var 'Name' with a new content I could get it
inside my demo.pub with 'USER' 'Name'.
This are the windows enviroments vars permanently stored in the registry. There can also be enviroments vars per process, but thats an other kind of vars and only visible to that process.
How?
>SET NAME=JOHN
Where this?
I just test it again. I go into system settings, system, extended, enviroment vars. (Dont know if this is exactly, translated from a german system)
That window show 2 area for environmental variables.
One for user defined and one for systemvariables.
There you can press a button 'add'.
When I add there a var 'Name' with a new content I could get it
inside my demo.pub with 'USER' 'Name'.
This are the windows enviroments vars permanently stored in the registry. There can also be enviroments vars per process, but thats an other kind of vars and only visible to that process.
I created the variables on the command-line prompt... here is an example of some of the variables :
http://members.verizon.net/~vze2rqhm/PROMPT.jpg
I just discovered that once the command-line prompt window is closed and re-opened, the variables I created were gone...
This idea works great in DOS...
I used a simple batch program to create the environmental variables... then I viewed the variables using the ECHO command.
echo %NAME%
Windows works a little differently.... How can I create my own environmental variables and keep them until I want to change the values ?
Tommy
http://members.verizon.net/~vze2rqhm/PROMPT.jpg
I just discovered that once the command-line prompt window is closed and re-opened, the variables I created were gone...
This idea works great in DOS...
I used a simple batch program to create the environmental variables... then I viewed the variables using the ECHO command.
echo %NAME%
Windows works a little differently.... How can I create my own environmental variables and keep them until I want to change the values ?
Tommy
As I wrote before you have created vars only for the DOS process and not for windows system-wide.
>How can I create my own environmental variables and keep them until I want to change the values ?
You can use the system setting window. But I think you mean to do it programatical. You can do it by writing into the registry.
HKEY_CURRENT_USER
Environment
>How can I create my own environmental variables and keep them until I want to change the values ?
You can use the system setting window. But I think you mean to do it programatical. You can do it by writing into the registry.
HKEY_CURRENT_USER
Environment
Just released hpwControl 1.21:
http://www.hpwsoft.de/anmeldung/html1/n ... ook10.html
Fix: hpwListParse - Last field in each row was not set when it was empty.
Action: hpwExecRegExpBool - Execute a regular expression and return a bool
Action: hpwExecRegExpList - Execute a regular expression and return a list
Action: hpwSplitRegExp - Split a string with a regular expression
Action: hpwReplaceRegExp - Replacing with regular expressions
Action: hpwSubstituteRegExp - Substitute in a string-template with regular expressions
Info about regular expressions:
http://regexpstudio.com/TRegExpr/TRegExpr.html
http://regexpstudio.com/TRegExpr/Help/r ... yntax.html
http://www.hpwsoft.de/anmeldung/html1/n ... ook10.html
Fix: hpwListParse - Last field in each row was not set when it was empty.
Action: hpwExecRegExpBool - Execute a regular expression and return a bool
Action: hpwExecRegExpList - Execute a regular expression and return a list
Action: hpwSplitRegExp - Split a string with a regular expression
Action: hpwReplaceRegExp - Replacing with regular expressions
Action: hpwSubstituteRegExp - Substitute in a string-template with regular expressions
Info about regular expressions:
http://regexpstudio.com/TRegExpr/TRegExpr.html
http://regexpstudio.com/TRegExpr/Help/r ... yntax.html
Hans-Peter
Just released hpwControl 1.22:
http://www.hpwsoft.de/anmeldung/html1/n ... ook10.html
Action: hpwExecRegExpPos - Execute a regular expression and return a list with Pos and Length of found-pos
Use a regex-search and get all occurance-places at once.
Regex-Tip: (?i)HPW
(?i) is a regex modifier to switch to case-insensitive mode.
Result looks like this:
15|11
31|12
48|13
http://www.hpwsoft.de/anmeldung/html1/n ... ook10.html
Action: hpwExecRegExpPos - Execute a regular expression and return a list with Pos and Length of found-pos
Use a regex-search and get all occurance-places at once.
Regex-Tip: (?i)HPW
(?i) is a regex modifier to switch to case-insensitive mode.
Result looks like this:
15|11
31|12
48|13
Hans-Peter
Just released hpwControl 1.23:
http://www.hpwsoft.de/anmeldung/html1/n ... ook10.html
Action: hpwIsColor Check a string if it is a Color.
(Works with all syntax used in my other plugins)
hpwIsColor "clBlue" "[IsColor]"
hpwIsColor "#0000FF" "[IsColor]"
hpwIsColor "$00FF0000" "[IsColor]"
hpwIsColor "0,0,255" "[IsColor]"
hpwIsColor "65535" "[IsColor]"
http://www.hpwsoft.de/anmeldung/html1/n ... ook10.html
Action: hpwIsColor Check a string if it is a Color.
(Works with all syntax used in my other plugins)
hpwIsColor "clBlue" "[IsColor]"
hpwIsColor "#0000FF" "[IsColor]"
hpwIsColor "$00FF0000" "[IsColor]"
hpwIsColor "0,0,255" "[IsColor]"
hpwIsColor "65535" "[IsColor]"
Hans-Peter
Just released hpwControl 1.24:
http://www.hpwsoft.de/anmeldung/html1/n ... ook10.html
Release of NBR-plugin option for hpwControl.
Command-wizards for all commands (16 dialogs)!
(hpwCase insert a variable length source template on first insert for case-targets.)
http://www.hpwsoft.de/anmeldung/html1/n ... ook10.html
Release of NBR-plugin option for hpwControl.
Command-wizards for all commands (16 dialogs)!
(hpwCase insert a variable length source template on first insert for case-targets.)
Hans-Peter
Just released hpwControl 1.25:
http://www.hpwsoft.de/anmeldung/html1/n ... ook10.html
hpwLineSort - A third parameter to support sort direction. (A=Ascending/D=Descending)
http://www.hpwsoft.de/anmeldung/html1/n ... ook10.html
hpwLineSort - A third parameter to support sort direction. (A=Ascending/D=Descending)
Hans-Peter
Just released hpwControl 1.26:
http://www.hpwsoft.de/anmeldung/html1/n ... ook10.html
hpwLineSort - 2 new sort-flags: NA=NumericAscending/ND=NumericDescending
Sort such a list by the starting numeric value:
20Bla
400Test
50ABC
30Test
http://www.hpwsoft.de/anmeldung/html1/n ... ook10.html
hpwLineSort - 2 new sort-flags: NA=NumericAscending/ND=NumericDescending
Sort such a list by the starting numeric value:
20Bla
400Test
50ABC
30Test
Hans-Peter
Just released hpwControl 1.27:
http://www.hpwsoft.de/anmeldung/html1/n ... ook10.html
Bugfix for sort-flags: NA=NumericAscending/ND=NumericDescending
Sort now this correct by number:
Bla20
Test 400
ABC50
Test30
http://www.hpwsoft.de/anmeldung/html1/n ... ook10.html
Bugfix for sort-flags: NA=NumericAscending/ND=NumericDescending
Sort now this correct by number:
Bla20
Test 400
ABC50
Test30
Hans-Peter
Just released hpwControl 1.28:
http://www.hpwsoft.de/anmeldung/html1/n ... ook10.html
New sort-flags: NSA+NSa=NaturalAscending/NSD+NSd=NaturalDescending
Let you sort this:
500 B
500 A
600 C
600 B
300 A
20 A
20 B
60 A
60 B
http://www.hpwsoft.de/anmeldung/html1/n ... ook10.html
New sort-flags: NSA+NSa=NaturalAscending/NSD+NSd=NaturalDescending
Let you sort this:
500 B
500 A
600 C
600 B
300 A
20 A
20 B
60 A
60 B
Hans-Peter
- smartmedia
- Posts: 889
- Joined: Fri Apr 01, 2005 6:50 am
- Location: Hellas
- Contact:
Hi...
Hans as i told you in pm i send you, i want to be able to sort a string like this. I am going to use greek characters for you in order to reproduse it.
Let's say i have this source string.
500 ΠΕΤΑΛΑΣ
500 ΑΛΕΞΙΟΥ
600 ΝΙΚΟΛΑΟΥ
600 ΠΕΤΑΛΑΣ
600 ΑΛΕΞΙΟΥ
The result i want is this:
600 ΑΛΕΞΙΟΥ
600 ΝΙΚΟΛΑΟΥ
600 ΠΕΤΑΛΑΣ
500 ΑΛΕΞΙΟΥ
500 ΠΕΤΑΛΑΣ
Which is Numeric Descending with Ascending Characters
The same example with english characters.
Source string:
500 Chris
500 Alex
600 Sam
600 Chris
600 Dave
Result string:
600 Chris
600 Dave
600 Sam
500 Alex
500 Chris
I hope you understand what i want. Sorry for the trouble i cuase you...
Thanks
Hans as i told you in pm i send you, i want to be able to sort a string like this. I am going to use greek characters for you in order to reproduse it.
Let's say i have this source string.
500 ΠΕΤΑΛΑΣ
500 ΑΛΕΞΙΟΥ
600 ΝΙΚΟΛΑΟΥ
600 ΠΕΤΑΛΑΣ
600 ΑΛΕΞΙΟΥ
The result i want is this:
600 ΑΛΕΞΙΟΥ
600 ΝΙΚΟΛΑΟΥ
600 ΠΕΤΑΛΑΣ
500 ΑΛΕΞΙΟΥ
500 ΠΕΤΑΛΑΣ
Which is Numeric Descending with Ascending Characters
The same example with english characters.
Source string:
500 Chris
500 Alex
600 Sam
600 Chris
600 Dave
Result string:
600 Chris
600 Dave
600 Sam
500 Alex
500 Chris
I hope you understand what i want. Sorry for the trouble i cuase you...
Thanks
Just released hpwControl 1.29:
http://www.hpwsoft.de/anmeldung/html1/n ... ook10.html
New sort-flags: AA=AlphaOnlyAscending/AD=AlphaOnlyDescending
New sort-flags: NAAA=NumericAscendingAlphaAscending/NDAA=NumericDescendingAlphaAscending
So try out NDAA with you greek characters.
Not sure what AnsiCompareText do with them.
http://www.hpwsoft.de/anmeldung/html1/n ... ook10.html
New sort-flags: AA=AlphaOnlyAscending/AD=AlphaOnlyDescending
New sort-flags: NAAA=NumericAscendingAlphaAscending/NDAA=NumericDescendingAlphaAscending
Unprecise specs cause mostly misunderstandings!I hope you understand what i want. Sorry for the trouble i cuase you...
So try out NDAA with you greek characters.
Not sure what AnsiCompareText do with them.
Hans-Peter
- smartmedia
- Posts: 889
- Joined: Fri Apr 01, 2005 6:50 am
- Location: Hellas
- Contact: