Gem install win32-clipboard




















Git stats commits. Failed to load latest commit information. View code. Releases 11 tags. Packages 0 No packages published. Contributors 3. You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. The data you get is a binary buffer ready to be written to a bitmap BMP format file.

The clipboard contains files copied or cutted from an Explorer-like application; you get a list of filenames. All the functions can be used either with their full name eg. WinClipboard::Get or as methods of a WinClipboard object. Note also that you can create a clipboard object and set its content at the same time with:.

Returns an array of identifiers describing the format for the data currently in the clipboard. See also IsFormatAvailable. Returns the clipboard content; note that the result depends on the nature of clipboard data; to ensure that you get only the desired format, you should use GetText , GetBitmap or GetFiles instead. Get is in fact implemented as:. A perl unicode string can be generated as follows:.

Returns the name of the specified custom clipboard format, or undef on errors; note that you cannot get the name of the standard formats described in the "CONSTANTS" section. Returns a boolean value indicating if the clipboard contains a list of files.

See also GetFiles. See the MSDN documentation for more details. If a registered format with the specified name already exists, a new format is not registered and the return value identifies the existing format. This enables more than one application to copy and paste data using the same registered clipboard format. Note that the format name comparison is case-insensitive. You may optionally specify a clipboard format. See the 'Constants' section for a list of the supported formats.

A null character signals the end of the data. Use this format for ANSI text. Berger Park Heesob.



0コメント

  • 1000 / 1000