Jump to content

Recommended Posts

Posted

When will the updated source get posted?

David Nuttall
Nuttall 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...

  • 4 weeks later...
  • Replies 87
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

  • Administrators
Posted (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 TimerDiff

The expression fix at the top was an innocent change but those tend to cause the most problems :ph34r:

Looking to release a non-GUI stable/public version this week/weekend.

Edited by Jon
  • Administrators
Posted

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()

  • Developers
Posted

- 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.
  :)

Posted

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

Posted

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

:ph34r::(:lol:

(if not, thats okay too!)

John

  • Administrators
Posted

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

Yeah, 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.
  • Administrators
Posted

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.

Posted

And what about the rz_binary value of registry? It was not possible set keys with two (or more) NULLs. It has been corrected?

Posted

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
Posted (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, :ph34r:

It take it such entries still manage to exist?

Edited by Jon
Posted (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 by Holger

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...