topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Friday April 26, 2024, 12:11 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - CatamountJack [ switch to compact view ]

Pages: prev1 [2] 3next
26
@czb:  I installed the new CZB Pack but I'm still running into the same issue I had before - it will lock up FARR.  If I go to the plugins manager screen ("fssc"), and then close it, and then type in "tds" FARR will bring up matches (sometimes) as if it's searching for "tds" and then lock up (it's pegging the cpu at 100% on one of my cores).  Also, if I go into the TDS plugin without going into the FSSC plugins manager first, the plugin will work - once.  After that, if I try going into TDS again, it will lock up FARR in the same way.  (While it's locked up, the message in the status bar of the FARR results window says "Searching plugins...").  At this point, the only way to get out of it is to kill the process.

I'm running FARR 2.43.01 with the CZB Pack downloaded a few days ago.

Aside from that, the CZB Pack looks great!  Lots of useful tools in there!

Let me know if there is anything I can do to help narrow down the lock-up problem here.

27
Well, it turns out I'm just not very bright (and it only took me a month to figure that out!).  Since command line arguments in batch files are delimited by spaces anyway and, in this case, since I'm using spaces to delimit the arguments in FARR, I don't actually need to specify multiple capturing groups in the regex.  The screenshot is how I'm setting this up:

screenshot.png

The first line in the results box allows me to enter an argument, multiple arguments, or even no argument at all.  I realize the way this particular one is set up I don't need $$2.  The second and third lines are pre-defined examples of what the different arguments might look like.

My question does still stand, however, if I were to use something other than spaces to delimit the different arguments.  I think this would also be useful in the case of czb's Table Data Search plugin, where (if I understand it right) you currently need to create a specific regex to match the data you are filtering.  (e.g. if you are filtering on 4 columns of data, you need to create a regex with 4 capturing groups.)

So, my question is - how can I create a regex that will allow me to enter an arbitrary number arguments (bonus points if it also allows you to use a variety of delimiters).  In the case of my alias above, I might not want to enter any arguments, or maybe I want to enter 1, or 2.  In the case of the Table Data Search plugin, there could be more.  Is there a way to create a regex that is flexible enough to do this?

@lanux128:  Thanks for the suggestion, but from what I can see, while the nircmd aliases do use multiple arguments, the user needs to fill them all in to make the alias work - so that's a bit different than what I'm looking for.

Thanks!

28
Hmmmm.....

In the instances I'm planning on using this for, $$1, $$2, etc would be just short words (perhaps numbers).  In my case, there would be no spaces within each of those arguments since I want to use spaces as the separators between arguments.  I'm not sure whether the batch file I'm passing these to would complain if there were extra spaces included at the beginning/end of each argument or not - I just tried testing it but my computer is having some other serious issues at the moment.

Thanks!

29
Hi all,

Perhaps this is more of a general-case regex problem than an FARR problem, but since I'm trying to use it to make FARR work better, I'm hoping someone here might offer some helpful advice...

I have an alias, let's call it "test", and I want to *optionally* pass one or more parameters to it, separated with a space.
-- If I knew there was always going to be one parameter, I might use ^test (.*)
-- If I want that parameter to be optional, I've found that ^test ?(.*)? seems to work just fine
-- But how can I specify multiple optional parameters?

The alias will run a batch file that will handle the optional input.     (batchfile.bat $$1 $$2 $$3)

I've visited numerous sites over the last couple of weeks that explain how to create/use regular expressions, and I've tried all sorts of combinations, but I've yet to find a solution.

Thanks in advance!




30
I'm looking forward to this and, at the risk of sounding like a broken record, thanks to the both of you for your great programs!

31
Try "-lw exam". FARR plugin uses locate.exe with searches so you can use its command line arguments (see "locate -h" in command prompt).

For Locate32, I suggest you to try "Match whole name only" option in Advanced tab.

Thanks, jmj, for your reply!

Unfortunately your suggestions didn't work in my situation.  The file name I'm looking for merely contains the word "exam", it is not the entire title.  Using -lw, therefore, brings up no results. 

As I mentioned, the Locate32 program itself works great!  I can specify "exam -example" in my search and it will match all files containing "exam", but exclude just those that have "example".  Neither the Locate32 plugin nor FARR seem to offer the same capabilities though (so far as I can tell).  I consulted the list of command line arguments as you suggested, but I still don't see anything that works in this particular case.  I hope I might be just missing something obvious!

I'd welcome any further suggestions you might have.  Many thanks!

32
FARR Plugins and Aliases / Locate32 Plugin (and FARR) Search Question
« on: December 15, 2008, 01:46 PM »
Hi,

I'm curious if there is a way to search my harddrive using the Locate32 plugin for FARR (and just via FARR itself) for a particular file.

The file I'm searching for has "exam" in the title, but when I search for "exam" I get lots of files that have "example" in their name (so many, I can't find what I'm looking for).

Is there any way to narrow the list accordingly?  Using Locate32 directly, I can search for "exam -example" and it narrows the list down to what I'm looking for, but I can't find a way to do the same thing with either FARR or the Locate32 plugin for FARR.   :huh:  Probably a simple answer, but I'm missing a beat somewhere.

Thanks in advance! 

33
Find And Run Robot / Re: Match Alias First?
« on: October 22, 2008, 08:53 AM »
Thanks mouser, much appreciated!  Keep me posted if there is any more info I can get for you.

34
Find And Run Robot / Re: Match Alias First?
« on: October 01, 2008, 09:45 PM »
Is there anything else I can add to help figure this out?  Or is this working as expected?

Thanks!

35
Find And Run Robot / Re: Match Alias First?
« on: September 23, 2008, 09:33 PM »
Another followup...  I also have a "disable" alias set up.  Tonight when I typed "dis" and tab to complete, I would get "C:\WINDOWS\system32\cmd.exe " come up.  I repeated it immediately three times.  So, I went back and typed it slower.  When I type "d", I get a match to command prompt, when I type "di", then the disable alias will come up first in the list.   (EDIT:  Now, having done that, "disable" comes up no matter how fast I typed it.  It looks like the problem happens the first time I use an alias after FARR started, or if I haven't used a particular alias in awhile.)

It appears, maybe?, that I'm typing so fast, it matches the first letter immediately, but it doesn't recognize the next (or next two) letters fast enough to match what I really want before I type tab (so tab is completing the match on the first letter only).

Two questions - should "d" by itself be matching the "disable" alias first?  Or is the issue only that I'm typing faster than it can finish making the following matches?

Incidentally, I'm not sure why the command prompt entry is matching before everything else...  other letters do it as well.  C, O, M, N, D, P, and T all match command prompt as the first result.  Only A matches something else first.  How does FARR decide which entry to match on the first letter?

Hope this helps.  Thanks!

36
Find And Run Robot / Re: Match Alias First?
« on: September 22, 2008, 09:03 AM »
maybe something else is happening.. can you observe next time what exactly it is matching against instead of the alias?

It has matched against other less apparent things, although I'm having a harder time reproducing it when I want to.  Lately though (slightly different problem), when I type "en" it's matching against a file called "ServiceAffiliateManagement.exe" - which is in my history.  In this particular case, this history match shows up first in the list and stays there - it isn't superseded by the alias after waiting a few seconds.  When I took that file out of my history, it working (more) normally, but the original problem still exists.

Does history get preference over alias matches?

I do have "stop search on exact alias match" and "stop search on exact regex match" both turned on.  My regex for my "enable" alias is ^(enable|en) (.*)? which I think should match "en" directly, although my regex-fu isn't great.

37
Find And Run Robot / Re: Match Alias First?
« on: September 16, 2008, 07:20 AM »
I increased the score to 9999, but it didn't make any difference this morning.  Thanks for the suggestion though.

It seems I run into this most when my computer is multi-tasking and running a bit slower than normal.

I've added the extra regular expression to what I already had there, hopefully that will fix it - but I dread doing the same thing for all the rest of my aliases as well, I have a bunch.

38
Find And Run Robot / Match Alias First?
« on: September 15, 2008, 04:54 PM »
Is there any way to make FARR reliably match an alias before performing a search?

For instance, I have an alias called "enable".  Usually I type "en" and press tab and it auto-completes to "enable".  Lately, about 50% of the time, when I type "en" it auto-completes to something else FARR is searching for (in my Program Files folder, since that's the first search directory).

I'm typing rather fast, and it seems like if I type slower the program will match the alias after a second or so and then it works - I'm not sure why the delay.

If possible, I'd rather not have to type any kind of extra prefix or anything to force an alias match (I like just having to type the first couple of characters in most cases), and some/most of the time it just works anyway.

Suggestions?

39
Mouser,

I tried using the "optional file extension restrictions" option under Search Folders, but it doesn't seem to be working.  In my %PROGRAMFILES% folder entry, I wanted to restrict the search to .exe and .bat.  So I added  exe;bat  to the optional file extension restrictions line.  When I use FARR to search for "notes", I'm getting entries for "Release Notes.txt" in various program folders.  Did I misunderstand how to use this option or is this a bug?  Running 2.30.01.

Also, when I use the "optional modifier keywords", is it
1.) supposed to prevent the folder from being searched until I use the +KEYWORD option, or
2.) is it supposed to search the folder all the time (when not using the keyword), but restrict the search to just that folder when I do use +KEYWORD?
When I first read about it, I thought it was the latter, but it's acting like the former.

Thanks!

40
Just out of curiosity - since you are in the midst of improving different matching methods - one of the few things that I miss about Launchy was that I could mis-type the name of a program (the right letters, but in the wrong order) and it would still match.

I'm guessing that most of the matching in FARR is by regex (?) so maybe this isn't possible to do.  Frequently, I will type "tuh" or instead of "thu" when I want to launch Thunderbird...  Launchy somehow would still make the match, but FARR won't.

Is this even possible?  Ultimately I should learn to type better, faster but I haven't been able to break my "keyboard dyslexia" yet.

Thanks!

41
Oh, that makes my life a LOT easier!  :D

My only issue now (aside from only being able to use it once), is that it skips any fields that have no data as if they didn't exist.... so some of my data gets moved to the left and ends up in the wrong column.

A,B,C,,D,,,E,F   shows up in the table as   |A|B|C|D|E|F|    |  instead of   |A|B|C| |D| | |E|F|

But otherwise, it's awesome, thanks!

42
@mouser:  YES!!!

I didn't immediately catch that I could specify the regex myself.  I just tried it and the one you suggested did work on the CSV file (with one less (.*))...  I've been trying to develop something shorter that would work on a CSV of any number of columns, but I'm not nearly that clever with regex's yet.

Any thoughts on what is causing the crash?

43
I'm not sure if this is supposed to even be able to work, but instead of a CSV file I saved the data as a HTML document (via OpenOffice).  Now when I search for "doe" (see screenshot in my last post), I get one line as expected, but the "Type" column is blank and "Doe" shows up under the "Tech Number" column.  The rest of the row is not filled in (e.g. just white, no column separators).

Not sure if this is helpful or not...  just more observations.

Unrelated:  My, how painful it is when FARR crashes and I can't use it to re-open... FARR!  I'm lost!  Mouse?  Start Menu?  I've forgotten how to use them!  ;D

44
I'm running FARR 2.24.01.  When I changed the line in fscript.js, it was referencing the name of a file that no longer existed in that folder (I had since changed the name to not include spaces, trying to see if that made any difference in the other issues).  I deleted the settings.josn in \MyLocalData\Table_Data_Search\ and that seemed to fix that problem as long as I don't change the file name.  Interestingly, the settings were still being saved.

The program lock-up on the second use of "tds" still occurs, even so.

On another note...  I'm using this plugin to look up names and addresses in a CSV file.  When I search for something, though, all of the data for that particular line appears in the first cell.  I have the columns set up in File Settings to match the data.  There is no header row in the CSV file.  The original CSV file also had quotation marks around some of the data, so I manually removed them all, but it made no difference.

FARR_TDS.jpg

My column titles are entered as:

Type,Tech Number,First Name,Last Name,Nickname,Address 1, Address 2,City,State,Zip,Home Phone,Cell Phone,Office Phone,Fax Number,Beeper,E-mail Address,Hire Date

Perhaps I've set up something wrong?

45
I'm really really excited at the potential with this plugin :D, but I seem to be having some issues...

The first time I type in "tds" in FARR, it works pretty much as expected (in that it comes up and does its filtering thing).  The second time I bring up FARR and type "tds", it brings up matches to "tds" instead of firing the plugin.  At this point my processor pegs at 100% (or at least one core is) and I'm unable to close FARR until I kill the process.

I'm also periodically getting a popup-bubble in my system try that says "1 File not found".  In my \Program Files\FindAndRunRobot\Plugins\pluginlog.txt I see numerous entries to the effect of:

03:05 PM, Wednesday, July 23, 2008
Table_Data_Search\FScript.dll
1 File not found


I checked and FScript.dll is located in the \Plugins\Table_Data_Search\ directory.   Edit:  This seems to happen only after I modify the "File Settings" and click the "submit" button.

Also, in the "Configure Advanced Plugin Options" screen for this plugin, I only get two buttons - Cancel and OK.  I'm not as worried about that - but wasn't sure if that was by design or if it means something is screwy with my install.

I removed and re-installed the plugin, but to no avail.

Thanks!

46
Yep, this new version seems to have fixed it!

47
@mouser:   I'm encouraged it might be easier than I thought.  I don't do a lot of programming, but I'll see if I can modify the AHK script to work as you suggested.  Looks like I'll be right out straight for the next week or so, so I probably won't get to it immediately.. but if anyone else wants to take a crack at it, I wouldn't stop them  :)

@nitrix-ud:  That sounds like your work around does just what I'm looking for as well.  As mouser suggested, I hope it can turn out to be a little simpler in the end, but I'll give yours a shot too when I get a chance!

48
I don't know if this is even possible, but I've played around with AutoHotKey a bit and have found tremendous value in the "Favorite Folders" script.  When you activate the "Favorite Folders" hotkey, it will bring up a pop-up menu that contains a list of folders (user-defined, in an INI file).  If you activate the hotkey (in my case, the middle mouse button) on a Windows Open/Save dialog or in Windows Explorer/My Computer, when you click on one of the folders in your menu, it will change the current folder in the dialog or window to the favorite folder you selected.  If you activate the hotkey on a different type of window, the selected folder will open a new Windows Explorer window at that location (of course, FARR can already do this part).

It would be awesome if FARR could provide similar functionality.  For instance, activate FARR, type the folder name, press Enter and it would change the location in the dialog or Explorer window (if it was the last focused window before FARR) to your specified folder.  I realize you can type in a path directly in the filename box of the open/save dialog or the address bar of Windows Explorer, but this would also harness the awesome powers of FARR (aliases, history, etc) to get there a lot quicker.

49
FARR Plugins and Aliases / Re: [Bug] Cannot edit plugin options
« on: July 04, 2008, 11:08 AM »
Looks like it's working!  Thanks!

(In case it wasn't intentional, FYI, I do get a message that says "ATTN:DEBUG Saving to C:\Program Files\FindAndRunRobot\Plugins\FCalc\FCalc.cfi.tmp.debugtemp" when I close the plugin manager window after making a change, but the changes seem to work now.)

50
FARR Plugins and Aliases / [Bug] Cannot edit plugin options
« on: July 02, 2008, 09:11 PM »
I have been happily using the FCalc plugin for awhile, but for some reason I find typing 'fc' cumbersome.  I was trying to figure out how to make '=' work instead, but I can't seem to change any of the plugin options (whether Alias (override), Regular Expression (custom override), Keyword Modifiers (custom override), or Score (override)).  If I make an entry in any of those fields, when I close the window and come back, none of the changes have stuck.

This doesn't seem specific to any one plugin, I've tried it on a bunch of them with the same result.

Is this likely a bug or am I missing something?

Update:  Forgot to mention, this is using the new 2.14.01

Pages: prev1 [2] 3next