Modify

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)

_ClipBoard_SetData.[Fix].au3 (6.1 KB ) - added by Ascendant 17 years ago.
_ClipBoard_SetData new version

Download all attachments as: .zip

Change History (3)

by Ascendant, 17 years ago

_ClipBoard_SetData new version

comment:1 by Ascend4nt, 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 J-Paul Mesnage, 17 years ago

Milestone: 3.3.1.2
Owner: set to J-Paul Mesnage
Resolution: Fixed
Status: newclosed

Fixed in version: 3.3.1.2

Modify Ticket

Action
as closed The owner will remain J-Paul Mesnage.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.