明经CAD社区

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 1586|回复: 4

如何用“dos_clipboard”拷对话框中的内容?

[复制链接]
发表于 2004-7-23 10:20:00 | 显示全部楼层 |阅读模式
各位好:


                                         如何用“dos_clipboard”拷对话框中的内容?请具体一点,我试过好多办法,都不行,快急死我啦!
发表于 2004-7-23 10:27:00 | 显示全部楼层

Download DosLib6.1 from http://www.mcneel.com/cgi-bin/download.cgi?doslib first

dos_clipboard


Returns or sets a string of text in the Windows clipboard.

Syntax

(dos_clipboard [string])

Parameters

string A string of text to set in the Windows clipboard.

Returns

The string if successful. nil on error.

Example

Command: (dos_clipboard "Hello World!") "Hello World!" Command: (dos_clipboard) "Hello World!"
 楼主| 发表于 2004-7-23 10:45:00 | 显示全部楼层
dos_clipboard我有,并且会用,关键是“对话框”中数据是变量,“hello,world”不是变量,dos_clipboard如何实现?
发表于 2004-7-23 11:53:00 | 显示全部楼层
_$ (SETQ STR "HELLO, WORLD!")
"HELLO, WORLD!"
_$ (DOS_CLIPBOARD STR)
"HELLO, WORLD!"
 楼主| 发表于 2004-7-23 12:14:00 | 显示全部楼层
太感谢啦!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|CAD论坛|CAD教程|CAD下载|联系我们|关于明经|明经通道 ( 粤ICP备05003914号 )  
©2000-2023 明经通道 版权所有 本站代码,在未取得本站及作者授权的情况下,不得用于商业用途

GMT+8, 2024-9-30 22:24 , Processed in 0.159937 second(s), 25 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表