以文本方式查看主题

-  Foxtable(狐表)  (http://www.foxtable.com/bbs/index.asp)
--  专家坐堂  (http://www.foxtable.com/bbs/list.asp?boardid=2)
----  [求助]截图后粘贴插入图片到扩展列  (http://www.foxtable.com/bbs/dispbbs.asp?boardid=2&id=128172)

--  作者:18825761682
--  发布时间:2018/11/30 12:54:00
--  [求助]截图后粘贴插入图片到扩展列
请教:想实现QQ或微信等截图后按CTRL+V快速插入图片到图片扩展列

求高手解答

--  作者:有点甜
--  发布时间:2018/11/30 15:09:00
--  

建议在foxtable做一个按钮处理,如

 

Dim proc As new Process
proc.File = ApplicationPath & "capture.exe"
proc.WaitForClose = True
proc.Start
If ClipBoard.GetImage IsNot Nothing Then
    ClipBoard.GetImage.save(projectPath & "attachments/test.jpg")
    msgbox("保存到了")

    Tables("表A").current("第一列") = "test.jpg"
End If


--  作者:18825761682
--  发布时间:2018/12/3 0:49:00
--  
谢谢
可以用这种方法插入一张图片,
请问插入多张图片该怎么改呢

--  作者:有点甜
--  发布时间:2018/12/3 9:05:00
--  
Dim proc As new Process
proc.File = ApplicationPath & "capture.exe"
proc.WaitForClose = True
proc.Start
If ClipBoard.GetImage IsNot Nothing Then
    ClipBoard.GetImage.save(projectPath & "attachments/test.jpg")
    msgbox("保存到了")
    Dim ls = Tables("表A").current.DataRow.lines("第一列")
    ls.add("test.jpg")
    Tables("表A").current.DataRow.lines("第一列") = ls
End If

--  作者:miaoqingqing
--  发布时间:2019/9/5 15:41:00
--  
复制当前行第一列里面多张图片到剪贴板,代码怎么写?求助
[此贴子已经被作者于2019/9/5 15:48:40编辑过]

--  作者:有点蓝
--  发布时间:2019/9/5 16:01:00
--  
一次只能复制一张:http://www.foxtable.com/webhelp/topics/2069.htm