Jump to content

Problem with command in au3.properties


Recommended Posts

I'm trying to implement a "Find All in Current Doc", and a "Find All in All Opened Docs", like Notepad++ does, but I don't know how to put the names of all opened files on the command line in the definition in the au3.properties file.

Here is my "find all in current doc" definition:

# Find All in Current Document
command.name.43=Find All in Current Document
command.43.="C:\Windows\System32\Findstr.exe" /I /C:"$(CurrentWord)" "$(FilePath)"

This works, but with 2 problems:

1. There are no line numbers in the output.

2. I cannot doubleclick one of the output lines and have the document repositioned to that line.

For my "Find all in all open docs" command, the definition is the same except that the $(FilePath) variable should be replaced by a variable that holds the names of all opened files).

However, I could not find out how to do this.

Here is my "find all in all docs" definition:

# Find All in all opened Documents
command.name.44=Find All in Current Document
command.44.="C:\Windows\System32\Findstr.exe" /i /C:"$(CurrentWord)" $(FilePath)

Any help would be appreciated.


Link to comment
Share on other sites

  • 9 months later...

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...