AndyS01 Posted May 30, 2012 Posted May 30, 2012 I have a file search executable that when called from a hotkey displays file line information to the Output window.I want to double click on one of these lines and have the editor go to that line in the file being edited.The problem is that the double click does nothing.Example of the data displayed in the Output Window:>D:\Util\Misc\AutoITTabNames.exe "abcdef"D:\Util\AutoIT-src\myStuff\AutoITTabNames\AutoITTabNames.au3:16; abcdef>Exit code: 0 Time: 0.641I want to double click on the 2nd line and have the editor respond bu going to line 16 of the file.If I change the executable to call "FindStr", it works. An example of the output from FindStr:>C:\Windows\System32\Findstr.exe /N /I /C:"abcdef" "D:\Util\AutoIT-src\myStuff\AutoITTabNames\AutoITTabNames.au3" nulD:\Util\AutoIT-src\myStuff\AutoITTabNames\AutoITTabNames.au3:16:; abcdef>Exit code: 0 Time: 0.228When I double click on the 2nd line in the Output window, the editor moves to line 16, as I expect.I do all this by entering this info in the au3.properties file: myFindcmd=D:\Util\Misc\AutoITTabNames.exe command.name.44=Find Selected text in All Open Documents command.44.=$(myFindcmd) "$(CurrentWord)" command.subsystem.44=0 command.save.before.44=1When I run it, I see all of the matching lines in all of the open files in the console output window, but when I double click on the results, nothing happens.
AndyS01 Posted June 2, 2012 Author Posted June 2, 2012 I found the problem. I was missing the ":" after the line numberD:UtilAutoIT-srcmyStuffAutoITTabNamesAutoITTabNames.au3:16; abcdefshould have been:D:UtilAutoIT-srcmyStuffAutoITTabNamesAutoITTabNames.au3:16:; abcdef
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now