05-07-2012 07:24 AM
HI,
I have the following VI that uses Call function Library node to copy all contents from a window and paste them into LabVIEW - I need it for a specific application. I use the function GetMenuItem Id inorder to select all and copy it to a clipboard and from there to labview. Due to memorty problems I only need to copy the last line or the last 2 lines. Does somebody know the ID just to select the last line and copy only it to the clipborad.
Attached please find the VI
Thank you
05-07-2012 07:35 AM
This appears to be the VI that I posted in this old message. As I noted in that message, I found the ID empirically. Have you tried looking at the Windows API documentation?
05-07-2012 07:46 AM
Hi,
Thank you for your reply. It is your VI - I use it for debugging as it is small and very useful for me. I will try find it in the windows manual but if by chance you do encounter the copy last line i would be happy to hear
Thank you once again
05-07-2012 07:48 AM - edited 05-07-2012 07:49 AM
Ah, now I undestand better what you are asking. There is no "copy last line" menu item id or "select last line" menu item. That VI simply selects the menu items as if you were doing it. If the menu item isn't there ...