Jump to content

Find in Files doesn't work?


 Share

Recommended Posts

runwait ("cmd /c " & 'findstr /n /s /I "_FF" *.au3')

,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-.
|(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/
(_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_)
| | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) (
| | | | |)| | \ / | | | | | |)| | `--. | |) \ | |
`-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_|
'-' '-' (__) (__) (_) (__)

Link to comment
Share on other sites

I'm confused. Was there any AutoIt code involved in what you tried to do? If so, post what you did.

:)

Edit: Ahh, the Jos-y one brings clarity.

;)

Edited by PsaltyDS
Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
Link to comment
Share on other sites

  • Developers

Believe the OP is using the SciTE "find in files" option with the SciTE lite included in the AutoIt3 installer.

If so, try the full SciTE4AutoIt3 package.

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

  • Developers

>findstr /n /s /I "_ff" ".au3"

>>>Search files of type .au3 in C:\Program Files (x86)\AutoIt3\SciTE : Search Subfolders :: Not Case Sensitive :

no files found with "_ff"

>Exit code: 0 Time: 5.681

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

  • Developers

yes, I can put this in at a command prompt, and it works

findstr /n /s /I "_FF" "*.au3"

but the AutoIt/SciTE find in files dialogue always gives me an error.

I ran it from the SciTE "Find in Files" option and it gave me the shown output.

What OS are you running and is it x86 or x64?

I am on:OS:WIN_7/ CPU:X64 OS:X64

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

I have problems with this too (same environment as Jos). This happens to be the case for some time now.

I clearly remember it working and then after installing some new version of SciTE not. I can't remember what particular version it was when it stopped, but it could be a year ago, maybe even more.

edit: no I don't. I haven't used "Find in Files" recently. Just tried and it works fine.

Edited by trancexx

♡♡♡

.

eMyvnE

Link to comment
Share on other sites

A search for _ff works for me (same environment as Jos). We must have something you two* don't (or the opposite).

On a unrelated note, I never got why some things can't be searched for. Like X64.

>findstr /n /s /I "X64" "*"

>>>Search files of type * in C:\Users\Admiral\Dropbox\AutoIt Sync\Mina Småprogram : Search Subfolders :: Not Case Sensitive :

>Exit code: 0 Time: 0.817

Posted Image

I just want to find a script that is x86 or x64 only, but noo, that's not possible :)

*trancexx edited her post in the middle of everything

Link to comment
Share on other sites

I tried uninstalling and starting again. With just the SciTE lite, the 'find in files' works fine. Download the full one from http://www.autoitscript.com/cgi-bin/getfile.pl?../autoit3/scite/download/SciTE4AutoIt3.exe and it doesn't work.

RichardL

Link to comment
Share on other sites

  • 6 months later...

I have the same find-in-files problem. I am using the latest version (Version 2.27 Jun 24 2011 17:46:25).

>findstr /n /s /I "inputbox" "*.au3"

>%1 is not a valid Win32 application.

If I try the findstr command in a console window, it works fine.

Does anyone know how to correct the problem?

Regards,

Frank

Frank

Link to comment
Share on other sites

  • Developers

Try replacing the findstr.exe in the SciTE directory with this version: findstr.exe

Jos :mellow:

Edited by Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

I just tried it on my system, I didn't even realize it was there before, and it's not working for me either. On Windows 7 x86 I get this from the SciTE console window:

>findstr /n /s /I "mp3" "*"

>This version of %1 is not compatible with the version of Windows you're running. Check your computer's system information to see whether you need a x86 (32-bit) or x64 (64-bit) version of the program, and then contact the software publisher.

Edited by BrewManNH

If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.
Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag Gude
How to ask questions the smart way!

I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from.

Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays.  -  ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script.  -  Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label.  -  _FileGetProperty - Retrieve the properties of a file  -  SciTE Toolbar - A toolbar demo for use with the SciTE editor  -  GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI.  -   Latin Square password generator

Link to comment
Share on other sites

Try replacing the findstr.exe in the SciTE directory with this version: findstr.exe

Jos :mellow:

That one works for me now.

If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.
Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag Gude
How to ask questions the smart way!

I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from.

Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays.  -  ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script.  -  Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label.  -  _FileGetProperty - Retrieve the properties of a file  -  SciTE Toolbar - A toolbar demo for use with the SciTE editor  -  GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI.  -   Latin Square password generator

Link to comment
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
 Share

  • Recently Browsing   0 members

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