Share this post

Link to post

Share on other sites

CyberSlug 3

CyberSlug 3

I can't think of a better solution, but I have an alternative: Use a shell extension that adds "Path to clipboard" to the context menu. Then Send("{APPSKEY}p") assuming the shell extension begins with the letter p and is the only context menu entry beginning with P.....

Share this post

Link to post

Share on other sites

Guest rathore

Guest rathore

sending keystrokes DOES NOT stand a chance. I want a way to read the file path of the selected file continuously in the background. About once every second, so that if I select a different file, autoit would know.

i tried this too within a loop (hybrid of mine & Larry's way):

Send("{f2}")

$name=ControlGetText ( "", "", "Edit2" )

Send("{enter}")

(i had to reboot as the {enter} kept getting at the wrong place and there were 42 windows open!!

and i tried making a context menu extension that kept popping the menu all the time due to the {apps} key.

Please guys think of SOMETHING!! there's got to b a way!!! I'm no Autoit3 guru but i guess the answer should be in reading the text of some control.