LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Read file or folder name when I press the mouse button over it !

Hi buddies,

 

Can anyone tell me, how to read and display when I press the mouse button over file or folder ??? Spent lot of time but couldn't get the way to do it. 

 

Thanks in Advance

0 Kudos
Message 1 of 10
(3,698 Views)

I'm not understanding you.  Do you have a GUI to show what you want?


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 10
(3,670 Views)

How is the file or folder displayed originally? (listbox, table, array, ...)

 

What do you want to read and display? (file name, file content, etc.).

 

I tpyically use "list folder" to display file names in a listbox. Clicking an entry lets you index the selected name out of the array of file names to be processed as needed.

 

It would be best of you could attach a small VI to contains the skeleton of what you are trying to do. Your current post is way too ambiguous to give a precise answer.

0 Kudos
Message 3 of 10
(3,653 Views)

HIi Crossrulz and Altenbach,

 

Jus consider that I want to read folder name, that is available in the desktop. When I make a click over the folder (you can see in below desktop picture), LV shld read the folder name and store it in an array. Front panel picture shows the simplified idea about the VI. Hope I clear you about my query !!!!!!

 

 

Desktop.jpg

 

 

FP.jpg

 

 

 

0 Kudos
Message 4 of 10
(3,625 Views)

Dear Vijay,

 

Here you can use APIs for other UI testing tools in LabVIEW. UI testing tools like AutoIT, Renorax etc...

Using these tool in LabVIEW you can easily perform your requirement. Use ActiveX for all these controls.

Thanks and Regards
Himanshu Goyal | LabVIEW Engineer- Power System Automation
Values that steer us ahead: Passion | Innovation | Ambition | Diligence | Teamwork
It Only gets BETTER!!!
0 Kudos
Message 5 of 10
(3,588 Views)

Dear Himansu,

 

Thanks for your reply. Though I am New to LV, I dont much familiar with that testing tools (AutoIT, Ranorex, etc). Kindly give me some suggestions about it or direct me to the LV threads about those testing tools.

 

Thanks in advance Smiley Happy

0 Kudos
Message 6 of 10
(3,546 Views)

Dear Vijay,

 

download AutoIT and call it reference in your automation server. open automation server instance and use propert and method in LabVIEW. before start coding in LabVIEW first try with autoit tool itself how its work.

Once you install tool open AutoIT v3 windows info and selcet finder tool and move this icon on your PC without loosing click on it. In autoit clipboard you can get information about your windows.

Thanks and Regards
Himanshu Goyal | LabVIEW Engineer- Power System Automation
Values that steer us ahead: Passion | Innovation | Ambition | Diligence | Teamwork
It Only gets BETTER!!!
Message 7 of 10
(3,476 Views)

Dear Himanshu,

 

Im so glad for your reply. Its really a helpful one. Working of AutoIT window info tool is the exact I want. Calling the AutoIT window info tool is good idea. But I cant call the window tool in LV. Property node and Invoke node using Automation server is only used to access the funtions of AutoIT, but now the AutoIT Window info tool. Is there any .dll for AutoIT window tool can be found ???? If so, I can easily connect that using LV.

0 Kudos
Message 8 of 10
(3,442 Views)

Refer attached VI

Thanks and Regards
Himanshu Goyal | LabVIEW Engineer- Power System Automation
Values that steer us ahead: Passion | Innovation | Ambition | Diligence | Teamwork
It Only gets BETTER!!!
Message 9 of 10
(3,401 Views)

Thank you Thank you Himanshu Smiley Very Happy Your vi dint give me the direct answer, but it direct me to the goal.Smiley LOL

 

0 Kudos
Message 10 of 10
(3,356 Views)