Sign in to follow this  
Followers 0
AndyS01

Problem with command in au3.properties

4 posts in this topic

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

Share this post


Link to post
Share on other sites



Not sure, you may want to check the SciTE Readme.


My UDFs are generally for me. If they aren't updated for a while, it means I'm not using them myself. As soon as I start using them again, they'll get updated.

MY PROJECTS


Active: IRC UDF, WindowEx UDF
Discontinued: GithubBubbleSort UDF

Share this post


Link to post
Share on other sites

Tried that as well as the SciTE help file. There were no references to such a variable. Can you suggest a way to implement "Find all in File" and "Find all in all files"?

Share this post


Link to post
Share on other sites

Resolved with codi I wrote. See

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