Nutster Posted June 22, 2004 Posted June 22, 2004 When will the updated source get posted? David NuttallNuttall Computer Consulting An Aquarius born during the Age of Aquarius AutoIt allows me to re-invent the wheel so much faster. I'm off to write a wizard, a wonderful wizard of odd...
Administrators Jon Posted July 14, 2004 Author Administrators Posted July 14, 2004 (edited) http://www.autoitscript.com/autoit3/files/unstable/autoit/3.0.102 (14th July, 2004) (Beta)- Fixed: The expression: "non-blank" And 1 - now evaluates as true- Fixed: /c command line use in compiled scripts- Added: $CmdLineRaw variable which holds the original command line in full- Changed: TimerStart renamed to TimerInit. TimerStop renamed to TimerDiffThe expression fix at the top was an innocent change but those tend to cause the most problems Looking to release a non-GUI stable/public version this week/weekend. Edited July 14, 2004 by Jon Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/
Administrators Jon Posted July 15, 2004 Author Administrators Posted July 15, 2004 Updated: 3.0.102 (15th July, 2004) (Beta) - Added: @SW_SHOWDEFAULT, @SW_SHOWMAXIMIZED, @SW_SHOWMINIMIZED, @SW_SHOWMINNOACTIVE, @SW_SHOWNA, @SW_SHOWNOACTIVATE, SW_SHOWNORMAL - Changed: Icon and windowstate options added to FileCreateShortcut() - Added: FileGetShortcut() Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/
Developers Jos Posted July 15, 2004 Developers Posted July 15, 2004 - Added: FileGetShortcut()typo in the Helpfile:FileGetShortcut --------------------------------------------------------------------------------Retrieves details about a shortcut.FileCreateShortcut ( "lnk" ) SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
Administrators Jon Posted July 15, 2004 Author Administrators Posted July 15, 2004 typo in the Helpfile:See, that's what happens when I have to do my own help entries for functions Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/
Chris_1013 Posted July 16, 2004 Posted July 16, 2004 Jon, Can you confirm whether this is just an update to the unstable beta you've currently been developing, including the GUI code, or are you just going to hack out the GUI code when you release the stable version? Cheers
napgravy Posted July 16, 2004 Posted July 16, 2004 Updated:3.0.102 (15th July, 2004) (Beta)- Added: @SW_SHOWDEFAULT, @SW_SHOWMAXIMIZED, @SW_SHOWMINIMIZED, @SW_SHOWMINNOACTIVE, @SW_SHOWNA, @SW_SHOWNOACTIVATE, SW_SHOWNORMAL- Changed: Icon and windowstate options added to FileCreateShortcut()- Added: FileGetShortcut()This may be a good time to add the simple fix described by JdeB in the following thread:http://www.autoitscript.com/forum/index.php?showtopic=3541 (if not, thats okay too!)John
Administrators Jon Posted July 16, 2004 Author Administrators Posted July 16, 2004 Jon,Can you confirm whether this is just an update to the unstable beta you've currently been developing, including the GUI code, or are you just going to hack out the GUI code when you release the stable version?CheersYeah, I am just going to hack out the gui at the last minute, offer it for download as a "release candidate" for a couple of days and then release. Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/
Administrators Jon Posted July 20, 2004 Author Administrators Posted July 20, 2004 Updated: I've redone the script reading code so that decompiled scripts look right (no stripping of comments/whitespace). Lots of internal changes so please make sure that comments, multiline comments (#cs), includes, include-once have not been broken. Unknown #directives are compiled as-is but are stipped just before execution. Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/
Chris_1013 Posted July 20, 2004 Posted July 20, 2004 I'd never actually decompiled an AU3 script until I saw this post today, but just trying it now I can see why this will be a welcome change
Administrators Jon Posted July 22, 2004 Author Administrators Posted July 22, 2004 Updated: 3.0.102 (22nd July, 2004) (Beta) - Added: DriveMapAdd(), DriveMapDel() and DriveMapGet() These are the last changes (barring bug fixes and GUI stripping) before release. Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/
napgravy Posted July 22, 2004 Posted July 22, 2004 These are the last changes (barring bug fixes and GUI stripping) before release.Did you add the bug-fix described below by any chance? #22391Nap
Administrators Jon Posted July 22, 2004 Author Administrators Posted July 22, 2004 Did you add the bug-fix described below by any chance? #22391NapYeah. Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/
ezzetabi Posted July 23, 2004 Posted July 23, 2004 And what about the rz_binary value of registry? It was not possible set keys with two (or more) NULLs. It has been corrected?
Administrators Jon Posted July 23, 2004 Author Administrators Posted July 23, 2004 And what about the rz_binary value of registry? It was not possible set keys with two (or more) NULLs. It has been corrected?Not seen that bug report. What is it? Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/
ezzetabi Posted July 23, 2004 Posted July 23, 2004 Check here, good Jon:http://www.autoitscript.com/forum/index.php?showtopic=1964I tried to make the same _MoveLater UDF but I could not for this bug...Edit: Oh dear. I wrote rz_binary? Sorry. I meant REG_MULTI_SZ.
Administrators Jon Posted July 23, 2004 Author Administrators Posted July 23, 2004 I don't really understand the problem, but you'll never be able to detect CHR(0) in any string. Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/
Valik Posted July 23, 2004 Posted July 23, 2004 Jon, the problem is when you read a REG_MULTI_SZ that happens to have double NULL's in it, then more data, then the real terminating double NULL's. An example: ItemA NULL NULL ItemB ItemC NULL NULL In that case, only ItemA is returned. The bug is, that's not all of the available data. Technically, this is due to improperly formatted data, but still, the data does need returned.
Administrators Jon Posted July 23, 2004 Author Administrators Posted July 23, 2004 (edited) Jon, the problem is when you read a REG_MULTI_SZ that happens to have double NULL's in it, then more data, then the real terminating double NULL's. An example: ItemA NULL NULL ItemB ItemC NULL NULL In that case, only ItemA is returned. The bug is, that's not all of the available data. Technically, this is due to improperly formatted data, but still, the data does need returned.I can't even create such an entry in regedit, It take it such entries still manage to exist? Edited July 23, 2004 by Jon Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/
Holger Posted July 23, 2004 Posted July 23, 2004 (edited) what if we change it to: case REG_MULTI_SZ: if (RegQueryValueEx(hRegKey, vParams[1].szValue(), NULL, NULL, (LPBYTE)szRegBuffer, &dwRes) == ERROR_SUCCESS) { szRegBuffer[dwRes] = '\0'; szRegBuffer[dwRes+1] = '\0'; // Ensure double null termination for (i=0; i<dwRes; ++i) if (i < (dwRes - 2) && szRegBuffer[i] == '\0') szRegBuffer[i] = '\n'; // Convert to \n vResult = szRegBuffer; } else SetFuncErrorCode(-2); // Default is 0 break; ok, in the result the empty lines are also given, but that should be no problem... Edited July 23, 2004 by Holger Old project:GUI/Tray menu with icons and colors Other old stuff:IconFileScanner, TriState/ThreeState GUI TreeView, GUI ContextMenu created out of a TreeView
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now