Sign in to follow this  
Followers 0
MISIIM

Clipboard help

9 posts in this topic

I want to use the Clipboard UDF to copy/cut/paste files.

1. How do I basically use the Clipboard UDF with $CF_HDROP?

2. How do I specify if I wish to copy or cut?

Thanks.

Share this post


Link to post
Share on other sites



I hate to bump but this was pushed down in a few hours with no response.

Share this post


Link to post
Share on other sites

help file on the clipboard?

maybe send ctrl c or ctrl v for copy and paste?

Share this post


Link to post
Share on other sites

I want to use the Clipboard UDF to copy/cut/paste files.

1. How do I basically use the Clipboard UDF with $CF_HDROP?

2. How do I specify if I wish to copy or cut?

Thanks.

If you want to manipulate the files, don't use the clipboard. Use the FileCopy() and FileMove() functions in AutoIt.

- The Kandie Man ;-)


"So man has sown the wind and reaped the world. Perhaps in the next few hours there will no remembrance of the past and no hope for the future that might have been." & _"All the works of man will be consumed in the great fire after which he was created." & _"And if there is a future for man, insensitive as he is, proud and defiant in his pursuit of power, let him resolve to live it lovingly, for he knows well how to do so." & _"Then he may say once more, 'Truly the light is sweet, and what a pleasant thing it is for the eyes to see the sun.'" - The Day the Earth Caught Fire

Share this post


Link to post
Share on other sites

i was trying to get him to read the help file xD

Share this post


Link to post
Share on other sites

Err, I did read the help file.

I'm not trying to manipulate another program. I want to add copy/cut/paste features to my program. The problem is that files are not just strings so no one can paste to explorer and cut doesn't work well.

Share this post


Link to post
Share on other sites

Err, I did read the help file.

I'm not trying to manipulate another program. I want to add copy/cut/paste features to my program. The problem is that files are not just strings so no one can paste to explorer and cut doesn't work well.

you need to reexplain what you are trying to do...

Share this post


Link to post
Share on other sites

use clipget()

clipput()

i hope it helps


Share this post


Link to post
Share on other sites

I am writing a file manager in AutoIt. It works pretty well except for copy, cut, and paste so I'm rewriting them. I want to be able to copy file names to the clipboard so they could be pasted into explorer or my FM. I also want to be able to paste from explorer. Unfortunately I can't find an example on reading file names or putting file names from the clipboard. Also I need to be able to specify/detect if the files are being copied or pasted.

Thanks a lot.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0