Mr. hamid reza 1 Report post Posted June 8, 2017 Hello all, I am creating a Ffeature, which uses the COM interface to get some results from external software. The results table of external software only can be copied to clipboard by available commands of its COM methods.Now, I need to paste the data in a file or string variable and then extract my required values from those file or string. So, is there any command or method inside a Feature that can paste the data from the clipboard? P.S.: I don’t have access to the “ResourceManager”. Thanks in advanceHamidreza Share this post Link to post Share on other sites
Stefan Wunderlich 6 Report post Posted June 9, 2017 Hi Hamidreza, You can use FDesignResultsTable.countRows()FDesignResultsTable.countColumns()FDesignResultsTable.getValueAt(row, column) to access the values of a results table. something like: loop(myTable.countRows()) int row($$i) loop(myTable.countColumns()) int col($$i) double value(myTable.getValueAt(row, col)) // ... endLoopendloop Cheers,Stefan Share this post Link to post Share on other sites
Mr. hamid reza 1 Report post Posted June 9, 2017 Hi StefanThanks for your reply. I like to explain my problem in other way. When I run the external program, the results of external program can only copied in format of table, on the Windows clipboard. So your suggestion means that the “FDesignResultsTable” can automatically paste the results from the Windows clipboard, it is right? By the way, with running the “FDesignResultsTable” , the Windows stops the CAESES and the software will be terminated automatically, as you can see in the attached pictures.I will be waiting for your reply. best regardsHamidreza Share this post Link to post Share on other sites
Stefan Wunderlich 6 Report post Posted June 9, 2017 Hi Hamidreza, Ok, now I understand. Currently there is no option to get the clipboard text.However, it would be possible to offer this function in the next release. Would that help? Cheers,Stefan Share this post Link to post Share on other sites
Mr. hamid reza 1 Report post Posted June 13, 2017 Hi Stefan I solved my problem by another way. Actually instead of just copy and paste, I would like to suggest, the key control ability inside the Ffeature. :) I mean , sending the keystrokes to another program!For example, in my case, I found that my external software do not support all the commands by COM interface. So the ideal process for me is sending the keystroke by CAESES Ffeature for doing some operation, which is not supported in the COM library of external software.I don’t know, how difficult is implementing such application, but I found some free software that can do it. Best RegardsHamidreza Share this post Link to post Share on other sites