Recently Browsing 0 members
No registered users viewing this page.
PSPad4AutoIt3 v2.0.0 beta (2021-04-16)
All parts are freeware.
PSPad4AutoIt3 consists of the Editor PSPad and the Improvement Kit, and can be used as an portable editor IDE for AutoIt3.
The author of the PSPad Editor is Jan Fiala.
I (Professor Bernd) am only the author of the Improvement Kit.
This is the first fully portable version of PSPad4AutoIt3.
There are a lot of changes and new features, e.g.
- a separate AutoIt3 menu in the PSPad main menu,
- the shortcuts are SciTE-like,
- Tidy for Au3,
- in CallTipViewer a recognition for writing "(",
- a dialog for registering file extensions with Pau3,
- a nice about dialog in "90s style",
- the CodeExplorer can now be displayed together with the FavTools on the right side,
( so the panel on the left side can be completely hidden )
- and much more ...
See here for details
All in all a lot has been done and it is worth to have a look Praise, criticism, ideas, tips and hints on bugs are welcome. Have fun with the new features!
Thank you very much,
Special thanks for the friendly support goes to:
Jan Fiala (Author of PSPad)
Jos van der Zande (Author of AutoIt3Wrapper, Tidy, ...)
alpines (suggestions, ideas, testing, design for syntax colors, develop routines)
argumentum (feedback, suggestions, ideas)
AspirinJunkie (RegExp pattern, ideas and code snippets)
Bitnugger (suggestions, ideas and code snippets)
BugFix (suggestions, ideas and code snippets)
Gun-Food (for making it possible to publish the project here)
LarsJ (VBScript<->AutoIt communication, …)
Musashi (suggestions and ideas)
Credits for many other contributors can be found in the Pau3 About dialog.
PSPad4AutoIt3 v2.1.0 beta - Update (2021-05-02)
See here for details v2.1.0 beta - Update
Download in the german forum PSPad4AutoIt3 (Editor IDE), end of post #1
i suggest to set default encoding in Scite4 for Autoit 3 to UTF 8 with Bom encoding, format recommended also in Autoit Help.
In last editor version, when i open new script, for example Czech characters (č, ř, ž) aren't correct.
So when i change Encoding to UTF 8 with Bom from Default Code page property state, everithing seems to be OK.
Thank you and sorry for potentialy duplicated content.
This piece of code creates and reads OK a key at "HKEY_LOCAL_MACHINE" and can be changed for a key at "HKEY_CURRENT_USER"
$sta= RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Command Processor", "wav", "REG_SZ", "5555") MsgBox(4096,"wrote", $sta &@cr& @error) $zz= RegRead ("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Command Processor", "wav") MsgBox(4096,"readed","="&$zz &@cr& @error) Exit With HKEY_CURRENT_USER, in RegEdit we can see the created key, and we can create the key by hand/RegEdit and everything Works OK.
At HKEY_LOCAL_MACHINE we can´t see the created key above thru RegEdit, but it Works (even not seeing, I can read). But if I create "by hand"/RegEdit the key, it can´t read it with $zz= RegRead ("HKEY_LOCAL_MACHINE.... above.
I´m the PC´s WIN.7 administrator. Even so I ran RegEdit as administrator and also the compiled AU3 and also plain. No changes.
edit: even if Try "HKEY_LOCAL_MACHINE\SOFTWARE\AAA", "wav", the same holds true.
$sta= RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\AAA", "wav", "REG_SZ", "4444") MsgBox(4096,"wrote", $sta &@cr& @error) $zz= RegRead ("HKEY_LOCAL_MACHINE\SOFTWARE\AAA", "wav") MsgBox(4096,"readed","="&$zz &@cr& @error) Exit Seems that it creates this key at another place.... I can read the above value ("4444"), even after a boot, even the key not showing in regedit. And if I create it by hand key AAA/wav with a distinct value (666), t, it continues Reading the old value = 444.
good morning everybody.
today i liked to share an small example with you
which it an function to read the registry values as an array
the result array is 2d array witch
$a_array[n] = value name
$a_array[n] = value Data
$a_array = values count
here's the function
#include <Array.au3> #include <WinAPIReg.au3> #include <APIRegConstants.au3> Local $a_array = _RegReadToArray("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run") If @error Then MsgBox(16, "error", @error) Exit EndIf _ArrayDisplay($a_array) Func _RegReadToArray($s_RegKey) Local $a_KeySplitInfo = StringSplit($s_RegKey, "\\", 2) If UBound($a_KeySplitInfo) <= 1 Then $a_KeySplitInfo = StringSplit($s_RegKey, "\", 2) If UBound($a_KeySplitInfo) <= 1 Then Return (1, 1, 0) EndIf Local $H_KeyInfo = "", $s_RegKeyInfo = "" Switch $a_KeySplitInfo Case "hklm", "HKEY_LOCAL_MACHINE", "hklm64", "HKEY_LOCAL_MACHINE64" $H_KeyInfo = $HKEY_LOCAL_MACHINE Case "hkCu", "HKEY_CURRENT_USER", "hkCU64", "HKEY_CURRENT_USER64" $H_KeyInfo = $HKEY_CURRENT_USER Case "hkCr", "HKEY_CLASSES_ROOT", "HKCR64", "HKEY_CLASSES_ROOT64" $H_KeyInfo = $HKEY_CLASSES_ROOT Case "HKU", "HKEY_USERS", "HKU64", "HKEY_USERS64" $H_KeyInfo = $HKEY_USERS Case Else Return SetError(2, 2, 0) EndSwitch _ArrayDelete($a_KeySplitInfo, 0) $s_RegKeyInfo = _ArrayToString($a_KeySplitInfo, "\") Local $H_KeyInfoOpen = _WinAPI_RegOpenKey($H_KeyInfo, $s_RegKeyInfo, $KEY_READ) Local $A_KeyInfo = _WinAPI_RegQueryInfoKey($H_KeyInfoOpen) If @error Then Return SetError(1, 1, 0) _WinAPI_RegCloseKey($H_KeyInfoOpen) Local $A_RegVal[$A_KeyInfo + 1] Local $iV = 1, $s_RegRead = "" While 1 $s_RegVal = RegEnumVal($s_RegKey, $iV) If @error <> 0 Then ExitLoop $s_RegRead = RegRead($s_RegKey, $s_RegVal) If Not (@error) Then $A_RegVal[$iV] = $s_RegVal $A_RegVal[$iV] = $s_RegRead EndIf $iV += 1 WEnd $A_RegVal = UBound($A_RegVal) - 1 If $A_RegVal >= 1 Then Return $A_RegVal Else Return SetError(3, 3, 0) EndIf EndFunc ;==>_RegReadToArray
i hope you benefit from it
with my greetings
What's new section:
Snowman_Sky is game using MapIt engine. MapIt will evolve here for a little bit.
Download: [ http://songersoft.com/programming/Snowman_Sky.zip ]
Video demonstrating new sprite_sheet class and weather effect.
Working on the Class section of the Character Sheet.
Which is what makes multiclassing possible.
Changing the value of Class will load the stored value for XP. Lvl will be updated to the XP tier.
Hit points are then rolled for each level of all learned classes. Hit dice are specific to each class and a Constitution modifier is added to each roll of hit die.