Sign in to follow this  
Followers 0
Gid

How to read file name at mouse position?

3 posts in this topic

#1 ·  Posted (edited)

I need to be able to read a file in Windows Explorer at the mouse position and then split the name up for use as variables in another program.

I've attached a picture of a typical folder. The file types are always entered in this general format and I want to be able to split the file name into separate strings at every period(.).

Does anyone have any suggestions as to where I might begin?

Thanks.

Edited to include attachment.

Edited by Gid

Share this post


Link to post
Share on other sites



I don't know about graphically, but why not just do FileFindFirstFile and FileFindNextFile?

If you want graphical input, look into FileSelectFolder.


Writing AutoIt scripts since
_DateAdd("d", -2, _NowCalcDate())

Share this post


Link to post
Share on other sites

You could do something like this:

MouseClick('Primary')
Send('{F2}^c{ESC}'

Local $Filename = ClipGet()

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0