Opened 17 years ago
Closed 17 years ago
#1031 closed Bug (Fixed)
_ClipBoard_SetData inconsistency with new _ClipBoard_GetData
| Reported by: | Ascend4nt | Owned by: | J-Paul Mesnage |
|---|---|---|---|
| Milestone: | 3.3.1.2 | Component: | AutoIt |
| Version: | 3.3.0.0 | Severity: | None |
| Keywords: | Cc: |
Description
Not sure if this is the place to put this, but this isn't really a feature request, and isn't quite (but-almost-is) a bug. It has to do with the new _ClipBoard_GetData changes made for AutoIT v3.3.1.2. See ticket #1028 @ http://www.autoitscript.com/trac/autoit/ticket/1028.
This new version allows Binary or String input, to match the output of _ClipBoard_GetData. (It also allows the special NULL case which has something to do with the program handling Clipboard requests itself).
While this may break some code, it makes sense to me to keep it consistent with the return values of _ClipBoard_GetData, and avoids the confusing mess of allocating memory prior to a call.
I'm attaching the new (tested) code.
Attachments (1)
Change History (3)
by , 17 years ago
| Attachment: | _ClipBoard_SetData.[Fix].au3 added |
|---|
comment:1 by , 17 years ago
Da*n, always forgetting something. Could you add me to the list of Author(s)? Or I could submit a new version I suppose.
comment:2 by , 17 years ago
| Milestone: | → 3.3.1.2 |
|---|---|
| Owner: | set to |
| Resolution: | → Fixed |
| Status: | new → closed |
Fixed in version: 3.3.1.2

_ClipBoard_SetData new version