Jump to content

Problem with command in au3.properties


AndyS01
 Share

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)"
command.subsystem.43=0
command.save.before.43=2

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)
command.subsystem.44=0
command.save.before.44=2

Any help would be appreciated.

Andy

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
 Share

  • Recently Browsing   0 members

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