August 5th, 2014, 04:06 AM
Thanks for the suggestion. I will definitely try it once my office is over.
August 5th, 2014, 03:45 AM
I have tried command prompt command also but failed in case of pdf.
clip < file_name
It does not copy pdf file's content.
August 5th, 2014, 03:42 AM
Actually I want to copy content of any file by my program. I have come to know a solution, I can send keyboard event to that file after opening it.
August 5th, 2014, 12:31 AM
I need to open a pdf file (I used system("file_name.pdf"), and it worked). Next is that I want to copy complete content of the file (I want to execute ctrl+a). I want to give this command...