Jump to content

Recommended Posts

Posted

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.

Posted

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

Posted

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.

Posted

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...

Posted

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.

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
×
×
  • Create New...