04-07-2007 04:39 PM
04-07-2007 05:18 PM
04-09-2007 04:56 PM - edited 04-09-2007 04:56 PM
Bryan:
You could also use VIs from the Input Device palette in LabVIEW to find out the position of your mouse. Check the attached screenshots of a front panel and block diagram to see what I am talking about.
Thanks,
Rudi N.
Message Edited by Rudi N on 04-09-2007 04:56 PM
04-09-2007 05:09 PM
04-10-2007 04:28 AM
@BryanL wrote:
Will this find the mouse clicks on another applications window?
Hi Bryan,
U can try it out yourself, instead of asking everyting... ![]()
It works for any click & any mvement on any window, both for LabVIEW and other than LabVIEW too.
See the attached VI in LV 7.1 for further info.
04-10-2007 04:36 AM
U can find & configure Key pressings like in the VI attached. It workf for keys pressed from any other open application also.
Sorry for attaching seperately, was working mid-way while attaching earlier.
Ignore my previous attachment & use this one.
04-10-2007 04:37 AM
Sorry, attachment problem... ![]()
Here it is.
04-10-2007 11:35 AM
Hi Partha,
Thanks so much for the vi. It worked beautifully, as mentioned I got caught into multiple tasks and didnt get to try Rudi's approach. Thank you and Rudi for your kind suggestions. So far I have automated three different stand alone applications successfully with LV on my desktop, except one that will cause a problem in my lab station that only have LV run time engine. The problem is I cannot get the content of a folder. I can get the folder location such as C:\MyDir\MySubDir enterred in the menu. By following a Tab command I should have that folder's content show up in a list box. It worked mannually but not on the PC with run time engine.
Thank again.
04-11-2007 08:54 AM
Partha:
I am glad to hear that part of your problem is resolving. Regarding not being able to list the folder content, there is "List Folder.vi" in LabVIEW that you can use to populate the content of a folder. If I misunderstood your question, please post your code so that I can get a better understanding about what you are trying to achieve.
Thanks,
Rudi N.
04-11-2007 09:41 AM
Rudi,
It was Bryan who asked the way to get the folder contents.
Not me... ! ![]()