首页 > TAG信息列表 > hDrop
Delphi 获取剪切板复制的多个文件路径
uses Clipbrd, ShellAPI;var FFileName: array[0..MAX_PATH] of Char; FileNumber,i:Integer; Drop:Cardinal; begin if Clipboard.HasFormat(CF_HDROP ) then begin Drop := Clipboard.GetAsHandle(CF_HDROP); // file://首先查询用户选中的文件的个数 FileNu用python 复制文件到剪贴板
import win32clipboard from ctypes import * class DROPFILES(Structure): _fields_ = [ ("pFiles", c_uint), ("x", c_long), ("y", c_long), ("fNC", c_int), ("fWide",